107 wires and counting
$ status: archived — this briefing has stopped; the archive stays readable. browse live briefings →

$ status

wire 2026-09-12
stories 68

© 2026 RepoJournal Home Showcase Explore How it works Privacy

$ the-wire · showcase

Spring Boot resolves @DefaultValue placeholders, Spring Batch deprecates JPA setters

By RepoJournal · Filed · About Spring · Composed from the cited sources · methodology

Spring Boot now resolves property placeholders in @DefaultValue annotations before conversion, and Spring Batch deprecates setEntityManagerFactory across its JPA item readers and writer.

Spring Boot constructor binding now resolves property placeholders in @DefaultValue annotations before converting arguments [1]. With defaults.duration=3d, a parameter annotated @DefaultValue("${defaults.duration:1d}") receives Duration.ofDays(3); without defaults.duration, it receives Duration.ofDays(1). The change was merged by Andy Wilkinson [2] and follows the team's earlier decision on placeholder resolution. Separately, RabbitDockerComposeConnectionDetailsFactory now resolves the address from container port 5671 when an SSL bundle is present, rather than 5672, so the TLS handshake no longer targets the plain AMQP listener [3].

Spring Batch deprecated setEntityManagerFactory in its JPA item readers and writer [4], and added flushing support to RepositoryItemWriter [5]. RepositoryItemWriter now accepts whole-chunk methods via setMethodName, such as JpaRepository#saveAllAndFlush, and exposes a protected flush() hook for repositories where saving and flushing are separate operations. The repository field is now protected so subclasses overriding flush() can access it. The async processing APIs moved to core [6], and a refinement to contribution #5409 updated Javadocs and reference docs and removed the sequence field from ChunkTaskExecutorItemWriter [7].

Spring AMQP fixed JacksonMessageConverter when assumeSupportedContentType is disabled [8]: contentType is now checked against supportedContentType instead of skipping the check entirely. Spring Session upgraded its samples to Spring Boot 4.2.0-M1, which also requires the latest Spring Framework 7.1.0 snapshot to address an HtmlUnit 5 incompatibility [9], and switched samples to the Boot-specified Jackson version [10]. Spring Tools disambiguated findNode matches and added an unwired plain-tree ascii renderer [11].

Action items

References

  1. [1] Resolve property placeholders in constructor binding default values ↗ spring-projects/spring-boot
  2. [2] Merge pull request #51661 from Wanbinyu ↗ spring-projects/spring-boot
  3. [3] Use TLS port for Docker Compose RabbitMQ connection when SSL is configured ↗ spring-projects/spring-boot
  4. [4] Deprecate `setEntityManagerFactory` in JPA item readers/writer ↗ spring-projects/spring-batch
  5. [5] Add flushing support in RepositoryItemWriter ↗ spring-projects/spring-batch
  6. [6] Move async processing APIs to core ↗ spring-projects/spring-batch
  7. [7] Refine contribution #5409 ↗ spring-projects/spring-batch
  8. [8] GH-3641: Fix JacksonMessageConverter for assumeSupportedContentType ↗ spring-projects/spring-amqp
  9. [9] Upgrade to Spring Boot 4.2.0-M1 ↗ spring-projects/spring-session
  10. [10] Use Boot-specified Jackson Version for Samples ↗ spring-projects/spring-session
  11. [11] GH-1974: disambiguate findNode matches and add an unwired plain-tree ascii renderer ↗ spring-projects/spring-tools

Quick answers

What shipped in Spring on September 12, 2026?
Spring Boot now resolves property placeholders in @DefaultValue annotations before conversion, and Spring Batch deprecates setEntityManagerFactory across its JPA item readers and writer. In total, 61 commits and 7 pull requests landed.
Who contributed to Spring on September 12, 2026?
9 developers shipped this update, including Wanbinyu, Andy Wilkinson, ohchanKyu, Martin Lippert, ngocnhan-tran1996, Tahitoa MERLIN, Mahmoud Ben Hassine, and Won Hyeonseob, and 1 more.
What were the notable Spring updates?
Resolve property placeholders in constructor binding default values, Merge pull request #51661 from Wanbinyu, and Use TLS port for Docker Compose RabbitMQ connection when SSL is configured.