Releases: u-wave/core
v0.5.0-alpha.10
This is an alpha release, but new servers should use this version rather than an older "stable" one.
Features:
- Make
artist
,title
optional when adding playlist items (#516).
With this change, deriving the artist and title for a search result can be deferred until it
is actually added to a playlist. Then the search can show only original titles, which makes
finding the correct result easier, and is required for compliance with ToS for some services.
Internal:
v0.5.0-alpha.9
This is an alpha release, but new servers should use this version rather than an older "stable" one.
Bugfixes:
- Fix a crash in the
/api/users
endpoint. (#490)
Internal:
- Fetch ACL sub-roles in a single database query. Should be good for performance, but most of all
for code quality.
v0.5.0-alpha.8
This is an alpha release, but new servers should use this version rather than an older "stable" one.
Bugfixes:
- Improve performance of searches with
?include=playlists
. (#489)
Now it's actually usable :)
v0.5.0-alpha.7
v0.5.0-alpha.6
This is an alpha release, but new servers should use this version rather than an older "stable" one.
This is a hotfix release for problems introduced during development of alpha.5
.
Bugfixes:
- Breaking: Revert
playedAt
to a UNIX timestamp.
This fixes an accidental breaking change. I'm sorry if you updated your code already while tracking
the development branch these past months :( - Make related playlists opt-in in search results. There is a serious performance problem in that
feature, so it is available behind a query parameter for diagnostic purposes. - Fix registrations getting rejected when ReCaptcha is disabled.
- Fix favouriting tracks.
v0.5.0-alpha.5
This is an alpha release, but new servers should use this version rather than an older "stable" one.
This one has many internal changes so please keep an eye on it when you deploy it and report any issues!
Features:
- Add a native ES modules entry point.
- Add
play()
hook for media sources. (#481)
With this hook, media sources can provide data to clients that is needed for playback,
such as expiring signed URLs to access a certain media.
Internal:
- Breaking: Simplify
mongo
andredis
options: you can now only pass URL strings. - Add type checking with jsdoc and typescript. (#442)
- Upgrade dependencies.
v0.5.0-alpha.4
This is an alpha release, but new servers should use this version rather than an older "stable" one.
Features:
- Add
helmet: false
option to disable CSP headers. This is necessary when running the API server and web client in the same Express app.
Internal:
- Upgrade
ajv
to v8.
v0.5.0-alpha.2
v0.5.0-alpha.1
This is an alpha release, but new servers should use this version rather than an older "stable" one.
The u-wave-http-api
package has been merged into u-wave-core
. This package now contains both the library and the HTTP and WebSocket API for üWave servers.
The minimum supported Node.js version is v12.20.0.
u-wave-core
now includes a basic CLI with some default configuration.
npm install --global u-wave-core@next
u-wave-core --help
Features:
- Breaking: Merge
u-wave-http-api
. (#333) - Automatically activate a user's first playlist. (#219)
- Implement votes using HTTP requests. (#361)
- Older client versions can still use WebSocket votes.
- Find playlists containing a particular media. (#374)
- Add social authentication support. (#265, #385)
- Add runtime configuration support. (#380, #408)
- Add database migrations. (#410)
- Add a CLI to run a basic, default-configuration server. (#391, #418)
Internal:
- Add
uw.models
property for easier mongoose model access. (#283) - Breaking: Small changes to DB option handling. (#264)
- Breaking: Raise supported Node.js version to 10+. (#342)
- Make
getPlaylistItems
faster with a single query. (#351, #370) - Remove use of
p-props
. (#371) - Breaking: Handle startup with Avvio. (#400)
- Use JSON schemas for request validation. (#416)
- Move active playlist state from Redis into MongoDB. (#419)
- More tests. (#417, #426)
- Update
sourceData
values when adding media from search results. (#405)