All Versions
13
Latest Version
Avg Release Cycle
122 days
Latest Release
709 days ago

Changelog History
Page 2

  • v0.16.0 Changes

    May 15, 2017

    Alright, DiscordGo v0.16.0 :)

    For future reference, DiscordGo now has 289 stars, 78 forks, and 35 contributors!

    Special Thanks To

    for all the help and contributions to the project! You are all very very appreciated.

    ๐Ÿ”” Notice / Breaking Changes

    • ChannelMessages method now has an around parameter #306
    • UserGuilds method now has limit , beforeID , and afterID parameters #296
    • ๐Ÿ—„ UserAvatar method is deprecated. Please use UserAvatarDecode #337

    โœจ Enhancements

    • โž• Added ChannelMessageEditComplex function #349
    • โž• Added ChannelMessageSendComplex function #349
    • โž• Added GuildBanCreateWithReason method #367
    • We now report an error when trying to login with an account that has 2FA #359
    • ๐Ÿ‘ We're now using Gateway V5... Better than v4 :) #220
    • โž• Added support for getting the color of a user #299
    • โž• Added some missing Permission constants #302 #378
    • โž• Added support for MessageDeleteBulk event #304
    • โšก๏ธ Avatars, Icons, Splashes, etc images are now have CDN endpoints and have been updated to request .png files. #309
    • โšก๏ธ Track voice-channel movements in onVoiceStateUpdate() #317
    • โž• Add support for @me in GuildMemberNickname #319
    • โž• Added method ChannelMessageSendEmbedWithMessage #335
    • โž• Added method UserAvatarDecode to fetch the Avatar of a user. #337
    • โž• Added convenience function Tag() method to user struct to return a formatted mention for that user #364
    • โž• Added convenience function String() method to User struct. #350
    • โž• Added convenience function SetContent to MessageParams struct #352
    • โž• Added support for MessageReactionRemoveAll event #357 691040e
    • โž• Add Presence Tracking to State #371
    • ๐Ÿ‘‰ Make returned errors constants #377

    ๐Ÿ› Bug Fixes

    • Some cleanup: #368 #338 #339 #344 #347
    • ๐Ÿ›  Fixed permissions to take into account @everyone override in channels. #298
    • ๐Ÿ›  Fixed several possible race conditions #303#307 #340
    • ๐Ÿšš Use proper ratelimit buckets for RoleAdd and RoleRemove #311
    • ๐Ÿ›  Fixed leaking tickers #314
    • ๐Ÿ›  Fix presence unmarshal with game names as numbers #381
  • v0.15.0 Changes

    December 10, 2016

    ๐Ÿš€ This is my first release and a long time coming. The major updates for v0.15.0 are rate limits, the removal of reflection from the library and a bunch of new features!

    Huge thanks to @jonas747 for the rate limiting code!

    Special Thanks To

    ๐Ÿ‘ for all the help and contributions to the project! Your support is what makes DiscordGo possible!

    Large changes

    • โœ‚ Remove use of reflect, this is a long standing idiom problem with the library. DiscordGo now uses go generate to generate event handlers. 3660125 #285
    • Rate limiting! Per route and global. #273
    • ๐Ÿ‘Œ Support for message embeds. 717c8f2 #290
    • ๐Ÿ‘Œ Support for new member role endpoint. #289
    • ๐Ÿ‘Œ Support for reactions. #275 #283
    • ๐Ÿ‘Œ Support for webhooks. #274
    • ๐Ÿ‘Œ Support for relationships. #284
    • ๐Ÿ‘Œ Support for user status. #258
  • v0.13.0 Changes

    July 18, 2016

    ๐Ÿš€ Lots of changes in this release! Too many, actually. I apologize for letting this drag out for so long. Checkout the commit history and the milestone tracker. Read all the below breaking changes and join the Discord chat channel to ask any questions! I've tried to document all the major changes here but it's possible I missed something!

    For future reference! DiscordGo now has 109 stars, 28 forks, and 10 contributors! The project keeps growing at a nice steady pace and I'm excited that it's been useful for so many people!

    Special Thanks To

    for all the help and contributions to the project! You are all very very appreciated.

    ๐Ÿ”” Notice / Breaking Changes

    • ๐Ÿ‘ Creating a new session in any manor other than discordgo.New() is no longer officially supported. So if you do that and stuff breaks it's on you :) d69fac5
    • โฌ‡๏ธ Dropped support for Go 1.3 #177
    • โฌ‡๏ธ Dropped support for Go 1.4, DiscordGo will maintain for the latest 3 main versions of Go.
    • ๐Ÿ—„ Session.UserChannelPermissions is now deprecated. Please use State.UserChannelPermissions
    • When connecting to voice, if you set your bot as deaf then a udp listener will not be started on the voice connection. 4cac19c
    • โšก๏ธ Huge number of updates to improve voice connection and reconnects. This is still an unfinished area but it should now be much more stable than before.
    • ๐Ÿ“‡ Renamed RateLimit struct to TooManyRequests{} and added new event struct RateLimit{} which can be registerd to with AddHandler() and will be emitted anytime a HTTP 429 is received on the HTTP API. 098d786 38c51ce
    • ๐ŸŽ No longer calling onEvent as goroutine, This is a stability improvement but may have a slight performance impact. This change will be reviewed again later. Doing this solves a data race issue with the Sequence number that must be tracked for gateway resume and heartbeats. Event specific handlers are now called
      as a goroutine though.
    • ๐Ÿ—„ VoiceReady and UDPReady are deprecated. DataReady is.. semi-deprecated :) af57bc1
    • ๐Ÿ—„ Session.UserChannelPermissions is deprecated. Please use State.UserChannelPermissions -- Also, UserChannelPermissions now pulls from State instead of calling REST API endpoints. b225864 TODO!! TODO!!

    โœจ Enhancements

    • ๐Ÿ‘ Sharding Support #166
    • ๐Ÿ‘Œ Support for GuildEmbed and GuildIntegration endpoints #170
    • โž• Added support for message pinning #223
    • Switch to Gateway V4 #167
    • ๐Ÿ‘Œ Improvements to State #169 #168 #184 #193
    • ๐Ÿ‘ Guild Integrations & Guild Embed support added #170
    • ๐Ÿ‘Œ Support for additional fields added to Ready packet #174
    • Settings struct improvements #176
    • 0๏ธโƒฃ DefaultMessageNotifications added to Guild struct #179
    • โž• Added example of a Airhorn style bot. #181
    • ๐Ÿ‘Œ Support for Nicknames #187 #189
    • MentionRoles added to Message struct #188
    • โž• Added support for streaming status updates #194
    • State now tracks roles #196
    • โž• Added ability to disable/enable specific parts of State tracking #196
    • โž• Added support for bulk delete #199
    • โž• Added examples for setting bot avatar #201
    • โž• Added Guild Positions to Settings struct #203
    • โž• Added GuildChannelsReorder func #211
    • ๐Ÿ”„ Change ALL_CAPS endpoints to more Go idiomatic naming. #212
    • โž• Add Sharding support #215
    • โž• Added UserGuildSettingsEdit func #216
    • โž• Add ChannelMessage function to get a single message by ID #217
    • ๐Ÿ‘‰ UserChannelPermissions now pulls information from State.
    • โž• Added several new examples! Check them out.
    • โœ… Few more unit tests added.
    • โž• Added a new logging system that provides a lot more useful detail. Log levels can be configured allowing you to customize how much detail is logged. See logging.go. Also logs now all prints to stderr instead of stdout.
    • ๐Ÿ‘ Better rate limit handling using per URL mutex locks. ad2aa61
    • We now send a heartbeat in response to gateway Op 1 message 53a826d
    • Resume to gateway connections when possible. 9bc6057 c65d509 a9da8a5
    • Do not write concurrently to websocket connections e9e9ef8 cb9e306
    • โž• Added MFAEnabled to User struct eeb2d4f
    • Semi-Properly close websocket connections bbce261

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fix Invite unmarshal error #171
    • ๐Ÿ›  Fix ChannelMessageAck encoding type error #186
    • ๐Ÿ›  Fixed project name in LICENSE file #202
    • Correctly set Channel ID when changing voice channels #207
    • ๐Ÿ›  Several possible data race events have been fixed.