Skip to content

v0.8.0

Compare
Choose a tag to compare
@Skye-31 Skye-31 released this 26 Mar 18:51
59f8a24

THIS RELEASE IS 100% BREAKING AND REQUIRES GO 1.18

What's Changed

  • the core package was full removed. all entities live in the discord package now and do not offer high level methods anymore
  • the bot package partially replace the core package now. It offers the Client interface(replacement for core.Bot)
  • the rest package is now the standard to make requests to discord
  • caches are now implemented with generics(go 1.18 feature) and and live in the cache package
  • bot.New is now replaced with disgo.New
  • info package contests are moved to disgo package
  • json package now has a generic NewPtr(t T) *T function and Optional[T] type to help with optional & nullable json fields

PRs

  • implement application command localization by @TopiSenpai in #130
  • unify gateway commands and messages, rename events for consistency by @TopiSenpai in #131
  • remove core package and refactor by @TopiSenpai in #129

Full Changelog: v0.7.4...v0.8.0