Bot releases are visible (Hide)
Full Changelog: https://github.com/zmb3/spotify/compare/v2.4.1...v2.4.2
Published by strideynet 9 months ago
Full Changelog: https://github.com/zmb3/spotify/compare/v2.4.0...v2.4.1
Published by strideynet about 1 year ago
Full Changelog: https://github.com/zmb3/spotify/compare/v2.3.1...v2.4.0
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.
Published by strideynet almost 2 years ago
Full Changelog: https://github.com/zmb3/spotify/compare/v2.3.0...v2.3.1
Published by strideynet about 2 years ago
This release includes no breaking API changes.
Full Changelog: https://github.com/zmb3/spotify/compare/v2.2.1...v2.3.0
Published by strideynet over 2 years ago
Fixes GetPlaylistItems
to better handle local tracks.
Also includes additional notes in README re: markets, and expands one of the example scripts.
Published by strideynet over 2 years ago
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.
Published by strideynet almost 3 years ago
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 (https://github.com/zmb3/spotify/pull/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.
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.
https://github.com/zmb3/spotify/pull/179
The client now includes a .Token()
method for returning the current token being used.
Many thanks to @elivlo for this change.
Published by strideynet about 3 years ago
It's been a while since the Library has had a significant overhaul.
V2 brings:
context.Context
across all actionsPublished by strideynet over 3 years ago
Thanks to @samuelrey for this PR :)
Introduces a new method for creating a collaborative playlist.
Published by strideynet over 3 years ago
Support for GetShow and GetShowEpisodes introduced, many thanks to @davidiola
Published by strideynet over 3 years ago
This release contains no breaking changes!
Previously, a value receiver was used which allowed developers to pass a value into the NextPage and PreviousPage methods. This would result in a panic due to the underlying implementation relying on reflection. This now is impossible, and code that could cause a panic will now no longer compile.
Many thanks to @klokare for the detail report
Published by strideynet over 3 years ago
This release contains no breaking changes!
So we can set "code_verifier" param url without needing an
HTTP request.
Courtesy of @ialbors