Unreleased - View Diff
- #56 - Defer inclusion until after active record has fully loaded
- #54 - Change migration for
versions.transaction_idto BIGINT
v2.3.0 - 2025-04-17 - View Diff
- #46 - Add support for custom version association class with separate database connection
- #49 - Fix has_many though associations when the through association is singular
- #48 - Fix belongs_to polymorphic associations with "empty string" type
v2.2.1 - 2022-03-28 - View Diff
- PR #38 - Fix the issue where reifying has_one association with
dependent: :destroycould destroy a live record
v2.2.0 - 2022-03-14 - View Diff
- PR #36 - Fix load order for paper_trail v12+
- Drop support for Ruby 2.5
- Add Github Actions CI supporting multiple version of Ruby, Rails and multiple databases types
2.1.3 - 2021-04-20 - View Diff
- PR #24 - Fix reification on STI models that have parent child relationships
- A late night oopsies, Release yanked immediately, had bug preventing installation.
2.1.1 - 2020-10-21 - View Diff
- Bug fix for reify on
has_many :throughrelationships when:sourceis specified - Bug fix for reify on
has_many :throughrelationships where the association is a has_one on the through model - Bug fix to ensure install generator will set
PaperTrail.association_tracking = true
2.1.0 - 2020-08-14 - View Diff
- PR #18 - Improve performance for
Model.reify(has_many: true)by separating the SQL subquery. - PR #15 - Recreate
version_associations.foreign_keyindex to utilize the newversion_associations.foreign_typecolumn - Update test matrix to support multiple versions of PT-core and ActiveRecord
- Remove deprecated methods
clear_transaction_id,transaction_idandtransaction_id=
2.0.0 - 2019-01-22 - View Diff
- PR #11 - Remove null constraint on
version_associations.foreign_typecolumn which was added inv1.1.0. This fixes issues adding the column to existing projects who are upgrading. - Add generator
rails g paper_trail_association_tracking:add_foreign_type_to_version_associationsforversions_associations.foreign_typecolumn for upgrading applications fromv1.0.0or earlier.
- Run
rails g paper_trail_association_tracking:add_foreign_type_to_version_associationsand then migrate your database.
1.1.1 - 2018-01-14 - View Diff
- Same as v2 release, this is released simply to maintain a working
v1branch sincev1.1.0was broken