Compare commits
No commits in common. "master" and "next" have entirely different histories.
5 changed files with 6 additions and 11 deletions
5
.github/workflows/coverage.yml
vendored
5
.github/workflows/coverage.yml
vendored
|
@ -17,8 +17,7 @@ jobs:
|
||||||
- name: Checkout Polaris
|
- name: Checkout Polaris
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
with:
|
components: llvm-tools-preview
|
||||||
components: llvm-tools-preview
|
|
||||||
- name: Install grcov
|
- name: Install grcov
|
||||||
run: cargo install grcov
|
run: cargo install grcov
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
@ -34,11 +33,11 @@ jobs:
|
||||||
--llvm
|
--llvm
|
||||||
--branch
|
--branch
|
||||||
--ignore-not-existing
|
--ignore-not-existing
|
||||||
--binary-path ./target/debug/
|
|
||||||
--excl-line "#\[derive\("
|
--excl-line "#\[derive\("
|
||||||
--excl-br-line "#\[derive\("
|
--excl-br-line "#\[derive\("
|
||||||
--excl-start "mod tests \{"
|
--excl-start "mod tests \{"
|
||||||
--excl-br-start "mod tests \{"
|
--excl-br-start "mod tests \{"
|
||||||
|
working-directory: lib
|
||||||
- name: Upload Results
|
- name: Upload Results
|
||||||
uses: codecov/codecov-action@v2
|
uses: codecov/codecov-action@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## Unreleased Changes
|
|
||||||
|
|
||||||
- Fixed a typo in the log message that is written after applying configuration changes. (thanks @luzpaz)
|
|
||||||
|
|
||||||
## Polaris 0.15.0
|
## Polaris 0.15.0
|
||||||
|
|
||||||
### Server
|
### Server
|
||||||
|
@ -50,7 +46,7 @@
|
||||||
- Documentation is now served under `/api-docs` instead of `/swagger` (eg. `http://localhost:5050/api-docs`)
|
- Documentation is now served under `/api-docs` instead of `/swagger` (eg. `http://localhost:5050/api-docs`)
|
||||||
- Clients are now expected to send their preferred API major version in a `Accept-Version` header. Omitting this currently defaults to `7`, but will become an error in future Polaris releases. Support for API version 7 will be removed entirely in a future release.
|
- Clients are now expected to send their preferred API major version in a `Accept-Version` header. Omitting this currently defaults to `7`, but will become an error in future Polaris releases. Support for API version 7 will be removed entirely in a future release.
|
||||||
- Most API responses now support gzip compression.
|
- Most API responses now support gzip compression.
|
||||||
- The response format of the `/browse`, `/flatten`, `/get_playlist`, `/search/<query>` endpoints has been modified to accommodate large lists.
|
- The response format of the `/browse`, `/flatten`, `/get_playlist`, `/search/<query>` endpoints has been modified to accomodate large lists.
|
||||||
- Added new endpoints to query albums and artists.
|
- Added new endpoints to query albums and artists.
|
||||||
- The `/random` and `/recent` albums are deprecated in favor of `/albums/random` and `/albums/recent`. These endpoints now have optional parameters for RNG seeding and pagination.
|
- The `/random` and `/recent` albums are deprecated in favor of `/albums/random` and `/albums/recent`. These endpoints now have optional parameters for RNG seeding and pagination.
|
||||||
- The `/search/<query>` endpoint now requires a non-empty query (`/search/` now returns HTTP status code 404, regardless of API version).
|
- The `/search/<query>` endpoint now requires a non-empty query (`/search/` now returns HTTP status code 404, regardless of API version).
|
||||||
|
|
|
@ -47,7 +47,7 @@ Password: `demo_password`
|
||||||
|
|
||||||
[Streaming from remote devices](docs/DDNS.md)
|
[Streaming from remote devices](docs/DDNS.md)
|
||||||
|
|
||||||
[](https://repology.org/project/polaris-streaming/versions)
|
[](https://repology.org/project/polaris-streaming/versions)
|
||||||
|
|
||||||
# Documentation
|
# Documentation
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ The location of the configuration file is always logged during Polaris startup.
|
||||||
|
|
||||||
## Format
|
## Format
|
||||||
|
|
||||||
The configuration file uses the [TOML](https://toml.io/) format. Everything in the configuration file is optional and may be omitted (unless mentioned otherwise).
|
The configuration file uses the [TOML](https://toml.io/) format. Everything in the configuration file is optional and may be ommitted (unless mentioned otherwise).
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
# Regular expression used to identify album art in files adjacent to an audio file
|
# Regular expression used to identify album art in files adjacent to an audio file
|
||||||
|
|
|
@ -119,7 +119,7 @@ impl Manager {
|
||||||
if let Err(e) = manager.reload_config().await {
|
if let Err(e) = manager.reload_config().await {
|
||||||
error!("Configuration error: {e}");
|
error!("Configuration error: {e}");
|
||||||
} else {
|
} else {
|
||||||
info!("Successfully applied configuration change");
|
info!("Sucessfully applied configuration change");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue