Releases: connectrpc/connect-es
v0.8.6
connect-node
connect
- Mark private exports
@private
by @timostamm in #572 - Add fetch API handlers and clients by @timostamm in #575
Other changes
New Contributors
Full Changelog: v0.8.5...v0.8.6
v0.8.5
This release contains the following:
connect-node
Fixes
- Abort HTTP/2 streams with RST_STREAM code CANCEL by @timostamm in #552.
connect
Enhancements
- Move transport implementations to the @bufbuild/connect package by @timostamm in #546.
- Add a
ConnectRouter
basedTransport
by @srikrsna-buf in #548.
Fixes
- Fix package definitions for Connect by @smaye81 in #553.
- Avoid the AbortController constructor during init by @timostamm in #554.
Full Changelog: v0.8.4...v0.8.5
v0.8.4
If you are coming from v0.7.0 or earlier, make sure to take a look at the release notes of v0.8.0!
connect-next
We have officially added support for Next.js via the new @bufbuild/connect-next
package! See the docs as well as #533 for more information.
connect-node
@bufbuild/connect-node
now officially supports Node v19.
Fixes
- Fix socket connect issue in Node 19 by @smaye81 in #532.
- Fix
unhandledRejection
when aborting a server stream using @bufbuild/connect-node by @johynpapin in #530.
connect
Enhancements
- Export CORS constants for convenience by @timostamm in #526.
Fixes
- Fix the gRPC User-Agent header name by @timostamm in #525.
- Add opt-in support for servers for the Connect-Protocol-Version header by @timostamm in #520.
New Contributors
- @johynpapin made their first contribution in #530.
Full Changelog: v0.8.3...v0.8.4
v0.8.3
If you are coming from v0.7.0 or earlier, make sure to take a look at the release notes of v0.8.0!
This release contains the following:
connect-fastify
Fixes
Full Changelog: v0.8.2...v0.8.3
v0.8.2
If you are coming from v0.7.0 or earlier, make sure to take a look at the release notes of v0.8.0!
This release contains the following:
Connect for Node.js
Fixes
protoc-gen-connect-es
Fixes
Full Changelog: v0.8.1...v0.8.2
v0.8.1
v0.8.0
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:
- Allow JSON in the gRPC-web transport of @bufbuild/connect-web #334
- Emit unpadded base64 for binary headers #454
- Way to recover from errors caused by non-compliant response body #469
- Switch @bufbuild/connect-web to use @bufbuild/connect #471
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:
- Rename @bufbuild/connect-core to @bufbuild/connect #473
- Add support for Express #479
- Add support for Fastify #474
- Polyfill headers in connect-node #462
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
v0.7.0
This is the first release of Connect for Node.js - clients and servers for Node.js, with support for the gRPC, gRPC-web and Connect's own protocol: @bufbuild/connect-node
Connect-Node is still in preview, so we want your feedback! We’d love to learn about your use cases and what you’d like to do with Connect-Node. For example, do you plan to use it with React, Remix, or on the edge with Vercel’s Edge Runtime? You can reach us either through the Buf Slack or by filing a GitHub issue and we’d be more than happy to chat!
This release does not make any changes to @bufbuild/connect-web or the code generator protoc-gen-connect-web.
v0.6.0
This release includes the following:
🚨 Breaking Changes 🚨
-
#370 - The Connect protocol now specifies that a header be set specifying the version of Connect in use. The header name is
Connect-Protocol-Version
and Connect-Web has been updated to send this header in its requests. As a result, users will need to make sure their CORS settings allowlist this new header, or all Connect requests will fail with this release.For more information, see this PR: https://github.com/bufbuild/connect-go/pull/416
Enhancements
- Add Connect Protocol Version Header by @gilwong00 in #370