Releases: freya022/BotCommands
Releases · freya022/BotCommands
v2.8.2 - Fix NSFW commands & text commands
Changed
- Fixed NSFW application commands not being tagged as NSFW
- Rework how command patterns are assembled
Full Changelog: v2.8.1...v2.8.2
v2.8.1 - JDA 5 Beta 2, minor text command fix
Changed
- Update to JDA 5 Beta 2 (#51)
- Fixed an issue causing text commands to not compile when an optional first parameter was followed by a required parameter in text commands
- Clarified behavior when compiling text commands in
RegexParameterResolver
Full Changelog: v2.8...v2.8.1
v2.8 - JDA 5 Beta 1, NSFW application commands
Added
- Added support for NSFW application commands
Changed
- Added a wiki page for localization (#48)
- Update to JDA 5 Beta 1 (#49)
- Command paths now uses spaces as to accomodate JDA changes
- Select targets have to be specified when creating entity select menus
Full Changelog: v2.7.0...v2.8
v2.7.0 - JDA 5 Alpha 22, entity select menus
What's Changed
Update to JDA 5 alpha 22 (#47)
- Support new entity select menus
- Added
ForumChannel
parameter resolver
Full Changelog: v2.6.2...v2.7.0
v2.6.2 - JDA 5 alpha 21, few fixes
What's Changed
- Update to JDA 5 alpha 21 (#46)
- Fixed a few concurrency bugs related to
Logging
andDefaultValueSupplier
s sometimes not being registered - Errors thrown in persistent component handlers are now reported
Full Changelog: v2.6.1...v2.6.2
v2.6.1 - Support string bounds in slash commands
What's Changed
Full Changelog: v2.6.0...v2.6.1
v2.6.0 - JDA 5 alpha 19 support
2.5.1 - Bugfix for Unix systems
What's Changed
- Improve ReflectionUtils by @oxkitsune in #42
New Contributors
- @oxkitsune made their first contribution in #42
Full Changelog: 2.5.0...2.5.1
2.5.0 - JDA 5 alpha 18 & help rework
Changes
Additions
- Add optional paginator controls to interactive menus (#37)
Changes
Full Changelog: BotCommands-2.4.1...2.5.0
2.4.1 - Modals, perms V2, new localization, publishing
Changes
Updates
- Use Java 17 (with preview features), see README on how to enable them
- Use JDA 5 alpha 16
Application commands
- Added a
Guild
parameter toSlashParameterResolver#getPredefinedChoices
- Changed developer error replies (such as for invalid resolved types) to exceptions
- Replaced perms V1 with perms V2
- Removed
guildOnly
for application commands, replaced with a scope enumeration - Added
defaultLocked
to lock a command to administrators by default, overrides defined user permissions
- Removed
Misc
EventWaiterBuilder#submit
returns aCompletableFuture
- Reworked localization / default messages, see
DefaultMessages
- Use Minn's fork of
emoji-java
Additions
Application commands
- Added modals, see
Modals
- Added command IDs, they allow you to have multiple commands with the same path, but with different target guilds, and potentially different options
- Added default values, these are options that can be substituted on a per-guild basis, with
GuildApplicationSettings#getDefaultValueSupplier
- Added varargs for slash commands, they work the same way as java except you can specify how many of the arguments are optional
- Reintroduce
ApplicationCommandsBuilder#forceCommandsAsGuildOnly
- Added an
Attachment
resolver - Allow subcommands with subcommand groups, in the same top-level command
- Example:
/tag send
+/tag manage create
- Example:
Commands
- Support command localization, they use a similar format to the MessageFormat API, but with named parameters, see
DefaultLocalizationMapProvider
,Localization
andDefaultLocalizationTemplate
Misc
- Added
ExtensionsBuilder#registerDynamicInstanceSupplier
to let Spring users supply command instances - Added Kotlin sources
- Added maven central publishing
- Going forward, I will be using a
Major.Minor.Revision
scheme, major for big breaking changes, minor for minor breaking changes, including features/bugfix, and revision for non-breaking features/bugfixes master
should now get updates with smaller PRs, and releases would be done to maven central when appropriate- This will let the main page to be more frequently updated vs having to select the newer branch everytime
- Going forward, I will be using a
Full Changelog: 2.3.0...BotCommands-2.4.1