parent
3b8f55b3d1
commit
9d0f7bd854
23
CHANGELOG.md
23
CHANGELOG.md
|
@ -5,26 +5,27 @@ recommendations of [keepachangelog.com](http://keepachangelog.com/).
|
||||||
|
|
||||||
## Unreleased
|
## 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
|
### Breaking Changes
|
||||||
|
|
||||||
- None
|
- None
|
||||||
|
|
||||||
### Added
|
### 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
|
### Fixed
|
||||||
|
|
||||||
- [#1373](https://github.com/paper-trail-gem/paper_trail/issues/1373) - Add instruction to use uuid type for item_id in migration.
|
- [#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) -
|
- [#1376](https://github.com/paper-trail-gem/paper_trail/pull/1376) - Create a
|
||||||
Create a version record when associated object was changed the same as
|
version record when associated object is touched. Restores the behavior of
|
||||||
PaperTrail < v12.1.0.
|
PaperTrail < v12.1.0.
|
||||||
|
|
||||||
## 12.2.0 (2022-01-21)
|
## 12.2.0 (2022-01-21)
|
||||||
|
|
Loading…
Reference in New Issue