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

Add migration to v2 #1142

Merged
merged 1 commit into from
Jul 15, 2024
Merged

Add migration to v2 #1142

merged 1 commit into from
Jul 15, 2024

Conversation

timostamm
Copy link
Member

This updates the command @bufbuild/connect-migrate to migrate to v2.

It updates the following packages:

  • @bufbuild/protobuf → 2.0.0-beta.2
  • @bufbuild/protoplugin → 2.0.0-beta.2
  • @bufbuild/protoc-gen-es → 2.0.0-beta.2
  • @connectrpc/connect → 2.0.0-alpha.1
  • @connectrpc/connect-express → 2.0.0-alpha.1
  • @connectrpc/connect-fastify → 2.0.0-alpha.1
  • @connectrpc/connect-next → 2.0.0-alpha.1
  • @connectrpc/connect-node → 2.0.0-alpha.1
  • @connectrpc/connect-web → 2.0.0-alpha.1
  • @connectrpc/connect-query → 2.0.0-alpha.1
  • @connectrpc/connect-playwright → 0.4.0

It removes the following packages (the plugin is no longer needed):

  • @connectrpc/protoc-gen-connect-es

For buf.gen.yaml files, it:

  • Removes any plugin local: protoc-gen-connect-es or remote: buf.build/connectrpc/es.
  • Updates pinned remote plugins, for example remote: buf.build/bufbuild/es:v1.10.0remote: buf.build/bufbuild/es:v2.0.0.

It updates the following imports in source files:

  • import { ElizaService } from "./gen/eliza_connect.js"import { ElizaService } from "./gen/eliza_pb.js"

Signed-off-by: Timo Stamm <ts@timostamm.de>
@timostamm timostamm merged commit 99c2ada into v2 Jul 15, 2024
20 checks passed
@timostamm timostamm deleted the tstamm/connect-migrate-v2 branch July 15, 2024 09:23
@timostamm timostamm mentioned this pull request Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants