Skip to content

twilight-model 0.16.0

Compare
Choose a tag to compare
@Erk- Erk- released this 12 Jan 10:07
· 4 commits to main since this release

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)