The Wire · Showcase
SPRING BOOT ADDS IMAGE-BASED BUILD CACHES, DEPRECATES TESTRESTTEMPLATE
By RepoJournal · Filed · About Spring
Spring Boot shipped a major build cache upgrade that lets you store container images in registries and share them across hosts, while deprecating TestRestTemplate in favor of the newer RestTestClient.
The image-based build cache feature [1] integrates with both Maven and Gradle plugins, using the lifecycle's `-cache-image` argument to store build artifacts in container registries. This is a significant productivity win for teams running distributed builds. Spring Boot also deprecated `TestRestTemplate` [2] in favor of RestTestClient, with a new `TrustAllTlsRequestFactory` testing utility [5] to handle TLS certificate validation in tests. Across the Spring portfolio, cleanup continues: spring-tools removed its old Azure plugin dashboard [8] and fixed duplicate "the" typos across multiple repos [ref:4, ref:7]. Spring Kafka updated documentation anchors [6] after a recent rename of partition assignment sections, marked for automatic backport to 4.0.x. Spring Data Elasticsearch added a new documentation section on server type configuration [7]. All told, 29 commits and 9 PRs flowed through the ecosystem overnight.
One email a day. Unsubscribe in one click.
Keep up with Spring in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Review image-based build cache option for distributed CI/CD pipelines spring-projects/spring-boot [plan]
- → Migrate TestRestTemplate usage to RestTestClient in test suites spring-projects/spring-boot [plan]
- → Update Spring Kafka anchor references if using 4.0.x branch spring-projects/spring-kafka [monitor]
References
- [1] Add support for image-based build caches ↗ spring-projects/spring-boot
- [2] Deprecate `TestRestTemplate` spring-projects/spring-boot
- [3] Remove duplicated "the" ↗ spring-projects/spring-tools
- [4] Remove duplicated "the" ↗ spring-projects/spring-batch-extensions
- [5] Add testing utility for RestTestClient spring-projects/spring-boot
- [6] Update `Topic Partition Assignment` anchor (#4534) spring-projects/spring-kafka
- [7] New Doc section on Server Type ↗ spring-projects/spring-data-elasticsearch
- [8] Remove old dashboard for azure plugin ↗ spring-projects/spring-tools