Skip to content

paper_trail 12.3.0

12.3.0 (2022-03-13)

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.