Skip to content 12.0.0 (2021-03-29)
Breaking Changes
- #1281 Rails:
Instead of an
Engine, PT now provides a Railtie, which is simpler.
This was not expected to be a breaking change, but has caused trouble for
some people:
- Rails: The deprecated
config.paper_trail configuration technique
has been removed. This configuration object was deprecated in 10.2.0. It only
had one key, config.paper_trail.enabled. Please review docs section 2.d.
Turning PaperTrail
Off
for alternatives.
Added
where_object_changes_from queries for versions where the object's attributes
changed from one set of known values to any other set of values.
Fixed
- #1281 Rails:
Instead of an
Engine, PT now provides a Railtie, which is simpler.
- Expand kwargs passed to
save_with_version using double splat operator - Rails 6.1 compatibility
- #1287 - Fix 'rails db:migrate' error when run against an app with mysql2 adapter
Dependencies
- Drop support for ruby 2.4 (reached EoL on 2020-03-31)