返回全部动态

Spring AI 2.0.0-M8 发布:新特性与多项修复

原标题:Spring AI 2.0.0-M8

Spring AI Releases一手来源产品发布质量 76

AI 摘要

Spring AI 发布了 2.0.0-M8 里程碑版本,主要新特性包括使用短横线分隔的 Spring Boot 属性约定、改进 ChatOptions 的 mutate 方法返回类型、排除不必要的依赖以及优化 Mistral AI 的 Jackson 映射。同时修复了多个 bug,如 Google GenAI starter 的错误依赖声明、pgvector starter 缺少 JDBC 依赖、API 密钥强制要求问题以及自动配置依赖的回归问题。该版本旨在提升框架的稳定性和易用性。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

## :star: New Features - Use dash-separated convention for Spring Boot properties [#6186](https://github.com/spring-projects/spring-ai/pull/6186) - Make `ChatOptions#mutate` overrides return type specific [#6127](https://github.com/spring-projects/spring-ai/issues/6127) - Exclude `jackson-dataformat-yaml` from `json-schema-validator` [#6090](https://github.com/spring-projects/spring-ai/issues/6090) - Improve MistralAiApi Jackson mapping for message content [#5585](https://github.com/spring


发布时间:2026-05-28 01:40
抓取时间:2026-08-02 00:23
来源机构:Spring
阅读原文github.com