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 v0.8.0 #484

Merged
merged 5 commits into from
Feb 23, 2023
Merged

Release v0.8.0 #484

merged 5 commits into from
Feb 23, 2023

Conversation

smaye81
Copy link
Member

@smaye81 smaye81 commented Feb 22, 2023

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 import ConnectError 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

@fubhy
Copy link
Contributor

fubhy commented Feb 23, 2023

Hey Steve! Can you include this (#485) before publishing this? :-)

@timostamm
Copy link
Member

@smaye81, let's discuss offline how we can provide good guidance for updating.

@smaye81 smaye81 marked this pull request as ready for review February 23, 2023 16:49
@smaye81
Copy link
Member Author

smaye81 commented Feb 23, 2023

Note: Browserstack is having issues, preventing those tests from running. But, there were no changes since the last successful run there, so merging is safe.

@smaye81 smaye81 merged commit 006458e into main Feb 23, 2023
@smaye81 smaye81 deleted the sayers/release_0.8.0 branch February 23, 2023 18:24
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.

None yet

3 participants