RepoJournal
Spring

@spring-projects

Spring Framework, Spring Boot, and the JVM enterprise layer

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.

Pick a date

Topics: Java Full archive →

The Wire · Showcase

SPRING BOOT FIXES MAIL SECURITY GAP, SPRING AI RESTORES PDF HANDLING

By RepoJournal · Filed · About Spring

Spring Boot 4.0.7 patches a hostname verification bypass in MailSender auto-configuration while Spring AI closes a critical regression that broke PDF document parsing in Claude and GPT models.

Spring Boot 4.0.7 landed overnight with a security fix for MailSender auto-configuration that was silently disabling hostname verification [1]. This is the kind of silent-fail security issue that ships undetected in production. Spring AI simultaneously shipped a fix restoring PDF media mapping in OpenAiChatModel [2], which broke in the 2.0 rewrite onto the official OpenAI SDK. PDFs were falling through to base64 text instead of parsed documents. Spring AI also fixed MCP integration test flakiness [3] by gracefully closing servers, tuning timeouts to 60s, and standardizing container images. Across the stack, Spring Integration hardened two critical bugs: a multibyte character offset issue in DatagramPacketMessageMapper [4] that corrupted UDP messages with non-ASCII headers, and a Math.abs() overflow in PartitionedDispatcher [5] that crashed with Integer.MIN_VALUE. Spring Boot dependency management got realigned [7], removing Protobuf Common Protos management to let gRPC Java control the version transitively. Spring AI replaced deprecated Jackson methods [6], migrating from asText() to asString() and switching to jspecify annotations for null safety.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] (4.0.x): Bump org.springframework.boot from 4.0.6 to 4.0.7 ↗ spring-projects/spring-credhub
  2. [2] Restore PDF media mapping in `OpenAiChatModel` spring-projects/spring-ai
  3. [3] Fix MCP integration tests flakiness spring-projects/spring-ai
  4. [4] GH-11115: Fix multibyte ack-header offset in DatagramPacketMessageMapper spring-projects/spring-integration
  5. [5] GH-11114: Fix `PartitionedDispatcher` for `Integer.MIN_VALUE` spring-projects/spring-integration
  6. [6] Replace deprecated JsonNode methods and null-safe annotations spring-projects/spring-ai
  7. [7] Remove dependency management for Protobuf Common Protos spring-projects/spring-boot

Quick answers

What shipped in Spring on June 16, 2026?
Spring Boot 4.0.7 patches a hostname verification bypass in MailSender auto-configuration while Spring AI closes a critical regression that broke PDF document parsing in Claude and GPT models. In total, 21 commits and 6 pull requests landed.
Who contributed to Spring on June 16, 2026?
1 developer shipped this update, including dependabot[bot].
What were the notable Spring updates?
(4.0.x): Bump org.springframework.boot from 4.0.6 to 4.0.7, Restore PDF media mapping in `OpenAiChatModel`, and Fix MCP integration tests flakiness.

More from @spring-projects

Daily updates, in your inbox

Follow Spring

Keep up with Spring in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?

We use privacy-friendly analytics (Google Analytics, IP-anonymized) to see which pages help readers. No ads, and we never sell your data. See our Privacy Policy.