Skip to content

Latest commit

 

History

History
74 lines (45 loc) · 1.82 KB

CHANGELOG.md

File metadata and controls

74 lines (45 loc) · 1.82 KB

ulid-rails CHANGELOG

Unreleased

  • Ensure compatibility with Rails 7.2.

2.1.0

  • Make ULID::Rails::Type::Data.valid_ulid? more strict in what is accepted as valid and not.

2.0.0

  • 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

1.1.1

  • Drop support for ruby 2.6.
  • Fix compatibility with ActiveRecord 7.0.5+.

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.3.0

  • Support PostgresQL

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