v1.5.4
Falling back to transparent migrations
After some discussion over #473, we've decided to roll back the change introduced in v1.5.3 that made the user take care of migrations manually.
What does this mean? Basically we added proper migrations into Shiori and added a custom command to perform them, but since our documentation is lacking in some ways most users where a bit confused about what a migration meant, specifically users of the CLI tool which do not rely on the server. In the end, and to avoid adding more complexity to the tool (which is one of the core features) I decided to rollback that change, meaning that everything should be done in the background while you use or serve Shiori. If anything goes wrong, you will get an error on the output which you can use to open an issue and your database should be left as it is.
What's Changed
- fix invalid assets path when use webroot by @hulb in #448
- feat: session expire time from backend by @fmartingr in #437
- Fix docker migration script example by @kaimoe in #451
- Improve performance for sqlite queries by @Orhideous in #425
- fix: remove manual transaction on sqlite migration 2 by @fmartingr in #468
- feat: upgrade to go 1.19 by @fmartingr in #469
- docs: fix remember represented as a number instead of a bool by @babariviere in #472
- refactor:pass ctx to db layer, return err instead of recover panic by @hulb in #450
- fix(import): check for no rows error by @fmartingr in #487
- fix err in keyword searching by @hulb in #494
- fix(psql): save bookmarks not using passed bookmark id for the insert by @fmartingr in #484
- fix: import should respect add_date or last_modified fields by @fmartingr in #490
- fix: data dir permissions having execute for all by @fmartingr in #493
- fix: remove CreateNewID usage from api handlers by @fmartingr in #486
- fix: sharing context between api and goroutine caused goroutine to fail by @Acelya-9028 in #499
- fix: saving bookmarks inconsistencies by @fmartingr in #500
- chore(deps): updated go and github actions dependencies by @fmartingr in #511
- fix: failed to save bookmark: constraint failed: UNIQUE constraint failed: bookmark.url by @Acelya-9028 in #515
- fix: avoid panic usage when downloading bookmark by @fmartingr in #513
- fix(db): avoid using dash in fts5 queries by @fmartingr in #514
- fix(api-ext): use same save logic as the api by @fmartingr in #518
- fix: remove createnewid usages by @fmartingr in #520
- feat(frontend): username autofocus on login by @fmartingr in #519
- Remove typo in compose Dockerfile post-run command by @AIndoria in #527
- Make migrations transparent to the user by @fmartingr in #530
- Fix #549 reset page when searching for new tag by @ryanwr in #550
- deps: up to date by @fmartingr in #552
- ci: fix goreleaser snapshots by @fmartingr in #553
New Contributors
- @kaimoe made their first contribution in #451
- @Orhideous made their first contribution in #425
- @babariviere made their first contribution in #472
- @Acelya-9028 made their first contribution in #499
- @AIndoria made their first contribution in #527
- @ryanwr made their first contribution in #550
Full Changelog: v1.5.3...v1.5.4