Repository navigation
v1.0.1 — Spring AI 1.1 and 2.x
Spring AI 1.1 and 2.x
A maintenance release: no API change, and nothing to migrate coming from 1.0.0.
Fixed
- Checkpoints on Spring AI 1.1. Restoring a checkpoint that holds tool calls failed on Spring AI 1.1, where the message constructors AF4J called became protected. The codec now builds messages through whichever path the running Spring AI line offers.
- Tool arguments on Spring AI 2.x. Tool calls are parsed without the Jackson 2 mapper that Spring AI 2 no longer exposes, and message roles no longer depend on a method removed in 2.x.
Compatibility
The published modules are now built and tested in CI against three lines:
| Spring AI | Spring Boot |
|---|---|
| 1.0.9 | 3.5 |
| 1.1.8 | 3.5 |
| 2.1.0 | 4.2 |
Each line is checked by rebuilding the source against it. The published jars are compiled against Spring Boot 3.5 and Spring AI 1.0.9, which stay the build baseline.
Heads-up for MCP users
From Spring AI 1.1, an MCP tool is exposed under its own name, refund_order, where Spring AI 1.0 prefixed it with the client name, orders_refund_order. A ToolPolicy rule written for a name the provider does not expose never matches. After changing the Spring AI version, check the names with getToolCallbacks(). See MCP tools.
Also in this release
- AF4J is on Maven Central, under
io.github.datallmhub. JitPack is no longer needed. - Dependency updates, including the pinned Jackson, Tomcat and MCP SDK versions.
- Javadoc links fixed in
agentflow4j-graph.
Install
<dependency>
<groupId>io.github.datallmhub</groupId>
<artifactId>agentflow4j-starter</artifactId>
<version>1.0.1</version>
</dependency>