Skip to content

Commit c4b7002

Browse files
committed
Add Jackson warning
rh-pre-commit.version: 2.0.1 rh-pre-commit.check-secrets: ENABLED Signed-off-by: Sam Barker <[email protected]>
1 parent 8e6ad90 commit c4b7002

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

_posts/2024-12-17-release-0_9_0.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ There are many quality of life improvements in [this release](https://github.com
2424
- Key Management Systems (KMS) now have more lifecycle callbacks to better manage shared resources ([#1498](https://github.com/kroxylicious/kroxylicious/pull/1498)).
2525
- We now default to Log4J 2 [Async logging](https://logging.apache.org/log4j/2.x/manual/async.html) - this is mostly a performance optimisation, but we think it should address some issues we have observed with logging in kubernetes environments ([#1673](https://github.com/kroxylicious/kroxylicious/pull/1673).
2626

27+
This release upgrades Kroxylicious to Jackson 2.18 which "[improves](https://github.com/FasterXML/jackson-databind/issues/4785#issuecomment-2463105965)" how jackson handles constructor detection which may lead to issues with filter config.
28+
If after the upgrade you observe issues similar to
29+
`com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Invalid type definition for type `com.fasterxml.jackson.databind.tofix.CreatorResolutionTest$HostPort`: Argument #0 of Creator [method com.fasterxml.jackson.databind.tofix.CreatorResolutionTest$HostPort#parse(java.lang.String)] has no property name (and is not Injectable): can not use as property-based Creator`
30+
then you need to add `@JsonCreator(mode = JsonCreator.Mode.DELEGATING)` to the constructor one expects Jackson to use.
31+
2732
See the [Changelog](https://github.com/kroxylicious/kroxylicious/blob/main/CHANGELOG.md#090) for a full list of changes and summary of Deprecations, Changes and Removals.
2833

2934
Lastly, we are very pleased to announce that this Kroxylicious release contains first time contributions from:

0 commit comments

Comments
 (0)