版本说明

本页面提供有关 Developer Knowledge API 和 Developer Knowledge MCP 服务器更新的信息。 请查看此页面,了解有关新功能或更新的功能、bug 修复和已知问题的公告。

2026 年 9 月 9 日

2026 年 8 月 27 日

  • 过滤功能现已在 AnswerQueryRequest 的 v1 API 中正式发布 (GA)。如需了解详情,请参阅 AnswerQueryRequest.filter 的参考文档。

2026 年 8 月 25 日

2026 年 8 月 21 日

  • DocumentChunk v1 API 中的消息现在包含 relevance_score 字段,其范围为 [0.0, 1.0],表示块与 AnswerQuerySearchDocumentChunks 查询的相关性。

2026 年 8 月 18 日

2026 年 8 月 7 日

  • (v1alpha) DocumentChunk 消息现在包含 relevance_score 字段,其范围为 [0.0, 1.0],表示块的 相关性与 AnswerQuerySearchDocumentChunks 查询。
  • (v1alpha) AnswerQueryRequest 现在支持使用 filter 字段过滤搜索 结果。如需了解详情,请参阅 AnswerQueryRequest.filter 的参考文档。

2026 年 7 月 27 日

  • Developer Knowledge API 现在支持 https://www.googleapis.com/auth/developerprofiles.readonly OAuth 范围。

2026 年 7 月 17 日

2026 年 7 月 9 日

  • 允许的最大 page_size SearchDocumentChunks已从 20 增加到 100。
  • 对于 SearchDocumentChunks,大于 100 的 page_size 值现在会被强制转换为 100,而不是返回 INVALID_ARGUMENT 错误。

2026 年 7 月 2 日

  • Document 消息现在包含 content_length_bytes 字段, 该字段表示 content 字段的长度(以字节为单位)。

2026 年 6 月 9 日

2026 年 6 月 1 日

2026 年 5 月 20 日

2026 年 4 月 20 日

2026 年 4 月 16 日

  • Developer Knowledge API 和 Developer Knowledge MCP 服务器现已正式发布 (GA)。使用 API 和 MCP 服务器,让 AI 驱动的开发工具能够搜索和检索 Google 的官方开发者文档。

2026 年 4 月 14 日

2026 年 4 月 9 日

2026 年 4 月 2 日

  • Document 消息现在包含 data_source 字段,该字段 表示返回的内容的来源。
  • Developer Knowledge API 现在支持 DocumentView 枚举,让 您无需检索完整文档内容即可请求文档元数据。 Document 消息现在会填充 view 字段。
  • Document 消息现在包含 update_time 字段, 表示文档内容或元数据的上次更改时间。
  • DocumentChunk 消息现在包含 Document 字段, 其中包含有关文档的元数据。

2026 年 2 月 28 日

  • Document 消息现在包含 titledescription 字段,表示文档的标题和说明。

2026 年 3 月 15 日

  • 修复了 Document.uri 值缺少架构的问题。它们现在包含 https:// 前缀。

2026 年 3 月 8 日

  • MCP 工具 get_documentbatch_get_documents 已被 移除。它们被新的 get_documents MCP 工具取代。

2026 年 2 月 18 日

  • 在 2026 年 3 月 17 日之后,当您启用 Developer Knowledge API 时, Developer Knowledge MCP 服务器会自动启用。

2026 年 2 月 4 日

  • Developer Knowledge API 和 Developer Knowledge MCP 服务器现已推出公开预览版。 使用 API 和 MCP 服务器,让 AI 驱动的开发工具能够搜索和检索 Google 的官方开发者文档。