Skip to content

Releases: kordlib/kord

0.8.0-M10

21 Feb 10:29
Compare
Choose a tag to compare

0.8.0-M10

Additions

  • Forms support (#531)
  • Add support for attachment options in chat input interactions (#524)
  • add error 40060 40004(#532 #523)

Fixes

  • fix locale typos (#541)
  • Add missing default value for strategy for getWebhookWithTokenOrNull (#539)

Changes

  • Change members resolved objects to DiscordInteractionGuildMember (#502)

Dependencies

  • Upgrade gradle to 7.4 and its wrapper

0.8.0-M9

06 Feb 06:53
b0e5dcb
Compare
Choose a tag to compare

0.8.0-M9

Fixes

  • Fix .jpg not being detected (#458)
  • Fix gateway not using provided threshold (#465)
  • Fix bug causing role PermissionOverwrites being added for members (#479)
  • Fix Team.ownerUserId returning the wrong id (#509)
  • Fix exception when choices are never set (#505 #512)
  • Voice: fix race condition where heartbeat is sent before authentication (#511)

Changes

  • Allow providing limit in AuditLogGetRequestBuilder (#477)
  • Optional timestamp style (#516)
  • No longer send Authorization header on endpoints without authorization (#450 #486)
  • Suppliers and pagination logic refactor (#484)
  • ComponentBuilders refactor (#494)
  • Enable explicit API (#474)

Additions

  • Add mutes support (#448 #508)
  • Add channel types in slash commands (#464)
  • Add ActionInteractionCreateEvent (#456)
  • Add autocomplete support (#456)
  • Add disabled property to SelectMenuComponent(#492)
  • Add limit to AuditLogGetRequestBuilder (#477)
  • Add missing Webhook and Interaction functionality (#507)
  • Add new JsonErrorCodes and fix existing ones (#482 #504 #501)
  • Add new fields and parameters for scheduled events and invites (#518)
  • Add new fields for attachments. (#506)
  • Add interaction localization support

Dependencies

  • Kotlin: 1.5.10 -> 1.6.10
  • KotlinxSerialization: 1.2.1 -> 1.3.2
  • Coroutines: 1.5.0 -> 1.6.0
  • Ktor: 1.6.0 -> 1.6.7
  • AtomicFu: 0.16.1 -> 0.17.0
  • Datetime: 0.2.1 -> 0.3.1
  • KotlinLogging: 2.0.6 -> 2.1.21
  • binaryValidator: 0.5.0 -> 0.6.0

0.8.0-M8

29 Nov 18:50
Compare
Choose a tag to compare

0.8.0-M8

Changes

  • Embed description limit should be 4096 (#419)
  • use behavior over entity in voice connect method (#428)
  • rewrite frame interceptor (#427)
  • Unify permission overwrite API (Fix #302) (#420)
  • Make Snowflake.toString() more idiomatic, and deprecate .asString (#441)

Fixes

  • fix ButtonBuilder#emoji function (#431)
  • Fix bom dependencies (#440)
  • fix regression in the default frame interceptor (#443)
  • Fix missing '=' in GuildBehavior.toString() (#442)

Additions

  • UserFlag and GuildFeature add-on (#422)
  • Add support for receiving voice and opening up the voice api (#386)
  • implement all encryption modes documented by discord (#424)
  • explicit api for voice (#425)
  • Old properties for Update events (#438)
  • Add AutoComplete (#435)
  • Implement Stage events (#421)

0.8.0-M7

12 Oct 05:23
Compare
Choose a tag to compare

0.8.0-M7

Additions

  • Add rtcRegion to builders. (#413)
  • Reintroduce InteractionResponseBehavior#followUpEphemeral

Fixes

  • Fix IntChoice not taking a Long. (#414)
  • Fix InteractionBehavior#respondEphemeral missing ephemeral flags. (#414)
  • Fix target type of message command to Message(Behavior) instead of UserBehavior (#414)

0.8.0-M6

07 Oct 14:07
Compare
Choose a tag to compare

0.8.0-M6

Breaking

  • XBehavior#asX now returns itself if the concrete type is already a complete entity. Use XBehavior#fetchX to always retrieve the most up-to-date version of an entity (#396)
  • EphemeralBuilder builders have been unified with the persistent messages. (#397)
  • Core events now accept a coroutineScope in the constructor (#391)
  • Start thread methods have introduced a builder (#398)
  • Shards have been moved to the gateway builder packages (#409)

Changes

  • Intents are evaluated at login phase (#409)
  • Enable explicit api mode for core module (#406)
  • Fixes and improvements for Snowflake (#370)
  • Application commands improvements (#374 #384 #387)
  • MasterGateway and Interceptors are switched into interfaces (#391)

Additions

  • Ephemeral files support (#397)
  • Add missing invitable field (#398)
  • Role icons support (#402)
  • Per-Guild avatar support (#401)
  • Add discord messaging timestamps (#385)
  • Add named files and attachments (#379)
  • Add missing avatar and username properties to WebhookMessageCreateBuilder (#376)

Fixes

  • Serialize NumberChoice as a Double, not as a String (#405)
  • Sort threads as documented by discord (#411)
  • Fix NPE on ThreadChannelDelete (#373)

0.8.0-M5

23 Aug 16:55
Compare
Choose a tag to compare

0.8.0-M5

Breaking

  • slash commands and interactions have been redesigned to support the new command and interaction types.

Changes

  • Move SlashCommands functions to Kord. (#366)
  • ApplicationCommands are now cached. (#366)
  • Interaction events are split up into distinct events. (#366)
  • Proper hierarchy for applications commands, interactions and their events. (#366)
  • Rename UsePrivate/PublicThreads to CreatePrivate/PublicThreads. (#366)
  • Include json error in exception message. (#369)

Additions

  • Experimental Voice support. (#363)
  • Context support. (#366)
  • Add ResolvedObjects#messages to resolve messages. (#366)
  • Add ChannelBehavior#of/OrNull to safely get a typed channel. (#366)
  • Add type safe arguments for chat input commands. (#366)
  • Add SendMessagesInThread Permission. (#366)

Fixes

  • Ephemeral followups not being passed the ephemeral flags. (#368)
  • Missing optional default values in some data types. (#362)
  • incorrect serialization of CommandArguement. (#362)

0.8.0-M4

09 Aug 09:14
Compare
Choose a tag to compare

0.8.0-M4

Fixes

  • Fixed the space in active threads get endpoint causing it to fail. (fca433d)
  • Fixed incorrect serialization of NUMBER option. (#360)
  • Fixed Missing properties in MemberData, InteractionData and others. (#361)

Changes

  • Region no longer has a vip property (5dd3f38)

0.8.0-M3

05 Aug 07:21
Compare
Choose a tag to compare

0.8.0-M3

Fixes

  • Fixed Typo in ephemeral acks body causing acking to fail.

0.8.0-M2

05 Aug 07:15
Compare
Choose a tag to compare

0.8.0-M2

Fixes

  • interaction acknowledgements no longer require data
  • Add SerialName for InteractionApplicationCommandCallbackData#allowedMentions

0.8.0-M1

04 Aug 07:40
Compare
Choose a tag to compare

0.8.0-M1

Additions

  • Added support for threads. (#349 #358 #353 d1bf947)
  • Added missing JSON error codes. (#347)
  • Added support for slash command number type arguments. (#351)
  • Added support for user banners. (#352)
  • Added missing guild features. (d1bf947)

Changes

  • The Channel hierarchy has been changed to support threads.
    Some behavior in GuildChannel(Behavior) and GuildMessageChannel(Behavior) has been removed to accommodate ThreadChannels and
    moved to TopGuildChannel(Behavior) and TopGuildMessageChannel(Behavior) respectively. (#353)

Fixes

  • Fixed missing audit log reasons on certain endpoints. (#346)