Skip to content

build: bump version.spring-boot-3 from 4.1.0 to 4.2.0 - #4634

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/maven/version.spring-boot-3-4.2.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/maven/version.spring-boot-3-4.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 26, 2026

Copy link
Copy Markdown
Contributor

Bumps version.spring-boot-3 from 4.1.0 to 4.2.0.
Updates org.springframework.boot:spring-boot-dependencies from 4.1.0 to 4.2.0

Release notes

Sourced from org.springframework.boot:spring-boot-dependencies's releases.

v4.2.0

⭐ New Features

  • Refine forwarded header support #52800
  • Deprecate Apache Pulsar support #52752

🐞 Bug Fixes

  • Properties migrator does not migrate some properties renamed in 4.0 #52809
  • Reactive web servers no longer use forwarded headers on a cloud platform after #52800 #52806
  • Class loading fails with 'Zip file closed' can still be thrown under concurrent access #52803
  • Auto-configured PulsarTransactionManager is not customized by TransactionManagerCustomizers #52783
  • InspectedContent records the wrong size when a writer writes a range of bytes #52781
  • PostgreSQL database names in Docker Compose JDBC URLs are not URL encoded #52779
  • Encoded AMQP URI values are not decoded when no port is specified #52777
  • SAML2 service provider metadata fails when the single logout binding is omitted #52775
  • OriginTrackedPropertiesLoader drops an indented line after a document separator with trailing whitespace #52773
  • Config tree imports referencing parent directories contain no data #52769
  • Non-ASCII characters are corrupted when importing properties content with the env: prefix #52764
  • Exception message in JvmMetricsAutoConfiguration.jvmThreadMetrics references incorrect class #52754
  • Auto-configured GraphQL endpoint doesn't support HTTP OPTIONS requests #52663
  • Metadata for management.health.amqprabbit.enabled is missing #52637
  • Class loading fails with 'Zip file closed' while ClearCachesApplicationListener closes the jars of an executable jar #52635
  • RabbitMQ address configuration properties don't support percent-encoded values in the URI #52631

📔 Documentation

  • Fix typo in webserver documentation #52813
  • Add Rainbow Gum to community starters #52807
  • Examples in "Auto-configured Spring REST Docs Tests With Mock MVC" are incomplete #52662

🔨 Dependency Upgrades

... (truncated)

Commits
  • 3a36e91 Release 4.2.0
  • e5213b1 Upgrade to Spring WS 5.1.0
  • 8bfa86c Upgrade to Spring Session 4.2.0
  • 1cc854c Upgrade to Spring Security 7.2.0
  • 3bd2722 Upgrade to Spring RESTDocs 4.1.0
  • 86987d7 Upgrade to Spring LDAP 4.2.0
  • 3456b64 Upgrade to Spring Kafka 4.2.0
  • e3c4f67 Upgrade to Spring Integration 7.2.0
  • f60672e Upgrade to Spring HATEOAS 3.2.0
  • acd9cee Upgrade to Spring GraphQL 2.1.0
  • Additional commits viewable in compare view

Updates org.springframework.boot:spring-boot-maven-plugin from 4.1.0 to 4.2.0

Release notes

Sourced from org.springframework.boot:spring-boot-maven-plugin's releases.

v4.2.0

⭐ New Features

  • Refine forwarded header support #52800
  • Deprecate Apache Pulsar support #52752

🐞 Bug Fixes

  • Properties migrator does not migrate some properties renamed in 4.0 #52809
  • Reactive web servers no longer use forwarded headers on a cloud platform after #52800 #52806
  • Class loading fails with 'Zip file closed' can still be thrown under concurrent access #52803
  • Auto-configured PulsarTransactionManager is not customized by TransactionManagerCustomizers #52783
  • InspectedContent records the wrong size when a writer writes a range of bytes #52781
  • PostgreSQL database names in Docker Compose JDBC URLs are not URL encoded #52779
  • Encoded AMQP URI values are not decoded when no port is specified #52777
  • SAML2 service provider metadata fails when the single logout binding is omitted #52775
  • OriginTrackedPropertiesLoader drops an indented line after a document separator with trailing whitespace #52773
  • Config tree imports referencing parent directories contain no data #52769
  • Non-ASCII characters are corrupted when importing properties content with the env: prefix #52764
  • Exception message in JvmMetricsAutoConfiguration.jvmThreadMetrics references incorrect class #52754
  • Auto-configured GraphQL endpoint doesn't support HTTP OPTIONS requests #52663
  • Metadata for management.health.amqprabbit.enabled is missing #52637
  • Class loading fails with 'Zip file closed' while ClearCachesApplicationListener closes the jars of an executable jar #52635
  • RabbitMQ address configuration properties don't support percent-encoded values in the URI #52631

📔 Documentation

  • Fix typo in webserver documentation #52813
  • Add Rainbow Gum to community starters #52807
  • Examples in "Auto-configured Spring REST Docs Tests With Mock MVC" are incomplete #52662

🔨 Dependency Upgrades

... (truncated)

Commits
  • 3a36e91 Release 4.2.0
  • e5213b1 Upgrade to Spring WS 5.1.0
  • 8bfa86c Upgrade to Spring Session 4.2.0
  • 1cc854c Upgrade to Spring Security 7.2.0
  • 3bd2722 Upgrade to Spring RESTDocs 4.1.0
  • 86987d7 Upgrade to Spring LDAP 4.2.0
  • 3456b64 Upgrade to Spring Kafka 4.2.0
  • e3c4f67 Upgrade to Spring Integration 7.2.0
  • f60672e Upgrade to Spring HATEOAS 3.2.0
  • acd9cee Upgrade to Spring GraphQL 2.1.0
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps `version.spring-boot-3` from 4.1.0 to 4.2.0.

Updates `org.springframework.boot:spring-boot-dependencies` from 4.1.0 to 4.2.0
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](spring-projects/spring-boot@v4.1.0...v4.2.0)

Updates `org.springframework.boot:spring-boot-maven-plugin` from 4.1.0 to 4.2.0
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](spring-projects/spring-boot@v4.1.0...v4.2.0)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-dependencies
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.springframework.boot:spring-boot-maven-plugin
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner November 26, 2026 17:52
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 26, 2026
Copilot AI balanced review requested due to automatic review settings November 26, 2026 17:52
@dependabot dependabot Bot added the java Pull requests that update Java code label Nov 26, 2026
@github-actions

Copy link
Copy Markdown

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@mergify

mergify Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue). If it does not match the queue conditions yet, it enters the queue once it does.

  • Queue this pull request once it meets the queue conditions

Copilot AI 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.

🟡 Changes recommended

The Boot 4 BOM upgrades break compilation and test execution through incompatible Spring 7 APIs and Java 17-only JUnit engines, while replacing intended Spring 5/6 coverage.

6 open issues
What changed in this PR

Updates Spring Boot dependency management and build tooling to 4.2.0 across the Elastic APM Java agent’s Spring integration modules.

Changes:

  • Bumps version.spring-boot-4 for Spring MVC and WebFlux.
  • Updates the Boot 2, 3, and 4 integration-suite BOM imports to 4.2.0.
  • Updates BOM imports for RestTemplate, RestClient, and RabbitMQ modules.
File Description
integration-tests/​spring-boot-4/​pom.xml Updates the Boot 4 integration BOM from 4.0.6.
integration-tests/​spring-boot-3/​pom.xml Moves the Boot 3 suite’s BOM to Boot 4.2.0.
integration-tests/​spring-boot-2/​pom.xml Moves the Boot 2 suite’s BOM to Boot 4.2.0.
apm-agent-plugins/​apm-spring-webmvc/​pom.xml Bumps the shared Boot 4 version for MVC testing.
apm-agent-plugins/​apm-spring-webflux/​pom.xml Bumps the Boot 4 version used for WebFlux dependencies and packaging.
apm-agent-plugins/​apm-spring-resttemplate/​apm-spring-resttemplate-plugin/​pom.xml Updates dependency management for RestTemplate instrumentation.
apm-agent-plugins/​apm-spring-resttemplate/​apm-spring-restclient-test/​pom.xml Updates dependency management for RestClient tests.
apm-agent-plugins/​apm-rabbitmq/​apm-rabbitmq-test-spring6/​pom.xml Moves the Spring 6 RabbitMQ test BOM to Boot 4.2.0.
apm-agent-plugins/​apm-rabbitmq/​apm-rabbitmq-spring5/​pom.xml Moves the Spring 5 RabbitMQ compilation and test BOM to Boot 4.2.0.

Review effort: Balanced

<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>2.7.11</version> <!-- must be 2.x, do not upgrade further-->
<version>4.2.0</version> <!-- must be 2.x, do not upgrade further-->
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>3.5.7</version>
<version>4.2.0</version>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>3.5.7</version>
<version>4.2.0</version>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>3.5.7</version> <!-- update IT in case of major upgrade -->
<version>4.2.0</version> <!-- update IT in case of major upgrade -->
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>2.7.16</version> <!-- no major upgrade here -->
<version>4.2.0</version> <!-- no major upgrade here -->
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>3.5.7</version>
<version>4.2.0</version>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-java dependencies Pull requests that update a dependency file java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant