All Versions
103
Latest Version
Avg Release Cycle
3 days
Latest Release
-

Changelog History
Page 2

  • v2.5.0 Changes

    • ๐Ÿ‘Œ Support observing Struct/OpenStruct changes via :[]= method in addition to attribute writers.
    • ๐Ÿ‘Œ Support read-only direct observation of Hash object without key via ModelBinding (e.g. ModelBinding.new(some_hash))
    • ๐Ÿ‘Œ Support read-only direct observation of Array object without index via ModelBinding (e.g. ModelBinding.new(some_array))
    • ๐Ÿ‘Œ Support observing Hash attribute with ModelBinding (all keys or a single key)
    • Disable #ensure_hash_object_observer in ObservableModel/ObservableHash/ObservableArray since it has performance implications and is not necessary
    • Fix issue with #ensure_array_object_observer not receiving recursive: true option when updating value of an attribute in ObservableArray, ObservableModel, and ObservableHash
  • v2.4.1 Changes

    • ๐Ÿ‘Œ Support recursive: [integer] option for ObservableArray#add_observer for finite recursion
  • v2.4.0 Changes

    • ๐Ÿ‘Œ Support passing arbitrary options to Observer #observe (#register) method (not just properties, like recursive: true for example)
    • ๐Ÿ‘‰ Make observing nested arrays within an array optional with recursive: true option
    • ๐Ÿ‘‰ Make Observer dependents collection rely on Concurrent::Hash when available
    • ๐Ÿ›  Fix Observer cleanup of registrations and dependents on #deregister (was not cleaning up everything because observables were changing #hash value on content change and slipping through the cracks as a result)
  • v2.3.0 Changes

    • Have observing ObservableArray automatically notice if any values are nested arrays and observe them for micro-changes (recursively all the way down)
  • v2.2.2 Changes

    • ๐Ÿ‘Œ Support auto-notifying on ObservableArray#replace observed changes
    • ๐Ÿ‘Œ Support auto-notifying on ObservableArray#filter! observed changes explicitly (even if filter! aliases select!)
    • ๐Ÿ‘Œ Support auto-notifying on ObservableHash#filter! observed changes explicitly (even if filter! aliases select!)
  • v2.2.1 Changes

    • Have ObservableHash call notify_observers(key) upon performing all mutation operations (as expected): delete, delete_if, filter!, select!, keep_if, reject!, merge!, replace, shift, transform_keys!, transform_values!
    • Fix issue with Glimmer::DataBinding::Observer.proc {|new_value| ...}.observe(array) resulting in new_value coming across as `nil when the array is updated
  • v2.2.0 Changes

    • ๐Ÿ†• New Glimmer::DataBinding::ObservableHash support for observing hash[key]=value mutations
    • Ensure observed ObservableHash values are enhanced with ObservableHash if they were of type Hash
    • Ensure observed ObservableModel values are enhanced with ObservableHash if they were of type Hash
  • v2.1.5 Changes

    • Upgrade array_include_methods gem to version 1.4.0 (and fix minor version)
    • โšก๏ธ Update API usage of Array#include_all? in Glimmer::DataBinding::ObservableArray to splat array (now required)
  • v2.1.4 Changes

    • Upgrade array_include_methods gem to version 1.2.0
  • v2.1.3 Changes

    • Upgrade array_include_methods gem to version 1.1.0