Kord Versions Save

Idiomatic Kotlin Wrapper for The Discord API

0.13.1

3 months ago

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

4 months ago

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

  • Add WebhookMessageCreateBuilder.appliedTags (by @lukellmann in #899)

Changes

  • Bump DeprecationLevels after 0.12.0 (by @lukellmann in #896)
  • Remove deprecation from User.discriminator and User.tag (by @lukellmann in #901)
  • Align ArchiveDuration with generated kord enums (by @lukellmann in #902)
  • Deprecate DiscordBitSetSerializer and Locale.Serializer (by @lukellmann in #903)

Fixes

  • Support Spanish (Latin America) (by @gdude2002 in #906)

Dependencies

Updated in #900

0.12.0

5 months ago

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

  • Bump DeprecationLevels (by @lukellmann in #879)
  • Use debug log level for unknown gateway event names (by @viztea in #890)
  • Add common MessageBuilder supertype (by @lukellmann in #891)

Fixes

  • Fix DiscordAuditLogEntry.userId nullability (by @lukellmann in #885)

Dependencies

Updated in #883, #888 and #894

0.11.1

7 months ago

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

7 months ago

0.11.0

Additions

  • Add interaction channel field (by @NoComment1105 in #810)
  • Add avatar_decoration to user (by @NoComment1105 in #852)
  • Add stage channel create functions (by @NoComment1105 in #856)
  • Implement custom status (by @DRSchlaubi and @lukellmann in #857)
  • Allow modifying GuildMemberFlags (by @lukellmann in #865)
  • Add RoleFlags (by @lukellmann in #866)
  • Add AttachmentFlags (by @lukellmann in #867)
  • Add MediaChannels (by @lukellmann in #853)
  • Allow modifying GuildOnboarding (by @lukellmann in #819)
  • Add ReactionAddEvent.messageAuthorId (by @lukellmann in #873)
  • Add new AuditLogEvents (by @lukellmann in #874)
  • Add with_counts param for GET /users/@me/guilds (by @lukellmann in #875)
  • Add TeamMemberRole (by @lukellmann in #876)
  • Add AuditLogEntryOptionalInfo.integrationType (by @lukellmann in #877)

Changes

  • Bump DeprecationLevels (by @lukellmann in #844)
  • Generate bit flags (by @DRSchlaubi and @lukellmann in #766)
  • Bring kord enum API closer to bit flags API (by @lukellmann in #861)
  • Replace companion object serializers (by @lukellmann in #869)
  • Remove type parameter from Choice (by @lukellmann in #868)

Fixes

  • Correctly close zlib stream when gateway disconnects (by @DRSchlaubi in #849)
  • Fix usage of BigInteger in DiscordBitSet.value (by @lukellmann in #864)
  • Fix deserialization of DiscordApplication (by @lukellmann in #871)

Dependencies

Updated in #842, #859 and #872

House-keeping

  • Remove unnecessary RedundantVisibilityModifier suppression (by @lukellmann in #858)
  • Don't use value class Reset with AtomicRef (by @DRSchlaubi and @lukellmann in #863)

0.10.0

10 months ago

0.10.0

Additions

  • Support new username system (by @lukellmann in #825)
  • Add Permission.UseExternalSounds (by @lukellmann in #833)
  • Add new error codes (by @lukellmann in #834)
  • Add mention raid protection to Auto Moderation (by @lukellmann in #830)
  • Add support for Application Role Connection Metadata (by @lukellmann in #836)
  • Add support for join raid protection (by @lukellmann in #832)

Changes

  • Bump DeprecationLevels (by @lukellmann in #821)
  • Remove no longer needed pipeline interception (by @lukellmann in #824)
  • Change parentId and lockPermissionsToParent to Optionals (by @Tmpod in #828)

Fixes

  • Fix deserializing embeds with null author url (by @lukellmann in #839)

Dependencies

Updated in #826

House-keeping

  • Simplify CI (by @lukellmann in #823)
  • Use main as the permanent default branch (by @lukellmann in #831)

0.9.0

1 year ago

0.9.0

Breaking Changes

This release introduces a number of breaking changes, please refer to https://github.com/kordlib/kord/pull/775 for more information

Additions

  • Support Kotlin/JS (by @DRSchlaubi and @Lukellmann in #775)
  • Add support for voice messages (by @DRSchlaubi and @Lukellmann in #814)

Changes

  • Bump DeprecationLevels (by @Lukellmann in #794)
  • Replace Icon with Asset (by @oluiss and @Lukellmann in #703)

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

  • Add inspection for missing @KordDsl (by @DRSchlaubi in #800)
  • Fix Qodana findings (by @Lukellmann and @DRSchlaubi in #812)
  • Clean up (by @Lukellmann in #813)
  • Improve GenerateKordEnum and AnnotationArguments (by @Lukellmann in #817)

0.8.3

1 year ago

0.8.3

Additions

  • Add ApplicationFlag.ApplicationAutoModerationRuleCreateBadge (by @NoComment1105 in #802)
  • Add error code 50163 (by @NoComment1105 in #803)
  • Add Guild.maxStageVideoChannelUsers (by @NoComment1105 in #804)
  • Add guild onboarding (by @NoComment1105 and @Lukellmann in #805)

0.8.2

1 year ago

0.8.2

Additions

  • Add new permissions (by @NoComment1105 in #795)

House-keeping

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

0.8.1

1 year ago

0.8.1

Fixes

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