All Versions
25
Latest Version
Avg Release Cycle
148 days
Latest Release
1401 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v0.4.5 Changes
February 09, 2015- #131: Added
undo
method, that helps to get specific version of an object without saving changes - @alexkravets. - ๐ #127: Fixed gem naming per rubygems specs, now you can
require 'mongoid/history'
- @nofxx. - ๐ #129: Support multiple levels of embedded polimorphic documents - @BrunoChauvet.
- #123: Used a method compatible with mongoid-observers to determinine the version of Mongoid - @zeitnot.
- #131: Added
-
v0.4.3 Changes
July 10, 2014- ๐ #110: Fixed scope reference on history tracks criteria - @adbeelitamar.
-
v0.4.2 Changes
July 01, 2014- ๐ #106: Added support for polymorphic relationship
scope
- @adbeelitamar. - #106: Enabled specifying an array of relationships in
scope
- @adbeelitamar. - ๐ #83: Added support for Mongoid 4.x, which removed
attr_accessible
in favor of protected attributes - @dblock. - 0๏ธโฃ #103: Fixed compatibility with models using
default_scope
- @mrjlynch.
- ๐ #106: Added support for polymorphic relationship
-
v0.4.1 Changes
January 11, 2014- ๐ Fixed compatibility with Mongoid 4.x - @dblock.
- ๐
Mongoid::History::Sweeper
has been removed, in accorance with Mongoid 4.x (see #3108) and Rails 4.x observer deprecation - @dblock. - 0๏ธโฃ Default modifier parameter to
nil
inundo!
andredo!
- @dblock. - ๐ Fixed
undo!
andredo!
for mass-assignment protected attributes - @mati0090. - ๐ Implemented Rubocop, Ruby style linter - @dblock.
- โ Remove unneeded coma from README - @matsprea.
- ๐ Replace Jeweler with Gem-Release - @johnnyshields.
- ๐ Track version as a Ruby file - @johnnyshields.
-
v0.4.0 Changes
June 12, 2013- โ Added
Mongoid::History.disable
andMongoid::History.enabled?
methods for global tracking disablement - @johnnyshields. - โ Added
:changes_method
that optionally overrides which method to call to collect changes - @joelnordel. - The
:destroy
action now stores trackers in the formatoriginal=value, modified=nil
(previously it was the reverse) - @johnnyshields. - ๐ Support for polymorphic embedded classes - @tstepp.
- ๐ Support for Mongoid field aliases, e.g.
field :n, as: :name
- @johnnyshields. - Support for Mongoid embedded aliases, e.g.
embeds_many :comments, store_as: :coms
- @johnnyshields. - ๐ Added
#tracked_changes
and#tracked_edits
methods toTracker
class for nicer change summaries - @johnnyshields and @tstepp. - Refactored and exposed
#trackable_parent_class
inTracker
, which returns the class of the trackable regardless of whether the trackable itself has been destroyed - @johnnyshields. - Added class-level
#tracked_field?
and#tracked_fields
methods; refactor logic to determine whether a field is tracked - @johnnyshields. - ๐ Fixed bug in Trackable#track_update where
return
condition at beginning of method caused a short-circuit where memoization would not be cleared properly - @johnnyshields. - โ Tests: Added spec for nested embedded documents - @matekb.
- โ
Tests: Test run time cut in half (~2.5s versus ~5s) by using
#let
helper and removing class initialization before each test - @johnnyshields. - ๐ Tests: Remove
database_cleaner
gem in favor ofMongoid.purge!
- @johnnyshields. - Tests: Remove dependency on non-committed file
mongoid.yml
and hardcode collection tomongoid_history_test
- @johnnyshields.
- โ Added
-
v0.3.1 Changes
November 16, 2012 -
v0.3.0 Changes
August 21, 2012