All notable changes to this project will be documented in this file.
@sapphire/plugin-subcommands@6.0.3 - (2024-01-19)
- Update transitive sapphire dependencies (c78017c)
- Ensure cts file extensions in dist/cjs (#537) (6f863f8)
- subcommands: Bump transitive dependencies (6985cbf)
@sapphire/plugin-subcommands@6.0.2 - (2023-12-30)
- subcommands: Bump transitive dependencies (4765979)
- plugins: Fixed name for plugin subcommnad cooldown precondition (#531) (f6cd4b6)
@sapphire/plugin-subcommands@6.0.1 - (2023-12-05)
- "refactor(register): cleanup unnecessary side effect imports of index" (c2af242)
@sapphire/plugin-subcommands@6.0.0 - (2023-12-05)
- register: Cleanup unnecessary side effect imports of index (dede596)
- subcommands: Expose
load*
methods on theindex
level in case register isn't used (1477e38) - Update transitive dependencies (9fd4cfa)
- Split ESM and CJS bundles for proper ESM and CJS loading (#512) (d9aa006)
- π₯ BREAKING CHANGE: This ensures that the plugins will properly load the either only ESM or only CJS files. This is done by outputting dist/cjs and dist/esm folders. This requires @sapphire/framework v5.x!
@sapphire/plugin-subcommands@5.1.0 - (2023-11-16)
- Support latest /framework (3a186ca)
- subcommands: Add subcommand specific cooldown (#504) (b7bca79)
- subcommands: Remove unused events
ChatInputSubcommandNotFound
andMessageSubcommandNotFound
. If you previously had listeners for these, just remove them (#506) (ee92625)
- Make all pieces virtual (65bd0db)
@sapphire/plugin-subcommands@5.0.0 - (2023-10-26)
- subcommands: Remove deprecated
SubcommandPluginEvents.MessageSubCommandDenied
(99ccfb8)- π₯ BREAKING CHANGE:
SubcommandPluginEvents.MessageSubCommandDenied
has been removed. UseSubcommandPluginEvents.MessageSubcommandDenied
instead. If you previously named your listener filemessageSubCommandDenied.<ext>
then you will also need to rename it tomessageSubcommandDenied.<ext>
. Note the change in capital C inSubcommand
.
- π₯ BREAKING CHANGE:
- subcommands: Remove deprecated
SubcommandPluginEvents.ChatInputSubCommandDenied
(d14f023)- π₯ BREAKING CHANGE:
SubcommandPluginEvents.ChatInputSubCommandDenied
has been removed. UseSubcommandPluginEvents.ChatInputSubcommandDenied
instead. If you previously named your listener filechatInputSubCommandDenied.<ext>
then you will also need to rename it tochatInputSubcommandDenied.<ext>
. Note the change in capital C inSubcommand
.
- π₯ BREAKING CHANGE:
@sapphire/plugin-subcommands@4.3.0 - (2023-10-23)
- subcommands: Add support for all remaining precondition shortcuts (#491) (6da37d6)
@sapphire/plugin-subcommands@4.2.2 - (2023-10-16)
- subcommands: Ensure subcommands support fw 4.7.0 specific preconditions (aef5949)
- Set
engines.node
to>=v18
(885a390)
@sapphire/plugin-subcommands@4.2.1 - (2023-08-29)
- subcommands: Deprecate
SubcommandPluginEvents.ChatInputSubCommandDenied
in favour ofSubcommandPluginEvents.ChatInputSubcommandDenied
andSubcommandPluginEvents.MessageSubCommandDenied
in favour ofSubcommandPluginEvents.MessageSubcommandDenied
(ed845b4)
@sapphire/plugin-subcommands@4.2.0 - (2023-08-23)
- subcommands: Add runIn to match framework (#470) (89cb5d9)
@sapphire/plugin-subcommands@4.1.1 - (2023-08-23)
- *: Cleanup plugin registry files (#469) (215b334)
- subcommands: Ensure that
subcommand.type
always has a value (6007a23)
@sapphire/plugin-subcommands@4.1.0 - (2023-08-21)
- subcommands: Implement per-subcommand preconditions (#465) (f5d5536)
@sapphire/plugin-subcommands@4.0.2 - (2023-07-21)
- subcommands: Bump transitive @sapphire/utilities dependency (bc57087)
- deps: Update all non-major dependencies (9bb6627)
@sapphire/plugin-subcommands@4.0.1 - (2023-04-10)
@sapphire/plugin-subcommands@4.0.0 - (2023-01-08)
- deps: Update all non-major dependencies (#399) (953d57b)
- deps: Support for djs v14 (#403) (7674782)
@sapphire/plugin-subcommands@3.2.4 - (2022-12-10)
- SupportsXCommands() methods now use SubcommandMappings (#398) (3e7a45a)
- deps: Update all non-major dependencies (#387) (e31f714)
- Add @Arcadia148 as a contributor (3a28c2f)
@sapphire/plugin-subcommands@3.2.3 - (2022-10-08)
@sapphire/plugin-subcommands@3.2.2 - (2022-10-02)
- subcommands: Bump dependencies (1142524)
- Add @r-priyam as a contributor (2d97019)
- Add @BenSegal855 as a contributor (66553df)
- Add @yuansheng1549 as a contributor (c36ac65)
- Add @RealShadowNova as a contributor (6cfa76f)
@sapphire/plugin-subcommands@3.2.1 - (2022-09-02)
- Subcommands script (#346) (4f5f06a)
- subcommands: Fixed mismatch in
*SubcommandMissingHandler
built in errors (#345) (4ab92be)
@sapphire/plugin-subcommands@3.2.0 - (2022-08-29)
- subcommands: Add default error listeners (#343) (7f36686)
@sapphire/plugin-subcommands@3.1.1 - (2022-08-21)
- Fixed arg parsing (#340) (80c35c9)
@sapphire/plugin-subcommands@3.1.0 - (2022-08-21)
- Add missing messages to
UserError
throws (59d5986) - Fixed matching of message subcommand groups (bb5a769)
- Expose the
matchedSubcommandMapping
onMessageSubcommandAcceptedPayload
andChatInputSubcommandAcceptedPayload
context (273b740)
@sapphire/plugin-subcommands@3.0.0 - (2022-08-20)
- Add @ricardooow as a contributor (15d7f9b)
- Add @imranbarbhuiya as a contributor (e3d8fdc)
- Add @KrishAgarwal2811 as a contributor (875dda0)
- Add @jczstudios as a contributor (c9126bc)
- Add @MajesticString as a contributor (2743c8d)
- Add @Mzato0001 as a contributor (06626cd)
- subcommands: Lowercase subcommands and dashless aliases (#337) (31ea70c)
- *: Subcommands v3 & update plugins to Sapphire Result v2 (#271) (1cfc32a)
- π₯ BREAKING CHANGE: @sapphire/plugin-subcommands has been completely rewritten from scratch for version 3. Please refer to the README or the website for updated usage.
- π₯ BREAKING CHANGE: @sapphire/plugin-hmr has been updated to use @sapphire/result v2 and @sapphire/framework v3
- π₯ BREAKING CHANGE: @sapphire/plugin-pattern-commands has been updated to use @sapphire/result v2 and @sapphire/framework v3
- π₯ BREAKING CHANGE: @sapphire/plugin-i18next has been updated to use @sapphire/result v2 and @sapphire/framework v3
- π₯ BREAKING CHANGE: @sapphire/plugin-scheduled-tasks has been updated to use @sapphire/result v2 and @sapphire/framework v3
@sapphire/plugin-subcommands@2.2.2 - (2022-07-11)
- Manually set version (117d5a6)
- Update typedoc setup (5c855bd)
2.2.0 (2022-03-06)
2.1.3 (2021-12-21)
Note: Version bump only for package @sapphire/plugin-subcommands
2.1.2 (2021-12-06)
- subcommands: TS Only - Fixed type of re-export of SubCommandPluginCommand.Context (39004ac)
2.1.1 (2021-11-30)
- expose
Context
,JSON
andRunInTypes
in theSubCommandPluginCommand
namespace (9af2b57)
2.1.0 (2021-11-21)
2.0.2 (2021-11-06)
2.0.1 (2021-10-17)
- allow more node & npm versions in engines field (ce5b12f)
2.0.0 (2021-10-16)
- plugin-subcommands: updated for discord.js@13 and framework@2 (9ac515f)
- i18next: update i18next dependency (#129) (96519de)
- rename
Awaited
toAwaitable
(#152) (e8aabab) - subcommands: migrate
Command#run
toCommand#messageRun
(#157) (2960711)
-
i18next: i18next has been updated to v21.0.1. Please also seee the breaking changes for i18next here and their migration guide here
-
chore: activate renovate
-
plugin-subcommands: Increase
@sapphire/framework
requirement to v2.
1.0.6 (2021-06-19)
- remove peer deps, update dev deps, update READMEs (#91) (3489b1d)
- subcommands: fixed JavaScript usage in README (#89) (73a35e9)
- subcommands: mark package as side effect free (7959288)
- subcommands: respect caseInsensitive client option (#84) (6fec28a)
1.0.5 (2021-05-02)
- drop the
www.
from the SapphireJS URL (a86049f) - update all the SapphireJS URLs from
.com
to.dev
(c5fd156)
1.0.4 (2021-04-21)
- change all Sapphire URLs from "project"->"community" & use our domain where applicable π¨βπΎπ (#75) (e437dc4)
1.0.3 (2021-04-03)
Note: Version bump only for package @sapphire/plugin-subcommands
1.0.2 (2021-03-16)
- update dependencies, add tslib, bump framework to v1.0.0 (880b761)
1.0.1 (2021-02-12)
- subcommands: mark subCommands as optional in SubCommandPluginCommandOptions (51c433d)