Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 01 Jun 07:12
· 269 commits to main since this release

Breaking Changes

  • Packages are now ESM only
  • @reciple/update-checker is now deprecated, functionality is now moved to @reciple/utils with the new PackageUpdateChecker class
  • Changes to command halts includes
    • Addition of global command halts
    • Command halts are now structured like pre-conditions
    • Support for multiple command halts
    • .setHalt is removed from builders, use .addHalts or .setHalts instead
  • Removed unnecessary abstraction such as .removePreconditions(), .disablePreconditions(), .enablePreconditions() from CommandManager
  • Removed .create() static method from default preconditions
  • Moved functionality of .executeCommandBuilderHalt() from RecipleClient to CommandManager's .executeHalts()
  • Moved functionality of .executeCommandBuilderExecute() from RecipleClient to CommandManager
  • Removed unnecessary CommandManager abstractions such as .getApplicationCommand() and .fetchApplicationCommand()
  • Removed parseMessageURL() and fetchMessageURL() from @reciple/utils, use .fetch() or .parse() from MessageURLData instead

Enhancements

  • versions property is now optional
  • Message command validate function can now return string or Error to add custom error message to MessageCommandOptionValue#error
  • Added support for global halts
  • Added support for multiple command halts per commands