Compare commits

...

2 Commits

Author SHA1 Message Date
stoat-release[bot]
7c7f4f24de chore(main): release 0.11.2 (#560)
* chore(main): release 0.11.2

* chore: update Cargo.lock

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: stoat-release[bot] <245062572+stoat-release[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-13 19:42:13 +00:00
Paul Makles
a11986ba1a fix: cut events traffic while we engineer a new events architecture (#559)
Signed-off-by: izzy <me@insrt.uk>
2026-02-13 19:40:51 +00:00
24 changed files with 95 additions and 110 deletions

View File

@@ -1,3 +1,3 @@
{
".": "0.11.1"
".": "0.11.2"
}

View File

@@ -1,5 +1,12 @@
# Changelog
## [0.11.2](https://github.com/stoatchat/stoatchat/compare/v0.11.1...v0.11.2) (2026-02-13)
### Bug Fixes
* cut events traffic while we engineer a new events architecture ([#559](https://github.com/stoatchat/stoatchat/issues/559)) ([a11986b](https://github.com/stoatchat/stoatchat/commit/a11986ba1ad16b672ff1080913a684567d88adbb))
## [0.11.1](https://github.com/stoatchat/stoatchat/compare/v0.11.0...v0.11.1) (2026-02-13)

36
Cargo.lock generated
View File

@@ -6798,7 +6798,7 @@ dependencies = [
[[package]]
name = "revolt-autumn"
version = "0.11.1"
version = "0.11.2"
dependencies = [
"axum",
"axum-macros",
@@ -6836,7 +6836,7 @@ dependencies = [
[[package]]
name = "revolt-bonfire"
version = "0.11.1"
version = "0.11.2"
dependencies = [
"async-channel 2.5.0",
"async-std",
@@ -6867,7 +6867,7 @@ dependencies = [
[[package]]
name = "revolt-coalesced"
version = "0.11.1"
version = "0.11.2"
dependencies = [
"indexmap 2.13.0",
"lru 0.16.3",
@@ -6876,7 +6876,7 @@ dependencies = [
[[package]]
name = "revolt-config"
version = "0.11.1"
version = "0.11.2"
dependencies = [
"async-std",
"cached",
@@ -6893,7 +6893,7 @@ dependencies = [
[[package]]
name = "revolt-crond"
version = "0.11.1"
version = "0.11.2"
dependencies = [
"log",
"revolt-config",
@@ -6905,7 +6905,7 @@ dependencies = [
[[package]]
name = "revolt-database"
version = "0.11.1"
version = "0.11.2"
dependencies = [
"amqprs",
"async-lock 2.8.0",
@@ -6955,7 +6955,7 @@ dependencies = [
[[package]]
name = "revolt-delta"
version = "0.11.1"
version = "0.11.2"
dependencies = [
"amqprs",
"async-channel 1.9.0",
@@ -7005,7 +7005,7 @@ dependencies = [
[[package]]
name = "revolt-files"
version = "0.11.1"
version = "0.11.2"
dependencies = [
"aes-gcm",
"anyhow",
@@ -7033,7 +7033,7 @@ dependencies = [
[[package]]
name = "revolt-gifbox"
version = "0.11.1"
version = "0.11.2"
dependencies = [
"axum",
"axum-extra",
@@ -7056,7 +7056,7 @@ dependencies = [
[[package]]
name = "revolt-january"
version = "0.11.1"
version = "0.11.2"
dependencies = [
"async-recursion",
"axum",
@@ -7084,7 +7084,7 @@ dependencies = [
[[package]]
name = "revolt-models"
version = "0.11.1"
version = "0.11.2"
dependencies = [
"indexmap 1.9.3",
"iso8601-timestamp",
@@ -7103,14 +7103,14 @@ dependencies = [
[[package]]
name = "revolt-parser"
version = "0.11.1"
version = "0.11.2"
dependencies = [
"logos",
]
[[package]]
name = "revolt-permissions"
version = "0.11.1"
version = "0.11.2"
dependencies = [
"async-std",
"async-trait",
@@ -7125,7 +7125,7 @@ dependencies = [
[[package]]
name = "revolt-presence"
version = "0.11.1"
version = "0.11.2"
dependencies = [
"async-std",
"log",
@@ -7137,7 +7137,7 @@ dependencies = [
[[package]]
name = "revolt-pushd"
version = "0.11.1"
version = "0.11.2"
dependencies = [
"amqprs",
"anyhow",
@@ -7165,7 +7165,7 @@ dependencies = [
[[package]]
name = "revolt-ratelimits"
version = "0.11.1"
version = "0.11.2"
dependencies = [
"async-trait",
"authifier",
@@ -7182,7 +7182,7 @@ dependencies = [
[[package]]
name = "revolt-result"
version = "0.11.1"
version = "0.11.2"
dependencies = [
"axum",
"log",
@@ -7198,7 +7198,7 @@ dependencies = [
[[package]]
name = "revolt-voice-ingress"
version = "0.11.1"
version = "0.11.2"
dependencies = [
"amqprs",
"async-std",

View File

@@ -1,6 +1,6 @@
[package]
name = "revolt-bonfire"
version = "0.11.1"
version = "0.11.2"
license = "AGPL-3.0-or-later"
edition = "2021"
publish = false

View File

@@ -457,30 +457,8 @@ async fn worker(
};
match payload {
ClientMessage::BeginTyping { channel } => {
if !subscribed.read().await.contains(&channel) {
continue;
}
EventV1::ChannelStartTyping {
id: channel.clone(),
user: user_id.clone(),
}
.p(channel.clone())
.await;
}
ClientMessage::EndTyping { channel } => {
if !subscribed.read().await.contains(&channel) {
continue;
}
EventV1::ChannelStopTyping {
id: channel.clone(),
user: user_id.clone(),
}
.p(channel.clone())
.await;
}
ClientMessage::BeginTyping { .. } => {}
ClientMessage::EndTyping { .. } => {}
ClientMessage::Subscribe { server_id } => {
let mut servers = active_servers.lock().await;
let has_item = servers.contains_key(&server_id);

View File

@@ -1,6 +1,6 @@
[package]
name = "revolt-coalesced"
version = "0.11.1"
version = "0.11.2"
edition = "2021"
license = "MIT"
authors = ["Paul Makles <me@insrt.uk>", "Zomatree <me@zomatree.live>"]

View File

@@ -1,6 +1,6 @@
[package]
name = "revolt-config"
version = "0.11.1"
version = "0.11.2"
edition = "2021"
license = "MIT"
authors = ["Paul Makles <me@insrt.uk>"]
@@ -38,4 +38,4 @@ sentry = { version = "0.31.5", optional = true }
sentry-anyhow = { version = "0.38.1", optional = true }
# Core
revolt-result = { version = "0.11.1", path = "../result", optional = true }
revolt-result = { version = "0.11.2", path = "../result", optional = true }

View File

@@ -1,6 +1,6 @@
[package]
name = "revolt-database"
version = "0.11.1"
version = "0.11.2"
edition = "2021"
license = "AGPL-3.0-or-later"
authors = ["Paul Makles <me@insrt.uk>"]
@@ -32,19 +32,19 @@ default = ["mongodb", "async-std-runtime", "tasks"]
[dependencies]
# Core
revolt-config = { version = "0.11.1", path = "../config", features = [
revolt-config = { version = "0.11.2", path = "../config", features = [
"report-macros",
] }
revolt-result = { version = "0.11.1", path = "../result" }
revolt-models = { version = "0.11.1", path = "../models", features = [
revolt-result = { version = "0.11.2", path = "../result" }
revolt-models = { version = "0.11.2", path = "../models", features = [
"validator",
] }
revolt-presence = { version = "0.11.1", path = "../presence" }
revolt-permissions = { version = "0.11.1", path = "../permissions", features = [
revolt-presence = { version = "0.11.2", path = "../presence" }
revolt-permissions = { version = "0.11.2", path = "../permissions", features = [
"serde",
"bson",
] }
revolt-parser = { version = "0.11.1", path = "../parser" }
revolt-parser = { version = "0.11.2", path = "../parser" }
# Utility
log = "0.4"

View File

@@ -653,14 +653,14 @@ impl User {
self.apply_options(partial.clone());
db.update_user(&self.id, &partial, remove.clone()).await?;
EventV1::UserUpdate {
id: self.id.clone(),
data: partial.into(),
clear: remove.into_iter().map(|v| v.into()).collect(),
event_id: Some(Ulid::new().to_string()),
}
.p_user(self.id.clone(), db)
.await;
// EventV1::UserUpdate {
// id: self.id.clone(),
// data: partial.into(),
// clear: remove.into_iter().map(|v| v.into()).collect(),
// event_id: Some(Ulid::new().to_string()),
// }
// .p_user(self.id.clone(), db)
// .await;
Ok(())
}

View File

@@ -1,6 +1,6 @@
[package]
name = "revolt-files"
version = "0.11.1"
version = "0.11.2"
edition = "2021"
license = "AGPL-3.0-or-later"
authors = ["Paul Makles <me@insrt.uk>"]
@@ -27,10 +27,10 @@ typenum = "1.17.0"
aws-config = "1.5.5"
aws-sdk-s3 = { version = "1.46.0", features = ["behavior-version-latest"] }
revolt-config = { version = "0.11.1", path = "../config", features = [
revolt-config = { version = "0.11.2", path = "../config", features = [
"report-macros",
] }
revolt-result = { version = "0.11.1", path = "../result" }
revolt-result = { version = "0.11.2", path = "../result" }
# image processing
jxl-oxide = { workspace = true }

View File

@@ -1,6 +1,6 @@
[package]
name = "revolt-models"
version = "0.11.1"
version = "0.11.2"
edition = "2021"
license = "MIT"
authors = ["Paul Makles <me@insrt.uk>"]
@@ -21,8 +21,8 @@ default = ["serde", "partials", "rocket"]
[dependencies]
# Core
revolt-config = { version = "0.11.1", path = "../config" }
revolt-permissions = { version = "0.11.1", path = "../permissions" }
revolt-config = { version = "0.11.2", path = "../config" }
revolt-permissions = { version = "0.11.2", path = "../permissions" }
# Utility
regex = "1.11"

View File

@@ -1,6 +1,6 @@
[package]
name = "revolt-parser"
version = "0.11.1"
version = "0.11.2"
edition = "2021"
license = "MIT"
authors = ["Zomatree <me@zomatree.live>", "Paul Makles <me@insrt.uk>"]

View File

@@ -1,6 +1,6 @@
[package]
name = "revolt-permissions"
version = "0.11.1"
version = "0.11.2"
edition = "2021"
license = "MIT"
authors = ["Paul Makles <me@insrt.uk>"]
@@ -22,7 +22,7 @@ async-std = { version = "1.8.0", features = ["attributes"] }
[dependencies]
# Core
revolt-result = { version = "0.11.1", path = "../result" }
revolt-result = { version = "0.11.2", path = "../result" }
# Utility
auto_ops = "0.3.0"

View File

@@ -1,6 +1,6 @@
[package]
name = "revolt-presence"
version = "0.11.1"
version = "0.11.2"
edition = "2021"
license = "AGPL-3.0-or-later"
authors = ["Paul Makles <me@insrt.uk>"]
@@ -17,7 +17,7 @@ redis-is-patched = []
async-std = { version = "1.8.0", features = ["attributes"] }
# Config for loading Redis URI
revolt-config = { version = "0.11.1", path = "../config" }
revolt-config = { version = "0.11.2", path = "../config" }
[dependencies]
# Utility

View File

@@ -1,6 +1,6 @@
[package]
name = "revolt-ratelimits"
version = "0.11.1"
version = "0.11.2"
edition = "2024"
license = "MIT"
authors = ["Zomatree <me@zomatree.live>", "Paul Makles <me@insrt.uk>"]
@@ -18,9 +18,9 @@ axum = ["dep:axum", "revolt-database/axum-impl"]
default = ["rocket", "axum"]
[dependencies]
revolt-database = { version = "0.11.1", path = "../database" }
revolt-result = { version = "0.11.1", path = "../result" }
revolt-config = { version = "0.11.1", path = "../config" }
revolt-database = { version = "0.11.2", path = "../database" }
revolt-result = { version = "0.11.2", path = "../result" }
revolt-config = { version = "0.11.2", path = "../config" }
rocket = { version = "0.5.1", optional = true }
revolt_rocket_okapi = { version = "0.10.0", optional = true }

View File

@@ -1,6 +1,6 @@
[package]
name = "revolt-result"
version = "0.11.1"
version = "0.11.2"
edition = "2021"
license = "MIT"
authors = ["Paul Makles <me@insrt.uk>"]

View File

@@ -1,6 +1,6 @@
[package]
name = "revolt-crond"
version = "0.11.1"
version = "0.11.2"
license = "AGPL-3.0-or-later"
authors = ["Paul Makles <me@insrt.uk>"]
edition = "2021"
@@ -17,7 +17,7 @@ log = "0.4"
tokio = { version = "1" }
# Core
revolt-database = { version = "0.11.1", path = "../../core/database" }
revolt-result = { version = "0.11.1", path = "../../core/result" }
revolt-config = { version = "0.11.1", path = "../../core/config" }
revolt-files = { version = "0.11.1", path = "../../core/files" }
revolt-database = { version = "0.11.2", path = "../../core/database" }
revolt-result = { version = "0.11.2", path = "../../core/result" }
revolt-config = { version = "0.11.2", path = "../../core/config" }
revolt-files = { version = "0.11.2", path = "../../core/files" }

View File

@@ -1,21 +1,21 @@
[package]
name = "revolt-pushd"
version = "0.11.1"
version = "0.11.2"
edition = "2021"
license = "AGPL-3.0-or-later"
publish = false
[dependencies]
revolt-result = { version = "0.11.1", path = "../../core/result" }
revolt-config = { version = "0.11.1", path = "../../core/config", features = [
revolt-result = { version = "0.11.2", path = "../../core/result" }
revolt-config = { version = "0.11.2", path = "../../core/config", features = [
"report-macros",
"anyhow",
] }
revolt-database = { version = "0.11.1", path = "../../core/database" }
revolt-models = { version = "0.11.1", path = "../../core/models", features = [
revolt-database = { version = "0.11.2", path = "../../core/database" }
revolt-models = { version = "0.11.2", path = "../../core/models", features = [
"validator",
] }
revolt-presence = { version = "0.11.1", path = "../../core/presence", features = [
revolt-presence = { version = "0.11.2", path = "../../core/presence", features = [
"redis-is-patched",
] }

View File

@@ -1,6 +1,6 @@
[package]
name = "revolt-voice-ingress"
version = "0.11.1"
version = "0.11.2"
license = "AGPL-3.0-or-later"
edition = "2021"
publish = false

View File

@@ -1,6 +1,6 @@
[package]
name = "revolt-delta"
version = "0.11.1"
version = "0.11.2"
license = "AGPL-3.0-or-later"
authors = ["Paul Makles <paulmakles@gmail.com>"]
edition = "2018"

View File

@@ -1,6 +1,6 @@
[package]
name = "revolt-autumn"
version = "0.11.1"
version = "0.11.2"
edition = "2021"
license = "AGPL-3.0-or-later"
publish = false
@@ -44,16 +44,16 @@ tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Core crates
revolt-files = { version = "0.11.1", path = "../../core/files" }
revolt-config = { version = "0.11.1", path = "../../core/config" }
revolt-database = { version = "0.11.1", path = "../../core/database", features = [
revolt-files = { version = "0.11.2", path = "../../core/files" }
revolt-config = { version = "0.11.2", path = "../../core/config" }
revolt-database = { version = "0.11.2", path = "../../core/database", features = [
"axum-impl",
] }
revolt-result = { version = "0.11.1", path = "../../core/result", features = [
revolt-result = { version = "0.11.2", path = "../../core/result", features = [
"utoipa",
"axum",
] }
revolt-ratelimits = { version = "0.11.1", path = "../../core/ratelimits", features = ["axum"] }
revolt-ratelimits = { version = "0.11.2", path = "../../core/ratelimits", features = ["axum"] }
# Axum / web server
tempfile = "3.12.0"

View File

@@ -1,6 +1,6 @@
[package]
name = "revolt-gifbox"
version = "0.11.1"
version = "0.11.2"
edition = "2021"
license = "AGPL-3.0-or-later"
publish = false
@@ -17,19 +17,19 @@ tokio = { version = "1.0", features = ["full"] }
reqwest = { version = "0.12", features = ["json"] }
# Core crates
revolt-config = { version = "0.11.1", path = "../../core/config" }
revolt-models = { version = "0.11.1", path = "../../core/models" }
revolt-result = { version = "0.11.1", path = "../../core/result", features = [
revolt-config = { version = "0.11.2", path = "../../core/config" }
revolt-models = { version = "0.11.2", path = "../../core/models" }
revolt-result = { version = "0.11.2", path = "../../core/result", features = [
"utoipa",
"axum",
] }
revolt-coalesced = { version = "0.11.1", path = "../../core/coalesced", features = [
revolt-coalesced = { version = "0.11.2", path = "../../core/coalesced", features = [
"queue",
] }
revolt-database = { version = "0.11.1", path = "../../core/database", features = [
revolt-database = { version = "0.11.2", path = "../../core/database", features = [
"axum-impl",
] }
revolt-ratelimits = { version = "0.11.1", path = "../../core/ratelimits", features = [
revolt-ratelimits = { version = "0.11.2", path = "../../core/ratelimits", features = [
"axum",
] }

View File

@@ -1,6 +1,6 @@
[package]
name = "revolt-january"
version = "0.11.1"
version = "0.11.2"
edition = "2021"
license = "AGPL-3.0-or-later"
publish = false
@@ -33,13 +33,13 @@ tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Core crates
revolt-config = { version = "0.11.1", path = "../../core/config" }
revolt-models = { version = "0.11.1", path = "../../core/models" }
revolt-result = { version = "0.11.1", path = "../../core/result", features = [
revolt-config = { version = "0.11.2", path = "../../core/config" }
revolt-models = { version = "0.11.2", path = "../../core/models" }
revolt-result = { version = "0.11.2", path = "../../core/result", features = [
"utoipa",
"axum",
] }
revolt-files = { version = "0.11.1", path = "../../core/files" }
revolt-files = { version = "0.11.2", path = "../../core/files" }
# Axum / web server
axum = { version = "0.7.5" }

View File

@@ -1 +1 @@
0.11.1
0.11.2