Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.0.0-rc.3 #1322

Merged
merged 1 commit into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 33 additions & 33 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/connect-cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
},
"dependencies": {
"@bufbuild/protobuf": "^2.2.0",
"@connectrpc/connect": "2.0.0-rc.2",
"@connectrpc/connect-node": "2.0.0-rc.2"
"@connectrpc/connect": "2.0.0-rc.3",
"@connectrpc/connect-node": "2.0.0-rc.3"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20241022.0",
"wrangler": "^3.84.1",
"tsx": "^4.19.2",
"@connectrpc/connect-conformance": "^2.0.0-rc.2"
"@connectrpc/connect-conformance": "^2.0.0-rc.3"
}
}
4 changes: 2 additions & 2 deletions packages/connect-conformance/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connectrpc/connect-conformance",
"version": "2.0.0-rc.2",
"version": "2.0.0-rc.3",
"private": true,
"type": "module",
"main": "./dist/cjs/src/index.js",
Expand Down Expand Up @@ -28,7 +28,7 @@
},
"dependencies": {
"@bufbuild/protobuf": "^2.2.0",
"@connectrpc/connect": "2.0.0-rc.2",
"@connectrpc/connect": "2.0.0-rc.3",
"fflate": "^0.8.1",
"tar-stream": "^3.1.7"
},
Expand Down
12 changes: 6 additions & 6 deletions packages/connect-express/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connectrpc/connect-express",
"version": "2.0.0-rc.2",
"version": "2.0.0-rc.3",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down Expand Up @@ -32,17 +32,17 @@
"node": ">=18.14.1"
},
"devDependencies": {
"@connectrpc/connect-conformance": "^2.0.0-rc.2",
"@connectrpc/connect": "2.0.0-rc.2",
"@connectrpc/connect-node": "2.0.0-rc.2",
"@connectrpc/connect-conformance": "^2.0.0-rc.3",
"@connectrpc/connect": "2.0.0-rc.3",
"@connectrpc/connect-node": "2.0.0-rc.3",
"@types/express": "^5.0.0",
"express": "^5.0.1",
"tsx": "^4.19.2"
},
"peerDependencies": {
"express": "^4.18.2 || ^5.0.1",
"@bufbuild/protobuf": "^2.2.0",
"@connectrpc/connect": "2.0.0-rc.2",
"@connectrpc/connect-node": "2.0.0-rc.2"
"@connectrpc/connect": "2.0.0-rc.3",
"@connectrpc/connect-node": "2.0.0-rc.3"
}
}
12 changes: 6 additions & 6 deletions packages/connect-fastify/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connectrpc/connect-fastify",
"version": "2.0.0-rc.2",
"version": "2.0.0-rc.3",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down Expand Up @@ -31,14 +31,14 @@
"node": ">=18.14.1"
},
"devDependencies": {
"@connectrpc/connect-conformance": "^2.0.0-rc.2",
"@connectrpc/connect": "2.0.0-rc.2",
"@connectrpc/connect-node": "2.0.0-rc.2"
"@connectrpc/connect-conformance": "^2.0.0-rc.3",
"@connectrpc/connect": "2.0.0-rc.3",
"@connectrpc/connect-node": "2.0.0-rc.3"
},
"peerDependencies": {
"@bufbuild/protobuf": "^2.2.0",
"fastify": "^4.22.1 || ^5.1.0",
"@connectrpc/connect": "2.0.0-rc.2",
"@connectrpc/connect-node": "2.0.0-rc.2"
"@connectrpc/connect": "2.0.0-rc.3",
"@connectrpc/connect-node": "2.0.0-rc.3"
}
}
2 changes: 1 addition & 1 deletion packages/connect-migrate/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connectrpc/connect-migrate",
"version": "2.0.0-rc.2",
"version": "2.0.0-rc.3",
"description": "This tool updates your Connect project to use the new @connectrpc packages.",
"license": "Apache-2.0",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/connect-migrate/src/migrations/v2.0.0.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ plugins:
expect(bufGenYamlWritten.length).toBe(1);
expect(bufGenYamlWritten[0]?.yaml).toEqual(`version: v2
plugins:
- remote: buf.build/bufbuild/es:v2.2.0
- remote: buf.build/bufbuild/es:v${targetVersionProtobufEs}
out: src/gen
`);
});
Expand Down Expand Up @@ -244,7 +244,7 @@ plugins:
expect(bufGenYamlWritten.length).toBe(1);
expect(bufGenYamlWritten[0]?.yaml).toEqual(`version: v2
plugins:
- remote: buf.build/connectrpc/query-es:v2.0.0-rc.1
- remote: buf.build/connectrpc/query-es:v${targetVersionConnectQuery}
out: src/gen
`);
});
Expand Down
6 changes: 3 additions & 3 deletions packages/connect-migrate/src/migrations/v2.0.0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ import {
} from "../lib/migrate-bufgenyaml";
import { writeBufGenYamlFile } from "../lib/bufgenyaml";

export const targetVersionProtobufEs = "2.2.0";
export const targetVersionConnectEs = "2.0.0-rc.1"; // TODO
export const targetVersionConnectQuery = "2.0.0-rc.1"; // TODO
export const targetVersionProtobufEs = "2.2.2";
export const targetVersionConnectEs = "2.0.0-rc.3"; // TODO
export const targetVersionConnectQuery = "2.0.0-rc.3"; // TODO
export const targetVersionConnectPlaywright = "0.5.0"; // TODO

const dependencyMigrations: DependencyMigration[] = [
Expand Down
10 changes: 5 additions & 5 deletions packages/connect-next/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connectrpc/connect-next",
"version": "2.0.0-rc.2",
"version": "2.0.0-rc.3",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down Expand Up @@ -32,11 +32,11 @@
"peerDependencies": {
"@bufbuild/protobuf": "^2.2.0",
"next": "^13.2.4 || ^14.2.5 || ^15.0.2",
"@connectrpc/connect": "2.0.0-rc.2",
"@connectrpc/connect-node": "2.0.0-rc.2"
"@connectrpc/connect": "2.0.0-rc.3",
"@connectrpc/connect-node": "2.0.0-rc.3"
},
"devDependencies": {
"@connectrpc/connect": "2.0.0-rc.2",
"@connectrpc/connect-node": "2.0.0-rc.2"
"@connectrpc/connect": "2.0.0-rc.3",
"@connectrpc/connect-node": "2.0.0-rc.3"
}
}
6 changes: 3 additions & 3 deletions packages/connect-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@connectrpc/connect-node",
"version": "2.0.0-rc.2",
"version": "2.0.0-rc.3",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down Expand Up @@ -34,10 +34,10 @@
},
"peerDependencies": {
"@bufbuild/protobuf": "^2.2.0",
"@connectrpc/connect": "2.0.0-rc.2"
"@connectrpc/connect": "2.0.0-rc.3"
},
"devDependencies": {
"@connectrpc/connect-conformance": "^2.0.0-rc.2",
"@connectrpc/connect-conformance": "^2.0.0-rc.3",
"@types/jasmine": "^5.0.0",
"jasmine": "^5.2.0"
}
Expand Down
8 changes: 4 additions & 4 deletions packages/connect-web-bench/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ usually do. We repeat this for an increasing number of RPCs.

| code generator | RPCs | bundle size | minified | compressed |
| -------------- | ---: | ----------: | --------: | ---------: |
| Connect-ES | 1 | 276,498 b | 176,488 b | 35,716 b |
| Connect-ES | 4 | 280,750 b | 179,590 b | 36,547 b |
| Connect-ES | 8 | 285,613 b | 184,021 b | 37,458 b |
| Connect-ES | 16 | 294,741 b | 191,645 b | 38,978 b |
| Connect-ES | 1 | 276,498 b | 176,488 b | 35,800 b |
| Connect-ES | 4 | 280,750 b | 179,590 b | 36,545 b |
| Connect-ES | 8 | 285,613 b | 184,021 b | 37,486 b |
| Connect-ES | 16 | 294,741 b | 191,645 b | 38,989 b |
| gRPC-Web | 1 | 876,563 b | 548,495 b | 52,300 b |
| gRPC-Web | 4 | 928,964 b | 580,477 b | 54,673 b |
| gRPC-Web | 8 | 1,004,833 b | 628,223 b | 57,118 b |
Expand Down
10 changes: 5 additions & 5 deletions packages/connect-web-bench/chart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading