- 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
- Modernized stack for a better developer experience. Integrated prettier and jest. This simplifies the amount of dev dependencies.
- Improved calls to save and remove saved tracks by adding a key as specified in the Spotify docs (See PR). Thanks to @yanniz0r and @adcar for bringing it up.
- Added support for seeking and setting volume. Thanks to @isokar, @jamesemwallis, @ashthespy, and @vanderlin for your PRs.
- @DalerAsrorov added support for uploading a custom image to a playlist in this PR.
- You can now pass a
device_id
when playing and pausing playback. @pfftdammitchris started a PR to add device_id to the play() method. The changes served to another PR where we included the functionality. Thanks! - Added documentation in the README for
getMyCurrentPlaybackState()
. Thanks @PanMan for your PR! - @brodin realized we there was a lot of duplicated code and refactored it in a great PR.
- Change README to reflect new authorization. Thanks @arirawr for the PR.
- Add support for 'show_dialog' parameter when creating authorization url. Thanks @ajhaupt7 for the PR.
- Add support for playback control (play, pause, prev, next), shuffle and repeat. Thanks @JoseMCO for the PR.
- Add support for currently playing. Thanks @dustinblackman for the PR.
- Fix to remove unnecessary deviceIds parameter from request to transfer playback. Thanks @philnash for the PR.
- Change
addTracksToPlaylist
to pass the data in the body, preventing an issue with a long URL when passing many tracks. Thanks @dolcalmi for the PR - Add support for fetching recently played tracks. Thanks @jeremyboles for the PR.
- Add language bindings for the Get Audio Analysis for a Track endpoint.
- Use
encodeURIComponent
instead ofencodeURI
to encode the user's id. 'encodeURI' wasn't encoding characters like/
or#
that were generating an invalid endpoint url. Thanks @jgranstrom for the PR.
- Fixed a bug in
clientCredentialsGrant()
.
- Migrated to the
superagent
request library to support Node.JS and browsers. Thanks @SomeoneWeird for the PR to add it, and @erezny for reporting bugs.
- Add language bindings for Get a List of Current User's Playlists. Thanks @JMPerez and @vinialbano.
- Fix for
getRecomendations
method causing client error response from the API when making the request. Thanks @kyv for reporting, and @Boberober and @JMPerez for providing fixes.
- Add language bindings for Get Recommendations Based on Seeds, Get a User's Top Artists and Tracks, Get Audio Features for a Track, and Get Audio Features for Several Tracks. Read more about the endpoints in the links above or in this blog post.
- Add generic search method enabling searches for several types at once, e.g. search for both tracks and albums in a single request, instead of one request for track results and one request for album results.
- Add language bindings for Get User's Saved Albums and other endpoints related to the user's saved albums.
- Username encoding bugfix.
- Add language binding for Get Followed Artists
- Bugfix for retrieving an access token through the Client Credentials flow. (Thanks Nate Wilkins!)
- Add test coverage and Travis CI.
- Return WebApiError objects if error occurs during authentication.
- Breaking change: Response object changed. Add headers and status code to all responses to enable users to implement caching.
- Add language binding for Reorder tracks in a Playlist
- Add language binding for Remove tracks in a Playlist by Position
- Add Search for Playlists endpoint.
- Add market parameter to endpoints supporting Track Relinking.
- Improve SEO by adding keywords to the package.json file. ;-)
- Add Get a List of Categories, Get a Category, and Get A Category's Playlists endpoints.
- Add Check if Users are Following Playlist endpoint.
- Add missing options parameter in createPlaylist (issue #19). Thanks for raising this allinallin.
- Add Follow Playlist and Unfollow Playlist endpoints.
- Add ability to use callback methods instead of promise.
- Bugfix. api.addTracksToPlaylist tracks parameter can be a string or an array. Thanks ofagbemi!
- Add Follow endpoints. Great work JMPerez.
- Add Browse endpoints. Thanks fsahin.
- Specify module's git repository. Thanks vincentorback.
- Allow options to be set when retrieving a user's playlists. Thanks EaterOfCode.
- Add Replace tracks in a Playlist endpoint
- Add Remove tracks in a Playlist endpoint
- Return errors as Error objects instead of unparsed JSON. Thanks niftylettuce.
- Add Change Playlist details endpoint (change published status and name). Gracias JMPerez.
- Add Your Music Endpoints (Add tracks, Remove tracks, Contains tracks, Get tracks).
- Documentation updates (change scope name of playlist-modify to playlist-modify-public, and a fix to a parameter type). Thanks JMPerez and matiassingers.
- Add Related artists endpoint