Glimmer v2.5.0 Release Notes

    • ๐Ÿ‘Œ 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