Skip to content

Latest commit

 

History

History
52 lines (28 loc) · 1.15 KB

CHANGELOG.md

File metadata and controls

52 lines (28 loc) · 1.15 KB

Unreleased

1.6.1

  • find override now handles arrays

1.6.0

  • Add prefix_id and prefix_ids class methods - @TastyPi

1.5.1

  • [FIX] Fixes an exception that occurs when you invoke find on a non prefixed association of a prefixed_id model. #49 - @MishaConway

1.5.0

  • Add has_prefix_id fallback: false option to disable lookup by regular ID - @excid3

1.4.0

  • Add decode_prefix_id and decode_prefix_ids class methods - @TastyPi

1.3.0

  • Add PrefixedIds.salt and has_prefix_id salt: "" option - @domchristie

1.2.2

  • [FIX] Override find method on ActiveRecord::Relation - @excid3
  • [FIX] Override find method on has_many associations - @excid3

1.2.1

  • [FIX] Fallback to ID when overriding find so fixtures still work - @excid3
  • [ADD] Add PrefixedIds.delimiter to be able to change the default delimiter - @rbague
  • [FIX] Custom alphabet was not being used to generate the prefixed_id - @rbague

1.2.0

  • Add PrefixedIds.find to lookup any model by prefixed ID

1.1.0

  • Refactor to use Hashids and drop database column requirement

1.0.1

  • Fix error for minimum length

1.0.0

  • Initial release