Update module github.com/zmb3/spotify to v2 #17
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.0.0-20200814173021-9bec46940cc0
->v2.4.3
Release Notes
zmb3/spotify (github.com/zmb3/spotify)
v2.4.3
Compare Source
What's Changed
New Contributors
Full Changelog: zmb3/spotify@v2.4.2...v2.4.3
v2.4.2
Compare Source
What's Changed
New Contributors
Full Changelog: zmb3/spotify@v2.4.1...v2.4.2
v2.4.1
Compare Source
What's Changed
New Contributors
Full Changelog: zmb3/spotify@v2.4.0...v2.4.1
v2.4.0
Compare Source
What's Changed
New Contributors
Full Changelog: zmb3/spotify@v2.3.1...v2.4.0
Breaking Changes
PlaybackOffset.Position
has changed fromint
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
Compare Source
What's Changed
New Contributors
Full Changelog: zmb3/spotify@v2.3.0...v2.3.1
v2.3.0
Compare Source
This release includes no breaking API changes.
What's Changed
New Contributors
Full Changelog: zmb3/spotify@v2.2.1...v2.3.0
v2.2.1
: : Minor fixesCompare Source
Fixes
GetPlaylistItems
to better handle local tracks.Also includes additional notes in README re: markets, and expands one of the example scripts.
v2.2.0
Compare Source
v2.1.0
: : Add GetPlaylistItemsCompare Source
This release includes no breaking API changes. It does however deprecate
GetPlaylistTracks
in favour ofGetPlaylistItems
, 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 TweaksCompare Source
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.
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.
https://github.com/zmb3/spotify/pull/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.
https://github.com/zmb3/spotify/pull/170
v2.0.0
: V2: Significant refactorCompare Source
It's been a while since the Library has had a significant overhaul.
V2 brings:
context.Context
across all actionsv1.3.0
: Introduce collaborative playlist supportCompare Source
Thanks to @samuelrey for this PR :)
Introduces a new method for creating a collaborative playlist.
v1.2.0
Compare Source
Support for GetShow and GetShowEpisodes introduced, many thanks to @davidiola
v1.1.2
Compare Source
v1.1.1
: : FixesCompare Source
This release contains no breaking changes!
Changes
Change the page implementation to use a pointer receiver for panic safety
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
v1.1.0
Compare Source
This release contains no breaking changes!
Changes
Allow Auth client Exchange() method to take variadic oauth2.AuthCodeOption
So we can set "code_verifier" param url without needing an
HTTP request.
Courtesy of @ialbors
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.