Releases: k2nr/ulid-rails
Releases · k2nr/ulid-rails
2.1.0
- Make
ULID::Rails::Type::Data.valid_ulid?
more strict in what is accepted as valid and not. (#64)
2.0.0
- 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
- Drop support for Ruby 2.6.
- Fix compatibility with ActiveRecord 7.0.5+. (#55)
1.1.0
- 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
- 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
- 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
- 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
- Support old ruby versions
- Fix auto_generate #2
0.2.0
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