github spring-projects/spring-ai v2.1.0

latest release: v2.0.3
one hour ago

⭐ New Features

  • Add async client type for modern MCP connections #7392
  • Add "spring-ai" User-Agent to Bedrock clients #7388
  • Support modern MCP client connections #7385
  • Name the session extension points: a public context helper, two contract tests and a docs page #7372
  • Add session recall: a keyword search over the log and the conversation_search tool #7371
  • Add upsert and query-embedding search to Couchbase #7354
  • Add opt-in bulk upserts to MongoDBAtlasVectorStore #7350
  • Support the asynchronous API type on the modern MCP server #7349
  • Add SQL Server dialect for JdbcSessionRepository #7301
  • feat: Introduce ConnectionDetails for OpenAI #7203
  • Add FinishReasonCategory for provider-agnostic finish reason normalization #5190

🐞 Bug Fixes

  • Adapt modern MCP transports to SDK McpHeaders #7390
  • Run McpClientListChangedAnnotationsScanningIT tests with JUnit Jupiter #7387
  • Adapt MCP annotations to the MCP SDK snapshot #7382
  • Mark guardrail refusals with a finish reason #7379
  • Answer the tool calls an earlier turn left without results #7369
  • Fail JDBC session auto-configuration ITs on schema script errors #7367
  • Delete expired sessions by id in JdbcSessionRepository to avoid deadlocks #7362
  • Split long id lists in JdbcSessionRepository queries #7361
  • Ensure MCP server handlers are registered regardless of bean order #7329
  • Allow null context values in chat client advisors #7175

📔 Documentation

  • Fix and link the modern MCP documentation #7396
  • Point the chat memory and tools docs at session memory in Spring AI #7368

❤️ Contributors

Thank you to all the contributors who worked on this release:

@Ayush0612005, @Kehrlann, @QuarkOS, @ThomasVitale, @chuuminggg, @dimitarproynov, @durgadasepalli, @sobychacko, and @tzolov

Don't miss a new spring-ai release

NewReleases is sending notifications on new releases.