Skip to content

Releases: kordlib/kord

0.17.0 | Dependency Updates and kotlinx.datetime Migration

23 Sep 19:30
0.17.0
5809c91

Choose a tag to compare

0.17.0

Breaking Changes!!

This release migrates from the kotlinx.datetime classes Clock and Instant to their equivalents of kotlin.time whilst their APIs are unchanged, imports have to be updated respectivly. Unfortunately JetBrains deprecated the old kotlinx.time classes before the new types were marked stable, therefore it is requierd to opt-in to kotlin.time.ExperimentalTime

Import changes

kotlinx.datetime.Instant -> kotlin.time.Instant
kotlinx.datetime.Clock -> kotlin.time.Clock

Gradle Changes

kotlin {
  compilerOptions {
    optIn.add("kotlin.time.ExperimentalTime")
  }
}

What's Changed

New Contributors

Full Changelog: 0.15.0...0.17.0

0.15.0

16 Oct 20:31
ae8ad6e

Choose a tag to compare

0.15.0

Additions

Changes

  • Bump DeprecationLevels after 0.14.0 (#944)
  • Update Auto Moderation builders (#979)
  • Link to JDK 23 in Dokka output (#980)

Fixes

  • Fix deserialization of members (by @NoComment1105 in #955)
  • Fix deserialization of Heartbeat events (#957)
  • Fix getMemberOrNull and getGuildMembers caching only user data (by @Galarzaa90 in #964)
  • Fix misuse of reified type parameters (#981)

Dependencies

Updated in #942, #954, #958, #975, #976, and #986 (not including dependencies only needed for developing Kord)

0.14.0

22 May 21:28
fd07b92

Choose a tag to compare

0.14.0

Additions

  • Support other SerialFormats in LongOrStringSerializer (#937)

Changes

  • Bump DeprecationLevels after 0.13.0 (#908)
  • Rewrite Event.DeserializationStrategy (#923)
  • Deprecate application command events (#927)
  • Rewrite VoiceEvent.DeserializationStrategy (#925)
  • Switch to OkHttp as http client on jvm (by @DRSchlaubi in #928)

Fixes

  • DiscordVoiceState.member uses incorrect serial name (by @viztea in #914)
  • Use actual zero width space in EmbedBuilder (by @matytyma in #917)
  • Fix some cache links (#934)

Dependencies

Updated in #920, #929 and #943

House-keeping

  • Update README (#915)
  • Disable timeouts for Kotlin/JS tests (#926)
  • Remove unused resource files (#935)
  • Enable binary compatibility validation for KLibs (#929)
  • Fix test related Gradle deprecation warnings (#936)
  • Create sourceLink URL with non-deprecated URI constructor (by @SebastianAigner in #938)

0.13.1

19 Jan 15:43
5f4938e

Choose a tag to compare

0.13.1

This release fixes an exception when trying to deserialize Permissions contained in GuildAuditLogEntryCreateEvents. Kord expected to receive JSON strings while Discord is sending JSON numbers.

See #911 and #912.

0.13.0

11 Jan 01:41
fa13fb4

Choose a tag to compare

0.13.0

This release fixes a bug where the Spanish Latin America Locale (es-419) couldn't be deserialized correctly, so users
with that Locale couldn't interact with Kord bots via interactions.

Additions

Changes

Fixes

Dependencies

Updated in #900

0.12.0

23 Nov 15:46
a0fcbd1

Choose a tag to compare

0.12.0

Additions

  • Add interaction permissions to MemberData and Member (by @Tmpod in #884)
  • Add SelectDefaultValues (by @lukellmann in #881)
  • Add Permission.CreateGuildExpressions and Permission.CreateEvents (by @lukellmann in #892)
  • Add StageInstanceCreateRequest.guildScheduledEventId (by @lukellmann in #893)

Changes

Fixes

Dependencies

Updated in #883, #888 and #894

0.11.1

19 Sep 21:05
b460846

Choose a tag to compare

0.11.1

Republication of 0.11.0 with no changes.

The published artifacts for dev.kord:kord-ksp-annotations-js:0.11.0 were missing kord-ksp-annotations-js-0.11.0.klib which would cause an error like the following for Kotlin/JS projects trying to use Kord 0.11.0:

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':kotlinNpmInstall'.
> Could not find ksp-annotations-js.klib (dev.kord:kord-ksp-annotations-js:0.11.0).
  Searched in the following locations:
      https://repo.maven.apache.org/maven2/dev/kord/kord-ksp-annotations-js/0.11.0/kord-ksp-annotations-js-0.11.0.klib

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

0.11.0

19 Sep 14:15
a23e8d3

Choose a tag to compare

0.11.0

Additions

Changes

Fixes

Dependencies

Updated in #842, #859 and #872

House-keeping

0.10.0

08 Jul 13:07
14b2c16

Choose a tag to compare

0.10.0

Additions

Changes

Fixes

Dependencies

Updated in #826

House-keeping

0.9.0

24 Apr 18:37
5b3a7ef

Choose a tag to compare

0.9.0

Breaking Changes

This release introduces a number of breaking changes, please refer to #775 for more information

Additions

Changes

Fixes

  • Fix some EntitySupplyStrategy toStrings being incorrect (by @GreemDev in #811)
  • Fix List Nitro Sticker Packs endpoint (by @lukellmann in #816)
  • Fix InstantInEpochMillisecondsSerializerTest on JS (by @lukellmann in #818)

Dependencies

Updated in #783

House-keeping