mirror of
https://github.com/trailbaseio/trailbase
synced 2026-04-21 13:37:44 +00:00
Prepare new release v0.26.0.
This commit is contained in:
parent
30d1920ce5
commit
b4250f517e
2 changed files with 14 additions and 2 deletions
14
CHANGELOG.md
14
CHANGELOG.md
|
|
@ -1,3 +1,17 @@
|
|||
## v0.26.0
|
||||
|
||||
- Overhaul change subscriptions:
|
||||
- Minimize work done on SQLite's pre-update hook.
|
||||
- Push brokering into separate thread and ACL-checking+filtering into handler tasks.
|
||||
- Simplify locking.
|
||||
- Add layered sequence numbers to track both, server-side event losses (e.g. due to back-pressure) and allow clients to detect client-side losses (e.g. due to unreliable network).
|
||||
- Add structured status to error events. This changes the wire-format and is a breaking change. While this only affects errors, users of change subscriptions should update their client.
|
||||
- We did also explore switching from an externally to an internally tagged union format. However, externally tagged is the way to go for change event schemas with something like JSON schema or Avro.
|
||||
- Update all the clients that support change subscriptions, i.e. all but Swift.
|
||||
- Add stress-tests.
|
||||
- Fix `ATTACH DATABASE` calls from WASM guests.
|
||||
- Update dependencies.
|
||||
|
||||
## v0.25.4
|
||||
|
||||
- Fix MacOS release workflows.
|
||||
|
|
|
|||
|
|
@ -250,9 +250,7 @@ pub async fn subscribe_ws(
|
|||
use futures_util::SinkExt;
|
||||
use std::sync::Arc;
|
||||
|
||||
use crate::records::subscribe::event::EventPayload;
|
||||
use crate::records::subscribe::state::AutoCleanupEventStream;
|
||||
use crate::records::subscribe::state::EventCandidate;
|
||||
|
||||
let (mut parts, _body) = request.into_parts();
|
||||
let ws = match WebSocketUpgrade::from_request_parts(&mut parts, &state).await {
|
||||
|
|
|
|||
Loading…
Reference in a new issue