From 71cdd3b8e3db44fd06fe9aee6cb46ea8f0d129c3 Mon Sep 17 00:00:00 2001 From: Sri Krishna Paritala Date: Tue, 19 Nov 2024 21:56:03 +0530 Subject: [PATCH] Release Signed-off-by: Sri Krishna Paritala --- examples/react/basic/package.json | 4 +- .../gen/eliza-ElizaService_connectquery.ts | 2 +- packages/connect-query-core/package.json | 8 +-- packages/connect-query/package.json | 8 +-- .../protoc-gen-connect-query/package.json | 4 +- ...st-SecondSnapshotService_connectquery.d.ts | 2 +- ...test-SecondSnapshotService_connectquery.js | 2 +- .../test-SnapshotService_connectquery.d.ts | 2 +- .../test-SnapshotService_connectquery.js | 2 +- ...st-SecondSnapshotService_connectquery.d.ts | 2 +- ...test-SecondSnapshotService_connectquery.js | 2 +- .../test-SnapshotService_connectquery.d.ts | 2 +- .../test-SnapshotService_connectquery.js | 2 +- ...test-SecondSnapshotService_connectquery.ts | 2 +- .../test-SnapshotService_connectquery.ts | 2 +- packages/test-utils/package.json | 6 +- pnpm-lock.yaml | 68 +++++++------------ 17 files changed, 50 insertions(+), 70 deletions(-) diff --git a/examples/react/basic/package.json b/examples/react/basic/package.json index bdfced6a..ba6155c5 100644 --- a/examples/react/basic/package.json +++ b/examples/react/basic/package.json @@ -15,9 +15,9 @@ "@bufbuild/buf": "1.46.0", "@bufbuild/protobuf": "^2.2.1", "@bufbuild/protoc-gen-es": "^2.2.1", - "@connectrpc/connect": "^2.0.0-rc.2", + "@connectrpc/connect": "^2.0.0", "@connectrpc/connect-query": "workspace:*", - "@connectrpc/connect-web": "^2.0.0-rc.2", + "@connectrpc/connect-web": "^2.0.0", "@connectrpc/protoc-gen-connect-query": "workspace:*", "@tanstack/react-query": "^5.59.16", "@tanstack/react-query-devtools": "^5.59.16", diff --git a/examples/react/basic/src/gen/eliza-ElizaService_connectquery.ts b/examples/react/basic/src/gen/eliza-ElizaService_connectquery.ts index 8f8a29bb..65dfb995 100644 --- a/examples/react/basic/src/gen/eliza-ElizaService_connectquery.ts +++ b/examples/react/basic/src/gen/eliza-ElizaService_connectquery.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-connect-query v2.0.0-rc.3 with parameter "target=ts" +// @generated by protoc-gen-connect-query v2.0.0 with parameter "target=ts" // @generated from file eliza.proto (package connectrpc.eliza.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-query-core/package.json b/packages/connect-query-core/package.json index 4d1d9a36..29384cd0 100644 --- a/packages/connect-query-core/package.json +++ b/packages/connect-query-core/package.json @@ -1,6 +1,6 @@ { "name": "@connectrpc/connect-query-core", - "version": "2.0.0-rc.3", + "version": "2.0.0", "description": "Core of Connect-Query, framework agnostic helpers for type-safe queries.", "license": "Apache-2.0", "repository": { @@ -33,15 +33,15 @@ "@bufbuild/jest-environment-jsdom": "^0.1.1", "@bufbuild/protobuf": "^2.2.1", "@bufbuild/protoc-gen-es": "^2.2.1", - "@connectrpc/connect": "^2.0.0-rc.3", - "@connectrpc/connect-web": "^2.0.0-rc.3", + "@connectrpc/connect": "^2.0.0", + "@connectrpc/connect-web": "^2.0.0", "test-utils": "workspace:*", "typescript": "^5.6.3", "@tanstack/query-core": "^5.59.16" }, "peerDependencies": { "@bufbuild/protobuf": "2.x", - "@connectrpc/connect": "^2.0.0-rc.3", + "@connectrpc/connect": "^2.0.0", "@tanstack/query-core": "5.x" }, "files": [ diff --git a/packages/connect-query/package.json b/packages/connect-query/package.json index b4706e69..5226c156 100644 --- a/packages/connect-query/package.json +++ b/packages/connect-query/package.json @@ -1,6 +1,6 @@ { "name": "@connectrpc/connect-query", - "version": "2.0.0-rc.3", + "version": "2.0.0", "description": "TypeScript-first expansion pack for TanStack Query that gives you Protobuf superpowers.", "license": "Apache-2.0", "repository": { @@ -36,8 +36,8 @@ "@bufbuild/jest-environment-jsdom": "^0.1.1", "@bufbuild/protobuf": "^2.2.1", "@bufbuild/protoc-gen-es": "^2.2.1", - "@connectrpc/connect": "^2.0.0-rc.3", - "@connectrpc/connect-web": "^2.0.0-rc.3", + "@connectrpc/connect": "^2.0.0", + "@connectrpc/connect-web": "^2.0.0", "@tanstack/react-query": "^5.59.16", "@testing-library/react": "^16.0.1", "@types/react": "^18.3.12", @@ -49,7 +49,7 @@ }, "peerDependencies": { "@bufbuild/protobuf": "2.x", - "@connectrpc/connect": "^2.0.0-rc.3", + "@connectrpc/connect": "^2.0.0", "@tanstack/react-query": "5.x", "react": "^18.3.1", "react-dom": "^18.3.1" diff --git a/packages/protoc-gen-connect-query/package.json b/packages/protoc-gen-connect-query/package.json index 21de1971..5a326210 100644 --- a/packages/protoc-gen-connect-query/package.json +++ b/packages/protoc-gen-connect-query/package.json @@ -1,6 +1,6 @@ { "name": "@connectrpc/protoc-gen-connect-query", - "version": "2.0.0-rc.3", + "version": "2.0.0", "description": "Code generator for connect-query", "license": "Apache-2.0", "sideEffects": false, @@ -29,7 +29,7 @@ "devDependencies": { "@bufbuild/buf": "1.46.0", "@bufbuild/protoc-gen-es": "^2.2.1", - "@connectrpc/connect": "^2.0.0-rc.3", + "@connectrpc/connect": "^2.0.0", "@connectrpc/connect-query": "workspace:*", "@tanstack/react-query": "^5.59.16", "typescript": "^5.6.3" diff --git a/packages/protoc-gen-connect-query/snapshots/gen_cjs/test-SecondSnapshotService_connectquery.d.ts b/packages/protoc-gen-connect-query/snapshots/gen_cjs/test-SecondSnapshotService_connectquery.d.ts index 07d17c8c..2154c6df 100644 --- a/packages/protoc-gen-connect-query/snapshots/gen_cjs/test-SecondSnapshotService_connectquery.d.ts +++ b/packages/protoc-gen-connect-query/snapshots/gen_cjs/test-SecondSnapshotService_connectquery.d.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-connect-query v2.0.0-rc.3 with parameter "js_import_style=legacy_commonjs,import_extension=js" +// @generated by protoc-gen-connect-query v2.0.0 with parameter "js_import_style=legacy_commonjs,import_extension=js" // @generated from file test.proto (package test, syntax proto3) /* eslint-disable */ diff --git a/packages/protoc-gen-connect-query/snapshots/gen_cjs/test-SecondSnapshotService_connectquery.js b/packages/protoc-gen-connect-query/snapshots/gen_cjs/test-SecondSnapshotService_connectquery.js index cb317d14..0986213d 100644 --- a/packages/protoc-gen-connect-query/snapshots/gen_cjs/test-SecondSnapshotService_connectquery.js +++ b/packages/protoc-gen-connect-query/snapshots/gen_cjs/test-SecondSnapshotService_connectquery.js @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-connect-query v2.0.0-rc.3 with parameter "js_import_style=legacy_commonjs,import_extension=js" +// @generated by protoc-gen-connect-query v2.0.0 with parameter "js_import_style=legacy_commonjs,import_extension=js" // @generated from file test.proto (package test, syntax proto3) /* eslint-disable */ diff --git a/packages/protoc-gen-connect-query/snapshots/gen_cjs/test-SnapshotService_connectquery.d.ts b/packages/protoc-gen-connect-query/snapshots/gen_cjs/test-SnapshotService_connectquery.d.ts index db1aefa7..29a3a64f 100644 --- a/packages/protoc-gen-connect-query/snapshots/gen_cjs/test-SnapshotService_connectquery.d.ts +++ b/packages/protoc-gen-connect-query/snapshots/gen_cjs/test-SnapshotService_connectquery.d.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-connect-query v2.0.0-rc.3 with parameter "js_import_style=legacy_commonjs,import_extension=js" +// @generated by protoc-gen-connect-query v2.0.0 with parameter "js_import_style=legacy_commonjs,import_extension=js" // @generated from file test.proto (package test, syntax proto3) /* eslint-disable */ diff --git a/packages/protoc-gen-connect-query/snapshots/gen_cjs/test-SnapshotService_connectquery.js b/packages/protoc-gen-connect-query/snapshots/gen_cjs/test-SnapshotService_connectquery.js index ff055699..0cb37bbf 100644 --- a/packages/protoc-gen-connect-query/snapshots/gen_cjs/test-SnapshotService_connectquery.js +++ b/packages/protoc-gen-connect-query/snapshots/gen_cjs/test-SnapshotService_connectquery.js @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-connect-query v2.0.0-rc.3 with parameter "js_import_style=legacy_commonjs,import_extension=js" +// @generated by protoc-gen-connect-query v2.0.0 with parameter "js_import_style=legacy_commonjs,import_extension=js" // @generated from file test.proto (package test, syntax proto3) /* eslint-disable */ diff --git a/packages/protoc-gen-connect-query/snapshots/gen_js/test-SecondSnapshotService_connectquery.d.ts b/packages/protoc-gen-connect-query/snapshots/gen_js/test-SecondSnapshotService_connectquery.d.ts index e2c1e9c6..90560901 100644 --- a/packages/protoc-gen-connect-query/snapshots/gen_js/test-SecondSnapshotService_connectquery.d.ts +++ b/packages/protoc-gen-connect-query/snapshots/gen_js/test-SecondSnapshotService_connectquery.d.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-connect-query v2.0.0-rc.3 +// @generated by protoc-gen-connect-query v2.0.0 // @generated from file test.proto (package test, syntax proto3) /* eslint-disable */ diff --git a/packages/protoc-gen-connect-query/snapshots/gen_js/test-SecondSnapshotService_connectquery.js b/packages/protoc-gen-connect-query/snapshots/gen_js/test-SecondSnapshotService_connectquery.js index fcdb5c0a..6d6c7df4 100644 --- a/packages/protoc-gen-connect-query/snapshots/gen_js/test-SecondSnapshotService_connectquery.js +++ b/packages/protoc-gen-connect-query/snapshots/gen_js/test-SecondSnapshotService_connectquery.js @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-connect-query v2.0.0-rc.3 +// @generated by protoc-gen-connect-query v2.0.0 // @generated from file test.proto (package test, syntax proto3) /* eslint-disable */ diff --git a/packages/protoc-gen-connect-query/snapshots/gen_js/test-SnapshotService_connectquery.d.ts b/packages/protoc-gen-connect-query/snapshots/gen_js/test-SnapshotService_connectquery.d.ts index eb14f7b7..d67e90a3 100644 --- a/packages/protoc-gen-connect-query/snapshots/gen_js/test-SnapshotService_connectquery.d.ts +++ b/packages/protoc-gen-connect-query/snapshots/gen_js/test-SnapshotService_connectquery.d.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-connect-query v2.0.0-rc.3 +// @generated by protoc-gen-connect-query v2.0.0 // @generated from file test.proto (package test, syntax proto3) /* eslint-disable */ diff --git a/packages/protoc-gen-connect-query/snapshots/gen_js/test-SnapshotService_connectquery.js b/packages/protoc-gen-connect-query/snapshots/gen_js/test-SnapshotService_connectquery.js index 1cdc3437..106525bd 100644 --- a/packages/protoc-gen-connect-query/snapshots/gen_js/test-SnapshotService_connectquery.js +++ b/packages/protoc-gen-connect-query/snapshots/gen_js/test-SnapshotService_connectquery.js @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-connect-query v2.0.0-rc.3 +// @generated by protoc-gen-connect-query v2.0.0 // @generated from file test.proto (package test, syntax proto3) /* eslint-disable */ diff --git a/packages/protoc-gen-connect-query/snapshots/gen_ts/test-SecondSnapshotService_connectquery.ts b/packages/protoc-gen-connect-query/snapshots/gen_ts/test-SecondSnapshotService_connectquery.ts index 9993693c..3cd55d82 100644 --- a/packages/protoc-gen-connect-query/snapshots/gen_ts/test-SecondSnapshotService_connectquery.ts +++ b/packages/protoc-gen-connect-query/snapshots/gen_ts/test-SecondSnapshotService_connectquery.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-connect-query v2.0.0-rc.3 with parameter "target=ts" +// @generated by protoc-gen-connect-query v2.0.0 with parameter "target=ts" // @generated from file test.proto (package test, syntax proto3) /* eslint-disable */ diff --git a/packages/protoc-gen-connect-query/snapshots/gen_ts/test-SnapshotService_connectquery.ts b/packages/protoc-gen-connect-query/snapshots/gen_ts/test-SnapshotService_connectquery.ts index 291f0649..f78526d1 100644 --- a/packages/protoc-gen-connect-query/snapshots/gen_ts/test-SnapshotService_connectquery.ts +++ b/packages/protoc-gen-connect-query/snapshots/gen_ts/test-SnapshotService_connectquery.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-connect-query v2.0.0-rc.3 with parameter "target=ts" +// @generated by protoc-gen-connect-query v2.0.0 with parameter "target=ts" // @generated from file test.proto (package test, syntax proto3) /* eslint-disable */ diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index 624ebee3..0acc58d9 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -1,7 +1,7 @@ { "name": "test-utils", "private": true, - "version": "2.0.0-rc.3", + "version": "2.0.0", "type": "module", "scripts": { "clean": "rm -rf ./dist/*", @@ -16,8 +16,8 @@ "@bufbuild/buf": "^1.46.0", "@bufbuild/protobuf": "^2.2.1", "@bufbuild/protoc-gen-es": "^2.2.1", - "@connectrpc/connect": "^2.0.0-rc.3", - "@connectrpc/connect-web": "^2.0.0-rc.3", + "@connectrpc/connect": "^2.0.0", + "@connectrpc/connect-web": "^2.0.0", "@types/react": "18.3.12", "react": "^18.3.1" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 83c24db2..94d86b2b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -78,14 +78,14 @@ importers: specifier: ^2.2.1 version: 2.2.1(@bufbuild/protobuf@2.2.1) '@connectrpc/connect': - specifier: ^2.0.0-rc.2 - version: 2.0.0-rc.2(@bufbuild/protobuf@2.2.1) + specifier: ^2.0.0 + version: 2.0.0(@bufbuild/protobuf@2.2.1) '@connectrpc/connect-query': specifier: workspace:* version: link:../../../packages/connect-query '@connectrpc/connect-web': - specifier: ^2.0.0-rc.2 - version: 2.0.0-rc.2(@bufbuild/protobuf@2.2.1)(@connectrpc/connect@2.0.0-rc.2) + specifier: ^2.0.0 + version: 2.0.0(@bufbuild/protobuf@2.2.1)(@connectrpc/connect@2.0.0) '@connectrpc/protoc-gen-connect-query': specifier: workspace:* version: link:../../../packages/protoc-gen-connect-query @@ -145,11 +145,11 @@ importers: specifier: ^2.2.1 version: 2.2.1(@bufbuild/protobuf@2.2.1) '@connectrpc/connect': - specifier: ^2.0.0-rc.3 - version: 2.0.0-rc.3(@bufbuild/protobuf@2.2.1) + specifier: ^2.0.0 + version: 2.0.0(@bufbuild/protobuf@2.2.1) '@connectrpc/connect-web': - specifier: ^2.0.0-rc.3 - version: 2.0.0-rc.3(@bufbuild/protobuf@2.2.1)(@connectrpc/connect@2.0.0-rc.3) + specifier: ^2.0.0 + version: 2.0.0(@bufbuild/protobuf@2.2.1)(@connectrpc/connect@2.0.0) '@tanstack/react-query': specifier: ^5.59.16 version: 5.59.16(react@18.3.1) @@ -193,11 +193,11 @@ importers: specifier: ^2.2.1 version: 2.2.1(@bufbuild/protobuf@2.2.1) '@connectrpc/connect': - specifier: ^2.0.0-rc.3 - version: 2.0.0-rc.3(@bufbuild/protobuf@2.2.1) + specifier: ^2.0.0 + version: 2.0.0(@bufbuild/protobuf@2.2.1) '@connectrpc/connect-web': - specifier: ^2.0.0-rc.3 - version: 2.0.0-rc.3(@bufbuild/protobuf@2.2.1)(@connectrpc/connect@2.0.0-rc.3) + specifier: ^2.0.0 + version: 2.0.0(@bufbuild/protobuf@2.2.1)(@connectrpc/connect@2.0.0) '@tanstack/query-core': specifier: ^5.59.16 version: 5.59.16 @@ -224,8 +224,8 @@ importers: specifier: ^2.2.1 version: 2.2.1(@bufbuild/protobuf@2.2.1) '@connectrpc/connect': - specifier: ^2.0.0-rc.3 - version: 2.0.0-rc.3(@bufbuild/protobuf@2.2.1) + specifier: ^2.0.0 + version: 2.0.0(@bufbuild/protobuf@2.2.1) '@connectrpc/connect-query': specifier: workspace:* version: link:../connect-query @@ -248,11 +248,11 @@ importers: specifier: ^2.2.1 version: 2.2.1(@bufbuild/protobuf@2.2.1) '@connectrpc/connect': - specifier: ^2.0.0-rc.3 - version: 2.0.0-rc.3(@bufbuild/protobuf@2.2.1) + specifier: ^2.0.0 + version: 2.0.0(@bufbuild/protobuf@2.2.1) '@connectrpc/connect-web': - specifier: ^2.0.0-rc.3 - version: 2.0.0-rc.3(@bufbuild/protobuf@2.2.1)(@connectrpc/connect@2.0.0-rc.3) + specifier: ^2.0.0 + version: 2.0.0(@bufbuild/protobuf@2.2.1)(@connectrpc/connect@2.0.0) '@types/react': specifier: 18.3.12 version: 18.3.12 @@ -590,41 +590,21 @@ packages: dev: true optional: true - /@connectrpc/connect-web@2.0.0-rc.2(@bufbuild/protobuf@2.2.1)(@connectrpc/connect@2.0.0-rc.2): - resolution: {integrity: sha512-HMIDXahQtPNcmsLVfHxjKLp4oRz2b89VOCMJpt3zNMd1fzC27Ipf7Wf+7OPmER61xc9mJVkMY0D6XUPw0vB9aQ==} + /@connectrpc/connect-web@2.0.0(@bufbuild/protobuf@2.2.1)(@connectrpc/connect@2.0.0): + resolution: {integrity: sha512-oeCxqHXLXlWJdmcvp9L3scgAuK+FjNSn+twyhUxc8yvDbTumnt5Io+LnBzSYxAdUdYqTw5yHfTSCJ4hj0QID0g==} peerDependencies: '@bufbuild/protobuf': ^2.2.0 - '@connectrpc/connect': 2.0.0-rc.2 + '@connectrpc/connect': 2.0.0 dependencies: '@bufbuild/protobuf': 2.2.1 - '@connectrpc/connect': 2.0.0-rc.2(@bufbuild/protobuf@2.2.1) - dev: false - - /@connectrpc/connect-web@2.0.0-rc.3(@bufbuild/protobuf@2.2.1)(@connectrpc/connect@2.0.0-rc.3): - resolution: {integrity: sha512-w88P8Lsn5CCsA7MFRl2e6oLY4J/5toiNtJns/YJrlyQaWOy3RO8pDgkz+iIkG98RPMhj2thuBvsd3Cn4DKKCkw==} - peerDependencies: - '@bufbuild/protobuf': ^2.2.0 - '@connectrpc/connect': 2.0.0-rc.3 - dependencies: - '@bufbuild/protobuf': 2.2.1 - '@connectrpc/connect': 2.0.0-rc.3(@bufbuild/protobuf@2.2.1) - dev: true + '@connectrpc/connect': 2.0.0(@bufbuild/protobuf@2.2.1) - /@connectrpc/connect@2.0.0-rc.2(@bufbuild/protobuf@2.2.1): - resolution: {integrity: sha512-EBXUD82U1Z6eWhFu+90ZvuEUCM8K03gV7cGNSQXJ9kDV07dfuvm/LevbzMEsST43Wea6ywYzd2HBNEAPJCxu8g==} + /@connectrpc/connect@2.0.0(@bufbuild/protobuf@2.2.1): + resolution: {integrity: sha512-Usm8jgaaULANJU8vVnhWssSA6nrZ4DJEAbkNtXSoZay2YD5fDyMukCxu8NEhCvFzfHvrhxhcjttvgpyhOM7xAQ==} peerDependencies: '@bufbuild/protobuf': ^2.2.0 dependencies: '@bufbuild/protobuf': 2.2.1 - dev: false - - /@connectrpc/connect@2.0.0-rc.3(@bufbuild/protobuf@2.2.1): - resolution: {integrity: sha512-ARBt64yEyKbanyRETTjcjJuHr2YXorzQo0etyS5+P6oSeW8xEuzajA9g+zDnMcj1hlX2dQE93foIWQGfpru7gQ==} - peerDependencies: - '@bufbuild/protobuf': ^2.2.0 - dependencies: - '@bufbuild/protobuf': 2.2.1 - dev: true /@cspell/cspell-bundled-dicts@8.15.5: resolution: {integrity: sha512-Su1gnTBbE7ouMQvM4DISUmP6sZiFyQRE+ODvjBzW+c/x9ZLbVp+2hBEEmxFSn5fdZCJzPOMwzwsjlLYykb9iUg==}