Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/bwmarrin/discordgo from 0.20.1 to 0.23.1 #16

Conversation

dependabot-preview[bot]
Copy link

Bumps github.com/bwmarrin/discordgo from 0.20.1 to 0.23.1.

Release notes

Sourced from github.com/bwmarrin/discordgo's releases.

DiscordGo v0.23.1

Hi all! v0.23.1 contains a bug fix relating to updating statuses, correcting the casing used in the JSON sent to the gateway, meaning that you can actually update your status now! I envision that there might be more minor fixes in the near future as a continuation of the switch to API v8, but in the meantime make sure to update if you're running into issues with updating your bot's status.

DiscordGo v0.23.0

Hi all! This is a big one.

API Version 8

The largest change for this version: the library now uses API version 8! Given the breaking changes in the API, there will be some breaking changes in this version:

  • Intents are now mandatory. The library continues to default to enabling all non-privileged intents, but it is no longer possible to disable intents entirely like it was in v6. Consequently, the Intents field in the Identify struct is no longer a pointer, and the use of MakeIntent is no longer required.
  • The Game struct is no more, and UpdateStatus was changed to UpdateGameStatus to better reflect the API structures. The previous uses of Game can now be encompassed in Activity.
  • Presences and presence updates no longer contain information about nicknames and roles; these are now sent exclusively by guild member updates.
  • Permissions are now represented by int64 rather than int throughout the library, as although there are no permissions currently above 32 bits, Discord explicitly notes that they expect to add additional permissions in the future.
  • Permission overwrite types now have constants in the library, rather than requiring a string value.

There will probably be issues that are discovered with the API version change. As always, please feel free to file an issue if any come up!

Additional Changes

  • Support for news channels #800
  • Support for user public flags #801
  • Support for guild member muting and deafening #804
  • Support for querying old voice state information in updates #833
  • Add application ID to webhooks #838
  • Support for replies #842
  • Support for fetching guild bans #848
  • Webhook interaction request verification #855
  • Add pending field for members #863

Special Thanks To

DiscordGo v0.22.0

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

... (truncated)

Commits
  • e6a8d51 Add JSON tags to Activity struct
  • d4d47b6 Bump library version to v0.23.0
  • cbfa831 Merge pull request #866 from bwmarrin/v8
  • 90531dc Fix permissions type for UserGuild
  • 0f0aaad Correct header in rate limit test
  • bd34c3c Add comment for UnmarshalJSON
  • b7a2a4b Correct rate limit test magnitude
  • 9548146 Fix comment on UpdateGameStatus
  • 657ac04 Switch example to use UpdateGameStatus
  • c41dc15 Add changes to presences, remove Game type
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [github.com/bwmarrin/discordgo](https://github.com/bwmarrin/discordgo) from 0.20.1 to 0.23.1.
- [Release notes](https://github.com/bwmarrin/discordgo/releases)
- [Commits](bwmarrin/discordgo@v0.20.1...v0.23.1)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jan 27, 2021
@dependabot-preview
Copy link
Author

Superseded by #17.

@dependabot-preview dependabot-preview bot deleted the dependabot/go_modules/github.com/bwmarrin/discordgo-0.23.1 branch February 8, 2021 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants