Skip to content

Releases: twilight-rs/twilight

twilight-validate 0.16.0

12 Jan 10:08
Compare
Choose a tag to compare

Changelog

[0.16.0] - 2025-01-12

Bug Fixes

  • Misleading error message validating commands. (#2329)

Features

  • Implement additional select menu types (#2219)
  • Add regex_patterns and allow_list (#2189)
  • Implement select menu default values (#2281)
  • Add support for premium apps (#2282)
  • [breaking] Add support for super reaction types (#2347)
  • Implement Premium Button Style (#2363)
  • Implement user applications (#2323)

Refactor

  • Remove redundant imports (#2316)

Chore

  • resolve rust 1.83 issues (#2391)
  • Clarify that MSRV may change in semver-compatible releases (#2408)

twilight-util 0.16.0

12 Jan 10:08
Compare
Choose a tag to compare

Changelog

[0.16.0] - 2025-01-12

Features

  • Implement Premium Button Style (#2363)
  • Implement user applications (#2323)
  • add contexts and integration types to command builder (#2386)

Refactor

  • Remove redundant imports (#2316)

Chore

  • Bump MSRV to 1.79 and resolve Clippy 1.80 lints (#2366)
  • resolve rust 1.83 issues (#2391)
  • Clarify that MSRV may change in semver-compatible releases (#2408)

twilight-standby 0.16.0

12 Jan 10:07
Compare
Choose a tag to compare

Changelog

[0.16.0] - 2025-01-12

Bug Fixes

  • Address new rust CI errors (#2285)

Build

  • Remove dependency on futures-util (#2309)

Features

  • Add support for premium apps (#2282)
  • add avatar decoration data (#2343)
  • [breaking] Add support for super reaction types (#2347)
  • add support for polls (#2341)
  • add call field to messages (#2344)
  • Add support for message forwarding (#2340)
  • Implement user applications (#2323)
  • Add guild field to interaction. (#2383)

Chore

  • Clarify that MSRV may change in semver-compatible releases (#2408)
  • Fix clippy 1.84 lints (#2409)

twilight-model 0.16.0

12 Jan 10:07
Compare
Choose a tag to compare

Changelog

[0.16.0] - 2025-01-12

Bug Fixes

  • Address new rust CI errors (#2285)
  • [breaking] Bump SessionStartLimit field sizes (#2286)
  • [breaking] Member#joined_at can sometimes be null (#2288)
  • clippy 1.78 lints (#2336)
  • Deserialize unavailable guilds in GUILD_CREATE. (#2330)
  • Derive Copy on PermissionOverwrite (#2351)
  • [breaking] fix role position update payload and allow audit log reason (#2342)
  • Entitlements would only deserialize it was before data (#2359)
  • Fix nightly compiler and rustdoc warnings (#2368)
  • Unavailable guild must always have unavailable as true (#2361)
  • List application emojis does not return a raw list (#2376)
  • consumed is optional (#2378)
  • add "flags" field to MemberUpdate payload (#2265)
  • unavailable is optional and false and none equal (#2377)

Build

  • [breaking] Update bitflags crate to v2 (#2199)

Features

  • [breaking] reduce size of gateway rest models (#2168)
  • [breaking] Implement additional select menu types (#2219)
  • Add support for guild media channels (#2222)
  • [breaking] Add support for super reactions (#2275)
  • [breaking] Add new onboarding mode and support for modifying onboarding (#2291)
  • [breaking] Implement select menu default values (#2281)
  • [breaking] Add support for application editing and new application fields (#2284)
  • Make positions possible to create (#2328)
  • Add support for premium apps (#2282)
  • add use external apps permission (#2353)
  • add new automod message incident types (#2352)
  • Add support for automod member profile words and member interactions (#2349)
  • add avatar decoration data (#2343)
  • [breaking] Add support for super reaction types (#2347)
  • add support for polls (#2341)
  • add attachment titles (#2362)
  • add call field to messages (#2344)
  • Add support for message forwarding (#2340)
  • Implement Premium Button Style (#2363)
  • add guild_scheduled_events to guild struct (#2371)
  • add max_stage_video_channel_users (#2152)
  • add invite type (#2346)
  • Implement user applications (#2323)
  • Add guild field to interaction. (#2383)
  • Add new fields to interaction metadata (#2384)

Performance

  • Remove sequence from GatewayEventVisitor (#2307)

Refactor

  • [breaking] Remove deprecated apis (#2132)
  • [breaking] Remove user profile (#2131)
  • [breaking] Remove undocumented gateway events (#2237)
  • Remove redundant imports (#2316)
  • simplify auto_archive_duration de/serialize (#2379)
  • a full message object for MessageUpdate event (#2387)

Chore

  • Bump MSRV to 1.79 and resolve Clippy 1.80 lints (#2366)
  • resolve rust 1.83 issues (#2391)
  • Clarify that MSRV may change in semver-compatible releases (#2408)
  • Clarify that MSRV may change in semver-compatible releases (#2408)

twilight-mention 0.16.0

12 Jan 10:06
Compare
Choose a tag to compare

Changelog

[0.16.0] - 2025-01-12

Bug Fixes

  • Address new rust CI errors (#2285)

Features

  • Add mention for commands (#2290)

Refactor

  • Remove redundant imports (#2316)

Chore

  • resolve rust 1.83 issues (#2391)
  • Clarify that MSRV may change in semver-compatible releases (#2408)
  • Fix clippy 1.84 lints (#2409)

twilight-http-ratelimiting 0.16.0

12 Jan 10:06
Compare
Choose a tag to compare

Changelog

[0.16.0] - 2025-01-12

Bug Fixes

  • Resolved some warnings when building docs. (#2331)
  • clippy 1.79 lints (#2355)
  • Add missing automoderation paths. (#2356)
  • Add missing @ symbol in REST path (#2357)

Build

  • Remove dependency on futures-util (#2309)

Features

  • [breaking] Hide http dependency (#2163)
  • Add support for application editing and new application fields (#2284)
  • Add support for premium apps (#2282)
  • add support for polls (#2341)
  • Add support for application emojis (#2364)

Chore

  • Clarify that MSRV may change in semver-compatible releases (#2408)

twilight-http 0.16.0

12 Jan 10:05
Compare
Choose a tag to compare

Changelog

[0.16.0] - 2025-01-12

Bug Fixes

  • Use default_message_seconds as a JSON field for create_ban (#2280)
  • Fix docs deploy (#2295)
  • clippy 1.78 lints (#2336)
  • clippy 1.79 lints (#2355)
  • [breaking] fix role position update payload and allow audit log reason (#2342)
  • Fix nightly compiler and rustdoc warnings (#2368)
  • List application emojis does not return a raw list (#2376)
  • update role icon and unicode_emoji using nullable strings (#2388)

Build

  • [breaking] Update trust-dns (now hickory) (#2287)
  • Update to rustls 0.22, hyper 1.x (#2302)
  • [breaking] Rename native feature to native-tls (#2308)
  • Update to brotli-decompressor 4.0 (#2337)
  • Update to rustls 0.23 (#2367)

Features

  • [breaking] Hide http dependency (#2163)
  • [breaking] Return errors at finalization (#2171)
  • Add regex_patterns and allow_list (#2189)
  • Support default thread timeout for channel creation (#2274)
  • Add new onboarding mode and support for modifying onboarding (#2291)
  • Add guild_scheduled_event_id to create_stage_instance (#2283)
  • Add support for application editing and new application fields (#2284)
  • Make positions possible to create (#2328)
  • allow editing app banner (#2345)
  • Add support for premium apps (#2282)
  • [breaking] Add support for super reaction types (#2347)
  • add support for polls (#2341)
  • Add support for message forwarding (#2340)
  • Add support for application emojis (#2364)
  • add invite type (#2346)
  • Implement user applications (#2323)
  • Add Discord defined status codes as constants (#2389)
  • add get guild role endpoint (#2394)
  • Add get voice state endpoints (#2398)

Performance

  • Use optimized slice::to_vec() (#2298)

Refactor

  • [breaking] Remove deprecated apis (#2132)
  • Switch to fastrand (#2239)
  • Remove unnecessary conversion (#2294)
  • [breaking] Avoid copying the response body on utf8 error (#2299)
  • Use query string helper (#2348)

Chore

  • Bump MSRV to 1.79 and resolve Clippy 1.80 lints (#2366)
  • resolve rust 1.83 issues (#2391)
  • Clarify that MSRV may change in semver-compatible releases (#2408)

twilight-gateway-queue 0.16.0

12 Jan 10:04
Compare
Choose a tag to compare

Changelog

[0.16.0] - 2025-01-12

Bug Fixes

  • [breaking] Bump SessionStartLimit field sizes (#2286)

Features

  • [breaking] Reduce size of gateway rest models (#2168)
  • [breaking] Turn Queue into a generic type (#2249)

Refactor

  • [breaking] Rewrite crate (#2228)

Chore

  • Clarify that MSRV may change in semver-compatible releases (#2408)

twilight-gateway 0.16.0

12 Jan 10:04
Compare
Choose a tag to compare

Changelog

[0.16.0] - 2025-01-12

Bug Fixes

  • Address new rust CI errors (#2285)
  • Add missing flag to EventTypeFlags::GUILD_MESSAGES (#2332)
  • Don't swallow close frames (#2399)

Build

  • Update to rustls 0.22, tokio-websockets 0.5 (#2302)
  • [breaking] Rename native feature to native-tls (#2308)
  • Update to rustls 0.23 (#2367)
  • Update tokio-websockets to 0.11 (#2404)

Features

  • [breaking] Reduce size of gateway rest models (#2168)
  • [breaking] Turn Queue into a generic type (#2249)
  • [breaking] Impl Stream for Shard (#2309)
  • Allow setting initial resume_url (#2325)
  • Add support for premium apps (#2282)
  • Add support for polls (#2341)
  • [breaking] Swallow WebSocket errors (#2360)

Performance

  • Lazily allocate errors (#2390)
  • Optimize CommandRatelimiter size (#2395)

Refactor

  • [breaking] Remove deprecated apis (#2132)
  • [breaking] Update bitflags crate to v2 (#2199)
  • [breaking] Remove undocumented gateway events (#2237)
  • [breaking] Changes for compatibility with twilight-gateway-queue rewrite (#2228)
  • Switch to fastrand and tokio-websockets (#2239)
  • Reuse 'now' instant for poll_acquire (#2393)
  • Split sending into a separate method (#2397)
  • Avoid recent latencies rotate (#2396)

Chore

  • Resolve rust 1.83 issues (#2391)
  • Clarify that MSRV may change in semver-compatible releases (#2408)
  • Fix clippy 1.84 lints (#2409)

twilight-cache-inmemory-0.16.0

12 Jan 10:03
Compare
Choose a tag to compare

Changelog

[0.16.0] - 2025-01-12

Bug Fixes

  • [breaking] Member#joined_at can sometimes be null
    (#2288)
  • Deserialize unavailable guilds in
    GUILD_CREATE. (#2330)
  • Add flags field to MemberUpdate payload
    (#2265)
  • Make it possible to tell the difference between a guild becoming
    available and joining a new guild
    (#2377)

Build

  • [breaking] Update bitflags crate to v2 (#2199)

Features

All new features added are [breaking].

  • Implement additional select menu types (#2219)
  • Add support for super reactions (#2275)
  • Make the cache generic over model-specific traits (#2179)
  • Add support for premium apps (#2282)
  • Add avatar decoration data (#2343)
  • Add support for super reaction types (#2347)
  • Add support for polls (#2341)
  • Add call field to messages (#2344)
  • Add support for message forwarding (#2340)
  • Add guild_scheduled_events to guild struct (#2371)
  • Add max_stage_video_channel_users (#2152)
  • Implement user applications (#2323)
  • Add guild field to interaction. (#2383)

Refactor

  • [breaking] Remove undocumented gateway events (#2237)
  • A full message object for MessageUpdate event (#2387)

Chore

  • Address new rust CI errors (#2285)
  • Resolved some warnings when building docs. (#2331)
  • Updated to Clippy 1.78 lints (#2336)
  • [breaking] Bump MSRV to 1.79 and resolve Clippy 1.80 lints (#2366)
  • Resolve rust 1.83 issues (#2391)
  • Clarify that MSRV may change in semver-compatible releases (#2408)
  • Fix clippy 1.84 lints (#2409)