Skip to content

Releases: kordlib/kord

0.8.2

01 Apr 08:08
7ddd491
Compare
Choose a tag to compare

0.8.2

Additions

House-keeping

  • Add inspection for missing Optional default values (by @lukellmann in #797)

0.8.1

25 Mar 18:29
3728d25
Compare
Choose a tag to compare

0.8.1

Fixes

  • Fix ClassCastException caused by TextChannelThread.getParent() (by @lukellmann in #796)

0.8.0

25 Mar 09:46
ce77aa9
Compare
Choose a tag to compare

0.8.0

Additions

Changes

Fixes

Dependencies

Updated in #732, #739, #755, #782 and #788

House-keeping

0.8.0-M17

09 Nov 11:43
3298e4b
Compare
Choose a tag to compare

0.8.0-M17

Additions

  • Add support for Auto Moderation (#647 #697 #713)
  • Add error 240000 (#676)
  • Add ApplicationFlag.ApplicationCommandBadge (#677)
  • Parameter for deleting old messages in GuildMessageChannelBehavior.bulkDelete (#692)
  • Add application_commands to audit log (#681)
  • Add UserPremium.NitroBasic (#704)
  • Make ephemeral messages deletable (#706)
  • Add Kord.getGuildOrNull (#714)

Changes

  • Change attachment InputStream to ChannelProvider (#682)
  • Deprecate GuildFeature.Commerce (#678)
  • Update create guild ban endpoint (#679)
  • Update voice state modification (#680)
  • Use structured concurrency for MessageChannelBehavior.withTyping (#687)
  • Generate kord enums with KSP (#686 #698)
  • Use gateway url provided in Ready event for resuming (#666)
  • Bump DeprecationLevels (#688)
  • Properly implement Identify rate limiting (#693)

Fixes

  • Fix gateway events created with buildJsonObject failing to be deserialized (#683)
  • Fix with_count parameter typo (#690)
  • Fix default avatar URL not working (#691)
  • Make LinearRetry behave linearly for all inputs (#702)

Dependencies

0.8.0-M16

21 Aug 15:16
94de408
Compare
Choose a tag to compare

0.8.0-M16

Breaking / Performance

  • Events no longer implement CoroutineScope which caused a memory leak (#665 for migration steps)
  • Bump deprecations (#653)

Additions

  • New error codes (#656 #655 #654)
  • Add audit log reason to Modify Guild MFA Level endpoint (#668)
  • Add events custom context (#667)
  • Voice: Add helper to move/update voice connections (#657)

Fixes

  • Fix MessageStickerType constructor initialization deadlock (#670)

Improvements / Updates

  • Use suppressed exceptions for stack trace recovery (#658)
  • Upgrade to Gradle 7.5.1 (#662)
  • Changes to Kord's annotations (#659)

0.8.0-M15

10 Jul 17:52
d3c1083
Compare
Choose a tag to compare

0.8.0-M15

Additions

  • Add various error codes (#644 #639 #637 #649)
  • Add Kord Proxy Builder (#618)
  • Add Guild#cachedThreads to fetch cachedThreads (#634)
  • Add Missing string option length fields (#650)
  • Add nsfw to voice channels create and modify requests (#642)
  • Add app_permissions field (#646)
  • Add Modify Guild MFA Level endpoint (#640)
  • Add API version configuration (#601)
  • Add Voice text (#614)
  • Snowflake destructuring (#609)

Changes

  • Update Message Type names (#645)
  • Thread archive durations are no longer boost locked (#636)
  • Improve RestClient's stacktrace recovery (#648)
  • Update application command fields (#638)
  • Remove audit log reason from Modify Guild Channel Positions endpoint (#641)
  • Update Identify Connection Properties field names (#643)

Fixes

  • Fix nonce deserialization (#632)
  • Voice: heartbeat nonce is zero (#619)
  • Voice: voice connection dropping unexpectedly (#621)
  • Voice: Fix typo in DefaultAudioPacketProvider declaration (#610)
  • Use core event for MessageDelete in enableEvent (3dbb29f)

Documentation

  • Update docs for Message.Interaction.name (71b185e)

Dependencies

  • Binary compatibility validator 0.9.0 -> 0.10.1
  • Kotlin 1.6.21 -> 1.7.10
  • Dokka 1.6.20 -> 1.7.0
  • AtomicFU 0.17.2 -> 0.18.2
  • gradle-buildconfig-plugin 3.0.3 -> 3.1.0
  • kotlinx-datetime 0.3.2 -> 0.4.0
  • kotlinx.coroutines 1.6.1 -> 1.6.3
  • kotlinx.serialization 1.3.2 -> 1.3.3
  • kotlin-logging 2.1.21 -> 2.1.23
  • Mockk 1.12.3 -> 1.12.4
  • Ktor 2.0.0 -> 2.0.3

0.8.0-M14

17 May 06:47
Compare
Choose a tag to compare

Changes

  • Slash commands permissions v2 (#604)
  • Add feature variant for voice (#608)
  • Deserialize timestamps as Instant (#605)
  • Update Channel Builders (#606)
  • Use ktor Base64 functions (#600)
  • Refactor Choice serializer (#598)
  • Stricter Locale parsing (#597)

Additions

  • Add error 50080 (#607)

Dependencies

  • Kotlin 1.6.20 -> 1.6.21
  • BinaryValidator 0.8.0 -> 0.9.0

0.8.0-M13

16 Apr 22:37
Compare
Choose a tag to compare

Changes

  • Paginate getting bans (#585)
  • Order locales like discord/discord-api-docs#4680 (#573)
  • Update stage instance requests (#581)
  • image_hash audit log change key (#578)
  • Nullable channel name (#579)
  • Make Optional a sealed class again (#588)
  • Deprecate IntegrationApplication.summary (#580)
  • Channel type GUILD_DIRECTORY (#583)
  • Refactor common RateLimiter (#577)
  • Deprecate nickname mentions (#590)
  • Deserialize time as Duration (#586)

Additions

  • Add ANIMATED_BANNER feature (#584)
  • Add strategy to mitigate loss of stacktrace through Ktors SuspendFunctionGun (#563)
  • Add Application default authorization links and tags (#582)
  • Add minValue and maxValue to ApplicationCommandOption (#572)
  • Add Version constant injection (#576)
  • Add support for slash command localizations (#570)
  • Add guild_id to Interaction Data (#591)

Fixes

  • Fix conflict between property name and class discriminator (#595)
  • voice: fix encryption buffer size (#568)
  • Fix Guild Scheduled Event Gateway Events (#569)

Dependencies

  • binaryValidator: 0.6.0 -> 0.8.0
  • Kotlin: 1.6.10 -> 1.6.20
  • Gradle 7.4 -> 7.4.2
  • AtomicFu 0.17.0 -> 0.17.2
  • dateTime 0.3.1 -> 0.3.2
  • coroutines 1.6.0 -> 1.6.1
  • mockk 1.7.30 -> 1.7.36
  • Ktor 1.6.7 -> 2.0.0

0.8.0-M12

12 Mar 15:49
Compare
Choose a tag to compare

Changes

  • As of 0.8.0-M12 Message Content Intent is required message content.
  • Deprecate store channels (#564).
  • nullable requestToSpeakTimestamp (#566).
  • Discord docs updates (#565 #540 #561 #567).
  • Use gateway v10 (#554).

Additions

  • User Agent header (#558 #562).
  • Unsafe deferred responding (#557).
  • Audit Log Change Key "type" to string values (#559).

0.8.0-M11

08 Mar 07:53
Compare
Choose a tag to compare

Changes

  • Switch to v10 for rest (#550)
  • Invite and Application revamp (#530)
  • Update enableEvent() (#553)
  • Invite and Application revamp (#530)
  • Revamp interaction implementations (#543 #533 #546)
  • Documentation: clarify the usage of Kord.restOnly (#552)
  • Update Permissions (#544)

Additions

  • Add selfVideo property (#545)

Fixes

  • Fix GuildScheduledEvents json representation and modify function (#549)