Spring Boot 4.2.0
Spring Boot 4.2.0 shipped on November 19, 2026, opening the 4.2 line with a stack-wide dependency refresh and a quieter set of framework changes. The release was published by the Spring team's build account on GitHub and lands roughly four weeks after 4.1.2. It carries two feature-level changes, sixteen bug fixes, and upgrades to Spring Framework 7.1.0 and Spring Security 7.2.0.
What Changed
The release notes list two items under new features: "Refine forwarded header support" (issue #52800) and "Deprecate Apache Pulsar support" (issue #52752). Everything else in the release is fixes, documentation, and dependency work.
The former is the substantive one for anyone running behind a proxy or on a cloud platform. It rewrote how forwarded headers are handled, and it also caused a regression that the team fixed inside the same release: reactive web servers stopped using forwarded headers on a cloud platform after the change (issue #52806). If you run WebFlux behind a load balancer, that pairing is the part to read closely.
On the dependency side the release moves a large part of the portfolio at once:
- Spring Framework 7.1.0, with Spring Security 7.2.0 and Spring Session 4.2.0
- Spring Data BOM 2026.1.0, Spring Batch 6.1.0, Spring Integration 7.2.0
- Spring Kafka 4.2.0, Spring AMQP 4.2.0, Spring GraphQL 2.1.0, Spring LDAP 4.2.0
- Reactor BOM 2026.0.0, Micrometer 1.18.0, Micrometer Tracing 1.8.0, OpenTelemetry 1.68.0
- Hibernate 7.4.15.Final, Jetty 12.1.15, Thymeleaf 3.1.7
- Elasticsearch Client 9.5.6, Couchbase Client 3.13.1, RabbitMQ Client 5.37.1
The Fixes That Matter
Several fixes address configuration reading, which tends to hit upgrades rather than fresh projects. The properties migrator was failing to migrate some properties renamed back in 4.0 (issue #52809). OriginTrackedPropertiesLoader dropped an indented line after a document separator when trailing whitespace was present (issue #52773), and non-ASCII characters were corrupted when importing properties content with the env: prefix (issue #52764). Config tree imports that referenced parent directories came back empty (issue #52769).
Messaging and integration got attention too. PostgreSQL database names inside Docker Compose JDBC URLs were not URL encoded (issue #52779), encoded AMQP URI values were not decoded when no port was specified (issue #52777), RabbitMQ address properties rejected percent-encoded URI values (issue #52631), and an auto-configured PulsarTransactionManager was not customized by TransactionManagerCustomizers (issue #52783).
Two class-loading bugs round out the list: "Zip file closed" could still be thrown under concurrent access (issue #52803), and could surface while ClearCachesApplicationListener closed the jars of an executable jar (issue #52635).
Why It Matters
The Pulsar deprecation is the item with a deadline attached. It is a deprecation, not a removal, so 4.2.0 keeps the module working, but the direction is now explicit. Teams using Spring Pulsar for messaging should plan a move to Kafka or RabbitMQ, both of which moved forward in this release, before a later line drops the module.
For everyone else, the practical value is the coordinated upgrade. Pulling Framework 7.1.0, Security 7.2.0, and the 2026.1.0 Data BOM by hand is the kind of change that produces a week of version-skew debugging; taking 4.2.0 gets the combination the Spring team tested together.
Upgrading
Bump the parent to 4.2.0 in Maven or Gradle and let the BOM resolve the rest. Watch three areas: forwarded-header behavior if you sit behind a proxy, the properties migrator if you still carry 3.x-era renamed keys, and Spring Security 7.2.0 if you customize the filter chain. A 4.2.x patch line should follow on the usual monthly cadence.