NOT MAINTAINED – A small, simple and immutable ORM to manage relational data in your Redux store.
createSelectorFor(orm.<Model>)(...)
interface.
memoizeByKey
memoization function without relying on re-reselect, freeing us from memory size limits. The downside is that our memory could overflow but this can be prevented in the future.objectShallowEquals
using every
instead of forEach
(#317)This release should not be breaking. It is a new minor version only to safeguard from potential edge cases.
Fix memoization for map selectors. (#318)
Consider the selector createSelector(orm.Book.authors.map(orm.Author.name))
. When the list of a book's authors didn't change but one of the authors' names changed, the selector would still return the old name.
JSON.stringify
is now officially supported and tested. This allows using redux-persist without any special configuration again. We no longer use a symbol to detect state objects, so you may need to add a migration to make this work with older persisted states. (#321)'desc'
values for ordering query sets. (#311)Use Symbol.for
to create symbols in the global symbol registry (#290).
Fixes a bug in v0.14.0 where symbols were always unique. Now you can use Redux-ORM across JavaScript contexts again. Thanks @ahutchings!
This release took months to finish as we wanted to document everything first, but now it's finally here.
Check out the new standalone documentation at https://redux-orm.github.io/redux-orm!
Thanks @tomasz-zablocki, @kpiotr, @toomuchdesign and @jawadst for your contributions to this release!
QuerySet.order()
parameter handling to be consistent with documented behavior. (#262, https://github.com/redux-orm/redux-orm/commit/4830ab4035c860e71e7187109c94665c39af74bb)func.apply
instead of spread operator. (https://github.com/redux-orm/redux-orm/commit/5ecda9e2e96aa684ace7dffacd7e5acf30957421)