diff --git a/docs/general/changelog.md b/docs/general/changelog.md index 9b41f9fd..2553269a 100644 --- a/docs/general/changelog.md +++ b/docs/general/changelog.md @@ -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] +## [2.0.0] - 2021-02-11 +### Changed: +- The typings for `DMInteractionRequestData` and `GuildInteractionRequestData` is in the index. +- The typing for `InteractionRequestData` is now a **type** rather than an **interface**. +- The `ping` event now has a `user` parameter. +- **[BREAKING]** `CommandContext#member` and `CommandContext#guildID` is now only given in a guild context. +- **[BREAKING]** `guildID` in command options is now `guildIDs`. +- **[BREAKING]** `SlashCommand#guildID` has been replaced with `SlashCommand#guildIDs`. +### Added: +- Support for updating commands in bulk. This is now used in syncing. +- Support for multiple guild IDs in a command class. + - `CommandOptions#guildIDs` can either be a string or an array of strings. +- Support for direct message commands. + - `CommandContext#user` can be used in DM and guild contexts. +### Fixed: +- Unnessesary command updating while syncing. ## [1.3.0] - 2021-01-04 ### Changed: - Permission bitfield now uses bigints @@ -129,7 +145,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/v1.3.0...HEAD +[Unreleased]: https://github.com/Snazzah/slash-create/compare/v2.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 @@ -142,3 +158,4 @@ This release features mostly completed documentation and changes to the packages [1.1.6]: https://github.com/Snazzah/slash-create/compare/v1.1.5...v1.1.6 [1.2.0]: https://github.com/Snazzah/slash-create/compare/v1.1.6...v1.2.0 [1.3.0]: https://github.com/Snazzah/slash-create/compare/v1.2.0...v1.3.0 +[2.0.0]: https://github.com/Snazzah/slash-create/compare/v1.3.0...v2.0.0