PaperTrail v12.0.0 Release Notes
Release Date: 2021-03-29 // almost 2 years ago-
๐ฅ Breaking Changes
- ๐
#1281 Rails:
Instead of an
Engine
, PT now provides aRailtie
, which is simpler. This was not expected to be a breaking change, but has caused trouble for some people:- Issue with the deprecated
autoloader = :classic
setting (https://github.com/paper-trail-gem/paper_trail/issues/1305)
- Issue with the deprecated
- ๐ง 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 aRailtie
, 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)
- ๐
#1281 Rails:
Instead of an