Releases: kordlib/kord
Releases · kordlib/kord
0.8.2
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
0.8.0
0.8.0
Additions
- Add forums (#684)
- Add new select menu types (by @oluiss in #707 and @lukellmann in #721)
- Add
UserFlag.ActiveDeveloper
(by @oluiss in #720) - Add new
GuildFeature
s and allow editing them (by @lukellmann in #722) - Add new error codes (by @lukellmann in #723 and @NoComment1105 in #742 and #757)
- Add
Locale.INDONESIAN
(by @lukellmann in #738) - Add
KeywordAutoModerationRule.allowedKeywords
(by @lukellmann in #731) - Add support for nsfw commands (by @lukellmann in #725)
- Add missing
MessageType
s (by @NoComment1105 in #744) - Add
after
to audit log get (by @NoComment1105 in #745) - Add support for gif stickers (by @NoComment1105 in #750)
- Add stage channel message types (by @NoComment1105 in #759)
- Add audit log entry create event (by @NoComment1105 in #751 and #761)
- Add missing integration events (by @NoComment1105 in #761, #763 and #764)
- Add guild member flags (by @NoComment1105 in #760)
- Add the ability to receive unknown events (by @DRSchlaubi in #769)
- Add
BlockMessageAutoModerationAction.customMessage
(by @lukellmann in #774) - Add silent messages and extend builders (by @DRSchlaubi in #762)
- Add Role subscriptions (by @NoComment1105 in #743 and @lukellmann in #781)
- Add a nullable variant of
getAuthorAsMember
(by @NoComment1105 in #784)
Changes
- Bump
DeprecationLevel
s (by @lukellmann in #716) - Deprecate
GuildFeature.PrivateThreads
(by @lukellmann in #724) - Stabilize
KordConfiguration
andKordConstants
(by @lukellmann in #753) - Make
StageChannel
implementTopGuildMessageChannel
(by @DRSchlaubi in #756) - Deprecate
getGuild()
functions that callgetGuildOrNull()
under the hood (by @NoComment1105 in #728) - Add bucket ID to the discovered bucket trace log (by @MrPowerGamerBR in #699)
Fixes
- Generate
EncryptionMode
instead of using an enum (by @lost-illusi0n in #737) - Fix nonce deserialization for big integers (by @lukellmann in #765)
- Fix
MessageChannelBehavior.typeUntil
(by @lukellmann in #768) - Make
Snowflake
's ordering consistent withequals
(by @lukellmann in #773) - Fix various bugs in
DiscordBitSet
(by @lukellmann in #772) - Use 74 byte ip discovery packet instead of the deprecated 70 byte discovery packet (by @lost-illusi0n in #776)
- Fix breaking changes and bugs before release (by @lukellmann in #793)
Dependencies
Updated in #732, #739, #755, #782 and #788
- Gradle 7.5.1 -> 8.0.2
- Kotlin 1.7.20 -> 1.8.10
- KSP 1.7.20-1.0.8 -> 1.8.10-1.0.9
- Ktor 2.1.3 -> 2.2.4
- kotlinx.serialization 1.4.1 -> 1.5.0
- kotlin-logging 2.1.23 -> 3.0.5
- SLF4J 1.7.36 -> 2.0.7
- Dokka 1.7.20 -> 1.8.10
- AtomicFU 0.18.5 -> 0.20.0
- Binary compatibility validator 0.12.1 -> 0.13.0
- JUnit 5 5.9.1 -> 5.9.2
- MockK 1.13.2 -> 1.13.4
House-keeping
- Use
libs.versions.toml
and clean gradle files (by @lukellmann in #719) - Clean up (by @lukellmann in #730)
- Use AtomicFU compiler plugin (by @lukellmann in #740)
- Fix CI badge in readme (by @DRSchlaubi in #741)
- CI updates and fixes (by @DRSchlaubi and @lukellmann in #770, #778, #780 and #790)
0.8.0-M17
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
toChannelProvider
(#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
DeprecationLevel
s (#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
- Kotlin 1.7.10 -> 1.7.20
- Ktor 2.1.0 -> 2.1.3
- kotlinx.serialization 1.3.3 -> 1.4.1
- AtomicFU 0.18.3 -> 0.18.5
- Binary compatibility validator 0.11.0 -> 0.12.1
- Dokka 1.7.10 -> 1.7.20
- JUnit 5 5.9.0 -> 5.9.1
- MockK 1.12.5 -> 1.13.2
0.8.0-M16
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
0.8.0-M15
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
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
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
0.8.0-M11
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)