Releases: disgoorg/disgo
Releases · disgoorg/disgo
v0.13.0
What's Changed
- gateway structs & const cleanup by @TopiSenpai in #173
Breaking Changes
- unify
ApplicationCommandOption
,SlashCommandOption
&AutocompleteOption
naming & added Name method onApplicationCommandOption
in b68c4aa discord.GatewayIntent
moved togateway.Intent
gateway.WithGatewayIntents
renamed togateway.WithIntents
discord.GatewayMessage
moved togateway.Message
discord.GatewayMessageData
moved togateway.MessageData
and all it's implementationsgateway.EventHandlerFunc
now gets the json decoded event data directlyhttpserver.EventHandlerFunc
now gets the json decoded event data directly
Full Changelog: v0.12.7...v0.13.0
v0.12.7
What's Changed
-
fix shardmanager starting up with one shard too few by @TopiSenpai in 730bac6
-
make "failed to reopen gateway" error friendlier by @caneleex in 50dcc07
-
add AppPermissions field to interactions by @caneleex in 192115b and 425d048
-
add MinLength and MaxLength to ApplicationCommandOptionString by @caneleex in #171
-
fix ratelimit retrying on 429 hit by @TopiSenpai in #169
-
auto moderation by @TopiSenpai in #167
-
update identify connection property field names by @TopiSenpai in #172
Breaking Changes
- update message types, added
MessageType.System()
andMessageType.Deleteable()
by @TopiSenpai in 19534e8
Full Changelog: v0.12.6...v0.12.7
v0.12.6
What's Changed
- rename InteractionCallback to InteractionResponse in e36b668
- fix locked mutext when using ShardByGuildID in 172dfb2
- fix delete application command API route by @Arden144 in #166
Breaking Changes
- rename
discord.InteractionCallbackType
todiscord.InteractionResponseType
- rename
discord.InteractionCallbackData
todiscord.InteractionResponseData
New Contributors
Full Changelog: v0.12.5...v0.12.6
v0.12.5
v0.12.4
Whats Changed
- fixed route mutex not being unlocked in cleanup task
- removed useless logger in
httpserver.VerifyRequest
Full Changelog: v0.12.3...v0.12.4
v0.12.3
v0.12.2
v0.12.1
What's Changed
- support text in voice channels in #134
- fix
LastMessageID
not getting updated inMessageChannel
in 33d0ea6 - add missing WebhookMessageCreate Flags and ThreadName fields in 5019b64
- added missing
TextInputs
getter in ActionRowComponent 44e9223 - move
Guild.Roles/Emojis/Stickers
fields intoRestGuild
in 2351211
Breaking Changes
- removed
InputComponent
interface &InteractiveComponent.SetID
setter in 44e9223
Full Changelog: v0.12.0...v0.12.1
v0.12.0
What's Changed
- Fixed link by @BrandonDoesDev in #156
- some more cache policies in d76a8f1
- add missing attachment getters and SlashCommandResolved.Attachments field in f6505ce
- periodically clear expired ratelimit buckets to avoid memory leak by @TopiSenpai in #157
- lots of docs in other commits
Breaking Changes
- rename
ForEachGroup
>GroupForEach
- change
Caches.GetMemberPermissions(guildID, member) discord.Permissions
>Caches.GetMemberPermissions(member) discord.Permissions
- rename
cache.GroupedCacheFilterFunc
>cache.GroupedFilterFunc
- remove
httpserver.WithPublicKey
and require public key inbot.WithHTTPServerConfigOpts
- change
bot.WithHTTPServerConfigOpts(opts) ConfigOpt
>bot.WithHTTPServerConfigOpts(publicKey, opts) ConfigOpt
- change
httpserver.New(eventHandlerFunc, opts) Server
>httpserver.New(publicKey, eventHandlerFunc, opts) Server
- rename
events.XEvent
toevents.X
- move ratelimiters into their parent packages
- rename
discord.ApplicationScopeX
todiscord.OAuth2ScopeX
- rename
discord.AccessTokenExchange
todiscord.AccessTokenResponse
New Contributors
- @BrandonDoesDev made their first contribution in #156
Full Changelog: v0.11.5...v0.12.0
v0.11.5
What Changed
- adjust latency calculation before first heartbeat has been sent & schedule heartbeat sending directly in hello in
a6e8703
- make ListenerFunc[E Event] a struct so it's comparable, cleanup event collector & make ListenerAdapter.OnEvent a pointer receiver in
bf955b2
Full Changelog: v0.11.4...v0.11.5