# boot42-upgrade Companion module for the ankurm.com article *Spring Boot 4.2 GA: What's New, What's Deprecated and the 4.1 to 4.2 Upgrade Checklist*. Everything runs against **Spring Boot 4.2.0** (GA, released 19 November 2026; Spring Framework 7.1.0) and, for the before/after comparison, against **4.1.3** (the latest 4.1 patch). JDK 25 (Temurin 25.0.5). | Path | What it is | |---|---| | `pom.xml` / `pom-41.xml` | the same project on 4.2.0 and on 4.1.3 (a `${revision}` parent does not resolve from a repository, hence two files) | | `src/test/.../DefaultValuePlaceholderTest` | `@DefaultValue` with a `${...}` placeholder: resolved on 4.2, literal text on 4.1.3 (and a startup failure for an `int`) | | `src/test/.../KafkaAdminBindingTest` | the new `spring.kafka.template.admin.*` / `listener.admin.*` keys: 5 of 5 bind on 4.2, 0 of 5 on 4.1.3 with no error | | `src/test/.../LdapEmbeddedSslTest` | embedded LDAP `ssl.enabled=true` without a bundle: fails on 4.2, starts on 4.1.3 | | `src/test/.../SslBundleOptionsTest` | an SSL bundle with `options.ciphers` / `options.enabled-protocols` on the LDAP client fails startup on 4.2 | | `src/test/.../MigratorTest` | what `spring-boot-properties-migrator` prints for the relocated Tomcat keys, the removed path-matching key, the removed `ignored-meters` key and the deprecated forwarded-headers key; `scripts/migrator-without-actuator.sh` repeats it without Actuator on the classpath | | `src/test/.../MigratorFailSwitchTest` | `spring.properties.migrator.fail=on-error` / `on-warning` stop the application; `never` does not | | `src/test/.../ForwardedHeadersTest`, `ForwardedHeadersNewPropertiesTest` | what the container believes for each forwarded-header setting; the milestone-era `spring.mvc.forwarded-headers.header-format` no longer exists in 4.2.0, the settings live under `server.request.header.forwarded.*` | | `src/test/.../ConventionSpellingsTest` | `management.observations.conventions=open-telemetry` starts on 4.2.0 and switches the server meter to `http.server.request.duration` | | `src/test/.../MigratedClientsTest` | `RestClient.Builder` (via `PingClient`) and `RestTestClient`, the replacements for `RestTemplateBuilder` and `TestRestTemplate`, on both versions | | `src/broken/*.java` | not built; `scripts/compile-broken.sh` compiles each with `-Xlint:deprecation` and keeps the compiler's own message | | `scripts/probe-jars.sh` | reads configuration-metadata defaults, the default buildpack builder constants and the BOM versions straight from the published 4.1.3 and 4.2.0 artifacts | | `output/` | every transcript quoted in the article; `./scripts/run-all.sh` regenerates them | Run: `./scripts/run-all.sh`. Not executed here (they need Docker, a registry or a running broker): building an image with the new default builder, the registry-backed build cache, AMQP 1.0 against a broker, and the Redis master/replica database change. There is deliberately no `docs/` folder: the explanations live in the article.