Changelog History
Page 1
-
v0.22.0 Changes
July 26, 2020Hi 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).
-
v0.21.1 Changes
June 21, 2020π (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.
-
v0.21.0
June 21, 2020 -
v0.20.3
April 12, 2020 -
v0.20.2
December 20, 2019 -
v0.20.1
October 18, 2019 -
v0.20.0 Changes
October 18, 2019Special Thanks To
- https://github.com/iopred
- https://github.com/Bios-Marcel
- https://github.com/yuko1225
- https://github.com/neuronpool
- https://github.com/Hinara
- https://github.com/shawntoffel
- https://github.com/Soumil07
- https://github.com/lexfrei
- https://github.com/siku2
- https://github.com/asminozhka
- https://github.com/jyap808
- https://github.com/JurrijnP
- https://github.com/Lukaesebrot
- https://github.com/ikkerens
- https://github.com/bsdlp
- https://github.com/foxbot
- https://github.com/Krognol
- https://github.com/tsudoko
- https://github.com/nylen
- https://github.com/Necroforger
- https://github.com/AmIJesse
- https://github.com/datutbrus
- https://github.com/Seklfreak
- https://github.com/qaisjp
- https://github.com/lexfrei
- https://github.com/siku2
- https://github.com/recapitalverb
- https://github.com/jyap808
- https://github.com/eest
- https://github.com/Lukaesebrot
- https://github.com/haze
- https://github.com/dondish
π for all the help and contributions to this project - leading to this release! You are all very appreciated!
π₯ BREAKING CHANGES
π Bugs Fixed
- Escape # in emoji IDs passed to reaction endpoints
- β Removed _trace from helloOp #654
- Helped to make Dark Theme folks a bit less sad. #664 #665
- π Fixed broken IP Discovery in voice UDP connection #669
- π° Use the Voice UDP Endpoint IP from the Ready payload instead of the WebSocket endpoint #704
Other Changes
- β Added copy of previous Message state to MessageUpdate #545
- π Added last_pin_timestamp to Channel struct #596
- β Removed code duplication in ChannelVoiceJoin #611
- β Added "Priority Speaker" permission as constant #628
- β Added Pinned to Message struct #633
- β Added SnowflakeTimestamp utility function #641
- β Added User-Agent setting to Session struct #653
- β Added premium fields to Guild and Member #656
- β Added EndpointGuildIconAnimated #658
- β Added Guild.IconURL() helper #658
- β Added Asset type and ApplicationAssets method. #666
- π Handle empty channel id in ChannelVoiceJoinManual #672
- β Added Available field to Emoji struct #676
- β Added Premium Guild Subscription message types & Added Channel Types #679
- β Added new VerificationLevel VerificationLevelVeryHigh #680 #681
- β Added RateLimitPerUser to Channel struct
- β Added several newer fields to the Message object #699
Want more infomation?
π Read the PRs, Issues, Commits associated with this release.
-
v0.19.0 Changes
November 02, 2018Alright, DiscordGo v0.19.0 :) I know this should have happened 6 months or more ago. I've become more and more busy with work, life, and a new baby :) DiscordGo still has my heart though and thanks to all the amazing contributors, it has continued to grow and keep up with Discord's API changes!
For future reference, DiscordGo now has 706 stars, 167 forks, and 46 contributors!
Special Thanks To
- https://github.com/iopred
- https://github.com/xDimGG
- https://github.com/ajmeese7
- https://github.com/Seklfreak
- https://github.com/SilverCory
- https://github.com/ikkerens
- https://github.com/netux
- https://github.com/qaisjp
- https://github.com/cxnky
- https://github.com/Soumil07
- https://github.com/roberthmiller
- https://github.com/robbix1206
- https://github.com/Necroforger
- https://github.com/CarsonHoffman
- https://github.com/fuzzyfabricator
- https://github.com/santichu95
- https://github.com/shawntoffel
- https://github.com/Hinara
- https://github.com/foxbot
- https://github.com/midona-rhel
- https://github.com/kilgarth
- https://github.com/roberthmiller
- https://github.com/kinoher
- https://github.com/mortdeus
- https://github.com/waynegerard
- https://github.com/spencer1573
- https://github.com/ewohltman
- https://github.com/dvrkps
- https://github.com/dannyt66
- https://github.com/Necroforger
- https://github.com/sn0w
- https://github.com/Strum355
- https://github.com/antihax
- https://github.com/tsudoko
- https://github.com/mroseman95
- https://github.com/xDimGG
- https://github.com/jegfish
- https://github.com/netux
- https://github.com/midona-rhel
- https://github.com/kilgarth
- https://github.com/bitspill
π for all the help and contributions to this project - leading to this release! You are all very appreciated!
π₯ BREAKING CHANGES
- GuildChannelCreate method now takes ChannelType parameter #511
- GuildIntegrations method now takes a []*Integrations parameter instead of []*GuildIntegration #514
π Fixes
- π Fix role mention replacement #509
- π Fixed ContentWithMoreMentionsReplaced() for roles #521
- π Change State.MemberAdd to set fields individually #533
- β¬οΈ Reduce data sent to the DAPI in GuildChannelsReorder #537
β¨ Enhancements
- β Add ChannelID to WebhookEdit #445
- 0οΈβ£ AvatarURL will now return a link to the default avatar instead of an invalid link if the user has no avatar set. #488
- π Support for Game Activity Types #500
- π² Get Guild Audit Log endpoint implemented #504
- β Added Role.Mention function #507
- π Support unsetting Game & Setting to "Listening To" #508
- β Added UserConnections method that will list user connections #514
- π Documentation improvements #516
- GuildMemberAdd method added #523
- β Added Explicit Content Filter Levels, MfaLevel, WidgetEnabled, WidgetChallenID, SystemChannelID #527
- β Removed state checking from (s *Session) Guild(...) to be consistent #530
- β Add Icon channel field #531
- β Added Mention() func for Channel #536
- β Add GuildID to several structs #541
- β Added GuildEmojiCreate, GuildEmojiEdit, and GuildEmojiDelete methods #551
- β Added InviteWithCounts method #552
- β Add an explicit log and error for when a request is attempted with an unauthorized token that is not a bot token #553
- β Added locale to User struct #555
- β Added userlimit to the channel struct #557
- β Added support for the Unique field to ChannelInviteCreate #558
- β Added Webhooks Update event #561
- β Added MessageFormat() to emoji struct #569
- β Added ChannelVoiceJoinManual #578
- β Add PermissionManageEmojis and PermissionManageWebhooks to PermissionAll #580
- Added rate_limit_per_user to ChannelEdit #585
- β Added latency method #593
- Now update state member count on GUILD_MEMBER_ADD and GUILD_MEMBER_REMOVE #602
- β Added WebhookID to message struct #607
Want more infomation?
π Read the PRs, Issues, Commits associated with this release.
-
v0.18.0 Changes
December 27, 2017Special Thanks To
- https://github.com/iopred
- https://github.com/blackhole12
- https://github.com/jD91mZM2
- https://github.com/jcmdln
- https://github.com/therealfakemoot
- https://github.com/darkgray1981
- https://github.com/robbix1206
- https://github.com/Seklfreak
- https://github.com/zet4
- https://github.com/Necroforger
- https://github.com/Wubsy
- https://github.com/CarsonHoffman
- https://github.com/MaxBosse
- https://github.com/Ikkerens
- https://github.com/SilverCory
- https://github.com/NamedKitten
- https://github.com/sn0w
- https://github.com/vim2meta
- https://github.com/MrJohnCoder
- https://github.com/psheets
- https://github.com/andersfylling
- https://github.com/njhanley
π for all the help and contributions to this project - leading to this release! You are all very appreciated!
β¨ Enhancements
- Session.Open() now validates the connection is successful and reports errors when it is not. (#198)
- β Added rate limit buffering support (#430)
- β Added GameType (#435)
- β Added ParentID to Channel struct (#448, #447)
- Switch to new Bulk Delete endpoint (#320, #451)
- Members from GuildMembersChunk are now added to state (#456)
- Implemented raw sending of status (Rich Presence and Online Status) (#462)
- β Add support for custom logging behavior. (#465)
- π Allow size parameter to be omitted in User.AvatarURL (#468)
- β Added the unique field to the invite struct (#487)
- β Added ChannelEditComplex (#493)
- β Added support for animated emojis (#496)
π Fixes
- β Remove a misspelled copy of EndpointGuildInvites. (#440, #441)
- π Fixed Channel struct's JSON tag for Recipients (#444, #443)
- π Fixed GuildCreate using incompatible endpoint (#437, #452)
- π² Use v.log rather than log for consistency (#464)
- π Fix typos :) (#466, #482, #486)
- β Remove XKCDPass Invites (#477, #477)
- π Fixed TimeStamps unmarshalling (#474, #470)
- Properly return on errors in GuildRoleEdit and GuildPruneCount (b58212a)
-
v0.17.0 Changes
September 05, 2017Special Thanks To
- https://github.com/iopred
- https://github.com/jonas747
- https://github.com/GinjaNinja32
- https://github.com/jD91mZM2
- https://github.com/Necroforger
- https://github.com/ammario
- https://github.com/nhooyr
- https://github.com/blackhole12
- https://github.com/tsudoko
- https://github.com/CarsonHoffman
- https://github.com/robbix1206
- https://github.com/Wubsy
- https://github.com/kebolio
- https://github.com/zet4
for all the help and contributions to the project! You are all very very appreciated.
β¨ Enhancements
- ContentWithMentionReplaced on roles and nicks (#375)
- β Added function AvatarURL(size string) string that returns a URL to the user's avatar (#388)
- β Add and fix support for multiple file uploads via ChannelMessageSendComplex via the new field MessageSend.Files (#391)
- β Add heartbeat ACK response and error handling (Op11, Op7) (#396)
- Hardcoded reactions ratelimit because Discord gives incorrect value in headers. (#398)
- β Add function GuildMemberDeleteWithReason(guildID, userID, reason string) (#399)
- β remove runtime.LockOSThread call from opusSender (#404)
- gracefully handle the possibility of a race condition attempting to reconnect twice (#407)
- β‘οΈ Updated to gateway v6 (#410)
- β Add memberMap to State to speed up member queries (#411)
- β Added function MessageReactionsRemoveAll(channelID, messageID string) that deletes all reactions from a message (#414)
- β Add option for calling event handlers sync or async (#416)
- Export State.OnInterface (#417)
- β Add error code constants (#418)
- β Add NSFW channel field (#419)
π Bug Fixes
- β‘οΈ Email/Password are omitted if empty on UserUpdate (#383)
- π Fix goroutine leak in opusReceiver (#393)
- π Fix presence update after breaking API change (#427)
- π Fix receiving voice after client sets extended header bit (#428)
- π Fix an issue causing WebhookDelete to always return an error (#429, #432)
- π Fix an issue with session GuildCreate using incompatible endpoint (#437, #439, fd8721a,