PaperTrail v12.0.0 Release Notes

Release Date: 2021-03-29 // about 1 year ago
  • ๐Ÿ’ฅ 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

    • 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)