Skip to content

Commit

Permalink
release: v4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Snazzah committed Aug 16, 2021
1 parent 6e5a7de commit 0886ccd
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
19 changes: 18 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,22 @@ 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]
## [4.0.0] - 2021-08-16
### Removed:
- **ApplicationCommandOption:** removed deprecated `default` option
- Reorder the required options instead.
- **Permissions:** removed `MANAGE_EMOJIS` permission in favor of`MANAGE_EMOJIS_AND_STICKERS`
- **types:** removed `CommandOption` type
- **types:** removed `FollowUpMessageOptions` in favor of `MessageOptions`
### Changed:
- **types:** `RequestHandler` -> `ServerRequestHandler`
- **types:** `TypedEmitter` -> `TypedEventEmitter`
- **Permissions/UserFlags:** `FLAGS` constants from Permissions and UserFlags are hidden
- **index:** Almost everything is now properly exported to index
- All files are no longer using `default` for exporting
### Fixed:
- **MessageInteractionContext:** Deleting the original message de-references the message ID from the context ([#97](https://github.com/Snazzah/slash-create/pull/97))
- **ComponentContext:** Remove partial message parsing
## [3.5.0] - 2021-08-11
### Changed:
- **Permissions:** `MANAGE_EMOJIS` is now `MANAGE_EMOJIS_AND_STICKERS`, making the former deprecated.
Expand Down Expand Up @@ -292,7 +308,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/v3.5.0...HEAD
[Unreleased]: https://github.com/Snazzah/slash-create/compare/v4.0.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 @@ -322,3 +338,4 @@ This release features mostly completed documentation and changes to the packages
[3.4.2]: https://github.com/Snazzah/slash-create/compare/v3.4.1...v3.4.2
[3.4.3]: https://github.com/Snazzah/slash-create/compare/v3.4.2...v3.4.3
[3.5.0]: https://github.com/Snazzah/slash-create/compare/v3.4.3...v3.5.0
[4.0.0]: https://github.com/Snazzah/slash-create/compare/v3.5.0...v4.0.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": "3.5.0",
"version": "4.0.0",
"description": "Creator and handler for Discord's slash commands",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand Down

0 comments on commit 0886ccd

Please sign in to comment.