Skip to content

Version 1.0.0

Compare
Choose a tag to compare
@JMPerez JMPerez released this 23 Aug 05:15
· 84 commits to master since this release

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.