Skip to content

Releases: YamabikoLab/logcut

logcut v1.0.0

Choose a tag to compare

@github-actions github-actions released this 09 Aug 20:40
08a7008

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

Choose a tag to compare

@github-actions github-actions released this 09 Aug 19:43
35e3138

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

Choose a tag to compare

@github-actions github-actions released this 09 Aug 18:43
2ab789b

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

Choose a tag to compare

@github-actions github-actions released this 05 Aug 22:26
56d373c

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

Choose a tag to compare

@github-actions github-actions released this 04 Aug 21:08
777962e

logcut v0.1.18

  • Dependabot による Cargo 依存関係の週次更新確認を追加しました。
  • cargo audit を週次スケジュールと手動実行で行う専用ワークフローを追加しました。
  • CLI の動作や対応する Rust バージョンに変更はありません。

logcut v0.1.17

Choose a tag to compare

@github-actions github-actions released this 04 Aug 04:08
4fb4488

logcut v0.1.17

  • 安全なログファイルや出力抑制の準備に失敗した場合、対象コマンドを直接実行せずエラー終了するように変更しました。
  • コマンド開始後に監視処理が失敗した場合は、子プロセスの終了処理を試み、通常の子コマンド終了コードと区別できる終了コード 70 を返すようにしました。
  • PHPCBF の成功扱いは、実際の終了コードが 1 の場合に限定しました。
  • Rust 1.70 互換CIで利用できないテスト用APIを、Rust 1.70対応のエラー生成方法へ変更しました。

logcut v0.1.16

Choose a tag to compare

@github-actions github-actions released this 04 Aug 02:43
d56ddcc

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

Choose a tag to compare

@github-actions github-actions released this 04 Aug 00:22
b5db057

logcut v0.1.15

  • LOGCUT_LOG_DIRECTORY に既存ディレクトリを指定しても、その権限を変更しないようにしました。
  • ログディレクトリに専用マーカー .logcut-directory を作成し、所有者・権限・内容を検証するようにしました。
  • 既存ファイルを含む未マークのディレクトリは logcut 専用と判断せず、ログの作成や整理を行わないようにしました。
  • 保存期間・保存件数による整理は、安全性を確認できた logcut 専用ディレクトリだけに限定しました。
  • 空の既存ディレクトリは、現在ユーザー所有かつ権限 0700 の場合に限り、安全に初期化できます。

logcut v0.1.14

Choose a tag to compare

@github-actions github-actions released this 03 Aug 21:38
de622ba

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

Choose a tag to compare

@github-actions github-actions released this 03 Aug 20:27
d0117c6

logcut v0.1.13

  • --no-retain-log を追加し、失敗サマリー表示後に完全ログを破棄できるようにしました。
  • LOGCUT_RETAIN_FAILED_LOG=0 でも同じ動作を指定でき、CLIオプションを環境変数より優先するようにしました。
  • ログ読み込みやサマリー生成の異常経路でも、破棄設定が有効な場合はログ削除を試みるようにしました。
  • 失敗ログを破棄した場合はログパスを表示せず、Full log discarded. を表示するようにしました。
  • LOGCUT_LOG_MAX_AGE_DAYS の既定値を7日から1日に短縮しました。明示的な設定値は従来どおり利用できます。

既定では引き続き失敗ログを保持します。プロセスの強制終了やOS障害時に、平文ログが一切残らないことを保証する変更ではありません。