Doc: changelog

[ci skip]
This commit is contained in:
Jared Beck 2022-03-13 15:44:33 -04:00
parent 3b8f55b3d1
commit 9d0f7bd854
1 changed files with 12 additions and 11 deletions

View File

@ -5,26 +5,27 @@ recommendations of [keepachangelog.com](http://keepachangelog.com/).
## Unreleased
- 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.
- 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`.
### Breaking Changes
- None
### Added
- None
- [#1371](https://github.com/paper-trail-gem/paper_trail/pull/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](https://github.com/paper-trail-gem/paper_trail/pull/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](https://github.com/paper-trail-gem/paper_trail/issues/1373) - Add instruction to use uuid type for item_id in migration.
- [#1376](https://github.com/paper-trail-gem/paper_trail/pull/1376) -
Create a version record when associated object was changed the same as
- [#1373](https://github.com/paper-trail-gem/paper_trail/issues/1373) - Add
CLI option to use uuid type for item_id when generating migration.
- [#1376](https://github.com/paper-trail-gem/paper_trail/pull/1376) - Create a
version record when associated object is touched. Restores the behavior of
PaperTrail < v12.1.0.
## 12.2.0 (2022-01-21)