Skip to content

Releases: rails/globalid

v0.3.7

26 Jul 20:37
Compare
Choose a tag to compare
  • Verify instances of SignedGlobalID when locating them.

    y-yagi

Release 0.3.6

04 Aug 21:32
Compare
Choose a tag to compare
  • Raise MissingModelIdError when a Global ID is created without a model id.

    Faraz Yashar

  • Encode model id's to support non-alphanumeric characters.

    Thomas Drake-Brockman

  • Add support for Global ID params to to_global_id and to_gid_param.

    Ray Zane

  • Locating Global ID models prefers an unscoped lookup if the model responds to it.

    Kasper Timm Hansen

Release 0.3.5

04 Aug 21:33
Compare
Choose a tag to compare

Same as 0.3.4 but working in all the supported versions of Ruby.

Release 0.3.4

04 Aug 21:34
Compare
Choose a tag to compare
  • Added locate_many(ignore_missing: true) option that'll use #where instead of #find for bulk location, which via Active Record means missing records will be ignored instead of raise an exception.

Release 0.3.3

13 Feb 23:22
Compare
Choose a tag to compare
  • Fixed purpose not passed on to Locator.locate_many_signed(strings, for: 'purpose')

DHH

Release 0.3.2

09 Feb 18:12
Compare
Choose a tag to compare
  • Added to_gid_param and to_sgid_param convenience methods 64fb44b.

    DHH

Release 0.3.1

09 Feb 18:10
Compare
Choose a tag to compare
  • Add locate_many and locate_many_signed for efficient lookups of many models ab5f975.

    Tom Ward, DHH

  • Ruby 2.2 support.

    Kasper Timm Hansen

  • Support for simple custom params #44.

    Kasper Timm Hansen

Release 0.3.0

17 Sep 17:49
Compare
Choose a tag to compare
  • Rename model.gid -> model.to_gid so we don't collide with existing methods
    #36
  • Customize gid locator per gid://appname
    #15
  • Signed Global IDs now have expiry timestamps and a specific purpose
    #20
    #29

Release 0.2.3

17 Sep 17:50
Compare
Choose a tag to compare
  • Add :verifier support

Release 0.2.2

17 Sep 17:50
Compare
Choose a tag to compare

Bump for the parse fix