#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.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps paper_trail from 12.1.0 to 12.3.0.
Changelog
Sourced from paper_trail's changelog.
Commits
b295614
Merge pull request #1378 from paper-trail-gem/release-12.3.077ec32c
Release 12.3.09d0f7bd
Doc: changelog3b8f55b
Fixcreate_versions
migration to support Ruby3 (#1366)81f935f
Added ability to set uuid as item_id type while generating migration (#1374)83b8946
Doc: bundle install66d0043
Merge pull request #1371 from denisahearn/save-with-version-enhancement29c4d37
Merge pull request #1376 from y-yagi/fix-1339f5652ea
Try to create a version record when associated object is touched12976d5
Changed NotOnUpdate test to use record.versions.last.changesetDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)