Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

fix(deps): update module github.com/bwmarrin/discordgo to v0.27.1 #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Apr 26, 2021

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/bwmarrin/discordgo require minor v0.20.2 -> v0.27.1

Release Notes

bwmarrin/discordgo (github.com/bwmarrin/discordgo)

v0.27.1: DiscordGo v0.27.1

Compare Source

Hi everyone. This is a out-of-schedule release, due to a recent breaking change made by Discord in voice API.

⚠️ If you have any voice related functionality, please update to this version. Voice API in previous versions will stop working on March 15th.

What's changed

Fixes
  • Use 74 byte handshake in voice UDP connection #​1343
  • WithContext option did not have effect on the request sent by RequestWithLockedBucket #​1337
  • ThreadMember.Flags has not been properly serialized #​1335
Other changes

Special thanks to @​LightningDev1 and @​armsnyder.

Full Changelog: bwmarrin/discordgo@v0.27.0...v0.27.1

v0.27.0: DiscordGo v0.27.0

Compare Source

What's Changed

Notices / Breaking changes
  • All REST methods of the Session now have options ...RequestOption at the end of the parameter list #​1299
New features
  • Forum channels #​1246
  • Regex automod trigger #​1275
  • Automod allow list and mentions #​1305
  • Auto populated select menus #​1269
  • Role connections #​1295
  • Audit Log Reason, HTTP context, accepted locale and per-request options #​1299
Other changes
  • Add missing fields to GuildParams struct #​1255
  • Add missing fields to Ready #​1227
  • Add UpdateWatchStatus function #​1291
  • Fix incorrect call of State.Role in ApplicationCommandInteractionDataOption.RoleValue #​1237
  • Fix type of GuildScheduledEvent* enum values #​1254
  • Fix form file field name format in MultipartBodyWithJSON #​1256
  • Add Files and Attachments to MessageEdit #​1253
  • Overwrite entire emoji list on GuildEmojiUpdate #​1261
  • Remove omitempty in MessageEmbedField #​1262
  • Continue to next packet if received broken packet in voice #​1260
  • Add support for emojis with longer ids in EmojiRegex #​1274
  • Fix the problem of reconnecting when moved to another VC #​1271
  • Add Resolved to MessageComponentInteractionData MessageComponentInteractionDataResolved struct #​1302
  • Add BeforeMember to GuildMemberUpdate event #​1304
  • Add ClientStatus to Presence #​1303
  • Add Forum settings to Channel struct #​1306
  • Add NSFW field to ApplicationCommand #​1310
  • Add size parameters for Guild.IconURL, GuildPreview.IconURL and Guild.BannerURL #​1301

Special thanks

Full Changelog: bwmarrin/discordgo@v0.26.1...v0.27.0

v0.26.2: DiscordGo v0.26.2

Compare Source

This is a backport of a voice UDP handshake change recently made by Discord.
You can read more about the change here. And you can find the list of versions with the fix here.

⚠️ If you have any voice related functionality on v0.26.x versions, please update to this patch. Some of the Voice API may stop working in previous patches on March 15th.

v0.26.1: DiscordGo v0.26.1

Compare Source

Hi all! This release only bumps semantic version of the library and does not contain any new fixes nor features.
This is due to our semantic version previously not matching the actual library version.

v0.26.0: DiscordGo v0.26.0

Compare Source

Get ready! This release is not so big, but is packed with refactoring changes and fixes.

What's Changed

Notices / Breaking changes
  • DefaultPermission has been deprecated in favor of DefaultMemberPermissions and DMPermission in ApplicationCommand #​1075
  • ApplicationCommandPermissionsBatchEdit has been deprecated #​1075
  • Content, Components and Embeds were made pointers in WebhookEdit #​1174
  • GuildTemplate.Description was made a pointer #​1191
  • Type of GuildTemplate.UsageCount was changed to int #​1191
  • GuildChannel and PrivateChannel were removed due to deprecation #​1203
  • InviteTargetEmbeddedAppliction was renamed to InviteTargetEmbeddedApplication #​1211
  • NSFW, Archived, Locked and Invitable were made pointers in ChannelEdit #​1199
  • Type of Features was changed to []GuildFeature in UserGuild #​1223
  • Remaining undocumented structs, events and fields were removed. #​1225
  • ChannelEdit now shares same functional and parameters as ChannelEditComplex #​1217
  • GuildMemberEdit now shares same functional and parameters as GuildMemberEditComplex #​1217
  • ChannelEditComplex was deprecated in favor of ChannelEdit #​1217
  • GuildMemberEditComplex was deprecated in favor of GuildMemberEdit #​1217
  • name and roles parameters of GuildEmojiEdit and GuildEmojiCreate were placed into a EmojiParams struct #​1217
  • accessToken, nick, roles, mute and deaf parameters of GuildMemberAdd were placed in a GuildMemberAddParams struct #​1217
  • name, color, hoist, perms and mention parameters of GuildRoleEdit were placed into a GuildRoleParams struct #​1217
  • name and description parameters of GuildTemplateCreate and GuildTemplateEdit were placed into a GuildTemplateParams struct #​1217
  • GuildEmbedEdit now accepts parameters through GuildEmbed struct #​1217
  • GuildEmbed.Enabled was made a pointer #​1217
  • GuildRoleCreate now accepts initial role parameters through GuildRoleParams struct #​1217
  • g parameter of GuildEdit was made a pointer, to match other REST methods #​1228
New features
  • Application commands: Permissions v2 #​1075
  • Auto moderation #​1201
  • Application command options: min and max length #​1208
Other changes
  • Use with_localizations flag in ApplicationCommands #​1196
  • Add Dialer property to Session #​1179 and #​1220
  • Add AppPermissions field to Interaction #​1206
  • Add ExpiresAt field to Invite #​1198
  • Add Features field to UserGuild #​1223
  • Name and Description are omitted when unset in GuildTemplate #​1191
  • Add replied_user to MessageAllowedMentions #​1175
  • fix: check if opus created #​1166
  • Add ability to reply with embeds #​1160
  • Add missing fields to VoiceState #​1190
  • Add GET prefix for ApplicationCommands bucketID #​1193
  • Add GuildID field to ApplicationCommand #​1207
  • Add omitempty to channel_id in MessageReference #​1002
  • Add UserGuildMember #​1210
  • Add missing fields to GuildMemberParams #​1226

Special thanks

Full Changelog: bwmarrin/discordgo@v0.25.0...v0.26.0

v0.25.1: DiscordGo v0.25.1

Compare Source

This is a backport of a voice UDP handshake change recently made by Discord.
You can read more about the change here. And you can find the list of versions with the fix here.

⚠️ If you have any voice related functionality on this version, please update to this patch. Some of Voice API may stop working in previous patches on March 15th.

v0.25.0: DiscordGo v0.25.0

Compare Source

Hi all! This one is not so feature-rich, but is filled with lots of fixes and missing features.

What's Changed

Breaking changes
New features
Other changes

Special thanks

Full Changelog: bwmarrin/discordgo@v0.24.0...v0.25.0

v0.24.1: DiscordGo v0.24.1

Compare Source

This is a backport of a voice UDP handshake change recently made by Discord.
You can read more about the change here. And you can find the list of versions with the fix here.

⚠️ If you have any voice related functionality on this version, please update to this patch. Some of Voice API may stop working in previous patches on March 15th.

v0.24.0: DiscordGo v0.24.0

Compare Source

Hang tight, this one is the biggest yet

Important notice

From this release forward, DiscordGo will require Go 1.13+ to run.

Breaking changes of master

Since v.0.23.0 we've been recommending everyone to use @master version for slash commands, context menus and other new stuff.

This led to a big problem with versioning and breaking changes, because some of the features weren't implemented fully, had some problems didn't properly function or didn't fully reflect the API, and so there was a number of breaking changes since the base feature PRs:

API version v9

Now DiscordGo uses API v9! Due to this fact this release includes a couple of breaking changes regarding the API:

Breaking changes
New features
Bug fixes
Other changes

Special thanks

Full Changelog: bwmarrin/discordgo@v0.23.2...v0.24.0

v0.23.2

Compare Source

v0.23.1: DiscordGo v0.23.1

Compare Source

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.

v0.23.0: DiscordGo v0.23.0

Compare Source

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

v0.22.1

Compare Source

v0.22.0: DiscordGo v0.22.0

Compare Source

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

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: DiscordGo v0.21.0

Compare Source

(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

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 other Session methods. Use Session.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 to discord.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

Compare Source

v0.20.3

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/github.com-bwmarrin-discordgo-0.x branch from 19d3eaa to 5feb52a Compare March 7, 2022 16:10
@renovate renovate bot changed the title fix(deps): update module github.com/bwmarrin/discordgo to v0.23.2 fix(deps): update module github.com/bwmarrin/discordgo to v0.24.0 Mar 7, 2022
@renovate renovate bot force-pushed the renovate/github.com-bwmarrin-discordgo-0.x branch from 5feb52a to 4fab6f0 Compare April 25, 2022 01:55
@renovate renovate bot changed the title fix(deps): update module github.com/bwmarrin/discordgo to v0.24.0 fix(deps): update module github.com/bwmarrin/discordgo to v0.25.0 Apr 25, 2022
@renovate renovate bot force-pushed the renovate/github.com-bwmarrin-discordgo-0.x branch from 4fab6f0 to 836cd7c Compare September 25, 2022 16:09
@renovate renovate bot changed the title fix(deps): update module github.com/bwmarrin/discordgo to v0.25.0 fix(deps): update module github.com/bwmarrin/discordgo to v0.26.1 Sep 25, 2022
@renovate renovate bot force-pushed the renovate/github.com-bwmarrin-discordgo-0.x branch from 836cd7c to 2974035 Compare March 16, 2023 06:51
@renovate renovate bot changed the title fix(deps): update module github.com/bwmarrin/discordgo to v0.26.1 fix(deps): update module github.com/bwmarrin/discordgo to v0.27.1 Mar 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants