Skip to content

Releases: curioswitch/protobuf-jackson

Version 2.7.0

15 Nov 02:00
710708c
Compare
Choose a tag to compare

Enhancements

  • Caches generated marshallers across MessageMarshaller instances

Version 2.6.0

02 Oct 02:49
ba98f5e
Compare
Choose a tag to compare

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

16 Feb 09:53
49b7c0b
Compare
Choose a tag to compare

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

02 Feb 07:29
7075c1c
Compare
Choose a tag to compare

Bugfixes

  • Fix optional field not serialized when set to default value

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

Version 2.2.0

17 May 01:22
e577eb7
Compare
Choose a tag to compare

Enhancements

  • Adds MessageMarshallerModule to simplify registering MessageMarshaller with an ObjectMapper
    • 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 the ObjectMapper 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

01 May 01:20
00f88f6
Compare
Choose a tag to compare

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

04 Jan 11:41
d0610fa
Compare
Choose a tag to compare

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.

Version 1.2.0

04 Jan 11:13
4a4dfb1
Compare
Choose a tag to compare