Skip to content

Releases: zmb3/spotify

v2.4.3

11 Nov 14:41
e23d434
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.4.2...v2.4.3

v2.4.2

19 Apr 12:23
5c1be56
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.4.1...v2.4.2

v2.4.1

22 Jan 11:37
943d885
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.4.0...v2.4.1

v2.4.0

11 Sep 08:11
50c47c2
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.3.1...v2.4.0

Breaking Changes

PlaybackOffset.Position has changed from int to *int. This is to account for a behaviour in the Spotify API where the position can be specified separately inside the URI. See https://github.com/zmb3/spotify/pull/220/files for specific details.

V2.3.1

07 Jan 21:30
Compare
Choose a tag to compare

What's Changed

  • fix: description field in FullPlaylist was shadowing the one from SimplePlaylist by @Sundava in #203
  • Add SaveShowsForCurrentUser endpoint by @elliotwms in #204
  • Pass context to modifyLibrary calls by @elliotwms in #205
  • Allow retry period to be cancelled by context by @rtrox in #212
  • [Fix #182] Test success before retrying request by @rtrox in #213
  • Adding "GetQueue" Function to player.go. by @R0qs3T in #211
  • Added support for the ExternalIDs field on Tracks by @strideynet

New Contributors

Full Changelog: v2.3.0...v2.3.1

V2.3.0

23 Sep 06:51
ace6a00
Compare
Choose a tag to compare

This release includes no breaking API changes.

What's Changed

  • Add Description field to SimplePlaylist by @Sundava in #202
  • add shows and episodes in search results by @manland in #188

New Contributors

Full Changelog: v2.2.1...v2.3.0

V2.2.1: Minor fixes

26 Jun 21:17
9a6dc27
Compare
Choose a tag to compare

Fixes GetPlaylistItems to better handle local tracks.

Also includes additional notes in README re: markets, and expands one of the example scripts.

V2.1.0: Add GetPlaylistItems

20 May 16:17
13df4e2
Compare
Choose a tag to compare

This release includes no breaking API changes. It does however deprecate GetPlaylistTracks in favour of GetPlaylistItems, as per changes to the Spotify API that this endpoint can now return tracks or episodes. Please switch to this new method where possible.

Many thanks to @xonstone for this change.

V2.0.1: Auth Tweaks

27 Dec 19:27
1543b59
Compare
Choose a tag to compare

This release includes no breaking API changes. There is 1 change that users should be aware of, and let me know if they experience any changes in behaviour (#179). We no longer override the HTTP client used for oauth, and this means it will now use the default Go HTTP client. If you environment includes variables that control the configuration of this client, you may experience changes in behaviour.

Changes

Revert to default HTTP client for oauth

Originally, Spotify's API did not work properly with HTTP/2, so we overrode the client here to ensure that we would not attempt to use HTTP/2. It appears this is now correctly supported, so this override is redundant.

Many thanks to @StalkR for this change.

#179

Introduce a method for getting the current API token

The client now includes a .Token() method for returning the current token being used.

Many thanks to @elivlo for this change.

#170

V2: Significant refactor

16 Aug 17:56
c44aaf9
Compare
Choose a tag to compare

It's been a while since the Library has had a significant overhaul.

V2 brings:

  • Support for context.Context across all actions
  • Functional options for the creation of the Client
  • More modular auth support, allowing users to inject a HTTP client that meets their authentication needs.