diff --git a/CHANGELOG.md b/CHANGELOG.md index b4673eb3..4e48fa80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,8 +18,10 @@ If you depend on the `RSpec` or `Cucumber` helpers, you will need to [manually l Support for versioning of associations (Has Many, Has One, HABTM, etc.) - [#438](https://github.com/airblade/paper_trail/issues/438) - `ModelKlass.paper_trail_enabled_for_model?` should return `false` if `has_paper_trail` has not been declared on the class. - - [#428](https://github.com/airblade/paper_trail/issues/428) - `model_instance.dup` does not need to be invoked when examining - what the instance looked like before changes were persisted, which avoids issues if a 3rd party has overriden the `dup` behavior + - [#404](https://github.com/airblade/paper_trail/issues/404) / [#428](https://github.com/airblade/paper_trail/issues/428) - + `model_instance.dup` does not need to be invoked when examining what the instance looked like before changes were persisted, + which avoids issues if a 3rd party has overriden the `dup` behavior. Also fixes errors occuring when a user attempts to + update the inheritance column on an STI model instance in `ActiveRecord` 4.1.x - [#427](https://github.com/airblade/paper_trail/pull/427) - Fix `reify` method in context of model where a column has been removed. - [#420](https://github.com/airblade/paper_trail/issues/420) - Add `VersionConcern#where_object_changes` instance method; acts as a helper for querying against the `object_changes` column in versions table. @@ -47,6 +49,11 @@ If you depend on the `RSpec` or `Cucumber` helpers, you will need to [manually l - Both `PaperTrail.config` and `PaperTrail.configure` are now identical, and will both return the `PaperTrail::Config` instance and also yield it if a block is provided. +## 3.0.7 + + - [#404](https://github.com/airblade/paper_trail/issues/404) / [#428](https://github.com/airblade/paper_trail/issues/428) - + Fix errors occuring when a user attempts to update the inheritance column on an STI model instance in `ActiveRecord` 4.1.x + ## 3.0.6 - [#414](https://github.com/airblade/paper_trail/issues/414) - Backport fix for `ignore` argument to `has_paper_trail` in @@ -54,7 +61,7 @@ If you depend on the `RSpec` or `Cucumber` helpers, you will need to [manually l ## 3.0.5 - - [#401](https://github.com/airblade/paper_trail/issues/401) / [#406](https://github.com/airblade/paper_trail/issues/406) + - [#401](https://github.com/airblade/paper_trail/issues/401) / [#406](https://github.com/airblade/paper_trail/issues/406) - `PaperTrail::Version` class is not loaded via a `Rails::Engine`, even when the gem is used with in Rails. This feature has will be re-introduced in version `4.0`. - [#398](https://github.com/airblade/paper_trail/pull/398) - Only require the `RSpec` helper if `RSpec::Core` is required.