v4.0.0
jackson-3Breaking Jackson 3 release for Spring Boot 4 applications.
Highlights
- 01
Jackson 3 by default
The library now compiles against Jackson 3
Read the guide →tools.jackson.*APIs and aligns JSON helpers with Spring Boot 4. - 02
Java time JsonPath support
Typed JSON payload assertions now serialize Java time fields with the library's Jackson 3 mapper instead of failing on
LocalDate,Instant, and related types. - 03
Application mapper opt-in
The default mapper is exposed as
sharedKafkaTestObjectMapper; setspring.kafka.test.object-mapper-bean-nameto explicitly use another Spring Boottools.jackson.databind.ObjectMapperbean. - 04
Spring Boot 4.0.5 baseline
The library compiles and tests against the Spring Boot 4.0.5 BOM so Spring Framework, Spring Kafka, and related Spring components resolve from the 4.0.5-managed stack.
Full notes
Breaking changes
- Moved production Jackson usage from Jackson 2
com.fasterxml.jackson.*packages to Jackson 3tools.jackson.*packages. - Replaced Spring Kafka's Jackson 2 JSON serializer/deserializer usage in built-in DTO publishing and typed reading with the library's Jackson 3 serializer/deserializer.
- Upgraded topic-file JSON Schema validation to the Jackson 3-compatible
json-schema-validatorline. - Raised the compile/test baseline to the Spring Boot 4.0.5 BOM.
Added
- Added the uniquely named
sharedKafkaTestObjectMapperdefault bean andspring.kafka.test.object-mapper-bean-namefor resolving a custom Jackson 3ObjectMapperbean from the active Spring test context.
Fixed
- Fixed typed
hasJsonPathassertions for payload classes that contain Java time fields.