Skip to content

Commit 69ae187

Browse files
internal: Publish new version (#3400)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent a6af54c commit 69ae187

22 files changed

+163
-66
lines changed

.changeset/angry-spoons-play.md

-7
This file was deleted.

.changeset/mean-hotels-attack.md

-7
This file was deleted.

.changeset/silent-candles-stick.md

-5
This file was deleted.

.changeset/wide-berries-smell.md

-32
This file was deleted.

examples/benchmark/CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# example-benchmark
22

3+
## 0.4.74
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`a6af54c`](https://github.com/reactive/data-client/commit/a6af54c1bc2193de47c96938df74b243cb82bfe6), [`d84899d`](https://github.com/reactive/data-client/commit/d84899de4fb784375ab7a34fff6fe23a2ed98037)]:
8+
- @data-client/endpoint@0.14.25
9+
- @data-client/core@0.14.24
10+
- @data-client/normalizr@0.14.22
11+
312
## 0.4.73
413

514
### Patch Changes

examples/benchmark/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "example-benchmark",
3-
"version": "0.4.73",
3+
"version": "0.4.74",
44
"description": "Benchmark for normalizr",
55
"main": "index.js",
66
"author": "Nathaniel Tucker",

examples/normalizr-github/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# normalizr-github-example
22

3+
## 0.1.50
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`a6af54c`](https://github.com/reactive/data-client/commit/a6af54c1bc2193de47c96938df74b243cb82bfe6), [`d84899d`](https://github.com/reactive/data-client/commit/d84899de4fb784375ab7a34fff6fe23a2ed98037)]:
8+
- @data-client/endpoint@0.14.25
9+
- @data-client/normalizr@0.14.22
10+
311
## 0.1.49
412

513
### Patch Changes

examples/normalizr-github/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "normalizr-github-example",
3-
"version": "0.1.49",
3+
"version": "0.1.50",
44
"description": "And example of using Normalizr with github",
55
"main": "index.js",
66
"author": "Paul Armstrong",

examples/normalizr-redux/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# normalizr-redux-example
22

3+
## 0.1.48
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`a6af54c`](https://github.com/reactive/data-client/commit/a6af54c1bc2193de47c96938df74b243cb82bfe6), [`d84899d`](https://github.com/reactive/data-client/commit/d84899de4fb784375ab7a34fff6fe23a2ed98037)]:
8+
- @data-client/endpoint@0.14.25
9+
- @data-client/normalizr@0.14.22
10+
311
## 0.1.47
412

513
### Patch Changes

examples/normalizr-redux/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "normalizr-redux-example",
3-
"version": "0.1.47",
3+
"version": "0.1.48",
44
"description": "And example of using Normalizr with Redux",
55
"main": "index.js",
66
"author": "Paul Armstrong",

examples/normalizr-relationships/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# normalizr-relationships
22

3+
## 0.1.50
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`a6af54c`](https://github.com/reactive/data-client/commit/a6af54c1bc2193de47c96938df74b243cb82bfe6), [`d84899d`](https://github.com/reactive/data-client/commit/d84899de4fb784375ab7a34fff6fe23a2ed98037)]:
8+
- @data-client/endpoint@0.14.25
9+
- @data-client/normalizr@0.14.22
10+
311
## 0.1.49
412

513
### Patch Changes

examples/normalizr-relationships/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "normalizr-relationships",
3-
"version": "0.1.49",
3+
"version": "0.1.50",
44
"description": "And example of using Normalizr with relationships",
55
"main": "index.js",
66
"author": "Paul Armstrong",

packages/endpoint/CHANGELOG.md

+33
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# @data-client/endpoint
22

3+
## 0.14.25
4+
5+
### Patch Changes
6+
7+
- [#3417](https://github.com/reactive/data-client/pull/3417) [`a6af54c`](https://github.com/reactive/data-client/commit/a6af54c1bc2193de47c96938df74b243cb82bfe6) Thanks [@ntucker](https://github.com/ntucker)! - Update getOptimisticResponse snapshot types to include getResponseMeta
8+
9+
- [#3407](https://github.com/reactive/data-client/pull/3407) [`d84899d`](https://github.com/reactive/data-client/commit/d84899de4fb784375ab7a34fff6fe23a2ed98037) Thanks [@ntucker](https://github.com/ntucker)! - Support dynamic invalidation/deletes
10+
11+
Returning `undefined` from [Entity.process](https://dataclient.io/rest/api/Entity#process)
12+
will cause the [Entity](https://dataclient.io/rest/api/Entity) to be [invalidated](https://dataclient.io/docs/concepts/expiry-policy#invalidate-entity).
13+
This this allows us to invalidate dynamically; based on the particular response data.
14+
15+
```ts
16+
class PriceLevel extends Entity {
17+
price = 0;
18+
amount = 0;
19+
20+
pk() {
21+
return this.price;
22+
}
23+
24+
static process(
25+
input: [number, number],
26+
parent: any,
27+
key: string | undefined,
28+
): any {
29+
const [price, amount] = input;
30+
if (amount === 0) return undefined;
31+
return { price, amount };
32+
}
33+
}
34+
```
35+
336
## 0.14.21
437

538
### Patch Changes

packages/endpoint/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@data-client/endpoint",
3-
"version": "0.14.21",
3+
"version": "0.14.25",
44
"description": "Declarative Network Interface Definitions",
55
"homepage": "https://dataclient.io/docs/guides/custom-protocol",
66
"keywords": [

packages/graphql/CHANGELOG.md

+36
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,41 @@
11
# @data-client/graphql
22

3+
## 0.14.25
4+
5+
### Patch Changes
6+
7+
- [#3417](https://github.com/reactive/data-client/pull/3417) [`a6af54c`](https://github.com/reactive/data-client/commit/a6af54c1bc2193de47c96938df74b243cb82bfe6) Thanks [@ntucker](https://github.com/ntucker)! - Update getOptimisticResponse snapshot types to include getResponseMeta
8+
9+
- [#3407](https://github.com/reactive/data-client/pull/3407) [`d84899d`](https://github.com/reactive/data-client/commit/d84899de4fb784375ab7a34fff6fe23a2ed98037) Thanks [@ntucker](https://github.com/ntucker)! - Support dynamic invalidation/deletes
10+
11+
Returning `undefined` from [Entity.process](https://dataclient.io/rest/api/Entity#process)
12+
will cause the [Entity](https://dataclient.io/rest/api/Entity) to be [invalidated](https://dataclient.io/docs/concepts/expiry-policy#invalidate-entity).
13+
This this allows us to invalidate dynamically; based on the particular response data.
14+
15+
```ts
16+
class PriceLevel extends Entity {
17+
price = 0;
18+
amount = 0;
19+
20+
pk() {
21+
return this.price;
22+
}
23+
24+
static process(
25+
input: [number, number],
26+
parent: any,
27+
key: string | undefined,
28+
): any {
29+
const [price, amount] = input;
30+
if (amount === 0) return undefined;
31+
return { price, amount };
32+
}
33+
}
34+
```
35+
36+
- Updated dependencies [[`a6af54c`](https://github.com/reactive/data-client/commit/a6af54c1bc2193de47c96938df74b243cb82bfe6), [`d84899d`](https://github.com/reactive/data-client/commit/d84899de4fb784375ab7a34fff6fe23a2ed98037)]:
37+
- @data-client/endpoint@0.14.25
38+
339
## 0.14.21
440

541
### Patch Changes

packages/graphql/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@data-client/graphql",
3-
"version": "0.14.21",
3+
"version": "0.14.25",
44
"description": "Quickly define typed GraphQL resources and endpoints",
55
"homepage": "https://dataclient.io/docs/graphql",
66
"repository": {
@@ -107,7 +107,7 @@
107107
"license": "Apache-2.0",
108108
"dependencies": {
109109
"@babel/runtime": "^7.20.0",
110-
"@data-client/endpoint": "^0.14.21"
110+
"@data-client/endpoint": "^0.14.25"
111111
},
112112
"devDependencies": {
113113
"@anansi/browserslist-config": "^1.4.2",

packages/img/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"license": "Apache-2.0",
7676
"dependencies": {
7777
"@babel/runtime": "^7.20.0",
78-
"@data-client/endpoint": "^0.14.21"
78+
"@data-client/endpoint": "^0.14.25"
7979
},
8080
"peerDependencies": {
8181
"@data-client/react": "^0.1.0 || ^0.2.0 || ^0.3.0 || ^0.4.0 || ^0.5.0 || ^0.7.0 || ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^0.14.0",

packages/react/CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @data-client/react
22

3+
## 0.14.25
4+
5+
### Patch Changes
6+
7+
- [#3398](https://github.com/reactive/data-client/pull/3398) [`d716159`](https://github.com/reactive/data-client/commit/d716159634a067790cd330c4a8c1660fe5f92973) Thanks [@ntucker](https://github.com/ntucker)! - Use controller.getResponseMeta() in hooks
8+
9+
No behavior change, just anticipating API updates to controller
10+
11+
- [`d6eab29`](https://github.com/reactive/data-client/commit/d6eab2993c3da86d06753cbb50caebc5e19309e2) Thanks [@ntucker](https://github.com/ntucker)! - docs: Add links to platforms
12+
313
## 0.14.24
414

515
### Patch Changes

packages/react/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@data-client/react",
3-
"version": "0.14.24",
3+
"version": "0.14.25",
44
"description": "Async State Management without the Management. REST, GraphQL, SSE, Websockets, Fetch",
55
"homepage": "https://dataclient.io",
66
"repository": {

packages/rest/CHANGELOG.md

+36
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,41 @@
11
# @data-client/rest
22

3+
## 0.14.25
4+
5+
### Patch Changes
6+
7+
- [#3417](https://github.com/reactive/data-client/pull/3417) [`a6af54c`](https://github.com/reactive/data-client/commit/a6af54c1bc2193de47c96938df74b243cb82bfe6) Thanks [@ntucker](https://github.com/ntucker)! - Update getOptimisticResponse snapshot types to include getResponseMeta
8+
9+
- [#3407](https://github.com/reactive/data-client/pull/3407) [`d84899d`](https://github.com/reactive/data-client/commit/d84899de4fb784375ab7a34fff6fe23a2ed98037) Thanks [@ntucker](https://github.com/ntucker)! - Support dynamic invalidation/deletes
10+
11+
Returning `undefined` from [Entity.process](https://dataclient.io/rest/api/Entity#process)
12+
will cause the [Entity](https://dataclient.io/rest/api/Entity) to be [invalidated](https://dataclient.io/docs/concepts/expiry-policy#invalidate-entity).
13+
This this allows us to invalidate dynamically; based on the particular response data.
14+
15+
```ts
16+
class PriceLevel extends Entity {
17+
price = 0;
18+
amount = 0;
19+
20+
pk() {
21+
return this.price;
22+
}
23+
24+
static process(
25+
input: [number, number],
26+
parent: any,
27+
key: string | undefined,
28+
): any {
29+
const [price, amount] = input;
30+
if (amount === 0) return undefined;
31+
return { price, amount };
32+
}
33+
}
34+
```
35+
36+
- Updated dependencies [[`a6af54c`](https://github.com/reactive/data-client/commit/a6af54c1bc2193de47c96938df74b243cb82bfe6), [`d84899d`](https://github.com/reactive/data-client/commit/d84899de4fb784375ab7a34fff6fe23a2ed98037)]:
37+
- @data-client/endpoint@0.14.25
38+
339
## 0.14.22
440

541
### Patch Changes

packages/rest/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@data-client/rest",
3-
"version": "0.14.22",
3+
"version": "0.14.25",
44
"description": "Quickly define typed REST resources and endpoints",
55
"homepage": "https://dataclient.io/rest",
66
"repository": {
@@ -135,7 +135,7 @@
135135
"license": "Apache-2.0",
136136
"dependencies": {
137137
"@babel/runtime": "^7.20.0",
138-
"@data-client/endpoint": "^0.14.21",
138+
"@data-client/endpoint": "^0.14.25",
139139
"path-to-regexp": "^6.3.0"
140140
},
141141
"devDependencies": {

yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -3090,7 +3090,7 @@ __metadata:
30903090
languageName: unknown
30913091
linkType: soft
30923092

3093-
"@data-client/endpoint@npm:^0.14.21, @data-client/endpoint@workspace:*, @data-client/endpoint@workspace:^, @data-client/endpoint@workspace:packages/endpoint":
3093+
"@data-client/endpoint@npm:^0.14.25, @data-client/endpoint@workspace:*, @data-client/endpoint@workspace:^, @data-client/endpoint@workspace:packages/endpoint":
30943094
version: 0.0.0-use.local
30953095
resolution: "@data-client/endpoint@workspace:packages/endpoint"
30963096
dependencies:
@@ -3113,7 +3113,7 @@ __metadata:
31133113
dependencies:
31143114
"@anansi/browserslist-config": "npm:^1.4.2"
31153115
"@babel/runtime": "npm:^7.20.0"
3116-
"@data-client/endpoint": "npm:^0.14.21"
3116+
"@data-client/endpoint": "npm:^0.14.25"
31173117
"@types/jest": "npm:^29.5.14"
31183118
"@types/node": "npm:^22.0.0"
31193119
nock: "npm:13.3.1"
@@ -3127,7 +3127,7 @@ __metadata:
31273127
dependencies:
31283128
"@anansi/browserslist-config": "npm:^1.4.2"
31293129
"@babel/runtime": "npm:^7.20.0"
3130-
"@data-client/endpoint": "npm:^0.14.21"
3130+
"@data-client/endpoint": "npm:^0.14.25"
31313131
"@data-client/react": "workspace:*"
31323132
"@testing-library/react": "npm:^16.1.0"
31333133
"@types/jest": "npm:^29.5.14"
@@ -3210,7 +3210,7 @@ __metadata:
32103210
dependencies:
32113211
"@anansi/browserslist-config": "npm:^1.4.2"
32123212
"@babel/runtime": "npm:^7.20.0"
3213-
"@data-client/endpoint": "npm:^0.14.21"
3213+
"@data-client/endpoint": "npm:^0.14.25"
32143214
"@data-client/react": "workspace:*"
32153215
"@data-client/test": "workspace:*"
32163216
"@types/jest": "npm:^29.5.14"

0 commit comments

Comments
 (0)