Redux Orm Versions Save

NOT MAINTAINED – A small, simple and immutable ORM to manage relational data in your Redux store.

v0.17.0-rc.0

2 years ago
  • Add createSelectorFor(orm.<Model>)(...) interface.
    • Keyed selectors automatically map over passed ID arrays so you don't have to deal with ID arguments. (#282)
    • This selector creator makes use of a smarter 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.
  • Add preliminary types (not exhaustive).

v0.16.2

3 years ago
  • Fix upsert when virtual fields have not been passed during creation: Don't attempt to delete from non-existing index. (#543)
  • Fix failing deletion of many-to-many fields with custom accessor names. (#552)
  • Update Babel-related dependencies. (#544)

v0.16.1

4 years ago

v0.16.0

4 years ago
  • Removed unnecessary branches (#316)
  • Optimized 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.

v0.15.1

4 years ago

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.

v0.15.0

4 years ago
  • Serializing the database using 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)
  • Fixed 'desc' values for ordering query sets. (#311)
  • Fixed a bug with field selectors for self-referencing fields not being able to infer the model that the fields point to. (#315)

v0.14.1

4 years ago

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!

v0.14.0

4 years ago

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!

  • We now have much easier selectors for common use-cases. (#257)
  • You can specify related models using Model classes instead of strings. (#266)
  • You can pass custom accessor names for many-to-many fields. (#279)

Thanks @tomasz-zablocki, @kpiotr, @toomuchdesign and @jawadst for your contributions to this release!

v0.14.0-rc.3

4 years ago

v0.14.0-rc.2

4 years ago