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

fix(deps): update dependency spotify-web-api-node to v5 #458

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 9, 2021

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
spotify-web-api-node 4.0.0 -> 5.0.2 age adoption passing confidence

Release Notes

thelinmichael/spotify-web-api-node

v5.0.2

Compare Source

  • Fix: Make transferMyPlayback not require the options object, since it should be optional. Thanks for the heads-up @​Simber1!

v5.0.1

Compare Source

  • Fix error handling in the HTTP client. Thanks @​yamadapc!
  • This package can currently not be built on Node 15 on Linux, due to a dependency not being available yet. Issue can be followed on the node-canvas issue tracker. In the mean time, Travis CI will run on earlier versions of Node.

v5.0.0

Compare Source

  • BREAKING CHANGES.
    • Arguments for some API methods have changed, causing incorrect behaviour using argument order from version 4.x. See the README.md for examples of how the methods can be used.

      • Create Playlist (createPlaylist) method no longer accepts a userId string as its first argument.
      • Transfer A User's Playback (transferMyPlayback) method takes a deviceIds array as its first argument.
      • Skip to Previous (skipToPrevious) method takes an options object as its first argument.
      • Skip to Next (skipToNext) method takes an options object as its first argument.
      • Set Repeat Mode on the Current User's Playback (setRepeat) method takes a state string as its first argument.
      • Set Shuffle Mode on the Current User's Playback (setShuffle) method takes a state string as its first argument.
        Cheers @​marinacrachi for the createPlaylist update.
    • Removed legacy support for not passing an options object while providing a callback method. This was only supported on a few of the older endpoints, and could lead to tricky bugs. The affected endpoints are getTrack, getTracks, getAlbum, getAlbums, and createPlaylist. Again, check the README.md for examples on how these methods can be used if needed.

    • Removed options argument for retrieving an access token using the Client Credentials flow, clientCredentialsGrant.

    • API errors come in five different flavours.

      • WebapiRegularError - For errors returned by most API endpoints.
      • WebapiPlayerError - For errors returned by the Player API. These contain a bit more information.
      • WebapiAuthenticationError - For errors related to authentication.
      • WebapiError - For errors that come from the Web API that didn't fit into one of the above.
      • TimeoutError - For network timeout errors.

      More importantly, errors now contain the response body, headers, and status code. One side-effect of this is that rate limited requests can be handled by checking the Retry-After header. Thanks for the PRs @​kauffecup, @​lantelyes, @​dkliemsch, and @​erezny.

      Much appreciated @​konstantinjdobler for updates to the Player API errors.

  • Added support for Implicit Grant flow - Thanks @​gaganza, @​reblws and @​noahp78!
  • Starts or Resumes the Current User's Playback (play) method now supports the position_ms option. Thanks @​alqubo, @​koflin, @​DoctorFishy. Thanks @​carmilso for general improvements to the Player API methods.
  • Binding for Add an Item to the User's Playback Queue endpoint added. Thanks @​thattomperson and @​AriciducaZagaria!
  • Binding for all Shows and Episodes endpoints. Thanks a lot @​andyruwruw!
  • Documentation updates to keep up to date with ES6, thanks @​dandv! Other documentation improvements by @​terensu-desu, and examples by @​dersimn. Thanks!
  • Bumped dependencies to resolve critical security issues.
  • Finally, hat off to @​dersimn. Thanks for collecting all of the lingering PRs and merging them into a working and up-to-date fork. You really stepped up.

Likely more changes coming before release to npm, which will happen shortly.


Configuration

📅 Schedule: Branch creation - "after 2am,before 4am" (UTC), 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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies label Jan 9, 2021
@vercel
Copy link

vercel bot commented Jan 9, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/walterzalazarmdp/spotify/pjzmp3jk9
✅ Preview: https://spotify-git-renovate-spotify-web-api-node-5x.walterzalazarmdp.now.sh

@renovate
Copy link
Contributor Author

renovate bot commented Mar 25, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant