Skip to content

Releases: Katrix/AckCord

0.10

10 Apr 19:15
Compare
Choose a tag to compare

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.

0.9

24 Jan 18:55
Compare
Choose a tag to compare
0.9

Mostly a cleanup release

Discord API Changes

  • Emoji role whitelist can now be used by everyone
  • Can now change the filter level for a guild
  • Can now specify reason for a ban
  • Values in audit log changes should be Option

AckCord changes

  • Factor in major parameters in ratelimits
  • Implemented Audit log reason for requests
  • Exposed identifier in NoMatchException
  • Expose the total amount of characters in an embed
  • Added more defaults to methods in syntax
  • Renamed config in DiscordProtocol to prevent clashes with other classes
  • Added isAllowed for CmdFilter for users with a guild id. For use in stuff like help commands.
  • Added extra field in CmdDescription to store extra info
  • Use ImageFormat in ImageData creator
  • Update akka version
  • Fix permission checks
  • Fixed not attaching context when editing a message in syntax

0.8.1

11 Jan 19:01
Compare
Choose a tag to compare
  • All data classes in core (+ some minor other ones) have been moved to ackcord-data which has also been released for ScalaJS.
  • Expose the fileds in RequestHelper

0.8

09 Jan 22:22
Compare
Choose a tag to compare
0.8
  • ackcord is now ackcord-core
  • High level API found as ackcord
  • New lavaplayer module
  • Added RequestHelper to make request flows easier
  • Official support for shards
  • Added new presence types
  • Animated emojis
  • More docs
  • Misc fixes

0.7

09 Jan 22:18
Compare
Choose a tag to compare
0.7
  • Yet another redo of the command system
  • Reworked requests. RequestWrapper is gone and no longer needed. If it had functionality not ported to the new system, then that is also gone and was probably not used
  • Added support for X-Ratelimit-Limit
  • More things are now streams and should work better with back pressure
  • Added non-bot command filter
  • Misc fixes (there's a lot of them)

0.6

21 Nov 05:41
Compare
Choose a tag to compare
0.6
  • Added converters from raw types to normal ones
  • Commands redone
  • Added method to get connected members to a VGuildChannel
  • Added more utility streams. Some of these replace GuildFilter
  • Remaining string for MessageParser is now a concrete type
  • Allow registering messages to be sent on creation of actors for GuildRouter
  • Added a default no sender to requests in syntax
  • Added basic OAuth2 request helpers
  • Misc cleanup and bugfixes

0.5

11 Nov 04:20
Compare
Choose a tag to compare
0.5
  • RequestsHandler is now a flow
  • SnowflakeCache is now a sink and source pair representing subscription and publishing
  • Requests can now have "nice" data types by doing a trip to the cache. DMChannel instead of RawChannel for example.
  • Added requests to get images
  • Added more messages to interact with routers and filters
  • Misc cleanup
  • Let actors stay stopped when they stop
  • No longer checks the concrete status code from a request response

0.4

06 Nov 20:05
Compare
Choose a tag to compare
0.4
  • All long-lived value classes have been changed to tagged types
  • Some method name changes on Permission to fix method overloading
  • Snowflakes are now represented with SnowflakeType[A] where A is some arbitrary type.

0.3

06 Nov 01:20
Compare
Choose a tag to compare
0.3
  • Added method to get the channel mentions of a message
  • Added method to get the formatted content of a message
  • Added methods to easily compare roles according to their position
  • Add special handling for APIMessage.Ready for GuildRouter
  • Moved mention methods out of syntax. It's a bit too important to sit there.
  • Add Boolean MessageParser
  • Changed Permission to use a Long, as it's supposed to
  • Fix using the wrong regex in the snowflake MessageParsers

0.2

05 Nov 02:08
Compare
Choose a tag to compare
0.2
  • Switched to representing Snowflakes as longs. Introduced SnowflakeMap as the map to use for Snowflakes.
  • Added route and method to get WS gateway with recommended shard count
  • A few utility actors, GuildFilter, PromiseResponder and PromiseSuccessResponder
  • Added a few missing syntax methods
  • Bugfixes