Skip to content

Commit fdb8e23

Browse files
committed
2.4.0
1 parent 760d2fb commit fdb8e23

File tree

3 files changed

+12
-48
lines changed

3 files changed

+12
-48
lines changed

HISTORY.md renamed to CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
## Change log
22

3+
#### 2.4.0 (2 May 2017)
4+
- Change `addTracksToPlaylist` to pass the data in the body, preventing an issue with a long URL when passing many tracks. Thanks [@dolcalmi](https://github.com/dolcalmi) for [the PR](https://github.com/thelinmichael/spotify-web-api-node/pull/117)
5+
- Add support for fetching [recently played tracks](https://developer.spotify.com/web-api/console/get-recently-played/). Thanks [@jeremyboles](https://github.com/jeremyboles) for [the PR](https://github.com/thelinmichael/spotify-web-api-node/pull/111).
6+
37
#### 2.3.6 (15 October 2016)
4-
- Add language bindings for the **[Get Audio Analysis for a Track](https://developer.spotify.com/web-api/get-audio-analysis/)** endpoint.
8+
- Add language bindings for the **[Get Audio Analysis for a Track](https://developer.spotify.com/web-api/get-audio-analysis/)** endpoint.
59

610
#### 2.3.5 (20 July 2016)
711
- Use `encodeURIComponent` instead of `encodeURI` to encode the user's id. 'encodeURI' wasn't encoding characters like `/` or `#` that were generating an invalid endpoint url. Thanks [@jgranstrom](https://github.com/jgranstrom) for the PR.

README.md

+6-46
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ It includes helper functions to do the following:
3838

3939
#### Personalization
4040
- Get a user’s top artists and tracks based on calculated affinity
41+
- Get current user’s recently played tracks
4142

4243
#### Browse
4344
- Get New Releases
@@ -57,6 +58,11 @@ It includes helper functions to do the following:
5758
- Get followed artists
5859
- Check if users are following a Playlist
5960

61+
#### Player
62+
- Get a user's available devices
63+
- Get information about the user's current playback
64+
- Transfer a user's playback
65+
6066
Some methods require authentication, which can be done using these flows:
6167

6268
- [Client credentials flow](http://tools.ietf.org/html/rfc6749#section-4.4) (Application-only authentication)
@@ -887,49 +893,3 @@ See something you think can be improved? [Open an issue](https://github.com/thel
887893
### Running tests
888894

889895
You can run the unit tests executing `mocha` and get a test coverage report running `mocha -r blanket -R html-cov > coverage.html`.
890-
891-
892-
## Change log
893-
894-
#### 2.3.6 (15 October 2016)
895-
- Add language bindings for the **[Get Audio Analysis for a Track](https://developer.spotify.com/web-api/get-audio-analysis/)** endpoint.
896-
897-
#### 2.3.5 (20 July 2016)
898-
- Use `encodeURIComponent` instead of `encodeURI` to encode the user's id. 'encodeURI' wasn't encoding characters like `/` or `#` that were generating an invalid endpoint url. Thanks [@jgranstrom](https://github.com/jgranstrom) for the PR.
899-
900-
#### 2.3.4 (18 July 2016)
901-
- Fixed a bug in `clientCredentialsGrant()`.
902-
903-
#### 2.3.3 (18 July 2016)
904-
- Migrated to the `superagent` request library to support Node.JS and browsers. Thanks [@SomeoneWeird](https://github.com/SomeoneWeird) for the PR to add it, and [@erezny](https://github.com/erezny) for reporting bugs.
905-
906-
#### 2.3.2 (10 July 2016)
907-
- Add language bindings for **[Get a List of Current User's Playlists](https://developer.spotify.com/web-api/get-a-list-of-current-users-playlists/)**. Thanks [@JMPerez](https://github.com/JMPerez) and [@vinialbano](https://github.com/vinialbano).
908-
909-
#### 2.3.1 (3 July 2016)
910-
- Fix for `getRecomendations` method causing client error response from the API when making the request. Thanks [@kyv](https://github.com/kyv) for reporting, and [@Boberober](https://github.com/Boberober) and [@JMPerez](https://github.com/JMPerez) for providing fixes.
911-
912-
#### 2.3.0 (2 April 2016)
913-
- Add language bindings for **[Get Recommendations Based on Seeds](https://developer.spotify.com/web-api/get-recommendations/)**, **[Get a User's Top Artists and Tracks](https://developer.spotify.com/web-api/get-users-top-artists-and-tracks/)**, **[Get Audio Features for a Track](https://developer.spotify.com/web-api/get-audio-features/)**, and **[Get Audio Features for Several Tracks](https://developer.spotify.com/web-api/get-several-audio-features/)**. Read more about the endpoints in the links above or in this [blog post](https://developer.spotify.com/news-stories/2016/03/29/api-improvements-update/).
914-
- 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.
915-
916-
#### 2.2.0 (23 November 2015)
917-
- Add language bindings for **[Get User's Saved Albums](https://developer.spotify.com/web-api/get-users-saved-albums/)** and other endpoints related to the user's saved albums.
918-
919-
#### 2.1.1 (23 November 2015)
920-
- Username encoding bugfix.
921-
922-
#### 2.1.0 (16 July 2015)
923-
- Add language binding for **[Get Followed Artists](https://developer.spotify.com/web-api/get-followed-artists/)**
924-
925-
#### 2.0.2 (11 May 2015)
926-
- Bugfix for retrieving an access token through the Client Credentials flow. (Thanks [Nate Wilkins](https://github.com/Nate-Wilkins)!)
927-
- Add test coverage and Travis CI.
928-
929-
#### 2.0.1 (2 Mar 2015)
930-
- Return WebApiError objects if error occurs during authentication.
931-
932-
#### 2.0.0 (27 Feb 2015)
933-
- **Breaking change**: Response object changed. Add headers and status code to all responses to enable users to implement caching.
934-
935-
[Full change log](https://github.com/thelinmichael/spotify-web-api-node/blob/master/HISTORY.md)

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "spotify-web-api-node",
3-
"version": "2.3.6",
3+
"version": "2.4.0",
44
"homepage": "https://github.com/thelinmichael/spotify-web-api-node",
55
"description": "A Node.js wrapper for Spotify's Web API",
66
"main": "./src/server.js",

0 commit comments

Comments
 (0)