Skip to content

Releases: k2nr/ulid-rails

2.1.0

12 Dec 21:47
8a4b20f
Compare
Choose a tag to compare
  • Make ULID::Rails::Type::Data.valid_ulid? more strict in what is accepted as valid and not. (#64)

2.0.0

15 Nov 12:26
913df6e
Compare
Choose a tag to compare
  • Ensure compatibility with the Trilogy database adapter. (#60)
  • Drop support for Rails 5.0 and Rails 5.1. (#57)
  • Ensure compatibility with Rails 7.1. (#62)
  • Fix various issues when calling #where with non-String values, or multiple ULID values. (#57)
  • The following modules/classes have been removed: (#57)
    • ULID::Rails::Formatter
    • ULID::Rails::Validator
    • ULID::Rails::Patch::FinderMethods
    • ULID::Rails::Patch::SchemaStatements

1.1.1

29 May 14:00
4e92e0c
Compare
Choose a tag to compare
  • Drop support for Ruby 2.6.
  • Fix compatibility with ActiveRecord 7.0.5+. (#55)

1.1.0

29 May 14:00
55c9826
Compare
Choose a tag to compare
  • Fix eager loading with limit/offset on models that have ulid primary key. The fix only applies to ActiveRecord 5.2, 6 and 7. (#38)
  • Add support for Ruby 3.1.
  • Add support for ActiveRecord 7.

1.0.0

23 Nov 09:08
0fbc3ef
Compare
Choose a tag to compare
  • Drop support for Rails 4.2.

Breaking Changes

  • primary_key option has been removed. You need to specify auto_generate: true to automatically fill your primary key columns.

0.6.0

11 Nov 15:28
ecdc1fa
Compare
Choose a tag to compare
  • Add support for Rails 4.2, 5.0 and 5.1.
  • Known Issue: AREL expressions incorrectly serialize ULID values in Rails 4.2 (#27).

0.5.0

25 Oct 14:35
Compare
Choose a tag to compare
  • Ensure ULID order respects timestamp order to millisecond precision.
  • Validation of ULID format when setting value. A wrong format value will trigger a ULID::Rails::ArgumentError.

0.4.0

22 Jan 13:51
Compare
Choose a tag to compare
  • Support old ruby versions
  • Fix auto_generate #2

0.3.0

24 Nov 16:35
Compare
Choose a tag to compare
  • Support PostgreSQL

0.2.0

21 Nov 15:44
Compare
Choose a tag to compare

Breaking Changes

  • primary_key option's default has been changed to false. Now you need to specify primary_key: true for primary keys: ulid :id, primary_key: true

New Features

  • Added auto_generate option

Bug Fixes

  • Auto-generate was on for foreign keys
  • Encoded ULID was not 0-padded #1