Releases: curioswitch/protobuf-jackson
Version 2.7.0
Enhancements
- Caches generated marshallers across
MessageMarshaller
instances
Version 2.6.0
Enhancements
- Adds compatibility with protobuf v26+ (4.x.x on Maven)
BREAKING CHANGES
- Jackson 2.10+ (2021) required
- protobuf-java 3.18.0+ (2021) supported, earlier versions should continue to work but are not tested
Because it has been several years since these versions were released and it is common in the Java ecosystem to keep Jackson at the latest version to address CVEs, we have decided to not raise the major version along with these version floors.
Version 2.5.0
Note that due to an error running the release build, the same version was published both as 2.4.0 and 2.5.0. It is fine to skip 2.4.0 and we will not create a GitHub release for it.
Enhancements
- Add includingDefaultValueFields option with specific fields
Bugfixes
-Do not assume interning for non-ParserBase parsers to support treeAsTokens
parser
Full Changelog: v2.3.0...v2.5.0
Version 2.3.0
Bugfixes
- Fix optional field not serialized when set to default value
Full Changelog: v2.2.0...v2.3.0
Version 2.2.0
Enhancements
- Adds
MessageMarshallerModule
to simplify registeringMessageMarshaller
with anObjectMapper
- This library only has an optional dependency on jackson-databind and expects the application to be including it to use
MessageMarshaller
will consult the types in theObjectMapper
before marshalling nested messages. This can be used to customize marshalling of nested messages if needed
Full Changelog: v2.1.0...v2.2.0
Version 2.1.0
Enhancements
- Adds
MessageMarshaller.toBuilder
to allow adding a prototype to a marshaller without rebuilding all of them
Full Changelog: v2.0.0...v2.1.0
Version 2.0.0
Enhancements
- Adds support for newly introduced
optional
fields
BREAKING CHANGES
- Java 8+ required
- protobuf-java 3.12.0+ required
If you use an older version of either of these, continue to use the older version of protobuf-jackson
. There are no other breaking changes, notably the API and ABI have not been changed. If you already use the appropriate versions, you can update from 1.x without any other changes or recompilation needed.