Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update module github.com/zmb3/spotify to v2 #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 16, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/zmb3/spotify v0.0.0-20200814173021-9bec46940cc0 -> v2.4.3 age adoption passing confidence

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 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

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 fixes

Compare 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 GetPlaylistItems

Compare Source

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

Compare 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 refactor

Compare Source

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.

v1.3.0: Introduce collaborative playlist support

Compare 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: : Fixes

Compare 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/github.com-zmb3-spotify-2.x branch from 63d8bf3 to 894ea88 Compare March 24, 2023 23:56
@renovate renovate bot force-pushed the renovate/github.com-zmb3-spotify-2.x branch from 894ea88 to ac2e2bf Compare September 11, 2023 11:01
@renovate renovate bot force-pushed the renovate/github.com-zmb3-spotify-2.x branch from ac2e2bf to 502da04 Compare January 22, 2024 20:35
@renovate renovate bot force-pushed the renovate/github.com-zmb3-spotify-2.x branch from 502da04 to bed2783 Compare April 19, 2024 14:31
Copy link
Author

renovate bot commented Jun 4, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated

Details:

Package Change
golang.org/x/oauth2 v0.0.0-20210210192628-66670185b0cd -> v0.0.0-20210810183815-faf39c7919d5

@renovate renovate bot force-pushed the renovate/github.com-zmb3-spotify-2.x branch from bed2783 to 411f07f Compare November 11, 2024 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants