Add boot42-preview module: Spring Boot 4.2.0-M2 vs 4.1.1 forwarded headers, AMQP starters, buildpack cache, RestTemplate removal warnings

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Gth99spB1CzQmBFofXmU4Z
This commit is contained in:
Claude
2026-09-28 08:40:07 +00:00
parent 3e2029ab3a
commit acd63e658b
24 changed files with 608 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
# boot42-preview
Companion module for the ankurm.com article *Spring Boot 4.2 Preview: AMQP 1.0, Buildpack Image Cache and What to Test Now*.
Everything runs against **4.2.0-M2** (a milestone, not GA) and, where a comparison matters, against **4.1.1** (GA).
| Path | What it is |
|---|---|
| `pom.xml` / `pom-41.xml` | the same project on 4.2.0-M2 and on 4.1.1 (a `${revision}` parent does not resolve from a repository, hence two files) |
| `src/test/.../ForwardedHeadersTest` | what the container believes under each forwarded-header strategy |
| `src/test/.../BindingOrderTest` | Set and Map iteration order from a properties file |
| `src/broken/UsesRestTemplate.java` | not built; compiled by the facts script to capture the deprecation warnings |
| `src/main/.../RestClientReplacement` | the replacement, compiled clean |
| `examples/build-image-cache-fragment.xml` | **not executed** (needs Docker and a registry) |
| `output/` | every transcript quoted in the article; `./scripts/run-all.sh` regenerates them |
There is deliberately no `docs/` folder: the explanations live in the article.