Releases: YamabikoLab/logcut
Releases · YamabikoLab/logcut
Release list
logcut v1.0.0
logcut v1.0.0
Changes
- Mark the current CLI, options, environment variables, exit-code behavior, and profiles as the first stable public compatibility contract.
- Publish Linux x86_64 and ARM64 GNU/glibc binaries as the v1.0.0 release.
Compatibility
- Existing commands, profiles, and retention settings are unchanged.
- Future changes follow Semantic Versioning.
logcut v0.1.21
logcut v0.1.21
Changes
- Warn when a successful command log cannot be deleted.
- Attempt best-effort secret masking and terminal-control sanitization before leaving a log behind after a cleanup failure.
- Warn clearly when both cleanup and sanitization fail and unsafe log content may remain.
- Remove terminal escape sequences and unsafe control characters from retained failure logs.
- Update regression coverage for retained logs containing invalid UTF-8 and control bytes.
Compatibility
- Existing commands, profiles, exit-code behavior, and retention settings are unchanged.
- Successful command logs are still removed during normal operation.
- Retained logs may differ by having terminal escape sequences and unsafe control characters removed.
logcut v0.1.20
logcut v0.1.20
Changes
- Limit captured command output to 10 MiB per log file.
- Continue draining output after the limit while the foreground command is running so large-output commands can finish normally.
- Stop the output-capture helper after a bounded best-effort drain when the foreground command exits.
- Add a truncation marker to the retained log and print a notification when output is truncated.
- Add regression coverage for the size limit, preserved child exit code, finalized logs, and explicitly redirected background processes.
Compatibility
- Existing commands, profiles, exit-code behavior, and retention settings are unchanged.
- Logs that would previously grow beyond 10 MiB are now truncated.
- Writes by background descendants to inherited stdout or stderr after the foreground command exits are not guaranteed. Redirect stdin, stdout, and stderr explicitly when a background process must continue.
logcut v0.1.19
logcut v0.1.19
npm ci、npm install、npm i、npm install --package-lock-onlyを自動判定するnpm-installプロファイルを追加しました。- npm の依存解決、lock ファイル不整合、registry・認証・権限・ネットワーク・証明書・容量不足エラーを簡潔に要約します。
- 成功時はパッケージ変更数、peer dependency・deprecated 警告件数、脆弱性件数のみを短く表示します。
- 元コマンドの終了コードと、対象外の
npm run、npm ls、npxの既存動作を維持します。
logcut v0.1.18
logcut v0.1.18
- Dependabot による Cargo 依存関係の週次更新確認を追加しました。
cargo auditを週次スケジュールと手動実行で行う専用ワークフローを追加しました。- CLI の動作や対応する Rust バージョンに変更はありません。
logcut v0.1.17
logcut v0.1.17
- 安全なログファイルや出力抑制の準備に失敗した場合、対象コマンドを直接実行せずエラー終了するように変更しました。
- コマンド開始後に監視処理が失敗した場合は、子プロセスの終了処理を試み、通常の子コマンド終了コードと区別できる終了コード
70を返すようにしました。 - PHPCBF の成功扱いは、実際の終了コードが
1の場合に限定しました。 - Rust 1.70 互換CIで利用できないテスト用APIを、Rust 1.70対応のエラー生成方法へ変更しました。
logcut v0.1.16
logcut v0.1.16
TOKEN、SECRET、PASSWORD、PASS、API_KEY、ACCESS_KEY、PRIVATE_KEY、CREDENTIALS、AUTHを名前に含む環境変数の秘密値を、大文字・小文字を区別せずマスクするようにしました。- GitHub Actions、GitLab CI/CD、CircleCI、Bitbucket Pipelines、Azure DevOps、主要クラウド、デプロイサービス、パッケージレジストリで使われる代表的な認証環境変数のテストを追加しました。
- OpenAI Codex、Claude Code、GitHub Copilot CLI、Cursor Agent CLI、Gemini CLI、Continue CLI、Sourcegraph Cody CLI、Aider、および主要AIプロバイダーの認証環境変数について回帰テストを追加しました。
- URL・ファイル・パス名に対する除外ルールは設けず、秘密情報の取りこぼし防止を優先しています。
logcut v0.1.15
logcut v0.1.15
LOGCUT_LOG_DIRECTORYに既存ディレクトリを指定しても、その権限を変更しないようにしました。- ログディレクトリに専用マーカー
.logcut-directoryを作成し、所有者・権限・内容を検証するようにしました。 - 既存ファイルを含む未マークのディレクトリは logcut 専用と判断せず、ログの作成や整理を行わないようにしました。
- 保存期間・保存件数による整理は、安全性を確認できた logcut 専用ディレクトリだけに限定しました。
- 空の既存ディレクトリは、現在ユーザー所有かつ権限
0700の場合に限り、安全に初期化できます。
logcut v0.1.14
logcut v0.1.14
.github/workflows/内のすべての GitHub Actions を、追跡元バージョンをコメントした40文字のコミットSHAへ固定しました。dtolnay/rust-toolchainをSHA固定しつつ、stableと Rust 1.70 の利用意図を明示しました。- リリースする2つのtar.gzと
SHA256SUMSに対して、GitHub Artifact Attestationsによるbuild provenanceを生成するようにしました。 contents: write、id-token: write、attestations: writeの権限をリリースjobに限定しました。- GitHub Actionsを週次更新するDependabot設定を追加しました。
- SHA固定の保守方法と
gh attestation verifyによる検証手順を文書化しました。
logcut v0.1.13
logcut v0.1.13
--no-retain-logを追加し、失敗サマリー表示後に完全ログを破棄できるようにしました。LOGCUT_RETAIN_FAILED_LOG=0でも同じ動作を指定でき、CLIオプションを環境変数より優先するようにしました。- ログ読み込みやサマリー生成の異常経路でも、破棄設定が有効な場合はログ削除を試みるようにしました。
- 失敗ログを破棄した場合はログパスを表示せず、
Full log discarded.を表示するようにしました。 LOGCUT_LOG_MAX_AGE_DAYSの既定値を7日から1日に短縮しました。明示的な設定値は従来どおり利用できます。
既定では引き続き失敗ログを保持します。プロセスの強制終了やOS障害時に、平文ログが一切残らないことを保証する変更ではありません。