Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Oct 27, 2020

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
spotify-web-api-node ^3.0.0 -> ^5.0.0 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.

v4.0.0

Compare Source

  • Modified functions that operate on playlists to drop the user id parameter. This is a breaking change. PR
  • Updated superagent to fix a security warning PR
  • Fixed a bug by which an empty user was not handled properly in getUserPlaylists(). PR

Configuration

📅 Schedule: 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, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@trafico-bot trafico-bot bot added the 🔍 Ready for Review Pull Request is not reviewed yet label Oct 27, 2020
@vizipi
Copy link

vizipi bot commented Oct 27, 2020

Pull request analysis by VIZIPI

Below you will find who is the most qualified team member to review your code.
This analysis includes his/her work on the code included in this Pull request, in addition to their experience in code affected by these changes ( partly found within the list of potential missing files below )   Feedback always welcome

Reviewers with knowledge related to these changes

Match % Person Commit Count Common Files
100.00 % Chintan Prajapati 1 1

Potential missing files from this Pull request

No commonly committed files found with a 40% threashold


Committed file ranks

(click to expand)
  • 91.67%[package.json]
  • @vizipi vizipi bot requested a review from chintan9 October 27, 2020 10:59
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Labels

    🔍 Ready for Review Pull Request is not reviewed yet size/XS

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    2 participants