Skip to content

Releases: JMPerez/spotify-web-api-js

Version 1.0.0

23 Aug 05:15
Compare
Choose a tag to compare

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.

Version 0.25.0

22 Aug 11:27
Compare
Choose a tag to compare

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 #97). It also adds support for position_ms (see #104).

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

Version 0.24.0

17 Apr 07:17
Compare
Choose a tag to compare

This version adds more Typescript typings thanks to @cloughney.

Version 0.23.0

13 Dec 22:52
Compare
Choose a tag to compare

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

Version 0.22.1

31 Aug 21:51
Compare
Choose a tag to compare

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

Thanks @ikantspelgud for your contribution!

Version 0.22.0

07 May 11:50
Compare
Choose a tag to compare

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

Version 0.21.2

04 Jan 20:30
Compare
Choose a tag to compare

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!

Version 0.21.1

23 Oct 17:24
Compare
Choose a tag to compare

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

Version 0.21.0

22 Oct 16:29
Compare
Choose a tag to compare
  • 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

Version 0.20.0

16 Oct 17:55
Compare
Choose a tag to compare