Marcel van der Veldt [Mon, 27 Mar 2023 07:33:20 +0000 (09:33 +0200)]
fix for unavailable player
Marcel van der Veldt [Mon, 27 Mar 2023 07:31:01 +0000 (09:31 +0200)]
bump db schema
Marcel van der Veldt [Mon, 27 Mar 2023 07:26:25 +0000 (09:26 +0200)]
Merge branch 'main' of https://github.com/music-assistant/server
Marcel van der Veldt [Mon, 27 Mar 2023 07:25:13 +0000 (09:25 +0200)]
Refactor image handling a bit (#579)
* Add some additional guard for unavailable players
* Generalize image resolving
* adjust docstring
Marcel van der Veldt [Mon, 27 Mar 2023 05:55:38 +0000 (07:55 +0200)]
Add some additional guard for unavailable players
Marcel van der Veldt [Mon, 27 Mar 2023 00:16:37 +0000 (02:16 +0200)]
Merge branch 'main' of https://github.com/music-assistant/server
Marcel van der Veldt [Mon, 27 Mar 2023 00:16:16 +0000 (02:16 +0200)]
reset last_error when succes
Marcel van der Veldt [Sun, 26 Mar 2023 23:58:33 +0000 (01:58 +0200)]
2.0.0b18
Marcel van der Veldt [Sun, 26 Mar 2023 23:57:00 +0000 (01:57 +0200)]
bump frontend
Marcel van der Veldt [Sun, 26 Mar 2023 23:56:19 +0000 (01:56 +0200)]
config entry wrong value convert
Marcel van der Veldt [Sun, 26 Mar 2023 23:42:11 +0000 (01:42 +0200)]
fix album details on track
Marcel van der Veldt [Sun, 26 Mar 2023 22:18:40 +0000 (00:18 +0200)]
add track albums
Marcel van der Veldt [Sun, 26 Mar 2023 19:55:10 +0000 (21:55 +0200)]
fix value error
Marcel van der Veldt [Sun, 26 Mar 2023 19:48:30 +0000 (21:48 +0200)]
fix some keyerrors in the player queue
Marcel van der Veldt [Sun, 26 Mar 2023 19:19:42 +0000 (21:19 +0200)]
update player default name
Marcel van der Veldt [Sun, 26 Mar 2023 18:59:23 +0000 (20:59 +0200)]
make ffmpeg logging a bit more verbose
Marcel van der Veldt [Sun, 26 Mar 2023 16:09:22 +0000 (18:09 +0200)]
2.0.0b17
Marcel van der Veldt [Sun, 26 Mar 2023 16:08:37 +0000 (18:08 +0200)]
Update requirements_all.txt
Marcel van der Veldt [Sun, 26 Mar 2023 16:07:51 +0000 (18:07 +0200)]
Update pyproject.toml
Marcel van der Veldt [Sun, 26 Mar 2023 15:56:40 +0000 (17:56 +0200)]
Various small fixes (#578)
* Fix images for items in the queue
* Fix queue item detection for sonos in flow mode
* fix some issues in the matching logic
* Fix refresh item
* change to debug logging
* typos
* try to fix timeout
Marcel van der Veldt [Sun, 26 Mar 2023 14:11:48 +0000 (16:11 +0200)]
Various optimizations for file/smb provider (#577)
Marcel van der Veldt [Sun, 26 Mar 2023 10:28:06 +0000 (12:28 +0200)]
Fix playback of TuneIn streams (#576)
Fix playback on TuneIn
Marcel van der Veldt [Sun, 26 Mar 2023 02:12:34 +0000 (04:12 +0200)]
Merge branch 'main' of https://github.com/music-assistant/server
Marcel van der Veldt [Sun, 26 Mar 2023 02:12:14 +0000 (04:12 +0200)]
drop kerberos support for now
Marcel van der Veldt [Sun, 26 Mar 2023 01:52:31 +0000 (03:52 +0200)]
2.0.0b16
Marcel van der Veldt [Sun, 26 Mar 2023 01:42:31 +0000 (03:42 +0200)]
Merge branch 'main' of https://github.com/music-assistant/server
Marcel van der Veldt [Sun, 26 Mar 2023 01:41:46 +0000 (03:41 +0200)]
bump frontend to
20230326.0
Marcel van der Veldt [Sun, 26 Mar 2023 01:22:27 +0000 (03:22 +0200)]
Fix radio streams (#575)
* fix typo in didl
* fix for mpeg dash radio streams
Marcel van der Veldt [Sat, 25 Mar 2023 23:48:13 +0000 (00:48 +0100)]
Merge branch 'main' of https://github.com/music-assistant/server
Marcel van der Veldt [Sat, 25 Mar 2023 23:47:55 +0000 (00:47 +0100)]
Fix for Sonos players invisible if member of multichannel group (e.g. stereo pair)
Marvin Schenkel [Sat, 25 Mar 2023 23:27:15 +0000 (00:27 +0100)]
Handle radio mode consistently (#573)
* Handle radio mode more consistently.
Marcel van der Veldt [Sat, 25 Mar 2023 23:26:02 +0000 (00:26 +0100)]
Fix Fileprovider remote shares support (#574)
* bump schema version
* Replace PySMB with smbprotocol library
* fix index error in queue
* Fix multi instance playback issues
* fix shutdown
* ignore recycle bin folders
Marcel van der Veldt [Sat, 25 Mar 2023 20:18:40 +0000 (21:18 +0100)]
fix query
Marcel van der Veldt [Sat, 25 Mar 2023 19:51:02 +0000 (20:51 +0100)]
Fix ambedded image preferred over album image
Marcel van der Veldt [Sat, 25 Mar 2023 19:14:35 +0000 (20:14 +0100)]
Merge branch 'main' of https://github.com/music-assistant/server
Marcel van der Veldt [Sat, 25 Mar 2023 13:21:33 +0000 (14:21 +0100)]
2.0.0b15
Marcel van der Veldt [Sat, 25 Mar 2023 13:20:24 +0000 (14:20 +0100)]
Fix metadata reading issues fileprovider (#572)
* precache album tracks
* fix overwiting over albums of track
* fix reading albumtype tag
Marcel van der Veldt [Sat, 25 Mar 2023 01:52:11 +0000 (02:52 +0100)]
fix overwiting over albums of track
Marcel van der Veldt [Sat, 25 Mar 2023 01:28:28 +0000 (02:28 +0100)]
precache album tracks
Marcel van der Veldt [Sat, 25 Mar 2023 00:45:33 +0000 (01:45 +0100)]
Map ItemMapping results from database records
Marcel van der Veldt [Sat, 25 Mar 2023 00:14:29 +0000 (01:14 +0100)]
Merge branch 'main' of https://github.com/music-assistant/server
Marcel van der Veldt [Fri, 24 Mar 2023 23:31:11 +0000 (00:31 +0100)]
Fix missing provider ids errors
Marcel van der Veldt [Fri, 24 Mar 2023 22:50:53 +0000 (23:50 +0100)]
2.0.0b14
Marcel van der Veldt [Fri, 24 Mar 2023 22:50:12 +0000 (23:50 +0100)]
fix streaming
Marcel van der Veldt [Fri, 24 Mar 2023 22:31:48 +0000 (23:31 +0100)]
2.0.0b13
github-actions[bot] [Fri, 24 Mar 2023 22:31:27 +0000 (23:31 +0100)]
Auto-update pre-commit hooks (#568)
Co-authored-by: marcelveldt <marcelveldt@users.noreply.github.com>
Marcel van der Veldt [Fri, 24 Mar 2023 22:29:48 +0000 (23:29 +0100)]
Improve tag and matching logic (#571)
* fix typo in soundcloud
* fix parsing albumtype and version
* fixes for tags, add timestamps
* handle edge cases
* enable metadata scanner
* bump frontend
* supress images not found
* add explicit metadata
Marcel van der Veldt [Fri, 24 Mar 2023 00:07:54 +0000 (01:07 +0100)]
fix typing of tuples
Marcel van der Veldt [Thu, 23 Mar 2023 23:15:57 +0000 (00:15 +0100)]
2.0.0b12
Marcel van der Veldt [Thu, 23 Mar 2023 23:15:23 +0000 (00:15 +0100)]
update requirements
Marcel van der Veldt [Thu, 23 Mar 2023 23:14:08 +0000 (00:14 +0100)]
fix streams
Marcel van der Veldt [Thu, 23 Mar 2023 22:58:32 +0000 (23:58 +0100)]
Merge branch 'main' of https://github.com/music-assistant/server
Marcel van der Veldt [Thu, 23 Mar 2023 22:58:18 +0000 (23:58 +0100)]
bump frontend to
20230323.1
Marcel van der Veldt [Thu, 23 Mar 2023 22:51:48 +0000 (23:51 +0100)]
fix typo
Marcel van der Veldt [Thu, 23 Mar 2023 21:48:35 +0000 (22:48 +0100)]
2.0.0b11
Marcel van der Veldt [Thu, 23 Mar 2023 21:46:58 +0000 (22:46 +0100)]
Bump frontend to
20230323.0
Marcel van der Veldt [Thu, 23 Mar 2023 20:43:42 +0000 (21:43 +0100)]
Fix some small typos
Marcel van der Veldt [Thu, 23 Mar 2023 20:09:51 +0000 (21:09 +0100)]
Refactor config flow (#567)
* Refactor config entries and provider setup
* No more need to get the config entries from the manifest file
* split out websocket api and webserver
* fixes for the webserver
* store provider icons server side
Giel Janssens [Thu, 23 Mar 2023 19:47:38 +0000 (20:47 +0100)]
Add Initial support for Soundcloud (#566)
Initial support for Soundcloud as Musicprovider
Marcel van der Veldt [Thu, 23 Mar 2023 07:35:06 +0000 (08:35 +0100)]
linting
Marcel van der Veldt [Thu, 23 Mar 2023 07:30:27 +0000 (08:30 +0100)]
Update dependencies (#565)
* update pychromecast to 13.0.5
* drop getmac
dependabot[bot] [Thu, 23 Mar 2023 07:21:09 +0000 (08:21 +0100)]
Bump pypa/gh-action-pypi-publish from 1.8.1 to 1.8.3 (#562)
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.8.1 to 1.8.3.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.1...v1.8.3)
---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
github-actions[bot] [Thu, 23 Mar 2023 07:20:47 +0000 (08:20 +0100)]
Auto-update pre-commit hooks (#563)
Co-authored-by: marcelveldt <marcelveldt@users.noreply.github.com>
Marcel van der Veldt [Thu, 23 Mar 2023 07:20:31 +0000 (08:20 +0100)]
Better handling of unavailable providers (#564)
Marvin Schenkel [Wed, 22 Mar 2023 16:20:16 +0000 (17:20 +0100)]
Escape didl image url and disable throttling. (#561)
dependabot[bot] [Wed, 22 Mar 2023 15:49:02 +0000 (16:49 +0100)]
Bump pytest-asyncio from 0.20.3 to 0.21.0 (#556)
Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.20.3 to 0.21.0.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.20.3...v0.21.0)
---
updated-dependencies:
- dependency-name: pytest-asyncio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Marvin Schenkel [Wed, 22 Mar 2023 15:48:22 +0000 (16:48 +0100)]
Dev docs: Music Provider (#559)
* Add music provider docs
dependabot[bot] [Tue, 21 Mar 2023 23:53:51 +0000 (00:53 +0100)]
Bump pre-commit from 3.1.1 to 3.2.0 (#555)
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.1.1 to 3.2.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v3.1.1...v3.2.0)
---
updated-dependencies:
- dependency-name: pre-commit
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Tue, 21 Mar 2023 23:53:36 +0000 (00:53 +0100)]
Bump ruff from 0.0.256 to 0.0.257 (#557)
Bumps [ruff](https://github.com/charliermarsh/ruff) from 0.0.256 to 0.0.257.
- [Release notes](https://github.com/charliermarsh/ruff/releases)
- [Changelog](https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/charliermarsh/ruff/compare/v0.0.256...v0.0.257)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Marcel van der Veldt [Tue, 21 Mar 2023 23:53:10 +0000 (00:53 +0100)]
Add support for Chromecast groups and stereo pairs (#560)
* Add support for Chromecast player groups and stereo pairs
* use mute only when group is active
Marcel van der Veldt [Mon, 20 Mar 2023 09:18:30 +0000 (10:18 +0100)]
Various small fixes and improvements (#553)
Marcel van der Veldt [Sun, 19 Mar 2023 21:59:47 +0000 (22:59 +0100)]
2.0.0b10
Marcel van der Veldt [Sun, 19 Mar 2023 21:59:15 +0000 (22:59 +0100)]
Bump frontend to
20230319.1 (#552)
dependabot[bot] [Sun, 19 Mar 2023 21:25:19 +0000 (22:25 +0100)]
Bump peter-evans/create-pull-request from 4.2.3 to 4.2.4 (#533)
Bumps
[peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request)
from 4.2.3 to 4.2.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/peter-evans/create-pull-request/releases">peter-evans/create-pull-request's
releases</a>.</em></p>
<blockquote>
<h2>Create Pull Request v4.2.4</h2>
<p>⚙️ Patches some recent security vulnerabilities.</p>
<h2>What's Changed</h2>
<ul>
<li>Update concepts-guidelines.md by <a
href="https://github.com/chrisbruford"><code>@chrisbruford</code></a>
in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/1610">peter-evans/create-pull-request#1610</a></li>
<li>58 dependency updates by <a
href="https://github.com/dependabot"><code>@dependabot</code></a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/chrisbruford"><code>@chrisbruford</code></a>
made their first contribution in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/1610">peter-evans/create-pull-request#1610</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/peter-evans/create-pull-request/compare/v4.2.3...v4.2.4">https://github.com/peter-evans/create-pull-request/compare/v4.2.3...v4.2.4</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/
38e0b6e68b4c852a5500a94740f0e535e0d7ba54"><code>
38e0b6e</code></a>
build(deps-dev): bump <code>@types/node</code> from 18.14.6 to 18.15.3
(<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/1721">#1721</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/
a95ef54b72e4e4869bed21beb5f2fd2b9d22148c"><code>
a95ef54</code></a>
build(deps-dev): bump <code>@typescript-eslint/parser</code> from
5.54.1 to 5.55.0 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/1720">#1720</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/
021e16bf4a7463c4dcc222562ac58aea7925d25a"><code>
021e16b</code></a>
build(deps-dev): bump eslint from 8.35.0 to 8.36.0 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/1719">#1719</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/
5141da944e5d2e42824d08f68996923769668799"><code>
5141da9</code></a>
build(deps-dev): bump <code>@types/jest</code> from 29.4.0 to 29.4.1
(<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/1718">#1718</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/
6217f0d61d3e1fd1236b1cee861f010f84673f23"><code>
6217f0d</code></a>
build(deps-dev): bump <code>@typescript-eslint/parser</code> from
5.54.0 to 5.54.1 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/1690">#1690</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/
e5cb5210cd6ad5cb9b6b674d4b0ab40cad91a303"><code>
e5cb521</code></a>
build(deps-dev): bump jest from 29.4.3 to 29.5.0 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/1692">#1692</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/
7414bc08488fabcc2359ed71577ab2b36af059c4"><code>
7414bc0</code></a>
build(deps-dev): bump jest-environment-jsdom from 29.4.3 to 29.5.0 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/1688">#1688</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/
f8fe2469e5bbde0665271d18419273dbf70abfd8"><code>
f8fe246</code></a>
build(deps-dev): bump <code>@types/node</code> from 18.14.2 to 18.14.6
(<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/1689">#1689</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/
b8f683bda6e263050e3ef4e75b7b2de5b46f9fc4"><code>
b8f683b</code></a>
build(deps-dev): bump <code>@types/node</code> from 18.14.0 to 18.14.2
(<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/1668">#1668</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/
d5f5f4bf248133180ca9949739a1c53c8842c057"><code>
d5f5f4b</code></a>
build(deps-dev): bump <code>@typescript-eslint/parser</code> from
5.53.0 to 5.54.0 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/1667">#1667</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/peter-evans/create-pull-request/compare/v4.2.3...v4.2.4">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Marcel van der Veldt [Sun, 19 Mar 2023 21:16:35 +0000 (22:16 +0100)]
Various small fixes and improvements (#551)
@marcelveldt
[add guard for empty
objects](https://github.com/music-assistant/server/pull/551/commits/
a43c51b39a766769c45fbdffebccc3b44fb0eaa1)
[
a43c51b](https://github.com/music-assistant/server/pull/551/commits/
a43c51b39a766769c45fbdffebccc3b44fb0eaa1)
@marcelveldt
[better handle value type
conversions](https://github.com/music-assistant/server/pull/551/commits/
5566338577d70a19c0e27329aa1173526de1bb51)
[
5566338](https://github.com/music-assistant/server/pull/551/commits/
5566338577d70a19c0e27329aa1173526de1bb51)
@marcelveldt
[set playlist author for
YTM](https://github.com/music-assistant/server/pull/551/commits/
5265b01dd00fc1f644984e8dcfbbfddfefd87877)
[
5265b01](https://github.com/music-assistant/server/pull/551/commits/
5265b01dd00fc1f644984e8dcfbbfddfefd87877)
@marcelveldt
[typo in
loglevel](https://github.com/music-assistant/server/pull/551/commits/
6f2843d47b19ff5b86bd3137bbef0daec3e800d4)
[
6f2843d](https://github.com/music-assistant/server/pull/551/commits/
6f2843d47b19ff5b86bd3137bbef0daec3e800d4)
@marcelveldt
[unload provider on
disable](https://github.com/music-assistant/server/pull/551/commits/
f1787a223c79b2a551461ea4d2ef28aff6fa9d61)
[
f1787a2](https://github.com/music-assistant/server/pull/551/commits/
f1787a223c79b2a551461ea4d2ef28aff6fa9d61)
@marcelveldt
[fix metadata pickup in
background](https://github.com/music-assistant/server/pull/551/commits/
4f55d142ff085ec309cbd59aa9c1dd2ab9a58c40)
[
4f55d14](https://github.com/music-assistant/server/pull/551/commits/
4f55d142ff085ec309cbd59aa9c1dd2ab9a58c40)
@marcelveldt
[fix sync
interval](https://github.com/music-assistant/server/pull/551/commits/
30f76afeaedfee381ba4885964889677c681bfdf)
[
30f76af](https://github.com/music-assistant/server/pull/551/commits/
30f76afeaedfee381ba4885964889677c681bfdf)
@marcelveldt
[do not include self in
versions](https://github.com/music-assistant/server/pull/551/commits/
cb05e94d0d6d724e00fbb312a99b84d0ab1c72a5)
[
cb05e94](https://github.com/music-assistant/server/pull/551/commits/
cb05e94d0d6d724e00fbb312a99b84d0ab1c72a5)
@marcelveldt
[make default action for missing albumartist
configurable](https://github.com/music-assistant/server/pull/551/commits/
fc13c997d26366f572c63d5cbef79950370f8a92)
[
fc13c99](https://github.com/music-assistant/server/pull/551/commits/
fc13c997d26366f572c63d5cbef79950370f8a92)
@marcelveldt
[simplify albumtype
match](https://github.com/music-assistant/server/pull/551/commits/
60a161a42bd6537d30c53b8e2556cd2901a6d908)
[
60a161a](https://github.com/music-assistant/server/pull/551/commits/
60a161a42bd6537d30c53b8e2556cd2901a6d908)
@marcelveldt
[add albumtype EP on some missing
places](https://github.com/music-assistant/server/pull/551/commits/
0b5168be9caa4f538e4e5ad61c8a333d66c429f9)
github-actions[bot] [Sun, 19 Mar 2023 11:14:50 +0000 (12:14 +0100)]
Auto-update pre-commit hooks (#547)
Update versions of tools in pre-commit
configs to latest version
Co-authored-by: marcelveldt <marcelveldt@users.noreply.github.com>
Marcel van der Veldt [Sun, 19 Mar 2023 09:00:42 +0000 (10:00 +0100)]
2.0.0b9
Marcel van der Veldt [Sun, 19 Mar 2023 09:00:23 +0000 (10:00 +0100)]
Fix for adding new provider (#550)
Adding a new provider caused a keyerror on fresh installs
Marvin Schenkel [Sun, 19 Mar 2023 08:59:44 +0000 (09:59 +0100)]
Fix playlist max 100 songs (#549)
Fix playlist only loading 100 songs max
Marcel van der Veldt [Sun, 19 Mar 2023 01:31:22 +0000 (02:31 +0100)]
2.0.0b8
Marcel van der Veldt [Sun, 19 Mar 2023 01:30:49 +0000 (02:30 +0100)]
Various small glitches resolved (#548)
Marcel van der Veldt [Sat, 18 Mar 2023 22:10:28 +0000 (23:10 +0100)]
Fixes for Browse and Search features (#546)
Some backend changes to complement the Search and Browse features in the
frontend
Marcel van der Veldt [Fri, 17 Mar 2023 14:52:48 +0000 (15:52 +0100)]
add git to build deps
Marcel van der Veldt [Fri, 17 Mar 2023 14:36:12 +0000 (15:36 +0100)]
2.0.0b7
Marcel van der Veldt [Fri, 17 Mar 2023 14:35:21 +0000 (15:35 +0100)]
Fix configuration flows (#545)
- Validate config before saving
- Ensure all players and providers have a default config
- Various config related fixes
- Improve add provider flow
Marvin Schenkel [Fri, 17 Mar 2023 10:16:03 +0000 (11:16 +0100)]
Fix radio (#544)
Marvin Schenkel [Fri, 17 Mar 2023 10:15:24 +0000 (11:15 +0100)]
Fix/pytube (#543)
Temp fix for recent pytube error
Marvin Schenkel [Fri, 17 Mar 2023 09:50:37 +0000 (10:50 +0100)]
Add option to add git repositories as dependencies (#542)
This PR adds the possibility to add git repositories as pip
dependencies.
Marcel van der Veldt [Fri, 17 Mar 2023 09:33:59 +0000 (10:33 +0100)]
Fix image of queue item if source is file based (#541)
Resolve queue item image url (use image proxy) so players can also
display embedded covers
Marcel van der Veldt [Fri, 17 Mar 2023 08:25:29 +0000 (09:25 +0100)]
Fix SMB Music provider (#540)
Create a single connection per action. This a bit slower but much more
reliable.
Now it seems to handle all test cases I throw at it just fine.
Also adjust the configuration a bit and split out the path into
server/host, share and subfolder
dependabot[bot] [Thu, 16 Mar 2023 21:31:22 +0000 (22:31 +0100)]
Bump orjson from 3.8.6 to 3.8.7 (#524)
Bumps [orjson](https://github.com/ijl/orjson) from 3.8.6 to 3.8.7.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/ijl/orjson/releases">orjson's
releases</a>.</em></p>
<blockquote>
<h2>3.8.7</h2>
<h3>Fixed</h3>
<ul>
<li>Use serialization backend introduced in 3.8.4 only on well-tested
platforms such as glibc, macOS by default.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/ijl/orjson/blob/master/CHANGELOG.md">orjson's
changelog</a>.</em></p>
<blockquote>
<h2>3.8.7 - 2023-02-28</h2>
<h3>Fixed</h3>
<ul>
<li>Use serialization backend introduced in 3.8.4 only on well-tested
platforms such as glibc, macOS by default.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/ijl/orjson/commit/
4b8b5cfe5e2a20b6476792dc58e2e2a13ec68fa8"><code>
4b8b5cf</code></a>
3.8.7</li>
<li><a
href="https://github.com/ijl/orjson/commit/
c29d39230284900bd0e3c6efce74bf2c09ed76d8"><code>
c29d392</code></a>
opt_enabled!(), opt_disabled!()</li>
<li><a
href="https://github.com/ijl/orjson/commit/
15e42dabfc7763b78ca5a74b768fcaf29cdbdc17"><code>
15e42da</code></a>
TrustedLen</li>
<li><a
href="https://github.com/ijl/orjson/commit/
02910ee3f585cb71f82dc258111216755047fdd9"><code>
02910ee</code></a>
writeext feature</li>
<li><a
href="https://github.com/ijl/orjson/commit/
c5a1c8a8c12dc0cfbe4e5da3e96477fe81f7b289"><code>
c5a1c8a</code></a>
lint job, build maintenance</li>
<li>See full diff in <a
href="https://github.com/ijl/orjson/compare/3.8.6...3.8.7">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Thu, 16 Mar 2023 21:31:01 +0000 (22:31 +0100)]
Bump mypy from 1.0.1 to 1.1.1 (#518)
Bumps [mypy](https://github.com/python/mypy) from 1.0.1 to 1.1.1.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/python/mypy/commit/
9b777a36315b1ba24ab840f9f905cfb6c82e35a9"><code>
9b777a3</code></a>
bump version to 1.1.1 for wheels build</li>
<li><a
href="https://github.com/python/mypy/commit/
6d355f57df1a664e9853891ca77af68944242d52"><code>
6d355f5</code></a>
[Release 1.1] Cherry-pick some mypyc build fixes (<a
href="https://redirect.github.com/python/mypy/issues/14820">#14820</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/
a27dec535e3eb1ed8dab1625e592bce5ab9a7972"><code>
a27dec5</code></a>
Fix <code>--strict-equality</code> crash for instances of a class
generic over a `ParamS...</li>
<li><a
href="https://github.com/python/mypy/commit/
c2016586d45767246d73bc38fd5b01e0d5c8f787"><code>
c201658</code></a>
Remove +dev from version number before release</li>
<li><a
href="https://github.com/python/mypy/commit/
17fba49939d4d8408f77e539290b24dd9b7f07ae"><code>
17fba49</code></a>
[1.1 backport] [dataclass_transform] include
<strong>dataclass_fields</strong> in transfor...</li>
<li><a
href="https://github.com/python/mypy/commit/
f2cac4a1bf08874f3862cdb48cad7f908577c400"><code>
f2cac4a</code></a>
[1.1 backport] [dataclass_transform] detect transform spec changes in
increme...</li>
<li><a
href="https://github.com/python/mypy/commit/
c03e979ca06c3bf082a4cd07458a1bc3205dc5e5"><code>
c03e979</code></a>
Stubtest: Link directly to line (<a
href="https://redirect.github.com/python/mypy/issues/14437">#14437</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/
8a487ff248783fdc2fc0c1852a15f9fd6fbc12e8"><code>
8a487ff</code></a>
Sync typeshed (<a
href="https://redirect.github.com/python/mypy/issues/14733">#14733</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/
c99133f405f286ed3429c809e9ae2cb3faaa2ceb"><code>
c99133f</code></a>
Fix for bug with <code>in</code> operation on optionals in
<code>no-strict-optional</code> mode (<a
href="https://redirect.github.com/python/mypy/issues/1">#1</a>...</li>
<li><a
href="https://github.com/python/mypy/commit/
ef3187a64d10d1aacbf1d28171b4af00dcd1cb64"><code>
ef3187a</code></a>
Update commit hashes in sync typeshed script (<a
href="https://redirect.github.com/python/mypy/issues/14720">#14720</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/python/mypy/compare/v1.0.1...v1.1.1">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Thu, 16 Mar 2023 21:30:45 +0000 (22:30 +0100)]
Bump pytest from 7.2.1 to 7.2.2 (#517)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.2.1 to
7.2.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pytest/releases">pytest's
releases</a>.</em></p>
<blockquote>
<h2>7.2.2</h2>
<h1>pytest 7.2.2 (2023-03-03)</h1>
<h2>Bug Fixes</h2>
<ul>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10533">#10533</a>:
Fixed <code>pytest.approx</code>{.interpreted-text
role="func"} handling of dictionaries containing one or more
values of [0.0]{.title-ref}.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10592">#10592</a>:
Fixed crash if [--cache-show]{.title-ref} and [--help]{.title-ref} are
passed at the same time.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10597">#10597</a>:
Fixed bug where a fixture method named <code>teardown</code> would be
called as part of <code>nose</code> teardown stage.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10626">#10626</a>:
Fixed crash if <code>--fixtures</code> and <code>--help</code> are
passed at the same time.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10660">#10660</a>:
Fixed :py<code>pytest.raises</code>{.interpreted-text
role="func"} to return a 'ContextManager' so that
type-checkers could narrow
<code>pytest.raises(...) if ... else nullcontext()</code> down to
'ContextManager' rather than 'object'.</li>
</ul>
<h2>Improved Documentation</h2>
<ul>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10690">#10690</a>:
Added [CI]{.title-ref} and [BUILD_NUMBER]{.title-ref} environment
variables to the documentation.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10721">#10721</a>:
Fixed entry-points declaration in the documentation example using
Hatch.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10753">#10753</a>:
Changed wording of the module level skip to be very explicit
about not collecting tests and not executing the rest of the
module.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytest-dev/pytest/commit/
4191e0259805acbc499d326441c98e2b950637f1"><code>
4191e02</code></a>
Prepare release version 7.2.2</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/
eb50c6ce9990c322f7ec1d25c8433456aa8fd7f6"><code>
eb50c6c</code></a>
[7.2.x] Normalize how changelog entries are written (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/10790">#10790</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/
9693556f27ee77ac74c380943b9b8e5b926edcf1"><code>
9693556</code></a>
[7.2.x] Fix test_cmdline_python_namespace_package (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/10789">#10789</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/
e8e7d44a4c28fc608ada23030f2883b922155218"><code>
e8e7d44</code></a>
[7.2.x] made minor updates to fixtures docs (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/10778">#10778</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/
2fd4549db50e0086ce163654c8e060478111f05a"><code>
2fd4549</code></a>
[7.2.x] docs: be more explicit about module level skip preventing
collection ...</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/
cee8d6f274213f790ca286cb2d0b9390c6234c6c"><code>
cee8d6f</code></a>
[7.2.x] Update import mode documentation to not refer to
<strong>import</strong>() anymore...</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/
79108bf9a37aebe1879c545cdf926251772cc05e"><code>
79108bf</code></a>
[7.2.x] add CI and BUILD_NUMBER env var in docs (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/10750">#10750</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/
779a87aada33af444f14841a04344016a087669e"><code>
779a87a</code></a>
[7.2.x] Update open training (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/10740">#10740</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/
60216810d938ea574b81761782d902309fd77ffd"><code>
6021681</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/10734">#10734</a>
from pytest-dev/backport-10725-to-7.2.x</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/
37e410fce841635c6d3b4ba6b37c6a8df360b40a"><code>
37e410f</code></a>
[7.2.x] Fix entry-points declaration in the documentation example using
Hatch</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest/compare/7.2.1...7.2.2">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Thu, 16 Mar 2023 21:16:11 +0000 (22:16 +0100)]
Bump python-slugify from 7.0.0 to 8.0.1 (#526)
Bumps [python-slugify](https://github.com/un33k/python-slugify) from
7.0.0 to 8.0.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/un33k/python-slugify/blob/master/CHANGELOG.md">python-slugify's
changelog</a>.</em></p>
<blockquote>
<h2>8.0.1</h2>
<ul>
<li>Added license notice to readme (<a
href="https://github.com/C-nit"><code>@C-nit</code></a> - thx)</li>
</ul>
<h2>8.0.0</h2>
<ul>
<li>By default, prefer unidecode if installed (<a
href="https://github.com/enkidulan"><code>@enkidulan</code></a> -
thx)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/un33k/python-slugify/commit/
58031becacdc8945393ddf628e84a6785cd08066"><code>
58031be</code></a>
Merge branch 'staging'</li>
<li><a
href="https://github.com/un33k/python-slugify/commit/
e20c5e521416d53b37d823540f03145c298daf11"><code>
e20c5e5</code></a>
Legal Notice / Readme</li>
<li><a
href="https://github.com/un33k/python-slugify/commit/
b9b8b96430dcdd06d7cc888b04485be075a960a4"><code>
b9b8b96</code></a>
Add note on licensing (<a
href="https://redirect.github.com/un33k/python-slugify/issues/130">#130</a>)</li>
<li><a
href="https://github.com/un33k/python-slugify/commit/
11e6209bba742675bda4307a65d69c8821fccaee"><code>
11e6209</code></a>
By default, prefer unidecode if installed</li>
<li><a
href="https://github.com/un33k/python-slugify/commit/
22d7e84b95869dd4300952b88113dd00e53e9ec7"><code>
22d7e84</code></a>
Update import order for unidecode vs text_unidecode (<a
href="https://redirect.github.com/un33k/python-slugify/issues/126">#126</a>)</li>
<li><a
href="https://github.com/un33k/python-slugify/commit/
93d15b7f07c748e86d831f9268e04e80f807224a"><code>
93d15b7</code></a>
Merge branch 'sandbox' into development</li>
<li><a
href="https://github.com/un33k/python-slugify/commit/
40a9b99f95293309297c679959de1a506b98626f"><code>
40a9b99</code></a>
Support Matrix</li>
<li><a
href="https://github.com/un33k/python-slugify/commit/
fcbaac2ffbe3d37528ec5d26e750a696d2603587"><code>
fcbaac2</code></a>
SemVer Table</li>
<li><a
href="https://github.com/un33k/python-slugify/commit/
f0b267621368aa6aeca80011c2776aec05693547"><code>
f0b2676</code></a>
SemVer Table</li>
<li><a
href="https://github.com/un33k/python-slugify/commit/
dc888f5a7a0c52c0e408a9bded308505cf962fc1"><code>
dc888f5</code></a>
SemVer Table</li>
<li>Additional commits viewable in <a
href="https://github.com/un33k/python-slugify/compare/v7.0.0...v8.0.1">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Marvin Schenkel [Thu, 16 Mar 2023 21:15:38 +0000 (22:15 +0100)]
Auto renew cipher for Youtube Music provider (#539)
This PR adds logic to auto-renew a cipher when it has expires.
dependabot[bot] [Thu, 16 Mar 2023 21:14:16 +0000 (22:14 +0100)]
Bump ruff from 0.0.254 to 0.0.256 (#535)
Bumps [ruff](https://github.com/charliermarsh/ruff) from 0.0.254 to
0.0.256.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/charliermarsh/ruff/releases">ruff's
releases</a>.</em></p>
<blockquote>
<h2>v0.0.256</h2>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<h3>Bug Fixes</h3>
<ul>
<li>PYI011: allow <code>math</code> constants in defaults by <a
href="https://github.com/XuehaiPan"><code>@XuehaiPan</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3484">charliermarsh/ruff#3484</a></li>
<li>Remove erroneous C4-to-C40 redirect by <a
href="https://github.com/charliermarsh"><code>@charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3488">charliermarsh/ruff#3488</a></li>
<li>fix lack of <code>not</code> in error message by <a
href="https://github.com/Czaki"><code>@Czaki</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3497">charliermarsh/ruff#3497</a></li>
<li>Ensure that redirect warnings appear exactly once per code by <a
href="https://github.com/charliermarsh"><code>@charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3500">charliermarsh/ruff#3500</a></li>
<li>Allow f-strings and concatenations in os.getenv by <a
href="https://github.com/charliermarsh"><code>@charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3516">charliermarsh/ruff#3516</a></li>
<li>Allow string percent formatting in os.getenv by <a
href="https://github.com/charliermarsh"><code>@charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3518">charliermarsh/ruff#3518</a></li>
<li>Refine complexity rules for try-except-else-finally by <a
href="https://github.com/charliermarsh"><code>@charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3519">charliermarsh/ruff#3519</a></li>
<li>Replicate inline comments when splitting single-line imports by <a
href="https://github.com/charliermarsh"><code>@charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3521">charliermarsh/ruff#3521</a></li>
<li>Avoid PEP 604 isinstance errors for starred tuples by <a
href="https://github.com/charliermarsh"><code>@charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3527">charliermarsh/ruff#3527</a></li>
<li>Avoid tracking as-imports separately with force-single-line by <a
href="https://github.com/charliermarsh"><code>@charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3530">charliermarsh/ruff#3530</a></li>
<li>Fix PYI011 and add auto-fix by <a
href="https://github.com/JonathanPlasse"><code>@JonathanPlasse</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3492">charliermarsh/ruff#3492</a></li>
<li>Avoid PEP 604 panic with empty tuple by <a
href="https://github.com/charliermarsh"><code>@charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3526">charliermarsh/ruff#3526</a></li>
<li>Add last remaining deprecated typing imports by <a
href="https://github.com/charliermarsh"><code>@charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3529">charliermarsh/ruff#3529</a></li>
<li>Avoid unused argument violations in .pyi files by <a
href="https://github.com/charliermarsh"><code>@charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3533">charliermarsh/ruff#3533</a></li>
</ul>
<h3>Other Changes</h3>
<ul>
<li>Include individual path checks in --verbose logging by <a
href="https://github.com/charliermarsh"><code>@charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3489">charliermarsh/ruff#3489</a></li>
<li>Allow <code># ruff:</code> prefix for isort action comments by <a
href="https://github.com/charliermarsh"><code>@charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3493">charliermarsh/ruff#3493</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/charliermarsh/ruff/compare/v0.0.255...v0.0.256">https://github.com/charliermarsh/ruff/compare/v0.0.255...v0.0.256</a></p>
<h2>v0.0.255</h2>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<h3>Rules</h3>
<ul>
<li>[<code>flake8-pie</code>] Fix PIE802 broken auto-fix with trailing
comma by <a
href="https://github.com/JonathanPlasse"><code>@JonathanPlasse</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3402">charliermarsh/ruff#3402</a></li>
<li>[<code>flake8-pie</code>] Implement autofix for PIE810 by <a
href="https://github.com/kyoto7250"><code>@kyoto7250</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3411">charliermarsh/ruff#3411</a></li>
<li>[<code>flake8-bugbear</code>] Add <code>flake8-bugbear</code>'s B030
rule by <a
href="https://github.com/aacunningham"><code>@aacunningham</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3400">charliermarsh/ruff#3400</a></li>
<li>[<code>pycodestyle</code>] Add E231 by <a
href="https://github.com/carlosmiei"><code>@carlosmiei</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3344">charliermarsh/ruff#3344</a></li>
<li>[<code>pyupgrade</code>] Flag deprecated (but renamed) imports in
UP035 by <a
href="https://github.com/charliermarsh"><code>@charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3448">charliermarsh/ruff#3448</a></li>
<li>[<code>pyupgrade</code>] Remap ChainMap, Counter, and OrderedDict
imports to collections by <a
href="https://github.com/charliermarsh"><code>@charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3392">charliermarsh/ruff#3392</a></li>
<li>[<code>pylint</code>] C1901: compare-to-empty-string by <a
href="https://github.com/AreamanM"><code>@AreamanM</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3405">charliermarsh/ruff#3405</a></li>
<li>[<code>pylint</code>] Implement W1508 invalid-envvar-default by <a
href="https://github.com/latonis"><code>@latonis</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3449">charliermarsh/ruff#3449</a></li>
<li>[<code>pylint</code>] Implement E1507 invalid-envvar-value by <a
href="https://github.com/latonis"><code>@latonis</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3467">charliermarsh/ruff#3467</a></li>
</ul>
<h3>Settings</h3>
<ul>
<li>Infer <code>target-version</code> from project metadata by <a
href="https://github.com/JonathanPlasse"><code>@JonathanPlasse</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3470">charliermarsh/ruff#3470</a></li>
<li>Implement configuration options
<code>runtime-evaluated-decorators</code> and
<code>runtime-evaluated-base-classes</code> for
<code>flake8-type-checking</code> by <a
href="https://github.com/sasanjac"><code>@sasanjac</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3292">charliermarsh/ruff#3292</a></li>
<li>Add Azure DevOps as a <code>--format</code> option. by <a
href="https://github.com/StefanBRas"><code>@StefanBRas</code></a> in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3335">charliermarsh/ruff#3335</a></li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Re-enable the T and C linter prefix selectors by <a
href="https://github.com/charliermarsh"><code>@charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3452">charliermarsh/ruff#3452</a></li>
<li>Treat unary operations on constants as constant-like by <a
href="https://github.com/charliermarsh"><code>@charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3348">charliermarsh/ruff#3348</a></li>
<li>Skip byte-order-mark at start of file by <a
href="https://github.com/charliermarsh"><code>@charliermarsh</code></a>
in <a
href="https://redirect.github.com/charliermarsh/ruff/pull/3343">charliermarsh/ruff#3343</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/charliermarsh/ruff/commit/
e636c5fcf07313ad83c1c75d5b1459b4999efd20"><code>
e636c5f</code></a>
Avoid unused argument violations in .pyi files (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3533">#3533</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/
12dfd57211ec11a593aa93057dc1c49221bf2b09"><code>
12dfd57</code></a>
Bump version to v0.0.256 (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3531">#3531</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/
d188d242a00a7583fc98c6ca5fe2746c7a064cea"><code>
d188d24</code></a>
Avoid tracking as-imports separately with force-single-line (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3530">#3530</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/
57796c5e59e3e0950d4409d3e54e7ba5a04bdda1"><code>
57796c5</code></a>
Add last remaining deprecated typing imports (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3529">#3529</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/
254586979727aeaaad694d4fe1a166e37b9674d0"><code>
2545869</code></a>
Avoid PEP 604 isinstance errors for starred tuples (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3527">#3527</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/
58353a4bf4789dd3bef200e94c38f948ecae8249"><code>
58353a4</code></a>
Avoid PEP 604 panic with empty tuple (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3526">#3526</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/
a36139ae218beb25a6a035fb89777b0e99d067b8"><code>
a36139a</code></a>
Replicate inline comments when splitting single-line imports (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3521">#3521</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/
7e904111b1901db43150fad09ab43c92f31a4d26"><code>
7e90411</code></a>
Fix PYI011 and add auto-fix (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3492">#3492</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/
344daebb1b136a9cf059518c09ef88e7940e2d28"><code>
344daeb</code></a>
Refine complexity rules for try-except-else-finally (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3519">#3519</a>)</li>
<li><a
href="https://github.com/charliermarsh/ruff/commit/
432059de35e3fc7f20140686b7df6ee770acc0f2"><code>
432059d</code></a>
Allow <code># ruff:</code> prefix for isort action comments (<a
href="https://redirect.github.com/charliermarsh/ruff/issues/3493">#3493</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/charliermarsh/ruff/compare/v0.0.254...v0.0.256">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
github-actions[bot] [Thu, 16 Mar 2023 21:13:58 +0000 (22:13 +0100)]
Auto-update pre-commit hooks (#536)
Update versions of tools in pre-commit
configs to latest version
Co-authored-by: marcelveldt <marcelveldt@users.noreply.github.com>
dependabot[bot] [Thu, 16 Mar 2023 21:11:45 +0000 (22:11 +0100)]
Bump pypa/gh-action-pypi-publish from 1.7.1 to 1.8.1 (#538)
Bumps
[pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish)
from 1.7.1 to 1.8.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pypa/gh-action-pypi-publish/releases">pypa/gh-action-pypi-publish's
releases</a>.</em></p>
<blockquote>
<h2>v1.8.1</h2>
<h2>🐛 What's Fixed</h2>
<p>💔 Unfortunately, a tiny mistake in v1.8.0 caused a far-reaching
regression for the most used code path.
❗ But don't worry, it's fixed now thanks to <a
href="https://github.com/njzjz"><code>@njzjz</code></a> who promptly
spotted it and <a
href="https://github.com/zhongjiajie"><code>@zhongjiajie</code></a> who
sent a bugfix.</p>
<h2>🙌 New Contributors</h2>
<ul>
<li><a
href="https://github.com/zhongjiajie"><code>@zhongjiajie</code></a>
made their first contribution in <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/pull/131">pypa/gh-action-pypi-publish#131</a></li>
</ul>
<p><strong>Full Diff</strong>: <a
href="https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.0...v1.8.1">https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.0...v1.8.1</a></p>
<h2>v1.8.0</h2>
<h2>The Coolest Release Ever!</h2>
<p>In this release, <a
href="https://github.com/woodruffw"><code>@woodruffw</code></a>
implemented support for secretless OIDC-based publishing to PyPI-like
package indexes. The OIDC flow is activated when neither username nor
password action inputs are set.</p>
<p>The OIDC “token exchange”, is an authentication technique that PyPI
(and TestPyPI, and hopefully some future others) supports as an
alternative to long-lived username/password combinations or long-lived
API tokens.</p>
<blockquote>
<p><strong>IMPORTANT:</strong> The PyPI-side configuration is only
available to participants of the private beta test. Please, only try out
the zero-config mode if you are a beta test participant having followed
the PyPI configuration instructions.</p>
</blockquote>
<p>Setup prerequisites: <a
href="https://github.com/marketplace/actions/pypi-publish#publishing-with-openid-connect">https://github.com/marketplace/actions/pypi-publish#publishing-with-openid-connect</a>
PyPI's documentation: <a
href="https://pypi.org/help/#openid-connect">https://pypi.org/help/#openid-connect</a>
Beta test enrollment: <a
href="https://redirect.github.com/pypi/warehouse/issues/12965">pypi/warehouse#12965</a></p>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/woodruffw"><code>@woodruffw</code></a>
made their first contribution in <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/pull/123">pypa/gh-action-pypi-publish#123</a></li>
</ul>
<p><strong>Full Diff</strong>: <a
href="https://github.com/pypa/gh-action-pypi-publish/compare/v1.7.1...v1.8.0">https://github.com/pypa/gh-action-pypi-publish/compare/v1.7.1...v1.8.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pypa/gh-action-pypi-publish/commit/
a3a3bafbb3e5a75a854ae1bc53ae128cf22c4af4"><code>
a3a3baf</code></a>
🐛 Merge PR <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/131">#131</a>
from into unstable/v1</li>
<li><a
href="https://github.com/pypa/gh-action-pypi-publish/commit/
d5417dc8be8a412b7bf487b09ad3997ad92f859b"><code>
d5417dc</code></a>
🐛Correct default upload URL</li>
<li><a
href="https://github.com/pypa/gh-action-pypi-publish/commit/
8ef2b3d46c9ecba901fb2ae21d98e322c4089c4e"><code>
8ef2b3d</code></a>
Merge PR <a
href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/123">#123</a>
into unstable/v1</li>
<li><a
href="https://github.com/pypa/gh-action-pypi-publish/commit/
2b46bad8cbe9efe518cd7dd98a1610b22721a469"><code>
2b46bad</code></a>
OIDC beta support</li>
<li>See full diff in <a
href="https://github.com/pypa/gh-action-pypi-publish/compare/v1.7.1...v1.8.1">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Marcel van der Veldt [Thu, 16 Mar 2023 14:58:04 +0000 (15:58 +0100)]
Update README.md
Marvin Schenkel [Thu, 16 Mar 2023 14:43:56 +0000 (15:43 +0100)]
Add setting up local dev env docs (#537)
This PR adds
* A template / structure for dev docs.
* Content of setting up a local dev env.