Releases: Katrix/AckCord
Releases · Katrix/AckCord
0.10
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 aRequestHelper
- 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 isId
. CacheSnapshotLike
is now calledCacheSnapshot
. What used to beCacheSnapshot
is now.MemoryCacheSnapshot
. It's now very rarely used.- Added a
Streamable
typeclass to convert some typeF[A]
to aSource[A, NotUsed]
RequestDSL
can now lift any typeF[_]
into the DSL as long as aStreamable
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
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
inDiscordProtocol
to prevent clashes with other classes - Added
isAllowed
forCmdFilter
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
0.8
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
- 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
- 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 ofRawChannel
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
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
forGuildRouter
- 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
- 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