Skip to content

db_migration: Migrated TaskStateInDb.items field pickle to json#296

Merged
semohr merged 4 commits into
release/2.0.0from
items_to_json
Apr 18, 2026
Merged

db_migration: Migrated TaskStateInDb.items field pickle to json#296
semohr merged 4 commits into
release/2.0.0from
items_to_json

Conversation

@semohr
Copy link
Copy Markdown
Collaborator

@semohr semohr commented Apr 12, 2026

based on #294

This PR introduces a schema migration for the TaskStateInDb table, replacing the legacy pickle-based storage with a structured JSON representation.

Historically, task state items were stored as binary (pickle) blobs in the database. This approach has proven to be brittle and difficult to maintain. In particular, changes and upgrades in beets break deserialization, requiring manual intervention to recover or migrate data.

@semohr semohr force-pushed the items_to_json branch 2 times, most recently from 019e5bd to c7435d2 Compare April 14, 2026 09:44

This comment was marked as spam.

@semohr semohr merged commit 0435ef7 into release/2.0.0 Apr 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants