Skip to content

chore(deps): upgrade Apache Avro to 1.12.2 - #26005

Merged
Croway merged 1 commit into
apache:mainfrom
Croway:chore/avro-1.12.2-trusted-packages
Sep 1, 2026
Merged

chore(deps): upgrade Apache Avro to 1.12.2#26005
Croway merged 1 commit into
apache:mainfrom
Croway:chore/avro-1.12.2-trusted-packages

Conversation

@Croway

@Croway Croway commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Upgrades Apache Avro, Avro compiler, and Avro RPC transports from 1.12.1 to 1.12.2.

Avro 1.12.2 validates classes loaded from schemas and requires explicit trusted packages. Configure the affected Camel test JVMs with the minimum packages needed by their test models, and document the required application migration.

This replaces #26001, which was closed because the version bump is a user-visible compatibility change. It is intentionally not proposed for the camel-4.22.x or camel-4.18.x maintenance branches.

@Croway
Croway requested review from davsclaus and oscerd September 1, 2026 10:41
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟
🤖 CI automation will test this PR automatically.

🐫 Apache Camel Committers, please review the following items:

  • First-time contributors require MANUAL approval for the GitHub Actions to run
  • You can use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot although they are normally detected and executed by CI.
  • You can label PRs using skip-tests and test-dependents to fine-tune the checks executed by this PR.
  • Build and test logs are available in the summary page. Only Apache Camel committers have access to the summary.

⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

@gnodet gnodet left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean dependency upgrade from Apache Avro 1.12.1 to 1.12.2 with correct test-JVM configuration for the new trusted-packages validation and a well-written upgrade guide entry documenting the user-visible migration.

Minor observation (non-blocking): The two [source] blocks for the JVM option examples in the upgrade guide lack a language specifier (e.g., [source,text]). Other blocks in the same file use [source,java] or [source,xml]. This is valid AsciiDoc as-is, so not blocking.

General observations:

  • The scope of the test-JVM changes is correct — only camel-avro and camel-avro-rpc use Avro's native SpecificData/ReflectData class-loading paths. The Jackson-based Avro modules are unaffected.
  • The trusted package sets are minimal and correct.
  • The upgrade guide entry is thorough: explains the behavioral change, gives concrete examples, and warns against * wildcard usage.

📋 PR Metadata

Aspect Current Suggested
Labels components, docs, core-build-and-dependencies + dependency
Milestone (none) 4.23.0
Backport Not needed (author explicitly excludes maintenance branches — appropriate for a user-visible breaking change)

This review was generated by an AI agent and may contain inaccuracies. Please verify all suggestions before applying.

Claude Code on behalf of Guillaume Nodet

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

🧪 CI tested the following changed modules:

  • components/camel-avro
  • components/camel-avro-rpc/camel-avro-rpc-component
  • docs
  • parent

POM dependency changes: targeted tests included

Changed properties: avro-ipc-jetty-version,avro-ipc-netty-version,avro-version

Modules affected by dependency changes (8)
  • :camel-avro-rpc-jetty
  • :camel-avro-rpc-spi
  • :camel-avro-rpc
  • :camel-jackson3-avro
  • :camel-avro
  • :camel-salesforce
  • :camel-salesforce-codegen
  • :camel-jackson-avro

🔬 Scalpel shadow comparison — Scalpel: 23 tested, 26 compile-only — current: 10 all tested

Maveniverse Scalpel detected 49 affected modules (current approach: 10).

⚠️ Modules only in Scalpel (39)
  • apache-camel
  • camel-allcomponents
  • camel-avro-rpc-jetty
  • camel-avro-rpc-spi
  • camel-catalog
  • camel-catalog-console
  • camel-catalog-maven
  • camel-catalog-suggest
  • camel-componentdsl
  • camel-endpointdsl
  • camel-endpointdsl-support
  • camel-itest
  • camel-jackson-avro
  • camel-jackson3-avro
  • camel-jbang-core
  • camel-jbang-it
  • camel-jbang-main
  • camel-jbang-plugin-edit
  • camel-jbang-plugin-generate
  • camel-jbang-plugin-kubernetes
  • camel-jbang-plugin-test
  • camel-kamelet
  • camel-kamelet-main
  • camel-launcher
  • camel-report-maven-plugin
  • camel-route-parser
  • camel-salesforce
  • camel-salesforce-codegen
  • camel-salesforce-maven-plugin
  • camel-state-store
  • camel-test-main-junit5
  • camel-test-main-junit6
  • camel-xml-io-dsl
  • camel-yaml-dsl
  • camel-yaml-dsl-deserializers
  • camel-yaml-dsl-maven-plugin
  • coverage
  • docs
  • dummy-component

Changed properties: avro-ipc-jetty-version, avro-ipc-netty-version, avro-version

Skip-tests mode would test 23 modules (9 direct + 14 downstream), skip tests for 26 (generated code, meta-modules)

Modules Scalpel would test (23)
  • camel-avro
  • camel-avro-rpc
  • camel-avro-rpc-jetty
  • camel-avro-rpc-spi
  • camel-jackson-avro
  • camel-jackson3-avro
  • camel-jbang-mcp
  • camel-jbang-plugin-mcp
  • camel-jbang-plugin-route-parser
  • camel-jbang-plugin-tui
  • camel-jbang-plugin-validate
  • camel-kamelet
  • camel-launcher-container
  • camel-salesforce
  • camel-salesforce-codegen
  • camel-salesforce-maven-plugin
  • camel-state-store
  • camel-test-main-junit5
  • camel-test-main-junit6
  • camel-xml-io-dsl
  • camel-yaml-dsl-validator
  • camel-yaml-dsl-validator-maven-plugin
  • docs
Modules with tests skipped (26)
  • apache-camel
  • camel-allcomponents
  • camel-catalog
  • camel-catalog-console
  • camel-catalog-maven
  • camel-catalog-suggest
  • camel-componentdsl
  • camel-endpointdsl
  • camel-endpointdsl-support
  • camel-itest
  • camel-jbang-core
  • camel-jbang-it
  • camel-jbang-main
  • camel-jbang-plugin-edit
  • camel-jbang-plugin-generate
  • camel-jbang-plugin-kubernetes
  • camel-jbang-plugin-test
  • camel-kamelet-main
  • camel-launcher
  • camel-report-maven-plugin
  • camel-route-parser
  • camel-yaml-dsl
  • camel-yaml-dsl-deserializers
  • camel-yaml-dsl-maven-plugin
  • coverage
  • dummy-component

ℹ️ Shadow mode — Scalpel observes but does not affect test execution. Learn more

All tested modules (49 modules)
  • Camel :: All Components Sync point
  • Camel :: Assembly
  • Camel :: Avro
  • Camel :: Avro RPC
  • Camel :: Avro RPC :: Jetty
  • Camel :: Avro RPC :: Spi
  • Camel :: Catalog :: Camel Catalog
  • Camel :: Catalog :: Camel Report Maven Plugin
  • Camel :: Catalog :: Camel Route Parser
  • Camel :: Catalog :: Console
  • Camel :: Catalog :: Dummy Component
  • Camel :: Catalog :: Maven
  • Camel :: Catalog :: Suggest
  • Camel :: Component DSL
  • Camel :: Coverage
  • Camel :: Docs
  • Camel :: Endpoint DSL
  • Camel :: Endpoint DSL :: Support
  • Camel :: Integration Tests
  • Camel :: JBang :: Core
  • Camel :: JBang :: Integration tests
  • Camel :: JBang :: MCP
  • Camel :: JBang :: Main
  • Camel :: JBang :: Plugin :: Edit
  • Camel :: JBang :: Plugin :: Generate
  • Camel :: JBang :: Plugin :: Kubernetes
  • Camel :: JBang :: Plugin :: MCP
  • Camel :: JBang :: Plugin :: Route Parser
  • Camel :: JBang :: Plugin :: TUI
  • Camel :: JBang :: Plugin :: Testing
  • Camel :: JBang :: Plugin :: Validate
  • Camel :: Jackson 3 Avro
  • Camel :: Jackson Avro
  • Camel :: Kamelet
  • Camel :: Kamelet Main
  • Camel :: Launcher
  • Camel :: Launcher :: Container
  • Camel :: Salesforce
  • Camel :: Salesforce :: CodeGen
  • Camel :: Salesforce :: Maven Plugin
  • Camel :: State Store
  • Camel :: Test :: Main :: JUnit5
  • Camel :: Test :: Main :: JUnit6
  • Camel :: XML DSL with camel-xml-io
  • Camel :: YAML DSL
  • Camel :: YAML DSL :: Deserializers
  • Camel :: YAML DSL :: Maven Plugins
  • Camel :: YAML DSL :: Validator
  • Camel :: YAML DSL :: Validator Maven Plugin

⚙️ View full build and test results

@Croway
Croway merged commit 4024bf3 into apache:main Sep 1, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants