Skip to content

0.10

Compare
Choose a tag to compare
@Katrix Katrix released this 10 Apr 19:15
· 41 commits to main since this release

Alright, lot's of changes and improvements here, many to provide more flexibility and rely less on Core. The whole project has also been modularized.

First the small stuff

  • Allow outgoing video (@llamositopia)
  • If both a null and a missing field are valid for Rest request, a data type called RestOption is used instead.
  • HttpException now contains some extra data
  • Fixed GetChannelMessages
  • ShardActor no longer exists
  • Use RequestHelper.create to create a RequestHelper
  • Add support for getting guild vanity URL
  • Add Rich presence activity objects
  • Add message activity and application
  • Allow returning materialized values in commands
  • Allow HelpCmd to be used with acks
  • Improved the high-level API

Now for the more breaking changes

  • Raw data is now in the raw.data package
  • Some other stuff has also been moved around
  • All cache access is now done through some type F[_]. For cache access for more, this type is Id.
  • CacheSnapshotLike is now called CacheSnapshot. What used to be CacheSnapshot is now. MemoryCacheSnapshot. It's now very rarely used.
  • Added a Streamable typeclass to convert some type F[A] to a Source[A, NotUsed]
  • RequestDSL can now lift any type F[_] into the DSL as long as a Streamable exists for that type.
  • Some methods in RequestDSL were renamed. Aliases were removed.
  • MemoryCacheSnapshot has been moved to Core.
  • Gateway Dispatch is now lazy
  • Remove requirePerms from rest requests
  • Commands can now be used without core as long as a Commands object is provided from some other place.