This repository has been archived by the owner on Jul 11, 2024. It is now read-only.
Releases: andersfylling/disgord
Releases · andersfylling/disgord
v0.20.6
Patches nil error for context.Context, UpdateChannelPermissionsParams.Type was incorrect type
v0.20.5
Removes obligatory context in the message query builder
v0.20.4
Patches another deadlock + another potential deadlock in the cache
v0.20.3
Patched the cache! Somehow there was a double lock instead of a lock and release after resource access.
Thanks to
v0.20.2
Cleanup
- reduced the number of exported types and functions
Patch
- disgord.IgnoreCache flag, was not respected in REST Get methods
v0.20.1
Patches
- The helper methods for Message (reply, etc.) required encapsulation of the session interface. This has now been patched. Session can be directly injected.
v0.20.0
- Intent support now actually works
- intents are derived from events (by the symmetric difference of all events and ignore events in the config)
- DM events are disabled by default unless explicitly specified
- New event "Message Reaction Remove Emoji": https://discord.com/developers/docs/topics/gateway#message-reaction-remove-emoji
- moved to discord api v8!
v0.19.1
Patches panic on unknown events
A simpler interface, modular caching, optional contexts
- client.Event() gives you compile time correctness, compared to the client.On(...) which is checked at runtime.
- Allow mentions
- resource based REST methods
- cancellation for REST methods is no longer part of the main signature. WithContext has been introduced instead
- new cache interface (mix of cache and creation layer for flexibility)
- removed json dependencies. json logic can now be overwritten using the disgord/json pkg
- reduce helper methods (such as disgord.Sort)
- better support for unicode emojis
- replaced install script with a template repo
- permission for guild insight and stream
Patches
- Member sometimes contained a empty guild id
- presence missing activities
- unnecessary allocations in func (m *Member) GetPermissions
- missing audit log events
Thanks to
v0.18.0
- mutexes removed from the discord structs
- intents support
- helper methods for channel and member to quickly get permissions
- patch cache panic when using the guild object methods MattIPv4/DNS-over-Discord#9