Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.2.0] - 2025-12-09

### Changed
- **BREAKING**: インターフェースを大幅に簡素化
- Secret ID を直接引数として指定する方式に変更
- `kagi import <secret-id>` / `kagi download <secret-id>`
- **BREAKING**: config.yml を廃止
- 事前設定が不要に
- 全ての設定をコマンドラインオプションで指定
- デフォルト値を設定
- `--profile` のデフォルト: `default`
- `--region` のデフォルト: `ap-northeast-1`

### Removed
- **BREAKING**: `kagi configure` コマンドを削除
- **BREAKING**: `kagi add` コマンドを削除
- **BREAKING**: `kagi list` コマンドを削除
- `lib/kagi/config.rb` モジュールを削除
- `ConfigError` クラスを削除

### Added

Copilot AI Dec 9, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CHANGELOG is missing key features mentioned in the PR description. The following additions should be documented in the "### Added" section:

  • aws login support (2024年の新しいブラウザベース認証に対応)
  • Environment variable authentication priority (環境変数の認証情報を優先的に使用)
  • --debug option (デバッグログを表示するオプションを追加)
  • Support for multiple authentication methods (aws login, aws sso login, IAM Role, etc.)

These are significant new features that users would want to know about when reading the changelog.

Suggested change
### Added
### Added
- `aws login` サポート(2024年の新しいブラウザベース認証に対応)
- 環境変数の認証情報を優先的に使用
- `--debug` オプション(デバッグログを表示するオプションを追加)
- 複数の認証方式に対応(aws login, aws sso login, IAM Role など)

Copilot uses AI. Check for mistakes.
- v0.1.x からの移行ガイドを README に追加
- シェルエイリアスの活用例を README に追加

### Fixed
- JSON パースエラー時のエラーメッセージを改善
- シークレットの実際の内容(先頭100文字)を表示

Copilot AI Dec 9, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JSON パースエラー時にシークレットの実際の内容(先頭100文字)をエラーメッセージとして表示する変更は、シークレット値そのものをログや標準エラー出力に漏らす危険があります。Secrets Manager のシークレットには API キーやパスワード等が含まれるため、ログを閲覧できるユーザーや侵害者がこれらの値を直接取得できてしまいます。GetSecretValue 失敗時には secret_id やエラー内容のみを出力し、シークレット文字列本体は一切出力しないように実装を変更してください(どうしてもプレビューが必要な場合も、本番では無効化される明示的なデバッグフラグの下で、値をマスクした形でのみ表示すべきです)。

Suggested change
- シークレットの実際の内容(先頭100文字)を表示
- シークレット値は表示せず、secret_id とエラー内容のみを出力

Copilot uses AI. Check for mistakes.
- JSON 形式が必要であることを明示

## [0.1.0] - 2025-12-04

### Added
- 初回リリース
- AWS Secrets Manager からシークレットを取得
- dotenv 形式での `.env` ファイル生成
- export 形式での環境変数出力
- config.yml による設定管理
- `kagi configure` - 初期設定
- `kagi add` - プロジェクト/環境の追加
- `kagi download` - .env ファイル生成
- `kagi import` - export 文の出力
- `kagi list` - プロジェクト一覧表示
- `kagi version` - バージョン表示
- RSpec によるテスト
- GitHub Actions CI/CD

[0.2.0]: https://github.com/jacoyutorius/kagi/compare/v0.1.0...v0.2.0
[0.1.0]: https://github.com/jacoyutorius/kagi/releases/tag/v0.1.0
Loading