diff --git a/CHANGELOG.md b/CHANGELOG.md index e5ac2203..31ac0b1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,24 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +## [5.5.0] - 2022-04-28 +### Changed: +- **[Command permissions have been deprecated](https://link.snaz.in/sc-cpd)**, including these methods/options: + - `SyncCommandOptions#syncPermissions` + - `SlashCreator#syncCommandPermissions` + - `SlashCommandOptions#permissions` + - `SlashCreatorAPI#bulkUpdateCommandPermissions` +- **SlashCommandOptions:** `#requiredPermissions` now sets member permissions within the command using `default_member_permissions`. +- **SlashCommand:** `#commandJSON` is now deprecated in favor of `#toCommandJSON`. +### Added: +- **Permissions:** New flags: `SEND_MESSAGES_IN_THREADS`, `USE_EMBEDDED_ACTIVITIES`, `MODERATE_MEMBERS` +- **ApplicationCommandPermissionType:** New type: `CHANNEL = 3` +- **SlashCommandOptions:** Added `#dmPermission` +- **SlashCreatorAPI:** Added `withLocalization` option to `#getCommands` +- **CommandContext:** Initial response attachments support +### Fixed: +- Permission names in constants being outdated +- `SlashCommandOptions#requiredPermissions` option checking ## [5.4.1] - 2022-03-30 ### Fixed: - Fixed syncing erroring for old command classes @@ -405,7 +423,7 @@ This release features mostly completed documentation and changes to the packages ## [0.1.0] - 2020-12-15 - Initial release. -[Unreleased]: https://github.com/Snazzah/slash-create/compare/v5.4.1...HEAD +[Unreleased]: https://github.com/Snazzah/slash-create/compare/v5.5.0...HEAD [0.1.0]: https://github.com/Snazzah/slash-create/releases/tag/v0.1.0 [0.2.0]: https://github.com/Snazzah/slash-create/compare/v0.1.0...v0.2.0 [1.0.0]: https://github.com/Snazzah/slash-create/compare/v0.2.0...v1.0.0 @@ -455,3 +473,4 @@ This release features mostly completed documentation and changes to the packages [5.3.0]: https://github.com/Snazzah/slash-create/compare/v5.2.1...v5.3.0 [5.4.0]: https://github.com/Snazzah/slash-create/compare/v5.3.0...v5.4.0 [5.4.1]: https://github.com/Snazzah/slash-create/compare/v5.4.0...v5.4.1 +[5.5.0]: https://github.com/Snazzah/slash-create/compare/v5.4.1...v5.5.0 diff --git a/package.json b/package.json index c4ccfdab..f6795ae6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "slash-create", - "version": "5.4.1", + "version": "5.5.0", "description": "Create and sync Discord slash commands!", "main": "./lib/index.js", "types": "./lib/index.d.ts",