discordgo v0.22.0 Release Notes
Release Date: 2020-07-26 // over 4 years ago-
Hi all! This version is a bit of a smaller one, but with one big change to long-time users of the library: the
develop
branch is no more! We found that the divide was confusing for first-time contributors, and while it was necessary is the old days of Go, modules make the two-branch workflow unnecessary. We will now keep all changes in a single branch for simplicity. Still, we do have a few new features, and I'd be remiss if I didn't mention them:Special Thanks To
- https://github.com/PrincessRavy
- https://github.com/DylanMeador
- https://github.com/TroyDota
- https://github.com/redbluescreen
๐ for all the help and contributions to this projectโleading to this release! You are all very appreciated!
๐ New Features
- โก๏ธ General field updates to reflect API changes #785
- Fetching of guild emojis from API #786
- ๐ Support removal of user from voice channel #789
- ๐ Allowed mentions functionality for webhooks #794
๐ As a plus, this one-branch workflow should allow us to release...well...releases more often, as instead of a merge all that will be required is a new tag. Move fast and break things, as they say (or said).
Previous changes from v0.21.1
-
๐ (note: this release has been directly superseded by v0.21.1 due to a mixup in the merge and the immutability of the Go module proxy; please refer to that version if you're pinning against a version!)
This one was a bit of a long time coming. Say hello to DiscordGo v0.21.0!
Special Thanks To
- https://github.com/AndyTempel
- https://github.com/lukasz-horonziak
- https://github.com/b-o-r-k
- https://github.com/RoJamieson
- https://github.com/Strum355
- https://github.com/ZusorCode
- https://github.com/ewohltman
- https://github.com/camsw
- https://github.com/Toyz
- https://github.com/mistahj67
- https://github.com/42Atomys
- https://github.com/recapitalverb
๐ for all the help and contributions to this projectโleading to this release! You are all very appreciated!
๐ฅ Breaking Changes
- ๐ The "Gateway Intents" system is now supported and enabled by default. See the wiki for information on disabling it.
- ๐
Session.MessageReactions
now takes additional parameters supporting pagination; set both to""
to retain current functionality. #626 Session.RequestGuildMembers
now takes an additional parameter indicating whether to request member presences.Session.Guild
no longer attempts to fetch the guild from the state, bringing it in line with otherSession
methods. UseSession.State.Guild
to do so. #683
๐ Bug Fixes
- Missing fields in
GuildChannelCreateData
added #782 - Resumes are now functioning after a long-standing bug preventing them on reconnects #761
- Internal API URL changed from
discordapp.com
todiscord.com
#772
๐ New Features
- "Allowed mentions" functionality, allowing mentions in a message to be allowed or blocked on an allowlist basis (did I say allow?) #761
- Fetch message details after its deletion if messages are being tracked in the state #743
- Request guild members for multiple guilds #709
Want more infomation?
๐ Read the PRs, Issues, Commits associated with this release.