Spotify Web Api Js Versions Save

A client-side JS wrapper for the Spotify Web API

v1.0.0

5 years ago

This major version includes a breaking change to follow the new playlist uris.

In practice, this means that you don't pass the user id anymore when performing an operation on a playlist. For instance, to fetch a playlist you used to write:

spotifyApi.getPlaylist('jmperezperez', '4vHIKV7j4QcZwgzGQcZg1x')
  .then(function(data) {
    console.log('User playlist', data);
  }, function(err) {
    console.error(err);
  });

after the change, you don't pass the user id (in this case jmperezperez) anymore:

spotifyApi.getPlaylist('4vHIKV7j4QcZwgzGQcZg1x')
  .then(function(data) {
    console.log('User playlist', data);
  }, function(err) {
    console.error(err);
  });

Thanks @jmfortunatojr for reporting the issue and fixing it.

v0.25.0

5 years ago

This release fixes a bug in the play() function. It now allows the function to not receive any parameters, since all of them are optional (see https://github.com/JMPerez/spotify-web-api-js/issues/97). It also adds support for position_ms (see https://github.com/JMPerez/spotify-web-api-js/issues/104).

Thanks @Yarael-Poof and @UlysseM for reporting these issues.

v0.24.0

6 years ago

This version adds more Typescript typings thanks to @cloughney.

v0.23.0

6 years ago

Added a function to upload an image as a playlist cover. Thanks @lrholmes!

v0.22.1

6 years ago

This version includes a fix for the "skip to next track" functionality. It also upgrades several dependencies.

Thanks @ikantspelgud for your contribution!

v0.22.0

7 years ago

This release adds functions to make requests to Spotify's Connect endpoints. Note that these are still in beta and subject to changes.

v0.21.2

7 years ago

This release includes a fix for an issue when adding lots of tracks to a playlist, which caused a "URI too long' error". Thanks @davejm!

v0.21.1

7 years ago

In this release we have improved the TypeScript annotations:

  • TypeScript annotations tests won't be downloaded as part of your dependency on this package, in the same way JS tests are left out of the npm package.
  • TypeScript bugfixes and documentation improvements by @skovmand

v0.21.0

7 years ago
  • Integrated Typescript typings for both the spotify-web-api-js library and the entire spotify web api into the library. No need to browse the typings repositories (DefinitelyTyped, et.al.). Huge thanks to @skovmand

v0.20.0

7 years ago