Skip to content

Discord Broke Master.

Compare
Choose a tag to compare
@bwmarrin bwmarrin released this 12 Jan 14:40
· 1316 commits to master since this release

Alright everybody! Here we are at v0.9.0 :) We've got 16 stars, 5 forks, and 5 contributors :) We're growing into something real here.

Lots of changes so as always check the commit history for more detail and be ready to make some "minor" changes to your code when you update your local copy. See some of the bigger, and breaking changes below.

  • Go Tests added! Not a lot but a few and we plan to keep adding more. At about 20% coverage now.
  • TravisCI now testing Go 1.3, 1.4,and 1.5 for us to make sure we compile on older versions.
  • New func, Register(username) lets you register a new account on Discord.
  • Message struct and added funcs now in message.go
  • Some cleanup to the built-in Voice support, should be a more stable API now.
  • BREAKING To join a voice channel you now must call ChannelVoiceJoin func.
  • BREAKING Some voice variables were hidden, some renamed, "V" prefixed voice stuff is now in Session.Voice.[var/func]
  • BREAKING All API and Event funcs were converted to use and return pointers.
  • BREAKING All funcs that only work for the authenticated user, now do not accept a userID variable. They default to "@me"
  • Voice now sends a udp keepalive packet, and paves the way to voice receive support
  • UserAvatar now returns an Image!
  • Added some initial support for dealing with Rate Limits.
  • Added support for message Attachments & Embeds
  • Added GUILD_SPLASH endpoint
  • Start of better logging! JSON Unmarshal errors now return a consistent factory error.