Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Releases: mschipperheyn/normalizr-immutable

0.0.4-beta8

22 Jun 21:51
Compare
Choose a tag to compare
0.0.4-beta8 Pre-release
Pre-release

Ok, we skipped a number of betas, mostly because I was supporting my team and there were a number of issues that required a succession of quick releases.

Changes

  • If an entity is not found in the reducer structure, it will log and error in stead of throwing one and return undefined
  • Harmony Proxy is now no longer used by default but rather only if an older style proxy is encountered.
  • Maps are now supported as reducer root
  • Added a number of tests to test merging and deep merging
  • Added some nicer debug options and console out

Note

  • This version requires immutable 3.8.1 but for some reason 3.7.x is installed by npm install. You have to manually take care of this for now and verify! Otherwise, you might get mergeDeep exceptions

Still looking for help on late binding. I haven't figured out a good way to do that yet!

0.0.4-beta1

14 Jun 21:09
Compare
Choose a tag to compare
0.0.4-beta1 Pre-release
Pre-release

This release ist in flux.

Currently available:

  • new debug option which dumps more info to the console
  • better error reporting on Proxy
  • added tests for merging

To do

  • while merging works if you use useMapsForEntityObjects:true, deepMerging currently fails
  • I would like to implement late binding to the proxy in order for you to determine after normalization if you want proxy behaviour or not. Not sure how to do this yet.

0.0.3

15 May 14:45
Compare
Choose a tag to compare

So, I'm creating a new version number for this since I changed the API a little.

  • reducerKey is now an attribute of Schema in stead of the normalize function's options object. This allows cross reducer read behaviour through the proxy
  • I fixed an issue where it would only process incoming arrays of objects but not a single object
  • I added two options to the normalize function (read the docs for more info:
    useMapsForEntityObjects: use Map to store entity objects
    useProxyForResults: use Proxy for the result ids

Fixed npm install issue

10 May 01:33
Compare
Choose a tag to compare
Pre-release
0.0.2

changed name to index.js

Initial commit

09 May 20:32
Compare
Choose a tag to compare
Initial commit Pre-release
Pre-release
0.0.1

oops