Repository navigation
What's Changed
- Upgrade to Spring AI 2.1, its session module and Spring Boot 4.2 by @tzolov in #121
- Fixes #116: resolve relative FileSystemTools filePath against the working directory by @Hugo-DDT in #117
- Keep the failure cause when SmartWebFetchTool exhausts its retries by @Hugo-DDT in #112
- fix: reject empty search strings in Edit tool by @Mucheen in #111
- fix: match grep file types against file names by @glyahh in #105
- fix(grep): honour offset when no head_limit is set by @WMK666666 in #118
- fix(grep,glob): compare path components when skipping ignored directories by @WMK666666 in #119
- fix: require standalone front matter delimiters when loading skills by @FMAN720 in #98
- fix: release skill JAR handles after loading by @glyahh in #104
- Make web fetch concurrency tests deterministic by @PotassiumLi in #108
- test(grep): assert match counts without embedding the file path in a regex by @WMK666666 in #120
- docs: Explain activation-time skill package preparation by @git-syl in #100
- docs: link quick-start version note to requirements by @glyahh in #103
Breaking changes
This release moves to Spring AI 2.1.0, whose session module replaces the standalone spring-ai-session project (#121). If you don't use AutoDreamService cross-session recall or the session advisors, the dependency bump is the only change.
- Spring AI 2.0.1 → 2.1.0, built on Spring Boot 4.2 and Spring Framework 7.1. Align your Spring AI BOM and move to Spring Boot 4.2.
- Session dependency coordinates.
org.springaicommunity:spring-ai-sessionbecomesorg.springframework.ai:spring-ai-session, plusspring-ai-session-advisorif you use the session advisors. The version comes from the Spring AI BOM. Remove the old dependency: with both on the classpath you get two copies of the same packages. - Session API. The Java package stays
org.springframework.ai.session, but the API changed on its way into Spring AI:userIdis now theSessionAttributes.PRINCIPAL_NAMEmetadata,findByUserIdisfindByMetadata, and compaction is set throughSessionAdvisors.builder(...). The migration guide has the full table. CrossSessionRecallToolsmoved fromorg.springframework.ai.session.tooltoorg.springaicommunity.agent.tools. The tool name and itsquery,matchMode,sinceandpageparameters are unchanged; theinnerThoughtparameter is gone, and a page with matches is now a JSON object ({"results": [...], "nextPage": n}) instead of a bare array.- Auto-Dream cross-session recall finds a user's sessions by their
SessionAttributes.PRINCIPAL_NAMEmetadata. Sessions created without it, including those stored byspring-ai-session0.10.0 with auserId, are no longer searched. The JDBC schema also differs from 0.10.0. AutoMemoryToolsAdvisordefault order moves fromHIGHEST_PRECEDENCE + 200to+250, so it no longer ties with Spring AI'sSessionTurnAdvisor.
See the 0.13.0 to 0.14.0 migration guide for before/after code and all behavioral changes.
Fixes
- Relative paths in
Read,WriteandEdit(#116, #117): a relativefilePathnow resolves against the configured working directory, as Grep, Glob and ListDirectory already did.FileSystemTools.builder().workspace(ws)sets the working directory to the workspace root as well as confining access to it. Editwith an emptyold_string(#111): returnsError: old_string must not be emptyand leaves the file unchanged.- Grep
typefilter (#105): it never matched before; it now matches file names. - Grep
offsetwithouthead_limit(#118): returns the remaining matches instead of nothing. - Ignored directories on Windows (#119): Grep and Glob now skip
node_modules,target,.gitand the like there too. SmartWebFetchToolfailures (#110, #112): when retries are exhausted, the message ends with the cause of the last attempt (for exampleFailed after 3 attempts: Server error: HTTP 503), and the failure is logged atWARNinstead ofERRORwith a stack trace.- Skill front matter (#98): the
---delimiters must stand on their own line, so a value such asdescription: "Compare before---after"is no longer cut short. - Skill JARs stay unlocked (#104): JAR handles are released after the skills are loaded. On Windows the archives stayed locked even after the class loader was closed.
- Deterministic tests (#108, #120): the web fetch concurrency tests are deterministic, and a Grep test no longer builds a regex from the file path.
Docs and examples
- The guides and examples now use Spring AI's session advisors instead of
ChatMemory,MessageWindowChatMemoryandMessageChatMemoryAdvisor, which Spring AI 2.1 deprecates. Every request must name its session with.advisors(SessionAdvisors.session(id)). - The docs explain how a skill package is prepared when the skill is activated (#100).
- The quick start's version note links to the requirements (#103).
Dependencies
- Spring AI 2.0.1 → 2.1.0, Spring Framework 7.1.0.
- The optional session dependency is now
org.springframework.ai:spring-ai-session(andspring-ai-session-advisor), managed by the Spring AI BOM. It replacesorg.springaicommunity:spring-ai-session0.10.0.
New Contributors
- @WMK666666 made their first contribution in #120
- @glyahh made their first contribution in #105
- @Mucheen made their first contribution in #111
- @FMAN720 made their first contribution in #98
- @git-syl made their first contribution in #100
- @PotassiumLi made their first contribution in #108
Thanks also to @mands for reporting #110 and #116.
Full Changelog: v0.13.0...v0.14.0