Naila / Naila.py

Naila Bot written in discord.py
GNU Affero General Public License v3.0
11 stars 4 forks source link

Bump spotipy from 2.18.0 to 2.20.0 #215

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 2 years ago

Bumps spotipy from 2.18.0 to 2.20.0.

Release notes

Sourced from spotipy's releases.

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 RedisCacheHandler to allow custom keys (instead of the default token_info key)
  • Simplify check for existing token in RedisCacheHandler

Changed

  • Removed Python 3.5 and added Python 3.9 in Github Action

2.19: Memory and Django cache handlers

Added

  • Added MemoryCacheHandler, a cache handler that simply stores the token info in memory as an instance attribute of this class.
  • If a network request returns an error status code but the response body cannot be decoded into JSON, then fall back on decoding the body into a string.
  • Added DjangoSessionCacheHandler, a cache handler that stores the token in the session framework provided by Django. Web apps using spotipy with Django can directly use this for cache handling.

Fixed

  • Fixed a bug in CacheFileHandler.__init__: The documentation says that the username will be retrieved from the environment, but it wasn't.
  • Fixed a bug in the initializers for the auth managers that produced a spurious warning message if you provide a cache handler and you set a value for the "SPOTIPY_CLIENT_USERNAME" environment variable.
  • Use generated MIT license and fix license type in pip show
Changelog

Sourced from spotipy's changelog.

[2.20.0] - 2022-06-18

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 RedisCacheHandler to allow custom keys (instead of the default token_info key)
  • Simplify check for existing token in RedisCacheHandler

Changed

  • Removed Python 3.5 and added Python 3.9 in Github Action

[2.19.0] - 2021-08-12

Added

  • Added MemoryCacheHandler, a cache handler that simply stores the token info in memory as an instance attribute of this class.
  • If a network request returns an error status code but the response body cannot be decoded into JSON, then fall back on decoding the body into a string.
  • Added DjangoSessionCacheHandler, a cache handler that stores the token in the session framework provided by Django. Web apps using spotipy with Django can directly use this for cache handling.

Fixed

  • Fixed a bug in CacheFileHandler.__init__: The documentation says that the username will be retrieved from the environment, but it wasn't.
  • Fixed a bug in the initializers for the auth managers that produced a spurious warning message if you provide a cache handler and you set a value for the "SPOTIPY_CLIENT_USERNAME" environment variable.
  • Use generated MIT license and fix license type in pip show
Commits


Dependabot compatibility score

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 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)
dependabot[bot] commented 3 months ago

Superseded by #233.