wire v4.4.0 Release Notes
-
2022-06-07
- ๐ New: Custom schema handlers! Wire lets you now plug in your own logic to deal with the protobuf
schema the way you want. Check [our documentation][custom-handlers-doc] for details. You can
also check our [recipe directory][custom-handlers-recipes] for examples.
Note that this API obsoletes the
CustomHandlerBeta
type Wire had until now. - ๐ New: You can now easily create an in-memory protobuf schema with the new
SchemaBuilder
class. This lives in the newwire-schema-tests
artifact. For usage examples, check the tests in [custom handler recipes][custom-handlers-recipes]. - ๐ฅ Breaking: the
wire-profiles
artifact has been removed and is now inlined inwire-schema
. - ๐ฅ Breaking:
CoreLoader
'sisWireRuntimeProto
methods are now static. - ๐ฅ Breaking:
SchemaLoader
and related classes have been moved fromwire-compiler
towire-schema
. - ๐ New: Support packed and map fields when converting to/from JSON with Kotlin.
- ๐ New: Support typesafe accessors and version catalogs in Wire plugin.
- ๐ New: Generate annotations for repeated options.
- ๐ New: Allow parsing of
oneof
options. - ๐ New: Support map fields in options.
- ๐ New: Add macosArm64 support to the KMP projects supporting mac.
- ๐ Fix: Properly deal with maps of scalar types, deserializing missing scala key/value into identity.
- ๐ Fix: Fix a crash where ProtoMember was populated with the wrong data.
- ๐ New: Custom schema handlers! Wire lets you now plug in your own logic to deal with the protobuf
schema the way you want. Check [our documentation][custom-handlers-doc] for details. You can
also check our [recipe directory][custom-handlers-recipes] for examples.
Note that this API obsoletes the