Skip to content

v0.18.0

Latest
Compare
Choose a tag to compare
@kozabrada123 kozabrada123 released this 24 Nov 06:55
d9d6ea9

(see #576)

Public API changes

  • #570: Various entity public api changes
  • 644d3be, 85e922b: Add type OneOrMoreSnowflakes, allow GatewayRequestGuildMembers to request multiple guild and user ids
  • f65b9c1: Differentiate PresenceUpdate and GatewayPresenceUpdate
  • 0e5fd86: Temporarily fix PresenceUpdate for Spacebar Client by making user optional
  • 61ac7d1: Updated LazyRequest (op 14) to use the Snowflake type for ids instead of just String

Additions

Bugfixes

  • #565: Fix sqlx En-/Decoding of PremiumType
  • 7460d3f: Fix GatewayIdentifyConnectionProps for Spacebar Client by deriving default on all fields, since the client does not send it
  • 3d9460f: Derive Default for MessageReferenceType, assume default reference_type if none is provided
  • 4baecf9: Fixed a deserialization error related to presences in GuildMembersChunk being an array, not a single value
  • 1b20102: Fixed a deserialization error with deserializing activities in PresenceUpdate as an empty array when they are sent as null
  • 7feb571: Fixed a deserialization error on discord.com related to experiments (they are not implemented yet, see #578)
  • fb94afa: Fixed a deserialization error on discord.com related to last_viewed in ReadState being a version / counter, not a DateTime

Internal changes

  • 40754c5: bump sqlx-pg-uint to v0.8.0
  • #575: Refactor of gateway close code handling
  • 4ed68ce: Refactored the gateway to fully use the Opcode enum instead of constants
  • #579