PaperTrail v13.0.0 Release Notes
Release Date: 2022-08-15 // about 2 years ago-
๐ฅ Breaking Changes
- 0๏ธโฃ The default serializer will now use
YAML.safe_load
unlessActiveRecord.use_yaml_unsafe_load
. This change only affects users whoseversions
table hasobject
orobject_changes
columns of typetext
, and who use the YAML serializer. People who use the JSON serializer, or those withjson(b)
columns, are unaffected. Please see [doc/pt_13_yaml_safe_load.md](doc/pt_13_yaml_safe_load.md) for details.
โ Added
- None
๐ Fixed
- None
- 0๏ธโฃ The default serializer will now use
Previous changes from v12.3.0
-
๐ฅ Breaking Changes
- None
โ Added
- #1371 - Added
in_after_callback
argument toPaperTrail::RecordTrail#save_with_version
, to allow the caller to indicate if this method is being called during anafter
callback. Defaults tofalse
. - #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