PaperTrail v12.3.0 Release Notes

Release Date: 2022-03-13 // 7 months ago
  • ๐Ÿ’ฅ Breaking Changes

    • None

    โž• Added

    • #1371 - Added in_after_callback argument to PaperTrail::RecordTrail#save_with_version, to allow the caller to indicate if this method is being called during an after callback. Defaults to false.
    • #1374 - Added option --uuid when generating new migration. This can be used to set the type of item_id column to uuid for use with paper_trail on a database that uses uuid as primary key.

    ๐Ÿ›  Fixed

    • #1373 - Add CLI option to use uuid type for item_id when generating migration.
    • #1376 - Create a version record when associated object is touched. Restores the behavior of PaperTrail < v12.1.0.

Previous changes from v12.2.0

  • ๐Ÿ’ฅ Breaking Changes

    • None

    โž• Added

    • #1365 - Support Rails 7.0
    • #1349 - if: and unless: work with touch events now.

    ๐Ÿ›  Fixed

    • #1366 - Fixed a bug where the create_versions migration lead to a broken db/schema.rb for Ruby 3

    Dependencies

    • #1338 - Support Psych version 4
    • ๐Ÿ’Ž ruby >= 2.6 (was >= 2.5). Ruby 2.5 reached EoL on 2021-03-31.