Skip to content
This repository was archived by the owner on Mar 20, 2022. It is now read-only.

Commit b942760

Browse files
committed
v3.5.0
1 parent a61b8cf commit b942760

File tree

2 files changed

+38
-30
lines changed

2 files changed

+38
-30
lines changed

CHANGELOG.md

Lines changed: 37 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,61 @@
1+
# v3.5.0
2+
3+
- **Added** ability to dynamically set nested schema type (#415)
4+
- **Changed** Enable loose transformation for object spread operator to improve performance (#431)
5+
- **Fixed** don't use schema to attribute mapping on singular array schemas (#387)
6+
- **Fixed** When normalize() receives null input, don't say it is an object (#411)
7+
- **Fixed** Improve performance of circular reference detection (#420)
8+
19
# v3.4.0
210

3-
* **Changed** Now built with Babel 7
4-
* **Added** Support for circular references (gh-335)
5-
* **Added** Symbols are valid keys for Entity keys (gh-369)
6-
* **Added/Changed** Typescript definitions include generics for `normalize` (gh-363)
7-
* **Fixed** denormalization skipping of falsy valued ids used in `Object` schemas (gh-345)
8-
* **Chore** Update dev dependencies
9-
* **Chore** Added Greenkeeper
11+
- **Changed** Now built with Babel 7
12+
- **Added** Support for circular references (gh-335)
13+
- **Added** Symbols are valid keys for Entity keys (gh-369)
14+
- **Added/Changed** Typescript definitions include generics for `normalize` (gh-363)
15+
- **Fixed** denormalization skipping of falsy valued ids used in `Object` schemas (gh-345)
16+
- **Chore** Update dev dependencies
17+
- **Chore** Added Greenkeeper
1018

1119
# v3.3.0
1220

13-
* **Added** ES Module builds
14-
* **Fixed** type error with typescript on array+object shorthand (gh-322)
21+
- **Added** ES Module builds
22+
- **Fixed** type error with typescript on array+object shorthand (gh-322)
1523

1624
# v3.2.0
1725

18-
* **Added** Support denormalizing from Immutable entities (gh-228)
19-
* **Added** Brought back `get idAttribute()` to `schema.Entity` (gh-226)
20-
* **Fixed** Gracefully handle missing data in `denormalize` (gh-232)
21-
* **Fixed** Prevent infinite recursion in `denormalize` (gh-220)
26+
- **Added** Support denormalizing from Immutable entities (gh-228)
27+
- **Added** Brought back `get idAttribute()` to `schema.Entity` (gh-226)
28+
- **Fixed** Gracefully handle missing data in `denormalize` (gh-232)
29+
- **Fixed** Prevent infinite recursion in `denormalize` (gh-220)
2230

2331
# v3.1.0
2432

25-
* **Added** `denormalize`. (gh-214)
26-
* **Changed** No longer requires all input in a polymorphic schema (`Array`, `Union`, `Values`) have a matching schema definition. (gh-208)
27-
* **Changed** Builds do both rollup and plain babel file conversions. `"main"` property in package.json points to babel-converted files.
33+
- **Added** `denormalize`. (gh-214)
34+
- **Changed** No longer requires all input in a polymorphic schema (`Array`, `Union`, `Values`) have a matching schema definition. (gh-208)
35+
- **Changed** Builds do both rollup and plain babel file conversions. `"main"` property in package.json points to babel-converted files.
2836

2937
# v3.0.0
3038

3139
The entire normalizr package has been rewritten from v2.x for this version. Please refer to the [documentation](/docs) for all changes.
3240

3341
## Added
3442

35-
* `schema.Entity`
36-
* `processStrategy` for modifying `Entity` objects before they're moved to the `entities` stack.
37-
* `mergeStrategy` for merging with multiple entities with the same ID.
38-
* Added `schema.Object`, with a shorthand of `{}`
39-
* Added `schema.Array`, with a shorthand of `[ schema ]`
43+
- `schema.Entity`
44+
- `processStrategy` for modifying `Entity` objects before they're moved to the `entities` stack.
45+
- `mergeStrategy` for merging with multiple entities with the same ID.
46+
- Added `schema.Object`, with a shorthand of `{}`
47+
- Added `schema.Array`, with a shorthand of `[ schema ]`
4048

4149
## Changed
4250

43-
* `Schema` has been moved to a `schema` namespace, available at `schema.Entity`
44-
* `arrayOf` has been replaced by `schema.Array` or `[]`
45-
* `unionOf` has been replaced by `schema.Union`
46-
* `valuesOf` has been replaced by `schema.Values`
51+
- `Schema` has been moved to a `schema` namespace, available at `schema.Entity`
52+
- `arrayOf` has been replaced by `schema.Array` or `[]`
53+
- `unionOf` has been replaced by `schema.Union`
54+
- `valuesOf` has been replaced by `schema.Values`
4755

4856
## Removed
4957

50-
* `normalize` no longer accepts an optional `options` argument. All options are assigned at the schema level.
51-
* Entity schema no longer accepts `defaults` as an option. Use a custom `processStrategy` option to apply defaults as needed.
52-
* `assignEntity` has been replaced by `processStrategy`
53-
* `meta` option. See `processStrategy`
58+
- `normalize` no longer accepts an optional `options` argument. All options are assigned at the schema level.
59+
- Entity schema no longer accepts `defaults` as an option. Use a custom `processStrategy` option to apply defaults as needed.
60+
- `assignEntity` has been replaced by `processStrategy`
61+
- `meta` option. See `processStrategy`

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "normalizr",
3-
"version": "3.4.1",
3+
"version": "3.5.0",
44
"description": "Normalizes and denormalizes JSON according to schema for Redux and Flux applications",
55
"bugs": {
66
"url": "https://github.com/paularmstrong/normalizr/issues"

0 commit comments

Comments
 (0)