• 2.19.0 48d04f343b

    2.19.0 Stable

    kerem released this 2021-08-12 13:27:26 +03:00 | 160 commits to master since this release

    📅 Originally published on GitHub: Thu, 12 Aug 2021 10:29:45 GMT
    🏷️ Git tag created: Thu, 12 Aug 2021 10:27:26 GMT

    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
    Downloads