All Versions
25
Latest Version
Avg Release Cycle
148 days
Latest Release
1401 days ago

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.
  • v0.4.4 Changes

    • ๐Ÿš… #111: Fixed compatibility of undo! and redo! methods with Rails 3.x - @mrjlynch.
  • v0.4.3 Changes

    July 10, 2014
  • 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.
  • 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 in undo! and redo! - @dblock.
    • ๐Ÿ›  Fixed undo! and redo! 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 and Mongoid::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 format original=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 to Tracker class for nicer change summaries - @johnnyshields and @tstepp.
    • Refactored and exposed #trackable_parent_class in Tracker, 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 of Mongoid.purge! - @johnnyshields.
    • Tests: Remove dependency on non-committed file mongoid.yml and hardcode collection to mongoid_history_test - @johnnyshields.
  • v0.3.3 Changes

    April 01, 2013
    • #42: Fix: corrected creation of association chain when using nested embedded documents - @matekb.
    • #56: Fix: now possible to undo setting (creating) attributes that was previously unset - @matekb.
    • #49: Fix: now correctly undo/redo localized fields - @edejong.
  • v0.3.2 Changes

    January 24, 2013
    • #54: Used an index instead of the $elemMatch selector in history_tracks - @vecio.
    • #11: Added :modifier_field_inverse_of on track_history that defines the :inverse_of relationship of the modifier class - @matekb, @dblock.
  • v0.3.1 Changes

    November 16, 2012
    • #45: Fix: intermittent hash ordering issue with history_tracks - @getaroom.
    • #50: Fix: tracking of array changes, undo and redo of field changes on non-embedded objects - @dblock.
  • v0.3.0 Changes

    August 21, 2012