Releases: Chew/JDA-Chewtils
Chewtils 2.0
After years of prep-work, JDA 5 waiting, breaking changes, rory, and more, it is finally time to release 2.0.
Chewtils 2.0 has full support for JDA 5. And, despite all the changes, is still mostly backwards compatible with JDA-Utilities. The only breaking change is CooldownScope
being moved to its own class.
If you're just hopping into JDA-Chewtils, welcome aboard! Your experience over will be the smoothest. Outside of needing to import CooldownScope
, you are free to start using new methods.
As for everyone else, there are now breaking changes to be made aware of. All breaking changes from v1 to v2 are documented on the wiki.
This release is the exact same as the latest 2.0-SNAPSHOT release, so there's no changes since then to report.
Thank you all for reporting bugs throughout JDA's Beta 5.
What's Changed (since 1.24.1)
- Update to JDA 5 & bump to JDA-Chewtils 2.0 by @rtm516 in #35
- Support for the interactions rework & Context Menus by @Chew in #45
- Fix Context Menus not being found by @Matyrobbrt in #49
- Add SlashCommandEvent#optAttachment() by @Chew in #54
- Utilize new getOption methods from JDA in optX by @Chew in #55
- Add a ButtonEmbedPaginator with support for Discord buttons by @Chew in #50
- Full Support for JDA 5.0.0-alpha.13 (Permissions/Emoji) by @Chew in #67
- Correct mistake in JavaDocs (SlashCommand) by @olliedean in #69
- Bump dependencies (slf4j, okhttp, org.json) by @JellyBrick in #70
- Support JDA 5.0.0-alpha.15 by @Chew in #72
- Use better method for finding the proper slash command by @Chew in #63
- Support for JDA 5.0.0-alpha.18 (Message Refactor) by @Andre601 in #76
- Support for JDA 5.0.0-alpha.19 by @OurTwinkie in #77
- Add Interaction Localization support by @OurTwinkie in #78
- Support for v5.0.0-alpha.21 by @book000 in #79
- Fix slash command children by @ipsvn in #80
- Fix oauth 2 breaking on JDA Beta7 onwards by @astra-OCE in #83
- Fix slash command children in groups matching children with the same name by @Matyrobbrt in #81
- Bugfix ButtonEmbedPaginator finalAction by @TheMather1 in #85
- add a translate util file by @Chew in #87
New Contributors
- @Matyrobbrt made their first contribution in #49
- @olliedean made their first contribution in #69
- @JellyBrick made their first contribution in #70
- @OurTwinkie made their first contribution in #77
- @book000 made their first contribution in #79
- @ipsvn made their first contribution in #80
- @astra-OCE made their first contribution in #83
- @TheMather1 made their first contribution in #85
Full Changelog: 1.24.1...2.0
1.24.1 - The Updated That Ended (or Started) The Year
Prologue: Why .1?
1.24.0 was released with a critical issue that was resolved in 1.24.1
. It is highly recommend to use it and NOT 1.24.0
!
Notes I WOULD have used for 1.24.0
The time has come friends! A new update! This is the last update to build against and work with JDA 4. Future progress will be for JDA 5 and may contain breaking changes.
All progress for JDA 5 will be on the master
branch. A version bump to JDA-Chewtils 2.0 will follow. Any bug fixes for JDA 4 will be to the new v1-legacy
branch.
Thank you all for using this library! I hope it has gone well for you :)
What's Changed
- Fix use of deprecated methods by @rtm516 in #37
- Optimized Slash Command Upsert by @Chew in #34
- Fix of the default prefix @mention that was no longer responding to commands by @brandonfl in #40
- Added commandPreProcessBiFunction with Command argument by @lilmayu in #18
- Improve OptionHelper methods by @Andre601 in #38
New Contributors
- @rtm516 made their first contribution in #37
- @brandonfl made their first contribution in #40
- @lilmayu made their first contribution in #18
Full Changelog: 1.23.0...1.24.1
1.23.0 - Dawn of the changes
We're back with some MORE changes!
What's Changed
- Update to Gradle 7.2 by @ROMVoid95 in #27
- toLowerCase and toUpperCase with English. by @portlek in #30
- Add an OptionHelper class with useful methods for working with options by @Chew in #31
- Allow longs for setting forceGuildId, ownerId, among others in CommandClientBuilder by @Chew in 547cc63
- Ignore View Channel and Embed Links bot permission requirements for executed slash commands by @Chew in 6190a3d
New Contributors
- @ROMVoid95 made their first contribution in #27
- @portlek made their first contribution in #30
Full Changelog: 1.22.0...1.23.0
1.22.0 - NSFW Option, Bug fixes, & Upstream Update??
Welcome back to another update!
A new NSFW option has been added to Command (and thus SlashCommands)!
This essentially ensures a command is only run in an NSFW channel.
this.nsfwOnly = true
(it is false by default).
A bug has been fixed forownerCommand
s when there are no Co-Owners. Apparently, it didn't want to give any descriptive error but I figured it out 😎
Another bug has been fixed regarding EventWaiter changes. Give it a shot and report any issues you see!
Finally, for the first time in MONTHS! An Upstream update :O (full changes here: #24)
Notably, it bumped the minimum JDA version to 4.3.0_313
so be sure to update accordingly.
As always you can view a full change list here.
Hope you enjoy it!
Better prefix parsing and event waiter optimizations!
Welcome back to another release.
This implements the following PRs:
#13 - Better prefix parsing and handling, thanks @freya022
#12 - EventWaiter optimizations in multithreaded environments (thanks @freya022)
This also deprecates SlashCommand#guildId
as noted in #8. The functionality works and will work until 1.23.0 where it will be fully deprecated (unusable, but not removed) until 2.0. Please use CommandClientBuilder#forceGuildOnly(server ID)
instead.
fix children check and wait did i really release an update at 2 am?
So turns out fields cant be overwritten. Whatever. So this caused children to not work if you had a slash command and were executing a Command's child. No bueno. Now, it works!
Just a tiny addition
Forgot to add some accessor methods to CommandClient.. oops
This lets you now get slash commands, manual upsertion status, and the forced guild id (which may be null)
Enjoy!
JDA Chewtils 1.20.2
Implements #5
Not a good changelog writer.
JDA Chewtils 1.20
JDA Chewtils 1.19.1
Just to indicate a release went out... (I'll probably do one for every commit?)
Changes:
#3 - Only override Activity if it's non-null