From d68040a03d51993b12364781845c7cac1310300c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 22 Nov 2025 20:45:39 +0000 Subject: [PATCH 1/4] chore: version packages --- .changeset/add-pr-checkout.md | 5 ----- .changeset/add-update-command.md | 5 ----- .changeset/config-based-detection.md | 5 ----- .changeset/hook-security-validation.md | 5 ----- CHANGELOG.md | 12 ++++++++++++ package.json | 2 +- 6 files changed, 13 insertions(+), 21 deletions(-) delete mode 100644 .changeset/add-pr-checkout.md delete mode 100644 .changeset/add-update-command.md delete mode 100644 .changeset/config-based-detection.md delete mode 100644 .changeset/hook-security-validation.md diff --git a/.changeset/add-pr-checkout.md b/.changeset/add-pr-checkout.md deleted file mode 100644 index 4d45f1a..0000000 --- a/.changeset/add-pr-checkout.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@fnebenfuehr/worktree-cli": minor ---- - -Add `worktree pr` command to checkout PRs by number or GitHub URL diff --git a/.changeset/add-update-command.md b/.changeset/add-update-command.md deleted file mode 100644 index 309c408..0000000 --- a/.changeset/add-update-command.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@fnebenfuehr/worktree-cli": minor ---- - -Add `worktree update` command to update CLI to the latest version diff --git a/.changeset/config-based-detection.md b/.changeset/config-based-detection.md deleted file mode 100644 index 8d4d065..0000000 --- a/.changeset/config-based-detection.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@fnebenfuehr/worktree-cli": patch ---- - -Fix worktree detection to use config file instead of checking worktrees directory diff --git a/.changeset/hook-security-validation.md b/.changeset/hook-security-validation.md deleted file mode 100644 index aa694b8..0000000 --- a/.changeset/hook-security-validation.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@fnebenfuehr/worktree-cli": minor ---- - -Add security validation for hook commands before execution. Blocks dangerous patterns (curl|sh, sudo, eval, unsafe rm -rf) and prompts for confirmation on unrecognized commands. Use --trust-hooks to bypass validation. diff --git a/CHANGELOG.md b/CHANGELOG.md index de1943d..dddb6cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # worktree-cli +## 1.5.0 + +### Minor Changes + +- f725a59: Add `worktree pr` command to checkout PRs by number or GitHub URL +- 830b9f0: Add `worktree update` command to update CLI to the latest version +- ad3c6d8: Add security validation for hook commands before execution. Blocks dangerous patterns (curl|sh, sudo, eval, unsafe rm -rf) and prompts for confirmation on unrecognized commands. Use --trust-hooks to bypass validation. + +### Patch Changes + +- 8954bd7: Fix worktree detection to use config file instead of checking worktrees directory + ## 1.4.0 ### Minor Changes diff --git a/package.json b/package.json index 6aa8029..9dd2e34 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fnebenfuehr/worktree-cli", - "version": "1.4.0", + "version": "1.5.0", "description": "A modern CLI tool for managing git worktrees with ease", "type": "module", "main": "./dist/index.js", From b17b05a4f74e047ae36544b5bfe6439668001059 Mon Sep 17 00:00:00 2001 From: Florin Nebenfuehr Date: Fri, 21 Nov 2025 19:20:33 +0100 Subject: [PATCH 2/4] build: trigger From b9daf34352c08834a692ccc20e5fedd36c90a212 Mon Sep 17 00:00:00 2001 From: Florin Nebenfuehr Date: Sat, 22 Nov 2025 22:01:56 +0100 Subject: [PATCH 3/4] build: trigger From 78fdfa5f219f1d708521f99bf062b5f607b70e8d Mon Sep 17 00:00:00 2001 From: Florin Nebenfuehr Date: Sat, 22 Nov 2025 22:02:31 +0100 Subject: [PATCH 4/4] build: trigger