Skip to content

Commit

Permalink
release: v5.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Snazzah committed Apr 28, 2022
1 parent a648608 commit a9b0a91
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
21 changes: 20 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit a9b0a91

Please sign in to comment.