Spring Boot 4.2.0 is not a quiet upgrade.

Spring Boot 4.2.0 GA (November 19, 2026): AMQP 1.0, OpenTelemetry conventions, LDAP SSL bundles, faster jars, and the upgrade landmines around RestTemplate, AMQP starters, and forwarded headers.

Spring Boot 4.2.0 shipped on November 19, 2026. I opened the release notes looking for one feature that would sell the dependency bump. AMQP 1.0 is there. OpenTelemetry semantic conventions are there. LDAP can finally take an SSL bundle. Executable jars start faster. Buildpacks can push a warm build cache to a registry. Then I scrolled into the upgrade section. RestTemplate support is deprecated. spring-boot-starter-amqp no longer means RabbitMQ 0.9. Forwarded-header properties moved. WebFlux multipart used to be unlimited. It is not unlimited anymore. The headline features are real. The upgrade tickets are quieter. This is the map I would use before opening the PR. Two lists, not one changelog flowchart LR subgraph adopt [Worth adopting] amqp["AMQP 1.0"] otel["OTel conventions"] ldap["LDAP SSL bundles"] jars["Faster nested-jar startup"] cache["Registry build cache"] end subgraph landmines [Fix before merge] rest["RestTemplate deprecation"] starter["AMQP starter rename"] fwd["Forwarded headers moved"] multi["WebFlux multipart limits"] redis["Redis master/replica database"] end I treat 4.2.0 as two workstreams. One is optional adoption. The other is "will this boot after the bump?" AMQP 1.0: three starters, one choice 4.2.0 adds AMQP 1.0 in two shapes: Generic AMQP 1.0 on Qpid ProtonJ2, through spring-boot-starter-amqp . RabbitMQ-specific AMQP 1.0, through spring-boot-starter-amqp-rabbitmq . That forced a rename. The old RabbitMQ 0.9 support moved to spring-boot-starter-rabbitmq , with classes under org.springframework.boot.rabbitmq . The spring.rabbitmq.* properties stay. If your app is still on spring-boot-starter-amqp for classic RabbitMQ, the upgrade is not a version bump. It is a starter decision: Goal Starter Stay on AMQP 0.9 / classic RabbitMQ spring-boot-starter-rabbitmq Move to RabbitMQ AMQP 1.0 spring-boot-starter-amqp-rabbitmq Talk to any AMQP 1.0 broker spring-boot-starter-amqp RabbitMQ AMQP 1.0 uses spring.amqp.rabbitmq.* . Username and password have no defaults. Without credentials the client authenticates anonymously. The health key is amqprabbit , so it can sit next to the classic rabbit indicator. spring-boot-starter-amqp is no longer a synonym for RabbitMQ 0.9. That is the first landmine I would search for in the build file. Observability: opt in, then expect names to move OpenTelemetry semantic conventions are available, but they are not the default. Set: management: observations: conventions: open-telemetry Only stable conventions are used. Once you flip that switch, customization properties such as management.observations.http.server.requests.name stop taking effect. That is the trade: shared naming across stacks, less Boot-specific meter renaming. OTLP endpoint, headers, and compression can now be set once under management.opentelemetry.otlp and shared by traces, logs, and metrics. Signal-specific properties still win when present. The shared HTTP endpoint appends /v1/traces , /v1/logs , or /v1/metrics for you. Tracing MDC keys are configurable under management.tracing.mdc.trace-id-key and span-id-key . Defaults stay traceId and spanId . The default correlation pattern in log output follows those keys. If you already run a home-grown meter name convention, try the OTel switch in a branch and compare the series names before you flip production. LDAP finally takes an SSL bundle The auto-configured LdapContextSource can use an SSL bundle over LDAPS: spring: ldap: urls: ldaps://directory.example:636 ssl: bundle: directory Once a bundle is set, the default URL scheme becomes ldaps://localhost:636 if you leave URLs unset. If you only need platform trust material, spring.ldap.ssl.enabled=true is enough. The embedded LDAP server can speak LDAPS too. Naming spring.ldap.embedded.ssl.bundle configures both ends. One behavior change matters in tests: enabling embedded SSL without a bundle used to start a plain listener quietly. 4.2.0 requires the bundle. Fail loud beats fail silent. Faster jars, warmer Buildpack caches Executable-jar startup got a structural fix. Classes and resources are looked up directly inside nested jars instead of opening a URL connection for every nested jar on every lookup. Auto-configuration sorting and DevTools restarts are faster too. On the image side, the default builder is now paketobuildpacks/ubuntu-resolute-builder (Ubuntu 26.04). Build cache can be an image in a registry. Until Paketo / Spring Cloud Bindings catch up, set BP_SPRING_CLOUD_BINDINGS_DISABLED=true when building 4.2 images, or the old EnvironmentPostProcessor hook fails startup. The landmines I would fix before celebrating RestTemplate is on the way out Spring Framework 7.1 deprecates RestTemplate . Boot 4.2.0 deprecates the matching infrastructure. The replacement path is RestClient.Builder in production and RestTestClient with @AutoConfigureRestTestClient in tests. I wrote that path up separately: RestClient does not own the HttpClient timeout . Forwarded headers moved server.forward-headers-strategy is deprecated. Use server.request.header.forwarded.* . Strategies are web-server (was native ), framework , and none . Setting old and new together fails startup. X-Forwarded-Prefix is ignored unless use-prefix is true. WebFlux multipart is capped Defaults are now max-disk-usage-per-part: 1MB and max-parts: 50 . Unlimited was the old behavior. Large uploads will start failing after the bump unless you raise the limits or set them to -1 . Redis master/replica finally honors the database spring.data.redis.database used to be ignored with master/replica nodes. It now applies. If you set a database and relied on 0 by accident, say so in the PR. Pulsar is leaving the Spring umbrella spring-boot-starter-pulsar is deprecated. Apache Pulsar support for Spring lives at the ASF now. What I would do on Monday Search the repo for RestTemplate , TestRestTemplate , RestTemplateBuilder , and spring-boot-starter-amqp . Decide the AMQP starter on purpose. Do not inherit the old name. Bump to 4.2.0 on a branch and run the app behind the real proxy config, with a multipart upload fixture if you use WebFlux. Only then opt into management.observations.conventions=open-telemetry and compare metric names. If you build with Paketo, set BP_SPRING_CLOUD_BINDINGS_DISABLED=true until the buildpack side is fixed. 4.2.0 is a good release. It is also an honest one: the new protocol support and observability work sit next to deprecations and default changes that will fail CI if you only read the blog highlights. Which landmine hit your upgrade branch first: the AMQP starter, RestTemplate, or multipart limits? ------------ Sources Spring Boot 4.2.0 available now (Moritz Halbritter, November 19, 2026) Spring Boot 4.2 Release Notes Spring Boot 4.2 Configuration Changelog