Release v2.0.1 #1401
smaye81
announced in
Announcements
Release v2.0.1
#1401
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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
newtocreate:Transforms
isMessageto 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, andfromJsonStringmethod calls: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
This discussion was created from the release Release v2.0.1.
Beta Was this translation helpful? Give feedback.
All reactions