Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔖 Release v0.0.7 #473

Merged
merged 35 commits into from
Oct 12, 2024
Merged

🔖 Release v0.0.7 #473

merged 35 commits into from
Oct 12, 2024

Conversation

aaronleopold
Copy link
Collaborator

@aaronleopold aaronleopold commented Oct 11, 2024

⚠️ This version contains breaking changes which will 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 backup using a SQL script:

-- 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 as well:

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.

0.0.7 (2024-10-10)

Added

  • ✨ Add image reader experience options (#453) [185badd]
  • ✨ Support full windows path navigation (#431) [ee78d6b]
  • ✨ Scanner ignore rules and 💄 library settings refactor (#422) [3ab0593]
  • ✨ OPDS V2 Support (#367) [c5f1506]

Changed

  • 🚨 Run clippy pedantic (#469) [d25de2d]
  • 🚨 Fix fmt after rust upgrade (#463) [562b02c]
  • ⬆️ Update rust to `1.81.0` (#458) [dd4966e]
  • ♻️ Refactor upload image and add max_size (#449) [488f37e]
  • 💄 Add custom user-submitted themes (#444) [3cc39f0]
  • ⚡ Refactor thumbnail generation and scanner IO operations (#426) (#442) [a05cab6]
  • ⬆️ Update bundled `PDFium` version in Docker (#443) [383f517]
  • 💄 Library redesign follow-up and fixes (#428) [f1f4529]
  • ♻️ Update `axum` and refactor middlewares (#400) [f643885]

Fixed

  • 🐛 Fix transparent nav for library tabs (#468) [a51ba78]
  • 💚 Fix latest builds for rootless docker (#455) [630b2c3]
  • 🐛 Fix PDF books in OPDS V2 catalog (#454) [72d7263]
  • 🐛 Fix create/edit user form submit (#452) [6948cb6]
  • 🐛 Fix Cantook crash on Android (#448) [d4f07b7]
  • 💚 Fix `archs` input for experimental docker build [74e867a]

Miscellaneous

  • 💸 Add opencollective to funding.yml [3d71924]
  • 🌐 Update translations (#467) [ba36020]
  • 📝 Add OPDS testing reviews for Foliate, Thorium, Cantook and Librera (#466) [f397c8b]
  • 🌐 Update translations (#462) [c6506de]
  • 🌐 Update translations (#456) [4095d1b]
  • 🌐 Update translations (#446) [7ab3adb]
  • 🌐 Update translations (#445) [07b2e79]
  • 🖥️ Desktop app server management (#441) [83d5032]
  • 🌐 Update translations (#439) [f102acf]
  • Merge pull request #438 from stumpapp/experimental [7892459]
  • Merge remote-tracking branch 'origin/develop' into experimental [d60113c]
  • Merge remote-tracking branch 'origin/develop' into experimental [daad188]
  • Merge remote-tracking branch 'origin/develop' into experimental [b4c4784]
  • Merge remote-tracking branch 'origin/develop' into experimental [e58cecf]
  • Merge remote-tracking branch 'origin/develop' into experimental [1d616e1]

aaronleopold and others added 30 commits August 18, 2024 15:02
* wip: upgrade axum et al, many breaking changes

little lunch rush

* wip: axum upgrade and refactor auth extractor to support jwt

relates to #219

* lots of refactoring for axum

* add migration, make clippy warn on `dbg` macro

* add curl to dockerfile
* 🥪 lunch feature started

* wip: ui for ignore rules, generation enforcement check in ci

* try update islanded jobs on boot

* wip: ui for ignore rules

* fix card titles

* wip: refactor library create and update

* wip: fix tags, make ignore rules work

* wip: redesign library settings!

* wip: locale for library settings header

* wip: library settings refactor

* wip: make stuff werk

* wip: redesign create library too

* wip: make updates in pieces work

* flesh out locale, make patches work, misc notes and changes

* remove defer from scrollbars

* update docs

* fix thumbnail_config in put request

* 🐛 Fix regression in scanner for root-level series

* initial round of code review

* remove required * for updates

* fix tag update
Update develop with experimental changes
* Initial change to server-side components

* Get component mostly working.

* fix root input after back navigation
* New translations en.json (Czech)

* New translations en.json (Swedish)

* New translations en.json (Romanian)

* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Afrikaans)

* New translations en.json (Arabic)

* New translations en.json (Catalan)

* New translations en.json (Danish)

* New translations en.json (German)

* New translations en.json (Greek)

* New translations en.json (Finnish)

* New translations en.json (Hebrew)

* New translations en.json (Hungarian)

* New translations en.json (Italian)

* New translations en.json (Japanese)

* New translations en.json (Korean)

* New translations en.json (Dutch)

* New translations en.json (Norwegian)

* New translations en.json (Polish)

* New translations en.json (Portuguese)

* New translations en.json (Russian)

* New translations en.json (Serbian (Cyrillic))

* New translations en.json (Turkish)

* New translations en.json (Ukrainian)

* New translations en.json (Chinese Simplified)

* New translations en.json (Chinese Traditional)

* New translations en.json (Vietnamese)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Polish)

* New translations en.json (Polish)
* ⚡ Refactor thumbnail generation

* ⚡ Refactor scanner IO operations

Push up last nights changes

* debug: push to new tag for testing

* async-ify IO operations outside scan context

* debug: add tracing

* wip: rename library options and add fields

requires migration still

* wip: rename library options, fix frontend

* handwrite migration 😬

* fix ui

* NON FUNCTIONAL: wip migration

kill me

* debug: stop auto pushing

* fix migration?

* wip: support processing options and restructure

* 🥪 lunch allocator experiment

* super wip: distroless image, zip downgrade

* cleanup docker stuff

* Revert "debug: stop auto pushing"

This reverts commit bd6da98.

* remove missed feature

* fix job upsert after refresh

* cleanup comments and wip review

* Reapply "debug: stop auto pushing"

This reverts commit f43c187.

* cleanup
* 💄 Add custom user-submitted themes

Adds 3 themes submitted on Discord: ocean, autumn, and cosmic

* Update en.json

---------

Co-authored-by: shizuo-x <97875795+shizuo-x@users.noreply.github.com>
* cleanup desktop features and test build

* wip: upgrade tauri

* wip: start tauri store

* store sync for desktop, start multi-instance support

* wip

* saved server management

* fix git in docker yarn stage

* pin zbus_names to avoid compile error

* fix clippy lints, add config for running server

* tiny changes

* try fix coverage CI

* wip: resource fetcher notes and planning

* strangling the compiler

* Revert "strangling the compiler"

This reverts commit dda1497.

* Revert "wip: resource fetcher notes and planning"

This reverts commit a6c16b5.

* wip: add empty tests

they will fail CI so I won't forget lol

* wip: select server

* select servers before auth

* cleanup, fix switch modal

* add some tests

* tweaks
* New translations en.json (Czech)

* New translations en.json (Swedish)

* New translations en.json (Romanian)

* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Afrikaans)

* New translations en.json (Arabic)

* New translations en.json (Catalan)

* New translations en.json (Danish)

* New translations en.json (German)

* New translations en.json (Greek)

* New translations en.json (Finnish)

* New translations en.json (Hebrew)

* New translations en.json (Hungarian)

* New translations en.json (Italian)

* New translations en.json (Japanese)

* New translations en.json (Korean)

* New translations en.json (Dutch)

* New translations en.json (Norwegian)

* New translations en.json (Polish)

* New translations en.json (Portuguese)

* New translations en.json (Russian)

* New translations en.json (Serbian (Cyrillic))

* New translations en.json (Turkish)

* New translations en.json (Ukrainian)

* New translations en.json (Chinese Simplified)

* New translations en.json (Chinese Traditional)

* New translations en.json (Vietnamese)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Czech)

* New translations en.json (Swedish)

* New translations en.json (Romanian)

* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Afrikaans)

* New translations en.json (Arabic)

* New translations en.json (Catalan)

* New translations en.json (Danish)

* New translations en.json (German)

* New translations en.json (Greek)

* New translations en.json (Finnish)

* New translations en.json (Hebrew)

* New translations en.json (Hungarian)

* New translations en.json (Italian)

* New translations en.json (Japanese)

* New translations en.json (Korean)

* New translations en.json (Dutch)

* New translations en.json (Norwegian)

* New translations en.json (Polish)

* New translations en.json (Portuguese)

* New translations en.json (Russian)

* New translations en.json (Serbian (Cyrillic))

* New translations en.json (Turkish)

* New translations en.json (Ukrainian)

* New translations en.json (Chinese Simplified)

* New translations en.json (Chinese Traditional)

* New translations en.json (Vietnamese)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Czech)

* New translations en.json (Swedish)

* New translations en.json (Romanian)

* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Afrikaans)

* New translations en.json (Arabic)

* New translations en.json (Catalan)

* New translations en.json (Danish)

* New translations en.json (German)

* New translations en.json (Greek)

* New translations en.json (Finnish)

* New translations en.json (Hebrew)

* New translations en.json (Hungarian)

* New translations en.json (Italian)

* New translations en.json (Japanese)

* New translations en.json (Korean)

* New translations en.json (Dutch)

* New translations en.json (Norwegian)

* New translations en.json (Polish)

* New translations en.json (Portuguese)

* New translations en.json (Russian)

* New translations en.json (Serbian (Cyrillic))

* New translations en.json (Turkish)

* New translations en.json (Ukrainian)

* New translations en.json (Chinese Simplified)

* New translations en.json (Chinese Traditional)

* New translations en.json (Vietnamese)

* New translations en.json (Portuguese, Brazilian)
Refactor upload image and add a configurable max size for uploaded images.
* wip: start support for double spread reading

* minimally functional double spread, wip book pref

* wip: redesign a bit and big refactor of image-based reader components

* wip: add scaling during lunch

* simplify scaling configuration options

* wip: fix some smells

* try standardize names

* fix some colors

* messing around

* wip: gradient support and misc theme fixes

* wip pumpkin theme

* refactor tailwind to use ts

* add more tests

* wip fix scroll reading and fix test

* update defaults in library settings

* add migration:

* remove old store and auto-submit reader defaults

* prevent stalling scroll in footer
* try fix weird dotenv error

* debug: force large runner

* try bump rust

* debug: stop ci

* try bump rust

* Revert "try fix weird dotenv error"

This reverts commit b750a7a.

* bump rust

* Revert "debug: stop ci"

This reverts commit 6f70d7a.

* Revert "debug: force large runner"

This reverts commit 1ce8291.
* New translations en.json (Czech)

* New translations en.json (Swedish)

* New translations en.json (Romanian)

* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Afrikaans)

* New translations en.json (Arabic)

* New translations en.json (Catalan)

* New translations en.json (Danish)

* New translations en.json (German)

* New translations en.json (Greek)

* New translations en.json (Finnish)

* New translations en.json (Hebrew)

* New translations en.json (Hungarian)

* New translations en.json (Italian)

* New translations en.json (Japanese)

* New translations en.json (Korean)

* New translations en.json (Dutch)

* New translations en.json (Norwegian)

* New translations en.json (Polish)

* New translations en.json (Portuguese)

* New translations en.json (Russian)

* New translations en.json (Serbian (Cyrillic))

* New translations en.json (Turkish)

* New translations en.json (Ukrainian)

* New translations en.json (Chinese Simplified)

* New translations en.json (Chinese Traditional)

* New translations en.json (Vietnamese)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Polish)

* try fix weird dotenv error

* debug: force large runner

* try bump rust

* debug: stop ci

* try bump rust

* Revert "try bump rust"

This reverts commit 9312fe5.

* Revert "debug: stop ci"

This reverts commit 783469f.

* Revert "try bump rust"

This reverts commit 9a462bf.

* Revert "debug: force large runner"

This reverts commit 92509ed.

* Revert "try fix weird dotenv error"

This reverts commit 8df8555.
It was brought to my attention that my version of buildah causes issues with rootless docker. Until I can update both runners to be at a version where the issue doesn't present, the release workflow will have to be set to only run on the larger runner
@aaronleopold aaronleopold marked this pull request as ready for review October 11, 2024 23:13
@aaronleopold aaronleopold marked this pull request as draft October 11, 2024 23:13
@aaronleopold aaronleopold marked this pull request as ready for review October 12, 2024 16:44
@aaronleopold aaronleopold merged commit d216303 into main Oct 12, 2024
7 checks passed
@aaronleopold aaronleopold deleted the release/v0.0.7 branch October 13, 2024 00:05
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