Skip to content

Changelog

Version v0.21.1 Latest

What’s New?

Blackbox Client

A new Client, Blackbox, is available that can be used as a glorified β€œwebhook” for scrobble/now playing activity from MS.

This client can be configured to POST a json payload (scrobble and/or now playing) to any URL you give it. It can optionally be configured with headers for authentication.

The payload can be either a Full MS Play object which contains a ton of information, or a normal Listenbrainz submit-listens payload.

This client is generally useful to feed your own app, script, or home automation with listening activity from any of your Sources.

Date Time Formatting on Dashboard

MS now defaults to using the date/time format associated with your browser’s locale instead of hardcoding it.

Additionally, you can now also explicitly set preferences for these in the MS dashboard under Setting -> Appearance

image

More Security Hardening and Dependency Updates

Select dependencies have been updated to fix long-standing vulnerabilities due to these dependencies/packages being mostly unmaintained (but still used by MS like for chromecast).

Additionally, dependencies made it into the 0.21.0 production image that were not used. These are now manually removed when building the image.

The result is a ~25MB drop in image size and 90% reduction in vulnerabilities reported by dockerhub image scanning.

Changelog Highlights

πŸ› Bug Fixes

  • (lastfm) Parse artists with an mbid present as one artist (don’t parse by delimiter)
  • (listenbrainz) Prevent duration_played: 0 #781
  • (tests) Prevent test artists generator from duplicating artists
  • (tests) Fix client config tests accidentally clearing non-test related ENVs during the run
  • (No Category) fix LOGS_DIR being ignored

⛰️ Features

  • (ui) Date and time formatting preferences
  • (No Category) Implement blackbox scrobble client

βš™οΈ Miscellaneous Tasks

  • (deps) Upgrade drizzle-orm and drizzle-kit to 1.0.0-rc.5, remove unnecessary drizzle-kit prod dependency
  • (No Category) Update dockerfile base image pinned versions
  • (No Category) Regenerate lockfile with newer npm to get correct libc deps
  • (No Category) Force bump protobufjs to fix vulnerabilities with castv2
  • (No Category) Migrate eslint to oxlint

πŸ“š Documentation

  • (No Category) Spruce up source/client list on landing page
  • (No Category) Blackbox docs

πŸ§‘β€πŸ³ Continuous Integration

  • (No Category) Update tests to run in parallel

πŸ§ͺ Testing

  • (No Category) Ensure a client with upstreamRefresh disabled still detects dupes from in-house plays
  • (No Category) Allow longer timeout for drizzle tests on less powerful machines
  • (No Category) Setup chai-as-promised globally
  • (No Category) More robust tmp dir usage for tests