From af07e7a1ba9eaa6fe56ebd4c79a3732d541507f5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 28 Dec 2024 10:55:30 -0800 Subject: [PATCH] internal: Publish new version (#3322) Co-authored-by: github-actions[bot] --- .changeset/cold-bugs-shave.md | 6 ------ .changeset/itchy-guests-argue.md | 8 -------- .changeset/perfect-walls-admire.md | 26 -------------------------- examples/benchmark/CHANGELOG.md | 8 ++++++++ examples/benchmark/package.json | 2 +- packages/core/CHANGELOG.md | 6 ++++++ packages/core/package.json | 2 +- packages/react/CHANGELOG.md | 14 ++++++++++++++ packages/react/package.json | 4 ++-- packages/rest/CHANGELOG.md | 27 +++++++++++++++++++++++++++ packages/rest/package.json | 2 +- yarn.lock | 4 ++-- 12 files changed, 62 insertions(+), 47 deletions(-) delete mode 100644 .changeset/cold-bugs-shave.md delete mode 100644 .changeset/itchy-guests-argue.md delete mode 100644 .changeset/perfect-walls-admire.md diff --git a/.changeset/cold-bugs-shave.md b/.changeset/cold-bugs-shave.md deleted file mode 100644 index 286157f7e6aa..000000000000 --- a/.changeset/cold-bugs-shave.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@data-client/core': patch -'@data-client/react': patch ---- - -SUBSCRIBE action field ordering consistent with other actions diff --git a/.changeset/itchy-guests-argue.md b/.changeset/itchy-guests-argue.md deleted file mode 100644 index cdc49fc9dad7..000000000000 --- a/.changeset/itchy-guests-argue.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@data-client/react': patch ---- - -Fix pnp compatibility - -Change import from @data-client/normalizr -> @data-client/core -as `core` is explicit dependency \ No newline at end of file diff --git a/.changeset/perfect-walls-admire.md b/.changeset/perfect-walls-admire.md deleted file mode 100644 index 54dd774b3640..000000000000 --- a/.changeset/perfect-walls-admire.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -'@data-client/rest': patch ---- - -Resource.extend() compatibility with TypeScript 5 - -Previously [extending existing members](https://dataclient.io/rest/api/resource#extend-override) with no -typed overrides (like [path](https://dataclient.io/rest/api/resource#path)) would not work starting with -TypeScript 5.7. - -```ts -const UserResource = UserResourceBase.extend({ - partialUpdate: { - getOptimisticResponse(snap, params, body) { - params.id; - params.group; - // @ts-expect-error - params.nothere; - return { - id: params.id, - ...body, - }; - }, - }, -}); -``` \ No newline at end of file diff --git a/examples/benchmark/CHANGELOG.md b/examples/benchmark/CHANGELOG.md index c1f4ab8150a5..ea82d7b0c667 100644 --- a/examples/benchmark/CHANGELOG.md +++ b/examples/benchmark/CHANGELOG.md @@ -1,5 +1,13 @@ # example-benchmark +## 0.4.67 + +### Patch Changes + +- Updated dependencies [[`3906fc2`](https://github.com/reactive/data-client/commit/3906fc2fec2b958a44d718934919b524e851f298)]: + - @data-client/core@0.14.18 + - @data-client/endpoint@0.14.17 + ## 0.4.66 ### Patch Changes diff --git a/examples/benchmark/package.json b/examples/benchmark/package.json index ab02617bc3ec..abf26d4d00e3 100644 --- a/examples/benchmark/package.json +++ b/examples/benchmark/package.json @@ -1,6 +1,6 @@ { "name": "example-benchmark", - "version": "0.4.66", + "version": "0.4.67", "description": "Benchmark for normalizr", "main": "index.js", "author": "Nathaniel Tucker", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 4b834d852643..9e0c97a20ba8 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,11 @@ # @data-client/core +## 0.14.18 + +### Patch Changes + +- [`3906fc2`](https://github.com/reactive/data-client/commit/3906fc2fec2b958a44d718934919b524e851f298) Thanks [@ntucker](https://github.com/ntucker)! - SUBSCRIBE action field ordering consistent with other actions + ## 0.14.16 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index ba2e1f699657..706f0698861c 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@data-client/core", - "version": "0.14.16", + "version": "0.14.18", "description": "Async State Management without the Management. REST, GraphQL, SSE, Websockets, Fetch", "sideEffects": false, "main": "dist/index.js", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 88b262ee3b78..e54abdf0092c 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,19 @@ # @data-client/react +## 0.14.18 + +### Patch Changes + +- [`3906fc2`](https://github.com/reactive/data-client/commit/3906fc2fec2b958a44d718934919b524e851f298) Thanks [@ntucker](https://github.com/ntucker)! - SUBSCRIBE action field ordering consistent with other actions + +- [`19d4669`](https://github.com/reactive/data-client/commit/19d46699fa9c50ab56b1f4e2c5bafc390ffe6331) Thanks [@ntucker](https://github.com/ntucker)! - Fix pnp compatibility + + Change import from @data-client/normalizr -> @data-client/core + as `core` is explicit dependency + +- Updated dependencies [[`3906fc2`](https://github.com/reactive/data-client/commit/3906fc2fec2b958a44d718934919b524e851f298)]: + - @data-client/core@0.14.18 + ## 0.14.17 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index b46e83504292..26510d424a1f 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@data-client/react", - "version": "0.14.17", + "version": "0.14.18", "description": "Async State Management without the Management. REST, GraphQL, SSE, Websockets, Fetch", "homepage": "https://dataclient.io", "repository": { @@ -169,7 +169,7 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.17.0", - "@data-client/core": "^0.14.16", + "@data-client/core": "^0.14.18", "@data-client/use-enhanced-reducer": "^0.1.11" }, "peerDependencies": { diff --git a/packages/rest/CHANGELOG.md b/packages/rest/CHANGELOG.md index 1989cc9921f7..c275227bb7b5 100644 --- a/packages/rest/CHANGELOG.md +++ b/packages/rest/CHANGELOG.md @@ -1,5 +1,32 @@ # @data-client/rest +## 0.14.18 + +### Patch Changes + +- [#3333](https://github.com/reactive/data-client/pull/3333) [`1777546`](https://github.com/reactive/data-client/commit/17775462d236bf714f518b861a63d5ae9f1f6357) Thanks [@renovate](https://github.com/apps/renovate)! - Resource.extend() compatibility with TypeScript 5 + + Previously [extending existing members](https://dataclient.io/rest/api/resource#extend-override) with no + typed overrides (like [path](https://dataclient.io/rest/api/resource#path)) would not work starting with + TypeScript 5.7. + + ```ts + const UserResource = UserResourceBase.extend({ + partialUpdate: { + getOptimisticResponse(snap, params, body) { + params.id; + params.group; + // @ts-expect-error + params.nothere; + return { + id: params.id, + ...body, + }; + }, + }, + }); + ``` + ## 0.14.17 ### Patch Changes diff --git a/packages/rest/package.json b/packages/rest/package.json index 6aeb8829a347..13294806993e 100644 --- a/packages/rest/package.json +++ b/packages/rest/package.json @@ -1,6 +1,6 @@ { "name": "@data-client/rest", - "version": "0.14.17", + "version": "0.14.18", "description": "Quickly define typed REST resources and endpoints", "homepage": "https://dataclient.io/rest", "repository": { diff --git a/yarn.lock b/yarn.lock index f8a667e12a6e..5f8e89bd6af2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3107,7 +3107,7 @@ __metadata: languageName: node linkType: hard -"@data-client/core@npm:^0.14.16, @data-client/core@workspace:*, @data-client/core@workspace:^, @data-client/core@workspace:packages/core": +"@data-client/core@npm:^0.14.18, @data-client/core@workspace:*, @data-client/core@workspace:^, @data-client/core@workspace:packages/core": version: 0.0.0-use.local resolution: "@data-client/core@workspace:packages/core" dependencies: @@ -3207,7 +3207,7 @@ __metadata: dependencies: "@anansi/browserslist-config": "npm:^1.4.2" "@babel/runtime": "npm:^7.17.0" - "@data-client/core": "npm:^0.14.16" + "@data-client/core": "npm:^0.14.18" "@data-client/rest": "workspace:*" "@data-client/test": "workspace:*" "@data-client/use-enhanced-reducer": "npm:^0.1.11"