Skip to content

Releases

v2.3.0

Choose a tag to compare

@ajeetdsouza ajeetdsouza released this 27 Oct 11:18
6b7c593

What's Changed

New Contributors

Full Changelog: v2.2.0...v2.3.0

v2.2.0

Choose a tag to compare

@timostamm timostamm released this 07 Sep 06:40
378bb8f

What's Changed

Important

This release adds a security-related feature for servers: the request gate is a function that runs after the request headers are available. Throwing a ConnectError in the gate rejects a request before messages are read, decompressed, or parsed. Use this option to reject unauthenticated requests instead of interceptors. See the documentation for details.

We also recommend that you configure a message size limit for your server, see the readMaxBytes option.

New Contributors

Full Changelog: v2.1.2...v2.2.0

v2.1.2

Choose a tag to compare

@ajeetdsouza ajeetdsouza released this 12 Jun 16:40
104238c

What's Changed

New Contributors

Full Changelog: v2.1.1...v2.1.2

v2.1.1

Choose a tag to compare

@timostamm timostamm released this 17 Nov 16:51
bf6b191

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

Choose a tag to compare

@timostamm timostamm released this 08 Sep 12:51
a9b117d

What's Changed

New Contributors

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

v2.1.0

Choose a tag to compare

@timostamm timostamm released this 25 Aug 15:35
8566675

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

Choose a tag to compare

@timostamm timostamm released this 13 Aug 12:37
17ee287

What's Changed

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

v2.0.3

Choose a tag to compare

@timostamm timostamm released this 25 Jul 08:50
b81a1c2

What's Changed

New Contributors

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

v2.0.2

Choose a tag to compare

@srikrsna-buf srikrsna-buf released this 26 Feb 19:44
15265de

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

Choose a tag to compare

@smaye81 smaye81 released this 09 Jan 18:14
134f9ca

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

⌂ 换网址