npm normalizr 2.0.0
v2.0.0

latest releases: 3.6.2, 3.6.1, 3.6.0...
9 years ago

Breaking Changes

  • Now internally using Lodash 4.0, so support for IE < 9 is removed. This is aligned with other libraries, e.g. React 15 also drops it, and Microsoft has officially stopped supporting IE 8 a few days ago. (#52)

New Features

  • Adds support for polymorphic fields via unionOf(schemaMap, options) which works like the polymorphic support for arrayOf and valuesOf but for non-collection fields (#40).
  • Adds an official getIdAttribute() method that existed in v1.0.0, as well as getKey(), to the Schema prototype. (#48)

Don't miss a new normalizr release

NewReleases is sending notifications on new releases.