- Drop official support Ruby 2.6 or older
- Drop official support Rails 5.1 or older
- Migrate from Travis CI to GitHub Actions
- Include Sequenced when ActiveRecord loads (#52)
- Support non-default primary key columns (set via
primary_key=
) (#41) - Fix issue with Postgres adapter check when using a subclassed adapter (#42)
- Rails 3 compatibility (samphilipd, #22)
- Allow multiple sequences on one record (samphilipd, #19)
- Make this gem thread-safe for PostgreSQL (samphilipd, #16)
- Revert "Move generation callback from
before_save
tobefore_validation
to allow validations to utilize the sequential id". This change introduced a critical bug where generating multiple records in one transaction would lead to duplicate ids (see #10)
- Move generation callback from
before_save
tobefore_validation
to allow validations to utilize the sequential id (makebytes)
- Add the ability to pass a lambda for the start_at option (Bobby Uhlenbrock)
- Major internal refactor for cleaner, more modular code
- Scope by base class when single table inheritance is being used (Adam Becker)
- Remove hard dependency on Rails 3 in the test suite
- Add skip option to sequence generation
- Fix a potential bug that could overwrite previously set sequential IDs if they are later found to be non-unique.
- Accept an array of symbols for the scope attribute to scope by multiple columns.
- Raise ArgumentError instead of Sequenced::InvalidAttributeError
- Remove custom exceptions
- Stop calling it a "plugin"
- Restrict dependencies on ActiveSupport and ActiveRecord to
~> 3.0
- Make error messages more descriptive
- Update gem description
- Initial release