2013-06-18 14:54:24 -04:00
|
|
|
## 3.0.0 (Unreleased)
|
|
|
|
|
2013-07-02 11:38:23 -04:00
|
|
|
- [#224](https://github.com/airblade/paper_trail/issues/224)/[#236](https://github.com/airblade/paper_trail/pull/236) -
|
|
|
|
Fixed compatibility with [ActsAsTaggableOn](https://github.com/mbleigh/acts-as-taggable-on).
|
2013-06-18 14:54:24 -04:00
|
|
|
- [#235](https://github.com/airblade/paper_trail/pull/235) - Dropped unnecessary secondary sort on `versions` association.
|
2013-08-28 10:29:25 -04:00
|
|
|
- [#216](https://github.com/airblade/paper_trail/pull/216) - Added helper & extension for [RSpec](https://github.com/rspec/rspec),
|
|
|
|
and helper for [Cucumber](http://cukes.info).
|
2013-08-01 15:05:45 -04:00
|
|
|
- [#212](https://github.com/airblade/paper_trail/pull/212) - Added `PaperTrail::Cleaner` module, useful for discarding draft versions.
|
2013-08-08 16:23:02 -04:00
|
|
|
- [#207](https://github.com/airblade/paper_trail/issues/207) - Versions for `'create'` events are now created with `create!` instead of
|
|
|
|
`create` so that an exception gets raised if it is appropriate to do so.
|
2013-07-31 20:37:04 -04:00
|
|
|
- [#199](https://github.com/airblade/paper_trail/pull/199) - Rails 4 compatibility.
|
2013-06-18 14:54:24 -04:00
|
|
|
- [#165](https://github.com/airblade/paper_trail/pull/165) - Namespaced the version class under the `PaperTrail` module.
|
2013-08-13 17:10:41 -04:00
|
|
|
- [#119](https://github.com/airblade/paper_trail/issues/119) - Support for [Sinatra](http://www.sinatrarb.com/); decoupled gem from `Rails`.
|
2013-06-18 14:54:24 -04:00
|
|
|
|
2013-05-23 16:09:46 -04:00
|
|
|
## 2.7.2
|
2013-03-26 12:34:38 -04:00
|
|
|
|
2013-05-22 10:58:42 -04:00
|
|
|
- [#228](https://github.com/airblade/paper_trail/issues/228) - Refactored default `user_for_paper_trail` method implementation
|
|
|
|
so that `current_user` only gets invoked if it is defined.
|
2013-05-13 10:17:19 -04:00
|
|
|
- [#219](https://github.com/airblade/paper_trail/pull/219) - Fixed issue where attributes stored with `nil` value might not get
|
|
|
|
reified properly depending on the way the serializer worked.
|
2013-05-23 15:56:19 -04:00
|
|
|
- [#213](https://github.com/airblade/paper_trail/issues/213) - Added a `version_limit` option to the `PaperTrail::Config` options
|
|
|
|
that can be used to restrict the number of versions PaperTrail will store per object instance.
|
2013-05-13 11:38:53 -04:00
|
|
|
- [#187](https://github.com/airblade/paper_trail/pull/187) - Confirmed JRuby support.
|
|
|
|
- [#174](https://github.com/airblade/paper_trail/pull/174) - The `event` field on the versions table can now be customized.
|
2013-03-26 12:34:38 -04:00
|
|
|
|
2013-02-15 13:06:20 -05:00
|
|
|
## 2.7.1
|
2012-12-28 14:06:34 -05:00
|
|
|
|
2013-02-11 12:49:08 -05:00
|
|
|
- [#206](https://github.com/airblade/paper_trail/issues/206) - Fixed Ruby 1.8.7 compatibility for tracking `object_changes`.
|
2013-02-05 13:45:59 -05:00
|
|
|
- [#200](https://github.com/airblade/paper_trail/issues/200) - Fixed `next_version` method so that it returns the live model
|
|
|
|
when called on latest reified version of a model prior to the live model.
|
2013-02-04 16:00:34 -05:00
|
|
|
- [#197](https://github.com/airblade/paper_trail/issues/197) - PaperTrail now falls back on using YAML for serialization of
|
|
|
|
serialized model attributes for storage in the `object` and `object_changes` columns in the `Version` table. This fixes
|
|
|
|
compatibility for `Rails 3.0.x` for projects that employ the `serialize` declaration on a model.
|
2013-01-22 18:13:58 -05:00
|
|
|
- [#194](https://github.com/airblade/paper_trail/issues/194) - A JSON serializer is now included in the gem.
|
2013-01-21 11:08:31 -05:00
|
|
|
- [#192](https://github.com/airblade/paper_trail/pull/192) - `object_changes` should store serialized representation of serialized
|
|
|
|
attributes for `create` actions (in addition to `update` actions, which had already been patched by
|
|
|
|
[#180](https://github.com/airblade/paper_trail/pull/180)).
|
2013-01-22 18:13:58 -05:00
|
|
|
- [#190](https://github.com/airblade/paper_trail/pull/190) - Fixed compatibility with
|
2013-01-21 11:01:09 -05:00
|
|
|
[SerializedAttributes](https://github.com/technoweenie/serialized_attributes) gem.
|
2013-01-21 10:38:43 -05:00
|
|
|
- [#189](https://github.com/airblade/paper_trail/pull/189) - Provided support for a `configure` block initializer.
|
2013-01-04 10:19:19 -05:00
|
|
|
- Added `setter` method for the `serializer` config option.
|
|
|
|
|
2012-12-28 01:19:29 -05:00
|
|
|
## 2.7.0
|
2012-11-28 11:18:42 -05:00
|
|
|
|
|
|
|
- [#183](https://github.com/airblade/paper_trail/pull/183) - Fully qualify the `Version` class to help prevent
|
|
|
|
namespace resolution errors within other gems / plugins.
|
2012-12-28 14:06:34 -05:00
|
|
|
- [#180](https://github.com/airblade/paper_trail/pull/180) - Store serialized representation of serialized attributes
|
2013-02-04 16:00:34 -05:00
|
|
|
on the `object` and `object_changes` columns in the `Version` table.
|
2012-12-28 14:06:34 -05:00
|
|
|
- [#164](https://github.com/airblade/paper_trail/pull/164) - Allow usage of custom serializer for storage of object attributes.
|
2012-11-28 11:18:42 -05:00
|
|
|
|
2012-11-16 12:24:46 -05:00
|
|
|
## 2.6.4
|
2012-10-16 20:20:44 -04:00
|
|
|
|
2012-11-16 11:54:47 -05:00
|
|
|
- [#181](https://github.com/airblade/paper_trail/issues/181)/[#182](https://github.com/airblade/paper_trail/pull/182) -
|
|
|
|
Controller metadata methods should only be evaluated when `paper_trail_enabled_for_controller == true`.
|
2012-10-30 15:20:47 -04:00
|
|
|
- [#177](https://github.com/airblade/paper_trail/issues/177)/[#178](https://github.com/airblade/paper_trail/pull/178) -
|
|
|
|
Factored out `version_key` into it's own method to prevent `ConnectionNotEstablished` error from getting thrown in
|
|
|
|
instances where `has_paper_trail` is declared on class prior to ActiveRecord establishing a connection.
|
2012-10-16 20:20:44 -04:00
|
|
|
- [#176](https://github.com/airblade/paper_trail/pull/176) - Force metadata calls for attributes to use current value
|
|
|
|
if attribute value is changing.
|
|
|
|
- [#173](https://github.com/airblade/paper_trail/pull/173) - Update link to [diff-lcs](https://github.com/halostatue/diff-lcs).
|
2012-10-30 15:20:47 -04:00
|
|
|
- [#172](https://github.com/airblade/paper_trail/pull/172) - Save `object_changes` on creation.
|
2012-11-06 11:34:02 -05:00
|
|
|
- [#168](https://github.com/airblade/paper_trail/pull/168) - Respect conditional `:if` or `:unless` arguments to the
|
|
|
|
`has_paper_trail` method for `destroy` events.
|
2012-10-16 20:20:44 -04:00
|
|
|
- [#167](https://github.com/airblade/paper_trail/pull/167) - Fix `originator` method so that it works with subclasses and STI.
|
2012-11-06 12:19:31 -05:00
|
|
|
- [#160](https://github.com/airblade/paper_trail/pull/160) - Fixed failing tests and resolved out of date dependency issues.
|
|
|
|
- [#157](https://github.com/airblade/paper_trail/pull/157) - Refactored `class_attribute` names on the `ClassMethods` module
|
2012-11-16 12:24:46 -05:00
|
|
|
for names that are not obviously pertaining to PaperTrail to prevent method name collision.
|