• v2.7 005d6ba02b

    v2.7 Stable

    kerem released this 2025-12-27 03:37:01 +03:00 | 50 commits to main since this release

    📅 Originally published on GitHub: Sat, 27 Dec 2025 00:50:04 GMT
    🏷️ Git tag created: Sat, 27 Dec 2025 00:37:01 GMT

    Features and Improvements:

    • NEW: Implemented hybrid authentication approach to support two auth methods: cookie/client for friend activity monitoring and oauth_app (Client Credentials OAuth Flow) for track API calls to address restrictions introduced by Spotify on 22 Dec 2025 (thanks @tomballgithub and @0xXiHan, fixes #27)
    • NEW: Added configuration options (SP_APP_CLIENT_ID, SP_APP_CLIENT_SECRET) and -r / --oauth-app-creds flag for Client Credentials OAuth Flow (oauth_app)
    • NEW: Added OAuth app token caching via SP_APP_TOKENS_FILE configuration option
    • NEW: Added Spotipy dependency (required since v2.7 due to new Spotify restrictions)
    • IMPROVE: Enhanced email notification formatting

    Bug fixes:

    • BUGFIX: Removed spotify_get_playlist_info function to overcome Spotify's client credentials flow limitations and streamline playlist handling (fixes #31)
    • BUGFIX: Removed old TOTP versions from SECRET_CIPHER_DICT (fixes #28)
    • BUGFIX: Updated TOTP version handling in refresh_access_token_from_sp_dc function to ensure compatibility with varying TOTP versions (fixes #32)
    • BUGFIX: Added missing OAuth app support for user removal check and improved error handling in is_user_removed function (fixes #30)

    Breaking changes:

    • BREAKING: Removed token owner display at startup due to /v1/me endpoint limitations introduced by Spotify on 22 Dec 2025
    • BREAKING: OAuth app credentials are now required for track information retrieval when using either cookie or client token source methods
    Downloads