Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .changeset/sql-flush-on-shutdown.md

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [1.2.1] - 2026-03-17

- Fix SQL data loss: flush in-memory databases to file on actor shutdown.

SQL database actors start in-memory and only promote to file when data exceeds the 10 MiB memory threshold. Small databases never hit this, so when the actor idles out after 5 minutes, all data is silently lost. This adds a flush step on shutdown that persists any in-memory database to disk via the SQLite backup API, regardless of size.

## [1.2.0] - 2026-03-12

- Add `datadir` config to centralize all data paths under a single root directory.
Expand Down
2 changes: 1 addition & 1 deletion tinycloud-auth/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tinycloud-auth"
version = "1.2.0"
version = "1.2.1"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion tinycloud-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tinycloud-core"
version = "1.2.0"
version = "1.2.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion tinycloud-node-server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tinycloud-node-server"
version = "1.2.0"
version = "1.2.1"
authors = ["TinyCloud Protocol"]
edition = "2021"
license-file = "../LICENSE.md"
Expand Down
2 changes: 1 addition & 1 deletion tinycloud-sdk-rs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tinycloud-sdk-rs"
version = "1.2.0"
version = "1.2.1"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion tinycloud-sdk-wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tinycloud-sdk-wasm"
version = "1.2.0"
version = "1.2.1"
edition = "2021"

[lib]
Expand Down