fader_master/config/src
Dandaedre c30b361fd0
feat: safely upgrade legacy profiles
Recognize pre-versioned and schema-0 profiles during server startup, preserve comments, validate the complete migrated candidate, save exact original bytes as a versioned backup, and atomically install the upgrade. Never rewrite malformed or future-schema profiles.

Tests: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features; cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; cargo check --workspace; cargo check --workspace --no-default-features; cargo check -p midi --no-default-features --features midir; cargo check -p volume_lib --no-default-features --features pulse
2026-10-15 23:06:28 +02:00
..
active.rs feat(M10.3): validate active profile pointers 2026-10-15 04:26:41 +02:00
checkpoint.rs feat(M2.3): checkpoint durable profile state 2026-10-14 01:43:54 +02:00
device.rs feat(M2.1): validate versioned TOML schemas 2026-10-14 01:37:07 +02:00
document.rs feat: initialize missing managed profiles 2026-10-15 23:03:24 +02:00
error.rs feat(M2.2): persist TOML files atomically 2026-10-14 01:40:17 +02:00
files.rs feat: safely upgrade legacy profiles 2026-10-15 23:06:28 +02:00
lib.rs feat: safely upgrade legacy profiles 2026-10-15 23:06:28 +02:00
paths.rs feat(M2.2): persist TOML files atomically 2026-10-14 01:40:17 +02:00
profile.rs feat: persist themes with a single save action 2026-10-15 22:29:56 +02:00
state.rs feat(M2.3): checkpoint durable profile state 2026-10-14 01:43:54 +02:00