Notable changes to this project will be documented in this file.
- Support Rails 7.2 (#341 by kalashnikovisme)
- Add changelog_uri to gemspec (#332 by fynsta)
- Improve contribution instructions (#338 by mvz)
- Make with_deleted work with paranoid join records (#339 by mvz)
- Support Ruby 3.0 through 3.3, dropping support for 2.7 (#322 by mvz)
- Use correct sqlite3 versions in tests (#329 by fatkodima)
- Do not load
ActiveRecord
too early (#330 by fatkodima)
- Support JRuby 9.4 (#299 by Matijs van Zuijlen)
- Add support for Ruby 3.2 (#300 by Matijs van Zuijlen)
- Drop support for Ruby 2.6 (#301 by Matijs van Zuijlen)
- Support Rails 7.1 (#312 and #317 by Matijs van Zuijlen)
- Drop support for Rails 5.2 and 6.0 (#315 by Matijs van Zuijlen)
- Officially support Ruby 3.1 (#268, by Matijs van Zuijlen)
- Fix association building for
belongs_to
with:with_deleted
option (#277, by Matijs van Zuijlen)
- Do not set
paranoid_value
when destroying fully (#238, by Aymeric Le Dorze) - Make helper methods for dependent associations private (#239, by Matijs van Zuijlen)
- Raise ActiveRecord::RecordNotDestroyed if destroy returns false (#240, by Hao Liu)
- Make unscoping by
with_deleted
less blunt (#241, by Matijs van Zuijlen) - Drop support for Ruby 2.4 and 2.5 (#243 and #245 by Matijs van Zuijlen)
- Remove deprecated methods (#244 by Matijs van Zuijlen)
- Remove test files from the gem (#261 by Matijs van Zuijlen)
- Add support for Rails 7 (#262 by Vederis Leunardus)
- Fix deletion time scopes (#212 by Matijs van Zuijlen)
- Reload
has_one
associations after dependent recovery (#214, by Matijs van Zuijlen) - Make dependent recovery work when parent is non-optional (#227, by Matijs van Zuijlen)
- Avoid querying nil
belongs_to
associations when recovering (#219, by Matijs van Zuijlen) - On relations, deprecate
destroy!
in favour ofdestroy_fully!
(#222, by Matijs van Zuijlen) - Deprecate the undocumented
:recovery_value
setting. Calculate the correct value instead. (#220, by Matijs van Zuijlen)
- Log ActiveRecord activity to a visible log during tests (#218, by Matijs van Zuijlen)
- Do not set boolean column to NULL on recovery if nulls are not allowed (#193, by Shodai Suzuki)
- Add a CONTRIBUTING.md file (#207, by Matijs van Zuijlen)
- Support Rails 6.1 (#191, by Matijs van Zuijlen)
- Support
belongs_to
with both:touch
and:counter_cache
options (#208, by Matijs van Zuijlen with Paul Druziak) - Support Ruby 3.0 (#209, by Matijs van Zuijlen)
- Support Rails 5.2+ only (#126, by Daniel Rice)
- Update set of supported rubies to 2.4-2.7 (#144, #173 by Matijs van Zuijlen)
- Handle
with_deleted
association option as a scope (#147, by Matijs van Zuijlen) - Simplify validation override (#158, by Matijs van Zuijlen)
- Use correct unscope syntax so unscope works on Rails Edge (#160, by Matijs van Zuijlen)
- Fix ruby 2.7 keyword argument deprecation warning (#161, by Jon Riddle)
- Document save after destroy behavior (#146, by Matijs van Zuijlen)
- Update version number instructions for installing gem (#164, by Kevin McAlear)
- Add example with
destroyed_fully?
anddeleted_fully?
to the readme (#170, by Kiril Mitov)
- Improve code quality using RuboCop (#148, #152, #159, #163, #171 and #173, by Matijs van Zuijlen)
- Measure code coverage using SimpleCov (#150 and #175 by Matijs van Zuijlen)
- Silence warnings emitted during tests (#156, by Matijs van Zuijlen)
- Make rake tasks more robust and intuitive (#157, by Matijs van Zuijlen)
- Update Travis CI configuration (#137, by Matijs van Zuijlen)
- Add predicate to check if record was soft deleted or hard deleted (#136, by Aymeric Le Dorze)
- Add support for recover! method (#75, by vinoth)
- Fix a record being dirty after destroying it (#135, by Aymeric Le Dorze)
- Prevent recovery of non-deleted records (#133, by Mary Beliveau and Valerie Woolard)
- Allow model to set
table_name
afteracts_as_paranoid
macro (#131, by Alex Wheeler) - Make counter cache work with a custom column name and with optional associations (#123, by Ned Campion)
- Add support for Rails 6 (#124, by Daniel Rice, Josh Bryant, and Romain Alexandre)
- Add support for incrementing and decrementing counter cache columns on associated objects (#119, by Dimitar Lukanov)
- Add
:double_tap_destroys_fully
option, with defaulttrue
(#116, by Michael Riviera) - Officially support Ruby 2.6 (#114, by Matijs van Zuijlen)
(To be added)