Skip to content

Commit b76ccfd

Browse files
committed
1 parent dc95f9d commit b76ccfd

28 files changed

+376
-23
lines changed

examples/benchmark/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5+
6+
### 0.0.1-beta.0 (2021-06-30)
7+
8+
**Note:** Version bump only for package benchmark

examples/benchmark/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "benchmark",
3-
"version": "0.0.0",
3+
"version": "0.0.1-beta.0",
44
"description": "Benchmark for normalizr",
55
"main": "index.js",
66
"author": "Nathaniel Tucker",
@@ -10,6 +10,6 @@
1010
"start": "cross-env NODE_ENV=production BROWSERSLIST_ENV=modern babel-node --root-mode upward ./ --extensions '.ts,.tsx,.js'"
1111
},
1212
"devDependencies": {
13-
"@rest-hooks/normalizr": "^7.4.0"
13+
"@rest-hooks/normalizr": "^8.0.0-beta.0"
1414
}
1515
}
+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5+
6+
### 0.0.1-beta.0 (2021-06-30)
7+
8+
**Note:** Version bump only for package normalizr-github-example
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "normalizr-github-example",
3-
"version": "0.0.0",
3+
"version": "0.0.1-beta.0",
44
"description": "And example of using Normalizr with github",
55
"main": "index.js",
66
"author": "Paul Armstrong",
@@ -10,6 +10,6 @@
1010
"start": "babel-node ./ --root-mode upward --extensions '.ts,.tsx,.js'"
1111
},
1212
"dependencies": {
13-
"@rest-hooks/normalizr": "^7.4.0"
13+
"@rest-hooks/normalizr": "^8.0.0-beta.0"
1414
}
1515
}

examples/normalizr-redux/CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5+
6+
### 0.0.1-beta.0 (2021-06-30)
7+
8+
9+
### 📝 Documentation
10+
11+
* Update links ([#954](https://github.com/coinbase/rest-hooks/issues/954)) ([80c4f90](https://github.com/coinbase/rest-hooks/commit/80c4f90cc36e26297751fa8d5ee710f819d169b3))

examples/normalizr-redux/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "normalizr-redux-example",
3-
"version": "0.0.0",
3+
"version": "0.0.1-beta.0",
44
"description": "And example of using Normalizr with Redux",
55
"main": "index.js",
66
"author": "Paul Armstrong",
@@ -11,7 +11,7 @@
1111
},
1212
"devDependencies": {
1313
"@octokit/rest": "^18.6.0",
14-
"@rest-hooks/normalizr": "^7.4.0",
14+
"@rest-hooks/normalizr": "^8.0.0-beta.0",
1515
"inquirer": "^8.1.1",
1616
"redux": "^4.1.0",
1717
"redux-thunk": "^2.3.0"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5+
6+
### 0.0.1-beta.0 (2021-06-30)
7+
8+
9+
### 📝 Documentation
10+
11+
* Update links ([#954](https://github.com/coinbase/rest-hooks/issues/954)) ([80c4f90](https://github.com/coinbase/rest-hooks/commit/80c4f90cc36e26297751fa8d5ee710f819d169b3))

examples/normalizr-relationships/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "normalizr-relationships",
3-
"version": "0.0.0",
3+
"version": "0.0.1-beta.0",
44
"description": "And example of using Normalizr with relationships",
55
"main": "index.js",
66
"author": "Paul Armstrong",
@@ -13,6 +13,6 @@
1313
"mockdate": "^3.0.5"
1414
},
1515
"dependencies": {
16-
"@rest-hooks/normalizr": "^7.4.0"
16+
"@rest-hooks/normalizr": "^8.0.0-beta.0"
1717
}
1818
}

packages/core/CHANGELOG.md

+46
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,52 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [2.0.0-beta.0](https://github.com/coinbase/rest-hooks/compare/@rest-hooks/[email protected]...@rest-hooks/[email protected]) (2021-06-30)
7+
8+
9+
### ⚠ 💥 BREAKING CHANGES
10+
11+
* * Importing directly from hidden files is no longer supported
12+
* Node>=12
13+
* - Removed: SyntheticError (untriggerable since https://github.com/coinbase/rest-hooks/pull/938)
14+
- @rest-hooks/rest: 500s are 'soft', else 'hard'
15+
- PollingSubscription: any errors are 'soft'
16+
- @rest-hooks/endpoint: no default errorPolicy, therefore all errors are
17+
'hard'
18+
* Rest Hooks 4 invalidIfStale behavior completely removed
19+
* buildInferredResult removed. use inferResults instead
20+
* - fromJS() -> process() to customize init
21+
- normalize results in POJO rather than instances
22+
- FlatEntity, SimpleRecord removed (use @rest-hooks/legacy)
23+
- peerDep @rest-hooks/endpoint > 2
24+
* - Removed exports from 'rest-hooks': NestedEntity, schemas, isEntity, Entity, Resource, SimpleResource, SchemaDetail, SchemaList, Method
25+
- use @rest-hooks/legacy, or @rest-hooks/rest instead
26+
* useError() will no longer create synthetic
27+
errors for missing entities
28+
29+
### 🚀 Features
30+
31+
* Add errorPolicy to endpoint options ([#971](https://github.com/coinbase/rest-hooks/issues/971)) ([836f05b](https://github.com/coinbase/rest-hooks/commit/836f05b407b5ac96c8f094e652221aa5a95300b0))
32+
* Use 'exports' package.json member ([#955](https://github.com/coinbase/rest-hooks/issues/955)) ([7e9d39f](https://github.com/coinbase/rest-hooks/commit/7e9d39f15b4b321352ece0caddb93e2c414df8ae))
33+
34+
35+
### 💅 Enhancement
36+
37+
* Different babel targets for cjs and umd builds ([#989](https://github.com/coinbase/rest-hooks/issues/989)) ([f054814](https://github.com/coinbase/rest-hooks/commit/f05481410cf8daa2101d4dbda826e56ad10ec723))
38+
* Entities normalize to POJO ([#940](https://github.com/coinbase/rest-hooks/issues/940)) ([75ebdfe](https://github.com/coinbase/rest-hooks/commit/75ebdfe641ccf57fca35c44a94077e4a314e44d7))
39+
* Remove 'fallback' package.json exports ([#992](https://github.com/coinbase/rest-hooks/issues/992)) ([dc95f9d](https://github.com/coinbase/rest-hooks/commit/dc95f9dbad20d5740218c52c906596b6a3d6eae4))
40+
* Remove buildInferredResult() ([#941](https://github.com/coinbase/rest-hooks/issues/941)) ([c137aa7](https://github.com/coinbase/rest-hooks/commit/c137aa78302541f0167c2cfd32c30b34a3ba971f))
41+
* Remove extraneous hack for expiresAt ([#970](https://github.com/coinbase/rest-hooks/issues/970)) ([0602376](https://github.com/coinbase/rest-hooks/commit/06023760266ed572697605c45bd7e271406badd3))
42+
* Remove Resource export from 'rest-hooks' package ([#939](https://github.com/coinbase/rest-hooks/issues/939)) ([0707920](https://github.com/coinbase/rest-hooks/commit/0707920bd9de70112b5287d101dcd4f6962f21d1))
43+
* useError() only checks meta error ([#938](https://github.com/coinbase/rest-hooks/issues/938)) ([b08d708](https://github.com/coinbase/rest-hooks/commit/b08d708ea50170de0dd25340aec84b86a7687f48))
44+
45+
46+
### 📝 Documentation
47+
48+
* Add doc links to jsdocs ([#966](https://github.com/coinbase/rest-hooks/issues/966)) ([dc7fcfe](https://github.com/coinbase/rest-hooks/commit/dc7fcfec24c30d5f405d24ccc1828620d837ea6b))
49+
50+
51+
652
### [1.5.2](https://github.com/coinbase/rest-hooks/compare/@rest-hooks/[email protected]...@rest-hooks/[email protected]) (2021-06-19)
753

854
**Note:** Version bump only for package @rest-hooks/core

packages/core/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rest-hooks/core",
3-
"version": "1.5.2",
3+
"version": "2.0.0-beta.0",
44
"description": "Asynchronous data framework for React",
55
"sideEffects": false,
66
"main": "dist/index.js",
@@ -102,8 +102,8 @@
102102
},
103103
"dependencies": {
104104
"@babel/runtime": "^7.7.2",
105-
"@rest-hooks/endpoint": "^1.2.2",
106-
"@rest-hooks/normalizr": "^7.4.0",
105+
"@rest-hooks/endpoint": "^2.0.0-beta.0",
106+
"@rest-hooks/normalizr": "^8.0.0-beta.0",
107107
"@rest-hooks/use-enhanced-reducer": "^1.1.0",
108108
"flux-standard-action": "^2.1.1"
109109
},

packages/endpoint/CHANGELOG.md

+37
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,43 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [2.0.0-beta.0](https://github.com/coinbase/rest-hooks/compare/@rest-hooks/[email protected]...@rest-hooks/[email protected]) (2021-06-30)
7+
8+
9+
### ⚠ 💥 BREAKING CHANGES
10+
11+
* * Importing directly from hidden files is no longer supported
12+
* Node>=12
13+
* - Removed: SyntheticError (untriggerable since https://github.com/coinbase/rest-hooks/pull/938)
14+
- @rest-hooks/rest: 500s are 'soft', else 'hard'
15+
- PollingSubscription: any errors are 'soft'
16+
- @rest-hooks/endpoint: no default errorPolicy, therefore all errors are
17+
'hard'
18+
* - fromJS() -> process() to customize init
19+
- normalize results in POJO rather than instances
20+
- FlatEntity, SimpleRecord removed (use @rest-hooks/legacy)
21+
- peerDep @rest-hooks/endpoint > 2
22+
23+
### 🚀 Features
24+
25+
* Add errorPolicy to endpoint options ([#971](https://github.com/coinbase/rest-hooks/issues/971)) ([836f05b](https://github.com/coinbase/rest-hooks/commit/836f05b407b5ac96c8f094e652221aa5a95300b0))
26+
* Use 'exports' package.json member ([#955](https://github.com/coinbase/rest-hooks/issues/955)) ([7e9d39f](https://github.com/coinbase/rest-hooks/commit/7e9d39f15b4b321352ece0caddb93e2c414df8ae))
27+
28+
29+
### 💅 Enhancement
30+
31+
* Different babel targets for cjs and umd builds ([#989](https://github.com/coinbase/rest-hooks/issues/989)) ([f054814](https://github.com/coinbase/rest-hooks/commit/f05481410cf8daa2101d4dbda826e56ad10ec723))
32+
* Entities normalize to POJO ([#940](https://github.com/coinbase/rest-hooks/issues/940)) ([75ebdfe](https://github.com/coinbase/rest-hooks/commit/75ebdfe641ccf57fca35c44a94077e4a314e44d7))
33+
* Give Endpoint.extend() type a name ([#969](https://github.com/coinbase/rest-hooks/issues/969)) ([5afec16](https://github.com/coinbase/rest-hooks/commit/5afec16727f18af6d6acb52b7c0f094555d43e04))
34+
* Remove 'fallback' package.json exports ([#992](https://github.com/coinbase/rest-hooks/issues/992)) ([dc95f9d](https://github.com/coinbase/rest-hooks/commit/dc95f9dbad20d5740218c52c906596b6a3d6eae4))
35+
36+
37+
### 📝 Documentation
38+
39+
* Add doc links to jsdocs ([#966](https://github.com/coinbase/rest-hooks/issues/966)) ([dc7fcfe](https://github.com/coinbase/rest-hooks/commit/dc7fcfec24c30d5f405d24ccc1828620d837ea6b))
40+
41+
42+
643
### [1.2.2](https://github.com/coinbase/rest-hooks/compare/@rest-hooks/[email protected]...@rest-hooks/[email protected]) (2021-06-19)
744

845
**Note:** Version bump only for package @rest-hooks/endpoint

packages/endpoint/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rest-hooks/endpoint",
3-
"version": "1.2.2",
3+
"version": "2.0.0-beta.0",
44
"description": "Declarative Network Interface Definitions",
55
"sideEffects": false,
66
"main": "dist/index.js",
@@ -97,6 +97,6 @@
9797
},
9898
"dependencies": {
9999
"@babel/runtime": "^7.7.2",
100-
"@rest-hooks/normalizr": "^7.4.0"
100+
"@rest-hooks/normalizr": "^8.0.0-beta.0"
101101
}
102102
}

packages/experimental/CHANGELOG.md

+32
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,38 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [1.0.0-beta.0](https://github.com/coinbase/rest-hooks/compare/@rest-hooks/[email protected]...@rest-hooks/[email protected]) (2021-06-30)
7+
8+
9+
### ⚠ 💥 BREAKING CHANGES
10+
11+
* - Removed: SyntheticError (untriggerable since https://github.com/coinbase/rest-hooks/pull/938)
12+
- @rest-hooks/rest: 500s are 'soft', else 'hard'
13+
- PollingSubscription: any errors are 'soft'
14+
- @rest-hooks/endpoint: no default errorPolicy, therefore all errors are
15+
'hard'
16+
* - fromJS() -> process() to customize init
17+
- normalize results in POJO rather than instances
18+
- FlatEntity, SimpleRecord removed (use @rest-hooks/legacy)
19+
- peerDep @rest-hooks/endpoint > 2
20+
21+
### 🚀 Features
22+
23+
* Add errorPolicy to endpoint options ([#971](https://github.com/coinbase/rest-hooks/issues/971)) ([836f05b](https://github.com/coinbase/rest-hooks/commit/836f05b407b5ac96c8f094e652221aa5a95300b0))
24+
* Mark compatibility with upcoming versions ([#959](https://github.com/coinbase/rest-hooks/issues/959)) ([a30fe4c](https://github.com/coinbase/rest-hooks/commit/a30fe4c000878aafe724915f653594aa67c5c336))
25+
26+
27+
### 💅 Enhancement
28+
29+
* Entities normalize to POJO ([#940](https://github.com/coinbase/rest-hooks/issues/940)) ([75ebdfe](https://github.com/coinbase/rest-hooks/commit/75ebdfe641ccf57fca35c44a94077e4a314e44d7))
30+
31+
32+
### 📝 Documentation
33+
34+
* Add doc links to jsdocs ([#966](https://github.com/coinbase/rest-hooks/issues/966)) ([dc7fcfe](https://github.com/coinbase/rest-hooks/commit/dc7fcfec24c30d5f405d24ccc1828620d837ea6b))
35+
36+
37+
638
## [0.8.0](https://github.com/coinbase/rest-hooks/compare/@rest-hooks/[email protected]...@rest-hooks/[email protected]) (2021-06-19)
739

840

packages/experimental/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rest-hooks/experimental",
3-
"version": "0.9.0",
3+
"version": "1.0.0-beta.0",
44
"description": "Experimental extensions for Rest Hooks",
55
"sideEffects": false,
66
"main": "dist/index.cjs.js",

packages/hooks/CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,20 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [1.5.0-beta.0](https://github.com/coinbase/rest-hooks/compare/@rest-hooks/[email protected]...@rest-hooks/[email protected]) (2021-06-30)
7+
8+
9+
### 🚀 Features
10+
11+
* Mark compatibility with upcoming versions ([#959](https://github.com/coinbase/rest-hooks/issues/959)) ([a30fe4c](https://github.com/coinbase/rest-hooks/commit/a30fe4c000878aafe724915f653594aa67c5c336))
12+
13+
14+
### 📝 Documentation
15+
16+
* Add doc links to jsdocs ([#966](https://github.com/coinbase/rest-hooks/issues/966)) ([dc7fcfe](https://github.com/coinbase/rest-hooks/commit/dc7fcfec24c30d5f405d24ccc1828620d837ea6b))
17+
18+
19+
620
## [1.3.0](https://github.com/coinbase/rest-hooks/compare/@rest-hooks/[email protected]...@rest-hooks/[email protected]) (2021-06-13)
721

822

packages/hooks/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rest-hooks/hooks",
3-
"version": "1.4.0",
3+
"version": "1.5.0-beta.0",
44
"description": "Collection of composable data hooks",
55
"sideEffects": false,
66
"main": "dist/index.cjs.js",

packages/img/CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [0.5.0-beta.0](https://github.com/coinbase/rest-hooks/compare/@rest-hooks/[email protected]...@rest-hooks/[email protected]) (2021-06-30)
7+
8+
9+
### 🚀 Features
10+
11+
* Mark compatibility with upcoming versions ([#959](https://github.com/coinbase/rest-hooks/issues/959)) ([a30fe4c](https://github.com/coinbase/rest-hooks/commit/a30fe4c000878aafe724915f653594aa67c5c336))
12+
13+
14+
615
## [0.3.0](https://github.com/coinbase/rest-hooks/compare/@rest-hooks/[email protected]...@rest-hooks/[email protected]) (2021-06-13)
716

817

packages/img/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rest-hooks/img",
3-
"version": "0.4.0",
3+
"version": "0.5.0-beta.0",
44
"description": "Suspenseful images",
55
"sideEffects": false,
66
"main": "dist/index.cjs.js",

packages/legacy/CHANGELOG.md

+45
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,51 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [3.0.0-beta.0](https://github.com/coinbase/rest-hooks/compare/@rest-hooks/[email protected]...@rest-hooks/[email protected]) (2021-06-30)
7+
8+
9+
### ⚠ 💥 BREAKING CHANGES
10+
11+
* * Importing directly from hidden files is no longer supported
12+
* Node>=12
13+
* - Removed: SyntheticError (untriggerable since https://github.com/coinbase/rest-hooks/pull/938)
14+
- @rest-hooks/rest: 500s are 'soft', else 'hard'
15+
- PollingSubscription: any errors are 'soft'
16+
- @rest-hooks/endpoint: no default errorPolicy, therefore all errors are
17+
'hard'
18+
* - fromJS() -> process() to customize init
19+
- normalize results in POJO rather than instances
20+
- FlatEntity, SimpleRecord removed (use @rest-hooks/legacy)
21+
- peerDep @rest-hooks/endpoint > 2
22+
* useError() will no longer create synthetic
23+
errors for missing entities
24+
25+
### 🚀 Features
26+
27+
* Add errorPolicy to endpoint options ([#971](https://github.com/coinbase/rest-hooks/issues/971)) ([836f05b](https://github.com/coinbase/rest-hooks/commit/836f05b407b5ac96c8f094e652221aa5a95300b0))
28+
* Mark compatibility with upcoming versions ([#959](https://github.com/coinbase/rest-hooks/issues/959)) ([a30fe4c](https://github.com/coinbase/rest-hooks/commit/a30fe4c000878aafe724915f653594aa67c5c336))
29+
* Use 'exports' package.json member ([#955](https://github.com/coinbase/rest-hooks/issues/955)) ([7e9d39f](https://github.com/coinbase/rest-hooks/commit/7e9d39f15b4b321352ece0caddb93e2c414df8ae))
30+
31+
32+
### 💅 Enhancement
33+
34+
* Different babel targets for cjs and umd builds ([#989](https://github.com/coinbase/rest-hooks/issues/989)) ([f054814](https://github.com/coinbase/rest-hooks/commit/f05481410cf8daa2101d4dbda826e56ad10ec723))
35+
* Entities normalize to POJO ([#940](https://github.com/coinbase/rest-hooks/issues/940)) ([75ebdfe](https://github.com/coinbase/rest-hooks/commit/75ebdfe641ccf57fca35c44a94077e4a314e44d7))
36+
* Remove 'fallback' package.json exports ([#992](https://github.com/coinbase/rest-hooks/issues/992)) ([dc95f9d](https://github.com/coinbase/rest-hooks/commit/dc95f9dbad20d5740218c52c906596b6a3d6eae4))
37+
* useError() only checks meta error ([#938](https://github.com/coinbase/rest-hooks/issues/938)) ([b08d708](https://github.com/coinbase/rest-hooks/commit/b08d708ea50170de0dd25340aec84b86a7687f48))
38+
39+
40+
### 🐛 Bug Fix
41+
42+
* Legacy cjs and unpkg should target 'legacy' ([#961](https://github.com/coinbase/rest-hooks/issues/961)) ([ba76f35](https://github.com/coinbase/rest-hooks/commit/ba76f3501ae46b6d9d9162e52b76c96fa1fbca1d))
43+
44+
45+
### 📝 Documentation
46+
47+
* Add doc links to jsdocs ([#966](https://github.com/coinbase/rest-hooks/issues/966)) ([dc7fcfe](https://github.com/coinbase/rest-hooks/commit/dc7fcfec24c30d5f405d24ccc1828620d837ea6b))
48+
49+
50+
651
## [2.2.0](https://github.com/coinbase/rest-hooks/compare/@rest-hooks/[email protected]...@rest-hooks/[email protected]) (2021-06-16)
752

853

packages/legacy/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rest-hooks/legacy",
3-
"version": "2.2.0",
3+
"version": "3.0.0-beta.0",
44
"description": "Legacy features for Rest Hooks",
55
"sideEffects": false,
66
"main": "dist/index.js",

0 commit comments

Comments
 (0)