This is a pre-release that makes some major changes to dependency versions and internal(ish) tooling but no changes to configuration or primary functionality.
What's New?
Improved Logging
Replaced logging solution, which was based on an outdated (100's of commits behind) fork of winston, with @foxxmd/logging
:
- Built on top of Pino with modern code and fewer dependencies
- Adds coloring to all parts of the logs! Coloring is supported by console, docker logs, and UI
- UI log coloring is rendered using existing log coloring (ansi)
- Labels and error stacktraces are dimmer to make main messages stand out more
- (BREAKING) Log timestamp format has been changed to be more human-friendly IE
2024-03-21 16:18:35.520 -0400
- (BREAKING) The filenames for log files has been changed from
scrobble-2024-03-22.log.X
toscrobble-2024-03-22.X.log
Bumped Minimum Node Version
To support simpler testing with Mocha the minimum node version required for development and testing has been bumped from v18.16.0 to v18.19.1 in order to enable --import
usage.
Bug Fixes and Improvements
Several bug fixes and general improvements are also included in this release. Specifically, improvements for subsonic sources and duplicate scrobble matching. See the full changelog below for all changes.
Full Changelog
Bug Fixes
- (flatpak) Add missing developer name
- (flatpak) Reduce summary length
- (webscrobbler) Fix missing wildcard to match slug route #137
- (No Category) Handle when no existing scrobble match with score greater than 0 #130
- (No Category) Fix ts schema generation import issue
- (No Category) Remove alt single quote when normalizing strings
- (No Category) Refactor static arrow function class fields to normal functions #143
- (No Category) Add comment for future typed linting
Documentation
- (No Category) Fix which host debian image is available for
Features
- (ui) Use ansi-to-react for log coloring
- (No Category) Add legacy fallback options for subsonic communication #136
- (No Category) Log more URL when route is unknown
- (No Category) Add initial linting config
- (No Category) Enable colorizing docker log output
Miscellaneous Tasks
- (!) Upgrade Node to LTS for --import support
- (docker) Remove unused dependencies
- (No Category) Remove unused es6-error package
- (No Category) Upgrade string-sameness
- (No Category) Bump mocha version
Refactor
- (logging) (!) Replace winston with @foxxmd/logging
- (No Category) Replace dbus-next with dbus-ts #142
Testing
- (No Category) Add test that handles no existing scrobble match with score greater than 0 #130
- (No Category) Use tsx through mocha config
Ci
- (No Category) Implement test checks for PRs and image publishing