Skip to content

Releases: connectrpc/connect-es

v2.1.1

17 Nov 16:51
bf6b191

Choose a tag to compare

What's Changed

  • Do not hold on to HTTP/2 connections after receiving GOAWAY without open streams by @timostamm in #1566
  • Add Protovalidate (@connectrpc/validate) to README by @jrinehart-buf in #1595
  • Fix memory leak in Http2SessionManager's verify step by @ttyniwa in #1616

New Contributors

Full Changelog: v2.1.0...v2.1.1

v1.7.0

08 Sep 12:51
a9b117d

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.6.1...v1.7.0

v2.1.0

25 Aug 15:35
8566675

Choose a tag to compare

What's Changed

Important

TypeScript 5.9 includes breaking changes to lib.d.ts, forcing us to change return types for some functions from Uint8Array to Uint8Array<ArrayBuffer>. This is unlikely to affect you, but if it does, see #1560 for details.

  • Update to TypeScript 5.9 and change return types from Uint8Array to Uint8Array<ArrayBuffer> by @timostamm in #1560
  • Drop support for Node.js 18 by @timostamm in #1559

Full Changelog: v2.0.4...v2.1.0

v2.0.4

13 Aug 12:37
17ee287

Choose a tag to compare

What's Changed

Full Changelog: v2.0.3...v2.0.4

v2.0.3

25 Jul 08:50
b81a1c2

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.2...v2.0.3

v2.0.2

26 Feb 19:44
15265de

Choose a tag to compare

What's Changed

  • Ensure any error metadata is appended to target grpc response by @smaye81 in #1407
  • Fix server interceptor not seeing the request message in server streaming rpcs by @srikrsna-buf in #1429

Full Changelog: v2.0.1...v2.0.2

v2.0.1

09 Jan 18:14
134f9ca

Choose a tag to compare

What's Changed

The only noteworthy changes in this release are enhancements made to the @connectrpc/connect-migrate package.

The migration tool now handles additional scenarios for migrating your code to Connect v2:

Transforms new to create:

- import { Foo } from "./foo_pb.js";
+ import { FooSchema } from "./foo_pb.js";
+ import { create } from "@bufbuild/protobuf";
- const foo = new Foo();
+ const foo = create(FooSchema);

Transforms isMessage to use the schema:

import { isMessage } from "@bufbuild/protobuf";
- import { Foo } from "./foo_pb.js";
+ import { FooSchema } from "./foo_pb.js";
- isMessage(1, Foo); 
+ isMessage(1, FooSchema);

Transforms the static fromBinary, fromJson, and fromJsonString method calls:

- import { Foo } from "./foo_pb.js";
+ import { FooSchema } from "./foo_pb.js";
+ import { fromJson } from "@bufbuild/protobuf";
- Foo.fromJson(x, y);
+ fromJson(FooSchema, x, y);

In addition, if the message is a well-known type, the import path is updated accordingly.

For details on Connect v2, see the v2 release notes as well as the full migration guide.

New Contributors

Full Changelog: v2.0.0...v2.0.1

v2.0.0

19 Nov 16:18
36af3f2

Choose a tag to compare

What's Changed

  • We're upgrading to Protobuf-ES version 2. It's the largest change in this release.
  • Connect-ES no longer needs its own code generator plugin.
  • We're adding support for Next.js 15, Fastify 5, and Express 5.
  • We're dropping support for old versions of Node.js and TypeScript. You'll need at least Node.js 18.14.1 and TypeScript 4.9.6.

The upgrade of the Protobuf runtime brings support for Editions and new APIs for Protobuf messages with support for custom options. Messages are now plain TypeScript types, which greatly improves compatibility with the ecosystem. For example, messages can be passed from a server-side component in Next.js to a client-side component without losing any data or types. To learn more about the enhancements, see the release blog post for Protobuf-ES v2.

Tip

If you are already using Connect, see our migration guide to upgrade to version 2.

Full Changelog

Full Changelog: v1.6.1...v2.0.0

v2.0.0-rc.3

05 Nov 16:35
0095bdb

Choose a tag to compare

v2.0.0-rc.3 Pre-release
Pre-release

What's Changed

This is a release candidate for version 2. See here for an introduction.

  • Update makeAnyClient signature to carry type information to narrow down method kinds by @timostamm in #1292
  • Support Express v5 in @connectrpc/connect-fastify by @timostamm in #1297
  • Support Fastify v5 in @connectrpc/connect-fastify by @timostamm in #1296

Full Changelog: v2.0.0-rc.2...v2.0.0-rc.3

v2.0.0-rc.2

31 Oct 14:53
0323619

Choose a tag to compare

v2.0.0-rc.2 Pre-release
Pre-release

What's Changed

This is a release candidate for version 2. See here for an introduction.

To give this version a try, run npx @connectrpc/connect-migrate@rc.

New Contributors

Full Changelog: v2.0.0-rc.1...v2.0.0-rc.2