Upgrade to Camel 4.18.1#695
Merged
jbonofre merged 12 commits intoapache:mainfrom Apr 14, 2026
Merged
Conversation
Closed
Replace ${jackson2-annotations-version} with ${jackson2-version} in
camel-jackson and camel-jacksonxml test POMs as the former property
is not defined and breaks the build.
Replace netty-codec-base and netty-codec-compression bundles with netty-codec, as the split artifacts only exist in Netty 4.2.x. Camel 4.18.1 uses Netty 4.1.131.Final where codec and compression are packaged together in the netty-codec artifact.
…4.18.1 upgrade - Fix camel-osgi-jackson2-version range from [2.20,2.21) to [2.19,2.20) to match jackson2-version 2.19.4 used by Camel 4.18.1 - Restore missing version properties accidentally removed during upgrade: docling-core-version, docling-serve-api-version, docling-serve-client-version, langchain4j-hugging-face-version, langchain4j-community-dashscope-version, microprofile-fault-tolerance-version, neo4j-bolt-version, reactor-netty-incubator-quic-version, async-http-client-version - Fix camel-kafka feature to use explicit lz4-java-version instead of auto-detect-version which failed version resolution
Use jackson2-version instead of the undefined jackson2-annotations-version property for jackson-annotations bundle, consistent with jackson-databind and jackson-core in the same feature block.
Avro 1.12.1 requires com.fasterxml.jackson.annotation >= 2.20.0 in its OSGi manifest, but jackson2-version was 2.19.4 and the OSGi import range was [2.19,2.20) which explicitly excluded 2.20+.
… Netty 4.2-only artifacts - Add jackson2-annotations-version=2.20 property (annotations uses different versioning than core/databind which use 2.20.x) - Restore jspecify-version, nimbusds-content-type-version, nimbusds-lang-tag-version, and nimbusds-oauth2-oidc-sdk-version properties accidentally dropped in 4.18.1 upgrade - Remove netty-codec-http3 and netty-codec-classes-quic bundles from azure-eventhubs, azure-storage-blob, and stitch features (only exist in Netty 4.2+, already optional)
…erty - Restore Netty to 4.2.12.Final (4.18.1 upgrade incorrectly downgraded to 4.1.131 which is incompatible with reactor-netty 1.3.3 OSGi imports requiring >=4.2.0) - Restore netty-codec-http3 and netty-codec-classes-quic bundles (exist in 4.2.x) - Fix lz4-java groupId from org.lz4 to at.yawk.lz4 (Kafka 3.9.2 uses the new groupId) - Restore snakeyaml-engine-kubernetes-version=2.10 property (fabric8 kubernetes-client imports snakeyaml-engine [2.10,3), needs separate 2.x version)
In Netty 4.2.x, io.netty.handler.codec was moved from netty-codec to the new netty-codec-base artifact. Without it, any feature depending on io.netty.handler.codec (camel-amqp, camel-netty, camel-cassandraql, camel-avro-rpc, camel-azure-eventhubs, reactor-netty-core, etc.) fails feature resolution.
In Netty 4.2.x, io.netty.handler.codec and io.netty.handler.codec.compression were extracted from netty-codec into two new dedicated artifacts. Without them the feature resolver cannot satisfy the import requirements of netty-codec-http and any bundle that depends on it (camel-amqp, camel-netty-http, camel-azure-*, camel-stitch, camel-platform-http-vertx, camel-micrometer-prometheus, etc.).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Bug fixes
camel-osgi-jackson2-versionrange from[2.20,2.21)to[2.19,2.20)to matchjackson2-version2.19.4 used by Camel 4.18.1docling-core-version,docling-serve-api-version,docling-serve-client-version,langchain4j-hugging-face-version,langchain4j-community-dashscope-version,microprofile-fault-tolerance-version,neo4j-bolt-version,reactor-netty-incubator-quic-version,async-http-client-versioncamel-kafkafeature to use explicitlz4-java-versioninstead ofauto-detect-versionwhich failed version resolution