- Register store_attributes as attributes. (@rickcsong)
-
Fix possible conflicts with Active Model objects. (@palkan)
-
Fix passing suffix/prefix to
store_accessor
without types. (@palkan)
- Fixed suffix/prefix for predicates. (@Alan-Marx)
-
Ruby 2.6+ and Rails 6+ is required.
-
Refactored internal implementation to use Rails Store implementation as much as possible. (@palkan)
Use existing Attributes API and Store API instead of duplicating and monkey-patching. Dirty-tracking, accessors and prefixes/suffixes are now handled by Rails. We only provide type coercions for stores.
- Fix keeping empty store hashes in the changes. (@markedmondson)
See PR#22.
- Fix bug with store mutation during changes calculation. (@palkan)
- Fix bug with dirty nullable stores. (@palkan)
- Default values no longer marked as dirty. (@markedmondson)
- Fix adding dirty tracking methods for
store_attribute
. (@palkan)
-
Fixed bug with
store
called without accessors. (@ioki-klaus)See #10.
-
Added default values support. (@dreikanter, @SumLare)
See PR #7.
-
Start keeping changelog. (@palkan)