NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules
Go modules, #2928 by repository stars
Latest stable
v0.36.2
Last release 3 years ago
no release in 18 months
Ships unpredictably
gaps range from 8 days to 12 months
Most releases are documented
notes for 53 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
300 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
fix: use 74-byte packets for IP Discovery by @CamiKaseM7 in https://github.com/andersfylling/disgord/pull/525
Full Changelog: https://github.com/andersfylling/disgord/compare/v0.36.1...v0.36.2
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
fix: API does not accept empty string as null after update by @Acnologla in https://github.com/andersfylling/disgord/pull/519
Full Changelog: https://github.com/andersfylling/disgord/compare/v0.36.0...v0.36.1
feat!: remove deprecated features (old builders, incorrect naming conventions, deprecated methods, ...) by @andersfylling in https://github.com/anders…
session.EditInteractionResponse by @Cufee in https://github.com/andersfylling/disgord/pull/497Full Changelog: https://github.com/andersfylling/disgord/compare/v0.35.1...v0.36.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
chore: Update dependency golang to v1.18 by @renovate in https://github.com/andersfylling/disgord/pull/495
Full Changelog: https://github.com/andersfylling/disgord/compare/v0.35.0...v0.35.1
chore: Configure Renovate by @renovate in https://github.com/andersfylling/disgord/pull/481
Full Changelog: https://github.com/andersfylling/disgord/compare/v0.34.1...v0.35.0
Nothing published for this version
Nothing published for this version
chore: allow CreateInteractionResponse.Data to continue being nil by @jollyroger-jelly in https://github.com/andersfylling/disgord/pull/479
Full Changelog: https://github.com/andersfylling/disgord/compare/v0.34.0...v0.34.1
feat!: add CreateInteractionResponse struct by @Acnologla in https://github.com/andersfylling/disgord/pull/472
Full Changelog: https://github.com/andersfylling/disgord/compare/v0.33.0...v0.33.1
Nothing published for this version
feat: Adds communication_disabled_until to support user timeouts by @aidenwallis in https://github.com/andersfylling/disgord/pull/474
Full Changelog: https://github.com/andersfylling/disgord/compare/v0.32.3...v0.33.0
feat: add missing fields by @Acnologla in https://github.com/andersfylling/disgord/pull/471
Full Changelog: https://github.com/andersfylling/disgord/compare/v0.32.2...v0.32.3
fix: add missing Attachments field to application command callback by @Acnologla in https://github.com/andersfylling/disgord/pull/468
Full Changelog: https://github.com/andersfylling/disgord/compare/v0.32.1...v0.32.2
The values field in interaction data was corrected to string. Should fix potential unmarshal errors sent out by the demultiplexer.
The values field in interaction data was corrected to string. Should fix potential unmarshal errors sent out by the demultiplexer.
Had to introduce a breaking change while fixing up ApplicationCommandInteractionData; the type referred to component_type and not the actual type, whi…
Had to introduce a breaking change while fixing up ApplicationCommandInteractionData; the type referred to component_type and not the actual type, which is misleading.
Added:
deprecated error vars with atypical naming scheme in favor of what is seen in the std packages
Fixes:
This includes breaking changes to application commands interface.
Some minor changes to make it a bit simpler to work with slash/application commands. See examples/application-commands for more.
This includes breaking changes to application commands interface.
Full Changelog: https://github.com/andersfylling/disgord/compare/v0.30.2...v0.31.0
When no config.Intents, Config.RejectEvents, Config.DMIntents was specified the gateway would try to connect/identify without a intents value causing
When no config.Intents, Config.RejectEvents, Config.DMIntents was specified the gateway would try to connect/identify without a intents value causing the connection to fail.
Nothing published for this version
Nothing published for this version
shorter REST arguments (deprecated the Params suffix)
Big release
Features:
Channel(id).UpdateBulder(..) => Channel(id).Update(*UpdateChannel)Params suffix)Config.RejectEvents and Config.DMIntents are deprecated in favor of Config.IntentsKickVoiceParticipant => DisconnectVoiceParticipant to clarify intentThere has been some confusion around RejectEvents and DMIntents. They aren't mutually exclusive, and with privileged events/intents, it makes more sense to explicitly specify which events/intents the bot requires instead.
Currently I will only support setting intents, for simplicity sake. Later I might add an alternative, but the Config.Intents field is there to stay, unless Discord deprecated the feature.
Until now, Disgord has been using the builder pattern to allow sending default values. See more here: https://github.com/andersfylling/disgord/pull/420
This has been replaced in favor of the typical struct argument, to make methods more consistent and ease maintenance (the code generation was a bit too magical).
newChannelName := "new channel name"
// before
channel, err := client.Channel(23).UpdateBuilder().
SetTitle(newChannelName).
Execute()
// after
channel, err := client.Channel(23).Update(&UpdateChannel{
Title: &newChannelName, // note the pointer value
})
I strongly encourage everyone to explicitly set intents in the config. Upgrading to a later release might cause your bot to not work as all intents are enabled by default in earlier Disgord versions.
Breaking:
Client.Channel(..).CreateInvite(..) is no longer a builder and takes a CreateInvite struct.Client.Channel(..).Update(..) no longer has a reason parameterClient.Guild(..).Role(..).Update(..) no longer has a reason parameterClient.Guild(..).PruneMembers(..)
InteractionCallback prefix (disgord.Pong => disgord.InteractionCallbackPong)disgordperfI hope I have covered everything! See https://github.com/andersfylling/disgord/compare/v0.29.0...v0.30.0 for more information
Thanks to the contributors:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
disgordtest package to help you writing tests
features:
Fixes:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Marked sticker deprecated fixed generated code
Marked sticker deprecated fixed generated code
Added StickerItems to Message object
Added StickerItems to Message object
Nothing published for this version
https://github.com/andersfylling/disgord/issues/412
Patches:
Quick adjustment to v0.27.1, as the code assumed the guild container always exists.
Quick adjustment to v0.27.1, as the code assumed the guild container always exists.
Patched: https://github.com/andersfylling/disgord/issues/411
Patched: https://github.com/andersfylling/disgord/issues/411
New cache with +70% test coverage (way simpler and faster to update for members, channels, etc.)
changes can be seen here: https://github.com/andersfylling/disgord/compare/v0.26.10...develop
There are issues and a new standalone system has been written. It is currently stable and simply missing a quick cleanup and a little shard manager to get it working for disgord. Don't worry, it will have a higher test coverage than the current system before it's added into disgord. The idea is to make error handling easy and be able to switch out the websocket library if ever required. It's also re-usable by others and I hope I can get it to a standard where others will utilize it as well. This will also have ETF support in the future, but I'm uncertain when I might add ETF to disgord.
New gateway system can be found here: https://github.com/andersfylling/discordgateway
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.