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

Bump spotify-web-api-node from 4.0.0 to 5.0.2 #64

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

Conversation

dependabot-preview[bot]
Copy link

Bumps spotify-web-api-node from 4.0.0 to 5.0.2.

Release notes

Sourced from spotify-web-api-node's releases.

v5.0.2

  • Fix #349: Transfer playback options parameter is optional.

v5.0.1

v5.0.0

No release notes provided.

Changelog

Sourced from spotify-web-api-node's changelog.

5.0.2 (Jan 2021)

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

5.0.1 (Jan 2021)

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

5.0.0 (Oct 2020)

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

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jan 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants