github spring-projects/spring-ai v2.0.0
Spring AI 2.0.0 GA

5 hours ago

For upgrading from 1.1.x to 2.0.0, please refer to the upgrade notes here.

For the detailed reference documentation on 2.0.0, please refer here

⭐ New Features

  • Update Google GenAI models #6406
  • Use only Jackson 2 in OpenAiChatModel #6392
  • Make org.springframework.ai.image.observation null-marked #6388
  • Polish Prompt #6387
  • Preserve OpenAI tool call additional properties #6365

🐞 Bug Fixes

  • Filter unsupported tool messages in CassandraChatMemoryRepository #6400
  • Filter unsupported tool messages in MongoChatMemoryRepository #6399
  • Filter unsupported tool messages in JdbcChatMemoryRepository #6398
  • Remove streamToolCallResponses from advisor builders #6391
  • Add missing promptCacheKey parameter in OpenAiChatOptions #6380

📔 Documentation

  • Update reference docs to reflect 2.0 API changes #6405
  • Add more guides #6401
  • Introduce CLAUDE.md and AGENTS.md #6376
  • Consolidate upgrade notes for 2.0.0 #6333

🔨 Dependency Upgrades

  • Upgrade to MCP SDK 2.0.0 #6385
  • Upgrade to Spring Boot 4.1.0 #6329

❤️ Contributors

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

@ericbottard, @guanxuc, @ilayaperumalg, @sdeleuze, @sdudzin, @tzolov, and @ultramancode

Don't miss a new spring-ai release

NewReleases is sending notifications on new releases.