From cca35780c0029428f8bad2a5355335417b409109 Mon Sep 17 00:00:00 2001 From: Wolfstar Date: Fri, 13 Nov 2026 17:12:57 +0100 Subject: [PATCH] chore: update changelog and release --- .changeset/subcommand-piece-preconditions.md | 5 ----- .changeset/subcommands-older-framework-test.md | 2 -- packages/plugin-subcommands-advanced/CHANGELOG.md | 6 ++++++ packages/plugin-subcommands-advanced/package.json | 2 +- 4 files changed, 7 insertions(+), 8 deletions(-) delete mode 100644 .changeset/subcommand-piece-preconditions.md delete mode 100644 .changeset/subcommands-older-framework-test.md diff --git a/.changeset/subcommand-piece-preconditions.md b/.changeset/subcommand-piece-preconditions.md deleted file mode 100644 index fdcc609e..00000000 --- a/.changeset/subcommand-piece-preconditions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wolfstar/plugin-subcommands-advanced": patch ---- - -A subcommand piece registered with `RegisterAsSubcommand` or `RegisterAsSubcommandGroup` now has its `preconditions` option run before its `chatInputRun`, after those of the parent. A denial emits `chatInputCommandDenied` and the subcommand does not run; before, the option was ignored and the subcommand ran for everybody. Needs `@wolfstar/http-framework` 6.3.0 or later; on an older framework the option does not exist and nothing changes. diff --git a/.changeset/subcommands-older-framework-test.md b/.changeset/subcommands-older-framework-test.md deleted file mode 100644 index a845151c..00000000 --- a/.changeset/subcommands-older-framework-test.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/packages/plugin-subcommands-advanced/CHANGELOG.md b/packages/plugin-subcommands-advanced/CHANGELOG.md index 87cbe4ee..ca860d52 100644 --- a/packages/plugin-subcommands-advanced/CHANGELOG.md +++ b/packages/plugin-subcommands-advanced/CHANGELOG.md @@ -1,5 +1,11 @@ # @wolfstar/plugin-subcommands-advanced +## 3.0.2 + +### Patch Changes + +- [#282](https://github.com/wolfstar-project/plugins/pull/282) [`2ab65ae`](https://github.com/wolfstar-project/plugins/commit/2ab65ae7f48e79d6befa0f42fdac80f9b8825b3b) - A subcommand piece registered with `RegisterAsSubcommand` or `RegisterAsSubcommandGroup` now has its `preconditions` option run before its `chatInputRun`, after those of the parent. A denial emits `chatInputCommandDenied` and the subcommand does not run; before, the option was ignored and the subcommand ran for everybody. Needs `@wolfstar/http-framework` 6.3.0 or later; on an older framework the option does not exist and nothing changes. + ## 3.0.1 ### Patch Changes diff --git a/packages/plugin-subcommands-advanced/package.json b/packages/plugin-subcommands-advanced/package.json index edf736f0..ce4be2e6 100644 --- a/packages/plugin-subcommands-advanced/package.json +++ b/packages/plugin-subcommands-advanced/package.json @@ -1,6 +1,6 @@ { "name": "@wolfstar/plugin-subcommands-advanced", - "version": "3.0.1", + "version": "3.0.2", "description": "Plugin for @wolfstar/http-framework to modularize slash subcommands into separate command classes", "keywords": [ "discord",