The Wire · Showcase
SPRING AI FIXES ANTHROPIC THINKING TEXT LEAK, STREAMLINES CI/CD
By RepoJournal · Filed · About Spring
Spring AI shipped a critical fix that prevented Claude's internal reasoning from polluting assistant messages in tool-call replays.
The Anthropic integration was accumulating thinking text for replay but leaving it in the intermediate streaming chunk, causing the MessageAggregator to concatenate it into the final response [1]. This created spurious text blocks alongside tool use parameters. The fix removes the errant content call from the streaming pipeline. In parallel, Spring AI cut release complexity by removing milestone and Maven Central workflows [2], then optimized integration test CI by merging redundant workflows [3]. Spring AI also improved test infrastructure by moving MongoDB metadata tests from integration into unit classes [4], allowing those tests to run without container overhead, while adding framework identification to MongoDB driver metadata for Atlas observability [5]. Spring Framework aligned its domain-to-ASCII handling with the latest WhatWG URL spec, lowercasing ASCII domains and accepting ACE labels without validation to match browser behavior [7]. Spring Integration added nullability annotations to LockRequestHandlerAdvice function returns [6], improving null-safety contracts for framework users.
Action items
- → If using Spring AI with Anthropic, verify your last deploy captures the thinking text fix [ref:1] spring-projects/spring-ai [immediate]
- → Pull Spring Framework's domain-to-ASCII spec alignment before handling international domains [ref:11] spring-projects/spring-framework [plan]
- → Update Spring Integration dependencies to get null-safety annotations on advice functions [ref:9] spring-projects/spring-integration [monitor]
References
- [1] Fix Anthropic thinking text leaking into assistant message content spring-projects/spring-ai
- [2] Remove milestone/maven central release workflows spring-projects/spring-ai
- [3] Optimize Spring AI integration tests' workflow files spring-projects/spring-ai
- [4] Move MongoDB Atlas vector store driver metadata test to unit test class spring-projects/spring-ai
- [5] Add spring-ai framework name to MongoDB driver metadata spring-projects/spring-ai
- [6] `@Nullable` for functions in `LockRequestHandlerAdvice` spring-projects/spring-integration
- [7] Align domainToAscii with current WhatWG spec spring-projects/spring-framework
FAQ
- What changed in Spring on July 9, 2026?
- Spring AI shipped a critical fix that prevented Claude's internal reasoning from polluting assistant messages in tool-call replays.
- What should Spring teams do about it?
- If using Spring AI with Anthropic, verify your last deploy captures the thinking text fix [ref:1] • Pull Spring Framework's domain-to-ASCII spec alignment before handling international domains [ref:11] • Update Spring Integration dependencies to get null-safety annotations on advice functions [ref:9]
- Which Spring repositories shipped on July 9, 2026?
- spring-projects/spring-ai, spring-projects/spring-integration, spring-projects/spring-framework