YoutubeToSpotify
YoutubeToSpotify copied to clipboard
Bump spotipy from 2.16.1 to 2.22.1
Bumps spotipy from 2.16.1 to 2.22.1.
Release notes
Sourced from spotipy's releases.
2.22.1: CVE-2023-23608
Fixed
- CVE-2023-23608: fixed path traversal vulnerability that may lead to type confusion in URI handling code. Can prevent a potential XSS attack.
- Upgrade if your app is user-facing and it allows user inputs for any type of Spotify IDs/URIs/URLs that may be forwarded to the Spotify API. Thanks to
@Shaderbugfor finding and fixing this bug https://github.com/spotipy-dev/spotipy/commit/b1db0b63d90eae40af32d7ee4c760c2fd581a1b4Changed
- Modified docstring for deprecated
playlist_add_items()to accept "only URIs or URLs", with intended fix for IDs in v3.
- The bug still exists for developers dealing with episodes IDs rather than just track IDs. However it is recommended to use the new
playlist_add_tracks()orplaylist_add_episodes()if dealing with episodes or simply to avoid confusion. See spotipy-dev/spotipy#919 by@oliverawfor context2.22: Get queue endpoint
Added
- Integration tests via GHA (non-user endpoints)
- Unit tests for new releases, passing limit parameter with minimum and maximum values of 1 and 50
- Unit tests for categories, omitting country code to test global releases
- Added
CODE_OF_CONDUCT.mdFixed
- Incorrect
category_idinput for test_category- Assertion value for
test_categories_limit_lowandtest_categories_limit_high- Pin Github Actions Runner to Ubuntu 20 for Py27
- Fixed potential error where
foundvariable intest_artist_related_artistsis undefined if for loop never evaluates to true- Fixed false positive test
test_new_releaseswhich looks up the wrong property of the JSON response object and always evaluates to true2.21: Flask cache handler
Added
- Added
marketparameter toalbumandalbumsto address #753 by@ivyadam- Added 'show_featured_artists.py' to 'examples'.
- Expanded contribution and license sections of the documentation.
- Added
FlaskSessionCacheHandler, a cache handler that stores the token info in a flask session.- Added Python 3.10 in GitHub Actions
Fixed
- Updated the documentation to specify ISO-639-1 language codes.
- Fix
AttributeErrorfortextattribute of theResponseobject- Require redis v3 if python2.7 (fixes readthedocs)
2.20: Redis cache handler
Added
- Added
RedisCacheHandler, a cache handler that stores the token info in Redis.- Changed URI handling in
client.Spotify._get_id()to remove qureies if provided by error.- Added a new parameter to
RedisCacheHandlerto allow custom keys (instead of the defaulttoken_infokey)- Simplify check for existing token in
RedisCacheHandlerChanged
... (truncated)
Changelog
Sourced from spotipy's changelog.
[2.22.1] - 2023-01-23
Added
- Add alternative module installation instruction to README
- Added Comment to README - Getting Started for user to add URI to app in Spotify Developer Dashboard.
- Added playlist_add_tracks.py to example folder
Changed
- Modified docstring for playlist_add_items() to accept "only URIs or URLs", with intended deprecation for IDs in v3
Fixed
- Path traversal vulnerability that may lead to type confusion in URI handling code
- Update contributing.md
[2.22.0] - 2022-12-10
Added
- Integration tests via GHA (non-user endpoints)
- Unit tests for new releases, passing limit parameter with minimum and maximum values of 1 and 50
- Unit tests for categories, omitting country code to test global releases
- Added
CODE_OF_CONDUCT.mdFixed
- Incorrect
category_idinput for test_category- Assertion value for
test_categories_limit_lowandtest_categories_limit_high- Pin Github Actions Runner to Ubuntu 20 for Py27
- Fixed potential error where
foundvariable intest_artist_related_artistsis undefined if for loop never evaluates to true- Fixed false positive test
test_new_releaseswhich looks up the wrong property of the JSON response object and always evaluates to true[2.21.0] - 2022-09-26
Added
- Added
marketparameter toalbumandalbumsto address (#753- Added
show_featured_artists.pyto/examples.- Expanded contribution and license sections of the documentation.
- Added
FlaskSessionCacheHandler, a cache handler that stores the token info in a flask session.- Added Python 3.10 in GitHub Actions
Fixed
- Updated the documentation to specify ISO-639-1 language codes.
- Fix
AttributeErrorfortextattribute of theResponseobject- Require redis v3 if python2.7 (fixes readthedocs)
... (truncated)
Commits
c53511bBump to 2.22.1beec3daFix flake8b1db0b6Merge pull request from GHSA-q764-g6fm-555v262e7a0Rename simple files (#933)d884ae1Fix typo in start_playback function (#930)f669966Update SECURITY.md0b90627Create SECURITY.mdd0bbe67Add additional video tutorial reference to documentation. (#921)922d51dmodified docstring for playlist_add_items to no longer accept IDsedd3f29Getting Started Clarifications and Example Code File (#904)- Additional commits viewable in compare view
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 commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.