Skip to content

Releases: agersant/polaris

Polaris 0.13.0

21 Dec 06:04
a8c7509

Choose a tag to compare

API changes

  • Bumped API version number to 6.0.
  • Added new endpoints to manage users, mount points and settings more granularly.
  • Added support for authenticating via bearer tokens generated by the /auth endpoint. These token can be submitted via Bearer HTTP Authorization headers, or as a URL parameters (auth_token).
  • Authentication using cookies or Basic HTTP Authorization headers is deprecated and will be removed in a future revision.
  • Authentication cookies no longer expire after 24 hours. The newly added bearer tokens also have no expiration data.
  • Last.fm account linking now requires a short-lived auth token obtain from the newly added `lastfm/link_token' endpoint.

Server

  • ⚠️Breaking change⚠️ If you use a config file, please put the reindex_every_n_seconds and album_art_pattern in a [settings] section.
  • ⚠️Breaking change⚠️ The installation process on Linux has changed a lot. See the README for updated installation instructions. A summary of the changes is available here.
  • Embedded album art is now supported for mp3, flac and m4a files (thanks @saecki).
  • OPUS files can now be indexed and streamed (thanks @zaethan).
  • APE files can now be indexed and streamed.
  • The collection indexer has been rewritten for better performance. This also fixed an issue where on some machines, the web client would be unusable while indexing (thanks @inicola for the code reviews).
  • Thumbnail generation is now slightly faster, and works with more pixel formats (notably RGBA16).
  • Polaris now uses actix-web instead or rocket. This change fixes numerous performance and stability issues.
  • Sqlite is now bundled by default when building Polaris and was removed from the list of prerequisites. This can be controlled with the bundle-sqlite feature flag when compiling Polaris.
  • The default album art pattern now includes the jpeg extension in addition to jpg.
  • Album art patterns are now case insensitive.

Web client

  • ⚠️Breaking change⚠️ Your current playlist will appear broken after this update. Please clear the current playlist using the trash can icon. Saved playlists are not affected.
  • Added a logout button.
  • Reworked interface for managing user accounts.
  • Added a shuffle button to randomly re-order the content of the current playlist.
  • The total duration of the current playlist is now displayed.
  • Audio output can now be toggled on/off by clicking the volume icon.
  • Individual discs from multi-disc albums can now be dragged into the playlist.
  • When browsing to album, songs are now displayed and queued in filepath order.
  • Fixed a bug where albums could not be dragged from the random or recent views.
  • Fixed a bug where directories with a # sign in their name could not be browsed to.

Polaris 0.12.4

05 Aug 06:55

Choose a tag to compare

Server

  • Added Support for m4a files (thanks @rayrrr)
  • Performance improvements to collection indexing (thanks @lnicola)
  • On Windows, the installer now contains a polaris-cli.exe file which can be used to run the Polaris server as a command line program instead of a tray application

Polaris 0.12.3

01 Jun 02:41

Choose a tag to compare

Server

  • Fixed a bug where the /flatten endpoint (used by the Queue All function) could return songs from directories with similar names (agersant/polaris-web#53)
  • Fixed a bug where it was possible for users to remove their own admin permissions (agersant/polaris-web#54)

Web client

  • The web client no longer needs access to Google CDN to display the intended fonts (#78)
  • Minor font changes (most noticeable in the "recent" and "random" pages)
  • Fixed a bug where pressing some buttons within the settings page would cause the page to reload (agersant/polaris-web#52)

Polaris 0.12.2

30 May 22:52

Choose a tag to compare

Web client

  • Fixed a bug where saving a playlist would reload the page
  • Fixed a bug where app layout was broken when opening a saved playlist

Polaris 0.12.1

17 Apr 04:01

Choose a tag to compare

Server

Support UNIX platforms that aren't Linux (thanks @wezm)

Polaris 0.12.0

17 Apr 03:44

Choose a tag to compare

Server

  • Library indexing speed is now significantly faster
  • When indexing files that have malformed ID3 tags, information preceding the error will no longer be discarded
  • Deleted users can no longer make requests using an existing session
  • When using a config file, existing users, mounts points and DDNS settings are no longer removed before applying the configuration
  • When using a config file to create users, blank usernames are now ignored
  • Improved architecture and added more unit tests

API Changes

  • API version number bumped to 4.0
  • The auth endpoint now returns HTTP cookies instead of a JSON response
  • Client requests to update Last.fm status no longer return an error if no Last.fm account is associated with the user
  • The thumbnail endpoint now supports an option to disable padding to a square image

Web client

  • The web client now uses Vue instead of Riot as its UI framework
  • Added support for theming

Polaris 0.11.0

01 Jan 17:33

Choose a tag to compare

Server

  • Compatible with current versions of the Rust nightly compiler
  • Fixed a rare crash when indexing corrupted mp3 files
  • On Linux, Polaris now notifies systemd after starting up
  • Release tarball for Linux version now includes a top-level directory
  • User sessions no longer break across server restarts (more improvements still to do on this: #36)
  • ⚠️Breaking change: due to improvements in Polaris credentials management, you will have to re-create your users and playlists after upgrading to this version. If you want to preserve your playlists, you can use a program like DB Browser for SQLite to back up your playlists (from db.sqlite within your Polaris installation directory) and restore them after you re-create users with the same names.

Web client

  • Song durations are now listed when available
  • Fixed a bug where clicking on breadcrumbs did not always work when the Polaris server is hosted on Windows
  • Current track info now shows in browser tab title
  • Fixed a semi-rare bug where indexing would not start during initial setup flow
  • Improved handling of untagged songs
  • Fixed a bug where playlist had padding in Chrome
  • Fixed a bug where folder icons did not render on some systems

Thank you to @lnicola for working on most of the server changes!

Polaris 0.10.0

10 Apr 06:47

Choose a tag to compare

Server

  • Polaris servers now ship with an interactive API documentation, available at http://localhost:5050/swagger
  • When using a prefix URL in Polaris config files, a / will no longer be added automatically at the end of the prefix

Web client

  • Automatically bring up player panel when songs are queued
  • Fixed a bug where songs were not always correctly sorted by track number in browser panel
  • Fixed a bug where some button hitboxes didn't match their visuals

Polaris 0.9.0

28 Feb 06:30

Choose a tag to compare

Server

  • Rewrote all endpoints and server setup using Rocket instead of Iron
  • Fixed a bug where special characters in URL to collection folders were not handled correctly (bumped API version number)
  • Server API is now unit tested
  • Fixed a bug where lastFM integration endpoints did not work
  • ⚠️ Compiling Polaris now requires the nightly version of the Rust compiler

Web client

  • Encode special characters in URL to collection folders

Polaris 0.8.0

24 Oct 23:07

Choose a tag to compare

Server

  • Added new API endpoints for search
  • Added new API endpoints for Last.fm integration
  • Thumbnails are now stored as .jpg images instead of .png
  • Duration of some audio files is now being indexed
  • On Linux when running as a forking process, a .pid file will be written
  • Fixed a bug where usernames were inserted in session even after failed authentication

Web client

  • Added search panel
  • Added settings tab to link Last.fm account