This repository has been archived by the owner on Mar 20, 2022. It is now read-only.
Releases: paularmstrong/normalizr
Releases · paularmstrong/normalizr
No longer maintained
Normalizr is still stable and recommended to use if you need it.
v3.6.1
v3.6.1
v3.6.0
v3.5.0
- Added ability to dynamically set nested schema type (#415)
- Changed Enable loose transformation for object spread operator to improve performance (#431)
- Fixed don't use schema to attribute mapping on singular array schemas (#387)
- Fixed When normalize() receives null input, don't say it is an object (#411)
- Fixed Improve performance of circular reference detection (#420)
v3.4.0
- Changed Now built with Babel 7
- Added Support for circular references (gh-335)
- Added Symbols are valid keys for Entity keys (gh-369)
- Added/Changed Typescript definitions include generics for
normalize
(gh-363) - Fixed denormalization skipping of falsy valued ids used in
Object
schemas (gh-345) - Chore Update dev dependencies
- Chore Added Greenkeeper
v3.3.0
- Added ES Module builds
- Fixed type error with typescript on array+object shorthand (gh-322)
v3.2.0
v3.1.0 - denormalize
v3.0.1
- Fixes critical bug in some browsers with
schema.Array
. (#203)
v3.0.0
The entire normalizr package has been rewritten from v2.x for this version. Please refer to the documentation for all changes.
Added
schema.Entity
processStrategy
for modifyingEntity
objects before they're moved to theentities
stack.mergeStrategy
for merging with multiple entities with the same ID.
- Added
schema.Object
, with a shorthand of{}
- Added
schema.Array
, with a shorthand of[ schema ]
Changed
Schema
has been moved to aschema
namespace, available atschema.Entity
arrayOf
has been replaced byschema.Array
or[]
unionOf
has been replaced byschema.Union
valuesOf
has been replaced byschema.Values
Removed
normalize
no longer accepts an optionaloptions
argument. All options are assigned at the schema level.- Entity schema no longer accepts
defaults
as an option. Use a customprocessStrategy
option to apply defaults as needed. assignEntity
has been replaced byprocessStrategy
meta
option. SeeprocessStrategy