v0.16.0
What's Changed
(See #511)
Major changes:
- Implement gateway options and z-lib-stream compression (#508)
- Countless types updates by @Quat3rnion:
- Remove dependency on
openssl
in favor ofrustls
andwebpki_roots
(#522) - sqlx feature: Remove MySQL/MariaDB support in favor of PostgreSQL
- sqlx: Convert between Rust u64 and PostgreSQL NUMERIC using sqlx_pg_uint
- Prefer &str over String when possible (#553)
Minor changes:
- Add the repository field to
chorus_macros
'cargo.toml
(#496) - (Internal) Replace
Observer
andGatewayEvent
withpubserve
crate (#524) - (Internal, CI) Minor improvements to CI (#498)
- (Internal, CI) #529 Increase CI parallelization, use cargo nextest in linux job
- (Internal, CI) #544 Add cargo doc lints to prs and releases
- sqlx: Snowflake: PgU64 as conversion-base instead of String (#551)
- (Internal, non-WASM) Distinguish between
ws
andwss
when spawning tungstenite connection to backend, not constructing TLS related objects ifws
is used as a connection URL. (#554)
Fixes:
- Fix login and register to only create one gateway connection (#495)
- Add custom deserializer for PermissionOverwriteType (#512)
- Derive
Clone
forRelationshipAdd
event (#525 and #532) - (Internal) Use a macro to derive WebSocketEvent (#490 and #486)
- (Internal) Move
Shared<T>
totypes/mod.rs
(#492) - (Internal) Deduplicate code for voice gateway backends (#493)
- #514:
- fix
PATCH /users/@me
- It incorrectly returned a required password error, even if the current password was set - fix
GET /users/@me/guilds
- It incorrectly sent body parameters instead of query ones - don't log debug! for every successful ratelimited request - use trace! so it's less spamy
- update the max expected compression ratio (several times) from 20 to 200. let's hope that will be enough
- fix deserialization errors relating to guild folders in user settings
- fix a panic in
SqlxBitFlags
if there are extra flags. It now truncates them - update
chorus_macros
to 0.4.1 (due to the above fix) - log (trace!) event data if we fail to parse it or it's unrecognised, for debugging purposes
- fix a deserialization error in the
MessageACK
event - fix
public_flags
in user objects not beingPublicFlags
bitflags
- fix
- #523 caused by #514, fixed in #533
Full Changelog: https://github.com/polyphony-chat/chorus/pull/511/commits