- Localize patch for AR::Relation#primary_key in Rails 8.0+ #243
- In Rails 8.0+, the global override of
ActiveRecord::Relation#primary_keywithbitemporal_id_keyhas been removed. As a result, the following methods now useprimary_key(i.e.,id) instead ofbitemporal_id_key:find_each,find_in_batches, andin_batches: the default cursor column for ordering and keyset pagination changes (records are not missed or duplicated, but iteration order differs)
- In Rails 8.0+, the global override of
- Fix finder methods ordering on Rails 8.0+ #237
- Manage development dependencies in gemfiles #240
- Randomize test execution order #239
- Update release GitHub Action #232
- Bump ruby/setup-ruby from 1.286.0 to 1.288.0 #244
- Bump actions/checkout from 6.0.1 to 6.0.2 #242
- Bump ruby/setup-ruby from 1.278.0 to 1.286.0 #241
- Bump ruby/setup-ruby from 1.268.0 to 1.278.0 #234
- Update reviewers #231
- Bump actions/checkout from 6.0.0 to 6.0.1 #229
- Bump ruby/setup-ruby from 1.267.0 to 1.268.0 #228
- Bump actions/checkout from 5.0.0 to 6.0.0 #227
- Bump codespell-project/actions-codespell from 2.1 to 2.2 #226
- Bump ruby/setup-ruby from 1.265.0 to 1.267.0 #225
- Add explicit activesupport dependency #208
- Improve ValidDatetimeRangeError message with better grammar and context #207
- Delay execution of ActiveRecord::Base-related processing #189
- Bump ruby/setup-ruby from 1.263.0 to 1.265.0 #223
- Update gemspec files to avoid using git #222
- Bump ruby/setup-ruby from 1.257.0 to 1.263.0 #221
- Add CodeSpell workflow for spell checking in pull requests #220
- Configure dependabot cooldown period to 3 days #219
- Bump ruby/setup-ruby from 1.255.0 to 1.257.0 #218
- Bump actions/checkout from 4.2.2 to 5.0.0 #215
- Bump ruby/setup-ruby from 1.254.0 to 1.255.0 #214
- Bump ruby/setup-ruby from 1.247.0 to 1.254.0 #213
- Bump ruby/setup-ruby from 1.247.0 to 1.253.0 #212
- Setup RuboCop #211
- Bump ruby/setup-ruby from 1.245.0 to 1.247.0 #210
- Using Trusted Publishing for RubyGems.org. #209
- Bump ruby/setup-ruby from 1.244.0 to 1.245.0 #206
- Add a note to the README that PostgreSQL is required to run the tests. #188
- Remove specs for Rails 5.x #191
- Update auto assign member #193
- Pin GitHub Actions dependencies to specific commit hashes #194
- Bump ruby/setup-ruby from 1.227.0 to 1.229.0 #195
- Bump ruby/setup-ruby from 1.229.0 to 1.233.0 #197
- Bump ruby/setup-ruby from 1.233.0 to 1.235.0 #198
- Bump ruby/setup-ruby from 1.235.0 to 1.237.0 #199
- Bump ruby/setup-ruby from 1.237.0 to 1.238.0 #201
- Bump ruby/setup-ruby from 1.238.0 to 1.242.0 #202
- Bump ruby/setup-ruby from 1.242.0 to 1.244.0 #203
- Update auto assign member #204
- Replace
defaultoverrides fromload_schema!toattribute#172 Ornode changed toNaryin Rails 7.2 #173- Exclude record valid range end in uniqueness validation #184
- Add specs under specific conditions #171
- Add Dependabot for GitHub Actions #174
- Bump actions/checkout from 3 to 4 #175
- Replace CircleCI with GitHub Actions #177
- Update README as
within_deletedandwithout_deletedare deprecated #178 - Fix typo #181
- Fix #force_update block comment #183
- Support Docker Compose V2 #186
- Delegate CollectionProxy#bitemporal_value to Relation #168
- Fix unintended valid_datetime set when
CollectionProxy#load#169
- Fix a typo #157
- Remove unneeded unscope values #159
- Remove unused
without_ignoreoption #160 - update auto assign #161
- Support date type of valid time #149
- Add support Rails 7.1 #151
- Add Persistence#bitemporal_at and ActiveRecord::Bitemporal.bitemporal_at #152
- Change not to create history when destroying with
force_update#135 - Raise
ValidDatetimeRangeErrorinstead ofRecordInvalidin_update_row#136
- [proposal]When bitemporal_at exists inside the nest, the specified date was not prioritized, so the date of the inner bitemporal_at is now prioritized. #121
- Drop support Rails 5.2 #122
- Add required_ruby_version >= 2.7.0 #125
-
Add support
bitemporal_callbacks#123class Employee < ActiveRecord::Base include ActiveRecord::Bitemporal after_bitemporal_create :log_create after_bitemporal_update :log_update after_bitemporal_destroy :log_destroy private def log_create puts "employee created" end def log_update puts "employee updated" end def log_destroy puts "employee destroyed" end end employee = Employee.create!(...) # => "employee created" employee.update!(...) # => "employee updated" employee.destroy! # => "employee destroyed"
- Remove Gemfile.lock #126
- Remove test cases for using bitemporal_option_merge! of ActiveRecord:::Bitemporal::Callbacks #129
- replace postgres docker image
- use Matrix Jobs in CircleCI
- Add support changing swapped_id, when called #destroy
- Update valid_to after #update
- Add GitHub Actions workflow to release to RubyGems.org
- migrate Scheduled workflows in CircleCI
- Fix JOIN query does not have valid_from / valid_to when using .or. by osyo-manga · Pull Request #99
- Fix typo in README.md by Naoya9922 · Pull Request #101
First stable release