Skip to content

Releases: jcypret/hashid-rails

v1.4.1

10 Aug 03:33
e0e2982
Compare
Choose a tag to compare
  • Use ** splat operator to address deprecation warning in Ruby 2.7 (#72) by alexford.
  • Use codeclimate-action to improve edge-case handling (#73).
  • Add matrix testing for supported Ruby (#74) and Rails (#75) versions.

v1.4.0

10 Aug 03:32
160f21b
Compare
Choose a tag to compare
  • Add support for disabling the overriding of to_param (#68)
  • Fix exception raised when calling hashid on an model with a nil id
    (#63) by fauxparse

v1.3.0

30 Oct 04:47
98df76e
Compare
Choose a tag to compare
  • Add support for model-level config (#67)

v1.2.2

25 May 22:43
73f2ea6
Compare
Choose a tag to compare

Fixed

  • Handle exception raised when using a letter-only alphabet and attempting to
    decode an integer ID from @Drakula2k (#54).

v1.2.1

25 May 22:42
Compare
Choose a tag to compare
  • Found issue where unsigned hashids with find did not fall back to passed in ID (#46).
  • Move finder specs to a shared example run against both the signed and unsigned hashids.

v1.2.0

25 May 22:42
Compare
Choose a tag to compare
  • Fix regression where find_by_hashid and find_by_hashid! attempt to decode
    values that are not hashids. (#41)

v1.1.1

25 May 22:41
Compare
Choose a tag to compare
  • Fix eager loading and finding records through a parent. (#39)

v1.1.0

25 May 22:41
Compare
Choose a tag to compare
  • Add option to disable hashid signing. This adds backwards compatibility with
    pre-1.0 releases. Thanks @olliebennett! (#37)
  • Add note to README about upgrading from pre-1.0 releases.

v1.0.0

25 May 22:40
Compare
Choose a tag to compare
  • Sign hashids to prevent accidentally decoded regular ids
  • Require explicitly including Hashid::Rails in models
  • Improve support for model associations
  • Rename config variables to better match hashids project
  • Improve overall test coverage

v0.7.0

25 May 22:39
Compare
Choose a tag to compare
  • Add configuration option to disable overriding default find (#22).