Skip to content

Latest commit

Β 

History

History
328 lines (185 loc) Β· 22.3 KB

CHANGELOG.md

File metadata and controls

328 lines (185 loc) Β· 22.3 KB

Changelog

All notable changes to this project will be documented in this file.

πŸ› Bug Fixes

  • Update transitive sapphire dependencies (c78017c)
  • Ensure cts file extensions in dist/cjs (#537) (6f863f8)
  • subcommands: Bump transitive dependencies (6985cbf)

πŸ› Bug Fixes

  • subcommands: Bump transitive dependencies (4765979)
  • plugins: Fixed name for plugin subcommnad cooldown precondition (#531) (f6cd4b6)

↩️ Revert

  • "refactor(register): cleanup unnecessary side effect imports of index" (c2af242)

🏠 Refactor

  • register: Cleanup unnecessary side effect imports of index (dede596)

πŸ› Bug Fixes

  • subcommands: Expose load* methods on the index level in case register isn't used (1477e38)
  • Update transitive dependencies (9fd4cfa)

πŸš€ Features

  • 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!

🏠 Refactor

  • Support latest /framework (3a186ca)

πŸ› Bug Fixes

  • subcommands: Add subcommand specific cooldown (#504) (b7bca79)
  • subcommands: Remove unused events ChatInputSubcommandNotFound and MessageSubcommandNotFound. If you previously had listeners for these, just remove them (#506) (ee92625)

πŸš€ Features

  • Make all pieces virtual (65bd0db)

πŸ› Bug Fixes

  • subcommands: Remove deprecated SubcommandPluginEvents.MessageSubCommandDenied (99ccfb8)
    • πŸ’₯ BREAKING CHANGE: SubcommandPluginEvents.MessageSubCommandDenied has been removed. Use SubcommandPluginEvents.MessageSubcommandDenied instead. If you previously named your listener file messageSubCommandDenied.<ext> then you will also need to rename it to messageSubcommandDenied.<ext>. Note the change in capital C in Subcommand.
  • subcommands: Remove deprecated SubcommandPluginEvents.ChatInputSubCommandDenied (d14f023)
    • πŸ’₯ BREAKING CHANGE: SubcommandPluginEvents.ChatInputSubCommandDenied has been removed. Use SubcommandPluginEvents.ChatInputSubcommandDenied instead. If you previously named your listener file chatInputSubCommandDenied.<ext> then you will also need to rename it to chatInputSubcommandDenied.<ext>. Note the change in capital C in Subcommand.

πŸš€ Features

  • subcommands: Add support for all remaining precondition shortcuts (#491) (6da37d6)

πŸ› Bug Fixes

  • subcommands: Ensure subcommands support fw 4.7.0 specific preconditions (aef5949)
  • Set engines.node to >=v18 (885a390)

🏠 Refactor

  • subcommands: Deprecate SubcommandPluginEvents.ChatInputSubCommandDenied in favour of SubcommandPluginEvents.ChatInputSubcommandDenied and SubcommandPluginEvents.MessageSubCommandDenied in favour of SubcommandPluginEvents.MessageSubcommandDenied (ed845b4)

πŸš€ Features

  • subcommands: Add runIn to match framework (#470) (89cb5d9)

🏠 Refactor

  • *: Cleanup plugin registry files (#469) (215b334)

πŸ› Bug Fixes

  • subcommands: Ensure that subcommand.type always has a value (6007a23)

πŸš€ Features

  • subcommands: Implement per-subcommand preconditions (#465) (f5d5536)

πŸ› Bug Fixes

  • subcommands: Bump transitive @sapphire/utilities dependency (bc57087)
  • deps: Update all non-major dependencies (9bb6627)

πŸ› Bug Fixes

  • subcommands: Fixed compatibility with TS 5.x (3340544)
  • subcommands: Update dependencies (249e9df)

πŸ› Bug Fixes

  • deps: Update all non-major dependencies (#399) (953d57b)

πŸš€ Features

  • deps: Support for djs v14 (#403) (7674782)

πŸ› Bug Fixes

  • SupportsXCommands() methods now use SubcommandMappings (#398) (3e7a45a)
  • deps: Update all non-major dependencies (#387) (e31f714)

πŸ“ Documentation

  • Add @Arcadia148 as a contributor (3a28c2f)

πŸ› Bug Fixes

  • subcommands: Update dependencies (3d4e93c)
  • Default subcommand argument behavior (#365) (6cef7c6)

πŸ› Bug Fixes

  • subcommands: Bump dependencies (1142524)

πŸ“ Documentation

  • 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)

πŸ› Bug Fixes

  • Subcommands script (#346) (4f5f06a)
  • subcommands: Fixed mismatch in *SubcommandMissingHandler built in errors (#345) (4ab92be)

πŸš€ Features

  • subcommands: Add default error listeners (#343) (7f36686)

πŸ› Bug Fixes

  • Fixed arg parsing (#340) (80c35c9)

πŸ› Bug Fixes

  • Add missing messages to UserError throws (59d5986)
  • Fixed matching of message subcommand groups (bb5a769)

πŸš€ Features

  • Expose the matchedSubcommandMapping on MessageSubcommandAcceptedPayload and ChatInputSubcommandAcceptedPayload context (273b740)

πŸ“ Documentation

  • 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)

πŸš€ Features

  • 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

πŸ› Bug Fixes

πŸ“ Documentation

2.2.0 (2022-03-06)

Features

2.1.3 (2021-12-21)

Note: Version bump only for package @sapphire/plugin-subcommands

2.1.2 (2021-12-06)

Bug Fixes

  • subcommands: TS Only - Fixed type of re-export of SubCommandPluginCommand.Context (39004ac)

2.1.1 (2021-11-30)

Bug Fixes

  • expose Context, JSON and RunInTypes in the SubCommandPluginCommand namespace (9af2b57)

2.1.0 (2021-11-21)

Features

  • expose and use namespaces for options, context, etc (#176) (33452da)

2.0.2 (2021-11-06)

Bug Fixes

  • docs: replace command usage of run to messageRun (#160) (415adb8)

2.0.1 (2021-10-17)

Bug Fixes

  • allow more node & npm versions in engines field (ce5b12f)

2.0.0 (2021-10-16)

Code Refactoring

  • plugin-subcommands: updated for discord.js@13 and framework@2 (9ac515f)

Features

  • i18next: update i18next dependency (#129) (96519de)
  • rename Awaited to Awaitable (#152) (e8aabab)
  • subcommands: migrate Command#run to Command#messageRun (#157) (2960711)

BREAKING CHANGES

  • 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)

Bug Fixes

  • 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)

Bug Fixes

  • drop the www. from the SapphireJS URL (a86049f)
  • update all the SapphireJS URLs from .com to .dev (c5fd156)

1.0.4 (2021-04-21)

Bug Fixes

  • 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)

Bug Fixes

  • update dependencies, add tslib, bump framework to v1.0.0 (880b761)

1.0.1 (2021-02-12)

Bug Fixes

  • subcommands: mark subCommands as optional in SubCommandPluginCommandOptions (51c433d)

1.0.0 (2021-02-12)

Features