amaechler opened a new pull request, #19528:
URL: https://github.com/apache/druid/pull/19528

   ### Description
   
   This PR bumps `jackson` (`2.20.2` to `2.21.3`) and adds a missing license 
entry for `org.jspecify:jspecify` in `extensions-core/kubernetes-extensions`.
   
   #### Bumped Jackson to 2.21.3
   
   Jackson 2.21 changed the default resolution behaviour when `@JacksonInject` 
and `@JsonProperty` annotate the same parameter: the injected value now wins 
over the JSON value, where 2.20 treated the inject as a fallback used only when 
JSON did not supply one. This affects `DruidNode`'s `serviceName`, `port`, and 
`tlsPort` parameters, which carry both annotations with the expectation that 
JSON config values win when present; everywhere else the annotations are on 
distinct parameters and are unaffected. See _Most Wanted Feature: 
Injection-only `@JacksonInject`_ in the [release blog 
post](https://cowtowncoder.medium.com/jackson-2-21-released-ce0b6582ae67).
   
   #### Restored JSON-input precedence on `DruidNode`
   
   Added the explicit `useInput = OptBoolean.TRUE` to the three 
`@JacksonInject` annotations on `DruidNode`'s constructor parameters so that 
JSON wins over inject.
   
   #### Release note
   
   Dependency Bumps:
   * jackson: 2.20.2 → 2.21.3
   
   If external code has both `@JacksonInject` and `@JsonProperty` on the same 
parameter and relies on the JSON value winning when supplied, add the explicit 
`useInput = OptBoolean.TRUE` to the annotation (or stay on Jackson 2.20.x). All 
such sites in Druid itself have been updated.
   
   <hr>
   
   This PR has:
   
   - [x] been self-reviewed.
   - [x] a release note entry in the PR description.
   - [x] added or updated version, license, or notice information in 
[licenses.yaml](https://github.com/apache/druid/blob/master/dev/license.md)
   - [x] added unit tests or modified existing tests to cover new code paths, 
ensuring the threshold for [code 
coverage](https://github.com/apache/druid/blob/master/dev/code-review/code-coverage.md)
 is met.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to