v1.6.0
What's Changed
Promises are more widely adopted than ever before. We're renaming the function createPromiseClient
to the more succinct createClient
. For backwards compatibility, we keep the existing signature and mark it as deprecated.
After updating to this release, you can run npx @connectrpc/connect-migrate
to automatically refactor your code to import and use createClient
instead of createPromiseClient
.
- Deprecate
createPromiseClient
in favor ofcreateClient
by @srikrsna-buf in #1235 - Add a transform for
createPromiseClient
->createClient
by @srikrsna-buf in #1236 - Fix gRPC-Web trailers-only response handling for server-streaming RPCs by @timostamm in #1261
Full Changelog: v1.5.0...v1.6.0