Highlights
SQLite support!
Before migrating, be sure to create an export of your data to ensure you do not lose any listening history! However, migration is a read-only process for your PostgreSQL database, so no data loss should occur (but I won't guarantee it for liability's sake). To migrate automatically, simply add KOITO_SQLITE_ENABLED=true to your environment variables. When Koito sees both that and KOITO_DATABASE_URL populated, it will automatically create a koito.db in your configuration root that will have all of your listening data, and Koito will immediately start using the new SQLite database.
Migration to SQLite will happen automatically on v0.2.0, so it is highly recommended to migrate manually beforehand to make sure everything goes smoothly!
Note that if Koito restarts and sees both environment variables populated, it will attempt another migration and fail to start, so after migrating you should remove KOITO_DATABASE_URL once you verify all your listening history is intact.
KOITO_ALLOWED_HOSTS is dead!
Remove it from your configuration. You don't need it, and it's value is now ignored and all hosts are allowed. I added this in the case Koito got more complicated, and I wanted to avoid a gethomepage-type situation where it gets added later on and causes issues with existing deployments. However, I've decided its too much trouble than it's worth, and I don't think Koito will grow enough in complexity to warrant it as an important security measure. This will also mean that, once SQLite is enabled by default in v0.2.0, Koito will be able to start with one container and absolutely zero configuration needed. A big win for simplicity!
Edit artists in the UI
Thank you to @onespaceman for the update that allows for adding and removing artists from tracks and albums in the UI.
What's Changed
- chore: refactor db interface into stores by @gabehf in #245
- feat: sqlite support by @gabehf in #248
- fix: improve ui when there is no data by @gabehf in #249
- Fix artist name parsing for Last.fm imports by @megatwig in #207
- Fix artist images: filter Last.fm placeholder, reorder providers by @safierinx-a in #233
- Fix: suppress spurious error log when Authorization header is absent by @joffrey-b in #243
- Added clickable artist on album and track pages by @joffrey-b in #246
- fix: nil pointer panic by @mikkelrask in #237
- fix: don't treat tracks with similar title as the same track by @jostyee in #247
- chore: remove allowed hosts configuration by @gabehf in #250
- fix: only show primary artist on album page by @gabehf in #251
- fix: add a permissions check for config dir by @gabehf in #252
- fix: unique mbid by @gabehf in #253
- feat: reset password by @gabehf in #254
- feat: add client to koito export and import by @gabehf in #255
- fix: migration fixes by @gabehf in #257
- Feat: Edit Artists by @onespaceman in #199
New Contributors
- @megatwig made their first contribution in #207
- @safierinx-a made their first contribution in #233
- @joffrey-b made their first contribution in #243
- @mikkelrask made their first contribution in #237
- @jostyee made their first contribution in #247
Full Changelog: v0.1.7...v0.1.8