- Ensure compatibility with Rails 8.0.
- Ensure compatibility with Rails 7.2.
- Make
ULID::Rails::Type::Data.valid_ulid?
more strict in what is accepted as valid and not.
- Ensure compatibility with the Trilogy database adapter.
- Drop support for Rails 5.0 and Rails 5.1.
- Ensure compatibility with Rails 7.1.
- Fix various issues when calling
#where
with non-String values, or multiple ULID values. - The following modules/classes have been removed:
ULID::Rails::Formatter
ULID::Rails::Validator
ULID::Rails::Patch::FinderMethods
ULID::Rails::Patch::SchemaStatements
- Drop support for ruby 2.6.
- Fix compatibility with ActiveRecord 7.0.5+.
- 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.
- Drop support for Rails 4.2.
primary_key
option has been removed. You need to specifyauto_generate: true
to automatically fill your primary key columns.
- Add support for Rails 4.2, 5.0 and 5.1.
- Known Issue: AREL expressions incorrectly serialize ULID values in Rails 4.2 (#27).
- 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
.
- Support old ruby versions
- Fix auto_generate #2
- Support PostgresQL
primary_key
option's default has been changed tofalse
. Now you need to specifyprimary_key: true
for primary keys:ulid :id, primary_key: true
- Added
auto_generate
option
- Auto-generate was on for foreign keys
- Encoded ULID was not 0-padded #1