Stump
Free and open source comics, manga, and digital book server with OPDS support
Alternative to: comixology, kindle, kobo
v0.0.7
2024-10-12⚠️ This version contains breaking changes which will likely cause all books, series, and related entities (e.g. reading progress) to be dropped from the database. Please back up your existing database file before updating. You can restore the lost data using the attached
resolve-missing-data.sqlSQL script. The contents are as follows:
-- This SQL file is used to 'fix' the data in the database after the migration. BE SURE TO BACKUP BEFORE UPDATING:
-- 1. open the newly migrated database in your preferred SQLite client, I use TablePlus but it doesn't matter. You may also use the CLI e.g. sqlite3 stump.db < resolve-missing-data.sql
-- you must use absolute paths to the databases, replace with your path
ATTACH DATABASE '/replace/with/full/path/to/stump-before-migration.db' as 'backup';
-- 2. run the following SQL to copy the data from the old database to the new database, the tables we want data from are:
-- - `series`
-- - `series_metadata`
-- - `media`
-- - `media_metadata`
-- - `media_annotations`
-- - `reading_sesssions`
-- - `finished_reading_sessions`
-- The order is somewhat important, even though we adjust the PRAGMA foreign_keys = OFF; it is a safe precaution to follow the order above
BEGIN;
PRAGMA foreign_keys = OFF;
INSERT INTO series SELECT * FROM backup.series;
INSERT INTO series_metadata SELECT * FROM backup.series_metadata;
INSERT INTO media SELECT * FROM backup.media;
INSERT INTO media_metadata SELECT * FROM backup.media_metadata;
INSERT INTO media_annotations SELECT * FROM backup.media_annotations;
INSERT INTO reading_sessions SELECT * FROM backup.reading_sessions;
INSERT INTO finished_reading_sessions SELECT * FROM backup.finished_reading_sessions;
PRAGMA foreign_keys = ON;
PRAGMA foreign_key_check;
COMMIT;
You may execute the script using the CLI:
sqlite3 stump.db < resolve-missing-data.sql
This should restore all of the dropped data, however I can’t make guarantees it would work for everyone and their setup. You may also just issue a scan and it will populate all but the reading progress.
What’s Changed
- :sparkles: Scanner ignore rules and :lipstick: library settings refactor by @aaronleopold in https://github.com/stumpapp/stump/pull/422
- :lipstick: Library redesign follow-up and fixes by @aaronleopold in https://github.com/stumpapp/stump/pull/428
- Update develop with experimental changes by @aaronleopold in https://github.com/stumpapp/stump/pull/438
- ✨ Support full windows path navigation by @JMicheli in https://github.com/stumpapp/stump/pull/431
- 🌐 Update translations by @aaronleopold in https://github.com/stumpapp/stump/pull/439
- :arrow_up: Update bundled
PDFiumversion in Docker by @aaronleopold in https://github.com/stumpapp/stump/pull/443 - ⚡ Refactor thumbnail generation and scanner IO operations (#426) by @aaronleopold in https://github.com/stumpapp/stump/pull/442
- :lipstick: Add custom user-submitted themes by @aaronleopold in https://github.com/stumpapp/stump/pull/444
- 🖥️ Desktop app server management by @aaronleopold in https://github.com/stumpapp/stump/pull/441
- 🌐 Update translations by @aaronleopold in https://github.com/stumpapp/stump/pull/445
- :bug: Fix Cantook crash on Android by @aaronleopold in https://github.com/stumpapp/stump/pull/448
- :bug: Fix create user form submit by @aaronleopold in https://github.com/stumpapp/stump/pull/452
- ♻️ Refactor upload image and add max_size by @JMicheli in https://github.com/stumpapp/stump/pull/449
- 🌐 Update translations by @aaronleopold in https://github.com/stumpapp/stump/pull/446
- :bug: Fix PDF books in OPDS V2 catalog by @aaronleopold in https://github.com/stumpapp/stump/pull/454
- :sparkles: Add image reader experience options by @aaronleopold in https://github.com/stumpapp/stump/pull/453
- :arrow_up: Update rust to
1.81.0by @aaronleopold in https://github.com/stumpapp/stump/pull/458 - :globe_with_meridians: Update translations by @aaronleopold in https://github.com/stumpapp/stump/pull/456
- :green_heart: Fix latest builds for rootless docker by @aaronleopold in https://github.com/stumpapp/stump/pull/455
- :rotating_light: Fix fmt after rust upgrade by @aaronleopold in https://github.com/stumpapp/stump/pull/463
- 🌐 Update translations by @aaronleopold in https://github.com/stumpapp/stump/pull/462
- 📝 Add OPDS testing reviews for Foliate, Thorium, Cantook and Librera by @n1ghthouse in https://github.com/stumpapp/stump/pull/466
- :bug: Fix transparent nav for library tabs by @aaronleopold in https://github.com/stumpapp/stump/pull/468
- 🌐 Update translations by @aaronleopold in https://github.com/stumpapp/stump/pull/467
- 🚨 Run clippy pedantic by @JMicheli in https://github.com/stumpapp/stump/pull/469
- 🔖 Release v0.0.7 by @aaronleopold in https://github.com/stumpapp/stump/pull/473
New Contributors
- @n1ghthouse made their first contribution in https://github.com/stumpapp/stump/pull/466
- @shizuo-x made their first contribution in https://github.com/stumpapp/stump/pull/444
Full Changelog: https://github.com/stumpapp/stump/compare/v0.0.6…v0.0.7