Skip to content

v0.3.0

Choose a tag to compare

@pardnchiu pardnchiu released this 02 Jun 03:41

v0.2.0 -> v0.3.0

Summary

Aligns the keychain service identifier to lowercase, breaking existing keychain lookups that stored secrets under the old casing.

翻譯 將 keychain service 名稱統一為小寫,既有以舊大小寫儲存的 secret 需重新設定。

⚠️ Breaking Changes

Keychain service name changed from "KuraDB" to "kuradb"

Before:

go_pkg_keychain.Init("KuraDB", configDir)

After:

go_pkg_keychain.Init("kuradb", configDir)

Migration:

macOS — re-add the secret under the new service name:

security add-generic-password -s "kuradb" -a "OPENAI_API_KEY" -w "<your-key>" -U

Linux (secret-tool) — store under the new service:

echo -n "<your-key>" | secret-tool store --label="kuradb OPENAI_API_KEY" service kuradb username OPENAI_API_KEY

Alternatively, set the environment variable OPENAI_API_KEY directly — the keychain fallback chain still reads os.Getenv as last resort.

翻譯

Keychain service 名稱從 "KuraDB" 改為 "kuradb"。既有 keychain 條目需以新 service 名稱重新儲存,或改用環境變數 OPENAI_API_KEY 作為 fallback。

Changes

BREAKING

  • Change keychain service name from "KuraDB" to "kuradb" for lowercase consistency [921354f]
翻譯
  • Keychain service 名稱從 "KuraDB" 改為 "kuradb",對齊小寫慣例

Scope

  • cmd/app/main.go — BREAKING

Generated by SKILL