Skip to content

版本管理

Koog 遵循 語意化版本 (Semantic Versioning),格式為 X.Y.Z (例如 1.2.0)。

本架構具備 API 穩定性:一旦發布公開 API,除非進行主要版本升級,否則不會產生破壞性變更。

版本組成

元件名稱格式意義
XMajor (主要)X.y.z對現有 API 的破壞性變更
YMinor (次要)x.Y.z新增 API 與棄用項;所有現有 API 仍可正常運作
ZBugfix (錯誤修正)x.y.Z僅包含錯誤修正;無 API 變更

Major (X)

  • 可能對現有 API 引入破壞性變更。
  • 可能移除舊的 API。
  • 將提供遷移指南。
  • 每年最多發布一次。

Minor (Y)

  • 可能新增 API。
  • 可能棄用現有 API (並提供替代方案),但已棄用的 API 仍具備功能。
  • 無破壞性變更 — 所有基於前一個次要版本編譯的程式碼皆可繼續編譯與運作。
  • 每月最多發布一次。

Bugfix (Z)

  • 僅包含錯誤修正。
  • 無 API 新增、移除或棄用。
  • 每週最多發布一次。

棄用政策

在次要版本 (Y) 中棄用的 API 將至少保留至下一個主要版本 (X)。 棄用警告將指明建議的替代方案。

穩定模組與 Beta 模組

某些模組被視為實驗性,並以 -beta 版本後綴 (例如 1.2.0-beta) 而非標準的 X.Y.Z 發布。模組處於 beta 階段可能有以下原因:

  • 外部整合 — 底層 LLM 提供者 API 或外部架構 (例如 Spring AI) 本身可能不穩定,或面臨頻繁或預期的變動。
  • 實驗性功能 — 該功能領域仍處於探索階段,API 形式可能會演進 (例如 GOAP 規劃策略)。
  • 實驗性協定 — 該模組實作了本身尚未穩定的協定 (例如 A2A,Kotlin MCP)。

雖然我們盡力保持 beta 模組的穩定性,但在次要版本之間仍可能發生某些 API 變更。Beta 變更不會影響任何穩定模組。

版本為 X.Y.Z 的穩定模組始終與版本為 X.Y.Z-beta 的 beta 模組相容 (反之亦然)。所有模組皆可同步更新。

Umbrella 模組

模組版本內容
koog-agents1.2.0所有穩定模組 (遞移性) — 建議的入門起點
koog-agents-additions1.2.0-beta大多數 beta/實驗性模組 (獨立的外部整合除外)

模組版本

模組版本
agents1.2.0
agents-core1.2.0
agents-features1.2.0
agents-features-chat-history-jdbc1.2.0
agents-features-chat-memory-sql1.2.0
agents-features-event-handler1.2.0
agents-features-memory1.2.0
agents-features-opentelemetry1.2.0
agents-features-persistence-jdbc1.2.0
agents-features-snapshot1.2.0
agents-features-sql1.2.0
agents-features-tokenizer1.2.0
agents-features-trace1.2.0
agents-mcp-metadata1.2.0
agents-test1.2.0
agents-tools1.2.0
agents-utils1.2.0
embeddings1.2.0
embeddings-base1.2.0
embeddings-llm1.2.0
http-client1.2.0
http-client-core1.2.0
http-client-java1.2.0
http-client-ktor1.2.0
http-client-okhttp1.2.0
http-client-test1.2.0
koog-agents1.2.0
koog-spring-ai1.2.0
prompt1.2.0
prompt-cache1.2.0
prompt-cache-files1.2.0
prompt-cache-model1.2.0
prompt-executor1.2.0
prompt-executor-anthropic-client1.2.0
prompt-executor-bedrock-client1.2.0
prompt-executor-cached1.2.0
prompt-executor-clients1.2.0
prompt-executor-model1.2.0
prompt-executor-ollama-client1.2.0
prompt-executor-openai-client1.2.0
prompt-executor-openai-client-base1.2.0
prompt-executor-openrouter-client1.2.0
prompt-llm1.2.0
prompt-markdown1.2.0
prompt-model1.2.0
prompt-processor1.2.0
prompt-structure1.2.0
prompt-tokenizer1.2.0
prompt-xml1.2.0
rag-base1.2.0
serialization1.2.0
serialization-core1.2.0
serialization-jackson1.2.0
serialization-test1.2.0
test-tck1.2.0
test-utils1.2.0
utils1.2.0
模組版本
a2a-client1.2.0-beta
a2a-core1.2.0-beta
a2a-server1.2.0-beta
a2a-test1.2.0-beta
a2a-test-server-tck1.2.0-beta
a2a-transport-client-jsonrpc-http1.2.0-beta
a2a-transport-core-jsonrpc1.2.0-beta
a2a-transport-server-jsonrpc-http1.2.0-beta
agents-ext1.2.0-beta
agents-features-a2a-client1.2.0-beta
agents-features-a2a-core1.2.0-beta
agents-features-a2a-server1.2.0-beta
agents-features-acp1.2.0-beta
agents-features-chat-history-aws1.2.0-beta
agents-features-longterm-memory1.2.0-beta
agents-features-longterm-memory-aws1.2.0-beta
agents-mcp1.2.0-beta
agents-mcp-server1.2.0-beta
agents-planner1.2.0-beta
koog-agents-additions1.2.0-beta
koog-ktor1.2.0-beta
koog-spring-ai-common1.2.0-beta
koog-spring-ai-starter-chat-memory1.2.0-beta
koog-spring-ai-starter-model-chat1.2.0-beta
koog-spring-ai-starter-model-embedding1.2.0-beta
koog-spring-ai-starter-vector-store1.2.0-beta
koog-spring-boot-starter1.2.0-beta
prompt-cache-redis1.2.0-beta
prompt-executor-dashscope-client1.2.0-beta
prompt-executor-deepseek-client1.2.0-beta
prompt-executor-google-client1.2.0-beta
prompt-executor-litert-client1.2.0-beta
prompt-executor-llms-all1.2.0-beta
prompt-executor-mistralai-client1.2.0-beta
rag-vector1.2.0-beta