Skip to content

v1.1.0

Choose a tag to compare

@Barben360 Barben360 released this 22 Feb 19:50
· 9 commits to main since this release
2d678e2

What's changed

Breaking changes

  • The implicit OAuth flow that previously ran automatically on first use of any command has been removed. You must now log in explicitly with auth login before using commands that call the Spotify API (get-playlist, get-show, filter-playlists).
  • The reset command has been replaced by auth logout.

New features

auth command group

Authentication is now managed via a dedicated auth subcommand:

Command Description
auth login Run the OAuth authorization flow (always forces a fresh login, even if already logged in)
auth logout Remove cached tokens from disk. Never fails, requires no credentials.
auth status Check whether tokens are present and valid. Exits 0 if authenticated, 2 if not.

auth logout requires no Spotify app credentials, making it safe to call unconditionally in scripts or containers.

auth status returning exit code 2 when unauthenticated makes it easy to use in shell scripts:

spotify-tools auth status || spotify-tools auth login

Other changes

  • Upgraded Go to 1.26.
  • Docker image is now published to ghcr.io/barben360/spotify-tools (GitHub Container Registry).