Update jackson databind to newer version
Merged
WI
4mo ago+114+114+012345678901234567890123456789-114-114-012345678901234567890123456789
to close https://github.com/OpenAPITools/openapi-generator/pull/24305
PR checklist
- Read the contribution guidelines.
- Run the following to build the project and update samples:
(For Windows users, please run the script in WSL)./mvnw clean package || exit ./bin/generate-samples.sh ./bin/configs/*.yaml || exit ./bin/utils/export_docs_generators.sh || exit
Commit all changed files.
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example./bin/generate-samples.sh bin/configs/java*.
IMPORTANT: Do NOT purge/delete any folders/files (e.g. tests) when regenerating the samples as manually written tests may be removed. - If your PR is targeting a particular programming language, @mention the technical committee members, so they are more likely to review the pull request.
Summary by cubic
Upgrade Jackson across generators and samples from 2.17.1 to 2.18.9. This brings all Java/Kotlin templates and examples to a consistent Jackson 2.x baseline and updates JavaClientCodegen library descriptors.
-
Dependencies
- Bumped
com.fasterxml.jackson.core:jackson-databind,jackson-core,jackson-annotations,com.fasterxml.jackson.datatype:jackson-datatype-jsr310, andcom.fasterxml.jackson.module:jackson-module-kotlinto 2.18.9 across Java/JAX-RS, Retrofit2, Resteasy, MicroProfile, Vert.x, Javalin, Kotlin WireMock, and Groovy templates and all samples; updatedjackson.version,jackson.jaxrs.version, andjackson-jaxrs-versionproperties accordingly. - Updated
JavaClientCodegensupportedLibrariestext to reflect Jackson 2.18.9 for Jersey2, Feign/Feign HC5, Retrofit2, Spring WebClient/RestClient, Resteasy, Vert.x, Google API Client, Rest-assured, Native, MicroProfile, and Apache.
- Bumped
-
Migration
- Regenerate clients/servers to pick up the new versions and align any pinned Jackson dependencies (including
jackson-module-kotlinandjackson-datatype-jsr310) to 2.18.9 if you override them. - Projects using
useJackson3=trueare unchanged; this only updates the Jackson 2.x path.
- Regenerate clients/servers to pick up the new versions and align any pinned Jackson dependencies (including