Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This repository now hosts Connect for Web, but also for Node.js. We changed the name to Connect-ES to reflect the universal nature. As part of the reorganization, this release includes new features, but also some breaking changes.
Connect for Web
This is the first release that shares important bits of code between the web and the Node implementation, and comes with some bug fixes and new features:
If you are using Interceptors, please note the breaking change described in #471.
Otherwise, this release is backwards compatible, but we kindly ask you to install
@bufbuild/connect
, and importConnectError
and other types from there. In the future,@bufbuild/connect-web
will only export the Connect and gRPC-web transports.Connect for Node.js
The Handlers introduced in the preview are gone! With the new
ConnectRouter
, we can support more frameworks, and this release adds adapters for Express and Fastify:If you have been using Connect for Node, please remove
@bufbuild/connect-core
, install@bufbuild/connect
instead, and update your imports. See here how to use ConnectRouter with a Node.js server.protoc-gen-connect-web
The code generator plugin has been renamed to
@bufbuild/protoc-gen-connect-es
. The old one is still available, so you don't have to update right away. See here how to update.Other changes