|
1 | 1 | ## Change log
|
2 | 2 |
|
| 3 | +#### 4.0.0 (14 Sep 2018) |
| 4 | + |
| 5 | +* Modified functions that operate on playlists to drop the user id parameter. This is a breaking change. [PR](https://github.com/thelinmichael/spotify-web-api-node/pull/243) |
| 6 | +* Updated superagent to fix a security warning [PR](https://github.com/thelinmichael/spotify-web-api-node/pull/211) |
| 7 | +* Fixed a bug by which an empty user was not handled properly in getUserPlaylists(). [PR](https://github.com/thelinmichael/spotify-web-api-node/pull/244) |
| 8 | + |
3 | 9 | #### 3.1.1 (29 Apr 2018)
|
4 |
| -- Modernized stack for a better developer experience. Integrated [prettier](https://github.com/thelinmichael/spotify-web-api-node/pull/205) and [jest](https://github.com/thelinmichael/spotify-web-api-node/pull/206). This simplifies the amount of dev dependencies. |
5 |
| -- Improved calls to save and remove saved tracks by adding a key as specified in the Spotify docs (See [PR](https://github.com/thelinmichael/spotify-web-api-node/pull/207)). Thanks to [@yanniz0r](https://github.com/yanniz0r) and [@adcar](https://github.com/adcar) for bringing it up. |
| 10 | + |
| 11 | +* Modernized stack for a better developer experience. Integrated [prettier](https://github.com/thelinmichael/spotify-web-api-node/pull/205) and [jest](https://github.com/thelinmichael/spotify-web-api-node/pull/206). This simplifies the amount of dev dependencies. |
| 12 | +* Improved calls to save and remove saved tracks by adding a key as specified in the Spotify docs (See [PR](https://github.com/thelinmichael/spotify-web-api-node/pull/207)). Thanks to [@yanniz0r](https://github.com/yanniz0r) and [@adcar](https://github.com/adcar) for bringing it up. |
6 | 13 |
|
7 | 14 | #### 3.1.0 (26 Apr 2018)
|
8 |
| -- Added support for seeking and setting volume. Thanks to [@isokar](https://github.com/isokar), [@jamesemwallis](https://github.com/jamesemwallis), [@ashthespy](https://github.com/ashthespy), and [@vanderlin](https://github.com/vanderlin) for your PRs. |
| 15 | + |
| 16 | +* Added support for seeking and setting volume. Thanks to [@isokar](https://github.com/isokar), [@jamesemwallis](https://github.com/jamesemwallis), [@ashthespy](https://github.com/ashthespy), and [@vanderlin](https://github.com/vanderlin) for your PRs. |
9 | 17 |
|
10 | 18 | #### 3.0.0 (8 Mar 2018)
|
11 |
| -- @DalerAsrorov added support for uploading a custom image to a playlist in [this PR](https://github.com/thelinmichael/spotify-web-api-node/pull/169). |
12 |
| -- You can now pass a `device_id` when playing and pausing playback. @pfftdammitchris started [a PR to add device_id to the play() method](https://github.com/thelinmichael/spotify-web-api-node/pull/185). The changes served to another PR where we included the functionality. Thanks! |
13 |
| -- Added documentation in the README for `getMyCurrentPlaybackState()`. Thanks @PanMan for [your PR](https://github.com/thelinmichael/spotify-web-api-node/pull/160)! |
14 |
| -- @brodin realized we there was a lot of duplicated code and refactored it in a [great PR](https://github.com/thelinmichael/spotify-web-api-node/pull/123). |
| 19 | + |
| 20 | +* @DalerAsrorov added support for uploading a custom image to a playlist in [this PR](https://github.com/thelinmichael/spotify-web-api-node/pull/169). |
| 21 | +* You can now pass a `device_id` when playing and pausing playback. @pfftdammitchris started [a PR to add device_id to the play() method](https://github.com/thelinmichael/spotify-web-api-node/pull/185). The changes served to another PR where we included the functionality. Thanks! |
| 22 | +* Added documentation in the README for `getMyCurrentPlaybackState()`. Thanks @PanMan for [your PR](https://github.com/thelinmichael/spotify-web-api-node/pull/160)! |
| 23 | +* @brodin realized we there was a lot of duplicated code and refactored it in a [great PR](https://github.com/thelinmichael/spotify-web-api-node/pull/123). |
15 | 24 |
|
16 | 25 | #### 2.5.0 (4 Sep 2017)
|
17 |
| -- Change README to reflect new authorization. Thanks [@arirawr](https://github.com/arirawr) for the [PR](https://github.com/thelinmichael/spotify-web-api-node/pull/146). |
18 |
| -- Add support for 'show_dialog' parameter when creating authorization url. Thanks [@ajhaupt7](https://github.com/ajhaupt7) for [the PR](https://github.com/thelinmichael/spotify-web-api-node/pull/101). |
19 |
| -- Add support for playback control (play, pause, prev, next), shuffle and repeat. Thanks [@JoseMCO](https://github.com/JoseMCO) for [the PR](https://github.com/thelinmichael/spotify-web-api-node/pull/150). |
20 |
| -- Add support for currently playing. Thanks [@dustinblackman](https://github.com/dustinblackman) for [the PR](https://github.com/thelinmichael/spotify-web-api-node/pull/145). |
21 |
| -- Fix to remove unnecessary deviceIds parameter from request to transfer playback. Thanks [@philnash](https://github.com/philnash) for [the PR](https://github.com/thelinmichael/spotify-web-api-node/pull/154). |
| 26 | + |
| 27 | +* Change README to reflect new authorization. Thanks [@arirawr](https://github.com/arirawr) for the [PR](https://github.com/thelinmichael/spotify-web-api-node/pull/146). |
| 28 | +* Add support for 'show_dialog' parameter when creating authorization url. Thanks [@ajhaupt7](https://github.com/ajhaupt7) for [the PR](https://github.com/thelinmichael/spotify-web-api-node/pull/101). |
| 29 | +* Add support for playback control (play, pause, prev, next), shuffle and repeat. Thanks [@JoseMCO](https://github.com/JoseMCO) for [the PR](https://github.com/thelinmichael/spotify-web-api-node/pull/150). |
| 30 | +* Add support for currently playing. Thanks [@dustinblackman](https://github.com/dustinblackman) for [the PR](https://github.com/thelinmichael/spotify-web-api-node/pull/145). |
| 31 | +* Fix to remove unnecessary deviceIds parameter from request to transfer playback. Thanks [@philnash](https://github.com/philnash) for [the PR](https://github.com/thelinmichael/spotify-web-api-node/pull/154). |
22 | 32 |
|
23 | 33 | #### 2.4.0 (2 May 2017)
|
24 |
| -- 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) |
25 |
| -- 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). |
| 34 | + |
| 35 | +* 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) |
| 36 | +* 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). |
26 | 37 |
|
27 | 38 | #### 2.3.6 (15 October 2016)
|
28 |
| -- Add language bindings for the **[Get Audio Analysis for a Track](https://developer.spotify.com/web-api/get-audio-analysis/)** endpoint. |
| 39 | + |
| 40 | +* Add language bindings for the **[Get Audio Analysis for a Track](https://developer.spotify.com/web-api/get-audio-analysis/)** endpoint. |
29 | 41 |
|
30 | 42 | #### 2.3.5 (20 July 2016)
|
31 |
| -- 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. |
| 43 | + |
| 44 | +* 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. |
32 | 45 |
|
33 | 46 | #### 2.3.4 (18 July 2016)
|
34 |
| -- Fixed a bug in `clientCredentialsGrant()`. |
| 47 | + |
| 48 | +* Fixed a bug in `clientCredentialsGrant()`. |
35 | 49 |
|
36 | 50 | #### 2.3.3 (18 July 2016)
|
37 |
| -- 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. |
| 51 | + |
| 52 | +* 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. |
38 | 53 |
|
39 | 54 | #### 2.3.2 (10 July 2016)
|
40 |
| -- 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). |
| 55 | + |
| 56 | +* 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). |
41 | 57 |
|
42 | 58 | #### 2.3.1 (3 July 2016)
|
43 |
| -- 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. |
| 59 | + |
| 60 | +* 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. |
44 | 61 |
|
45 | 62 | #### 2.3.0 (2 April 2016)
|
46 |
| -- 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/). |
47 |
| -- 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. |
| 63 | + |
| 64 | +* 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/). |
| 65 | +* 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. |
48 | 66 |
|
49 | 67 | #### 2.2.0 (23 November 2015)
|
50 |
| -- 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. |
| 68 | + |
| 69 | +* 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. |
51 | 70 |
|
52 | 71 | #### 2.1.1 (23 November 2015)
|
53 |
| -- Username encoding bugfix. |
| 72 | + |
| 73 | +* Username encoding bugfix. |
54 | 74 |
|
55 | 75 | #### 2.1.0 (16 July 2015)
|
56 |
| -- Add language binding for **[Get Followed Artists](https://developer.spotify.com/web-api/get-followed-artists/)** |
| 76 | + |
| 77 | +* Add language binding for **[Get Followed Artists](https://developer.spotify.com/web-api/get-followed-artists/)** |
57 | 78 |
|
58 | 79 | #### 2.0.2 (11 May 2015)
|
59 |
| -- Bugfix for retrieving an access token through the Client Credentials flow. (Thanks [Nate Wilkins](https://github.com/Nate-Wilkins)!) |
60 |
| -- Add test coverage and Travis CI. |
| 80 | + |
| 81 | +* Bugfix for retrieving an access token through the Client Credentials flow. (Thanks [Nate Wilkins](https://github.com/Nate-Wilkins)!) |
| 82 | +* Add test coverage and Travis CI. |
61 | 83 |
|
62 | 84 | #### 2.0.1 (2 Mar 2015)
|
63 |
| -- Return WebApiError objects if error occurs during authentication. |
| 85 | + |
| 86 | +* Return WebApiError objects if error occurs during authentication. |
64 | 87 |
|
65 | 88 | #### 2.0.0 (27 Feb 2015)
|
66 |
| -- **Breaking change**: Response object changed. Add headers and status code to all responses to enable users to implement caching. |
| 89 | + |
| 90 | +* **Breaking change**: Response object changed. Add headers and status code to all responses to enable users to implement caching. |
67 | 91 |
|
68 | 92 | #### 1.3.13 (26 Feb 2015)
|
69 |
| -- Add language binding for **[Reorder tracks in a Playlist](https://developer.spotify.com/web-api/reorder-playlists-tracks/)** |
| 93 | + |
| 94 | +* Add language binding for **[Reorder tracks in a Playlist](https://developer.spotify.com/web-api/reorder-playlists-tracks/)** |
70 | 95 |
|
71 | 96 | #### 1.3.12 (22 Feb 2015)
|
72 |
| -- Add language binding for **[Remove tracks in a Playlist by Position](https://developer.spotify.com/web-api/remove-tracks-playlist/)** |
| 97 | + |
| 98 | +* Add language binding for **[Remove tracks in a Playlist by Position](https://developer.spotify.com/web-api/remove-tracks-playlist/)** |
73 | 99 |
|
74 | 100 | #### 1.3.11
|
75 |
| -- Add **[Search for Playlists](https://developer.spotify.com/web-api/search-item/)** endpoint. |
| 101 | + |
| 102 | +* Add **[Search for Playlists](https://developer.spotify.com/web-api/search-item/)** endpoint. |
76 | 103 |
|
77 | 104 | #### 1.3.10
|
78 |
| -- Add market parameter to endpoints supporting **[Track Relinking](https://developer.spotify.com/web-api/track-relinking-guide/)**. |
79 |
| -- Improve SEO by adding keywords to the package.json file. ;-) |
| 105 | + |
| 106 | +* Add market parameter to endpoints supporting **[Track Relinking](https://developer.spotify.com/web-api/track-relinking-guide/)**. |
| 107 | +* Improve SEO by adding keywords to the package.json file. ;-) |
80 | 108 |
|
81 | 109 | #### 1.3.8
|
82 |
| -- Add **[Get a List of Categories](https://developer.spotify.com/web-api/get-list-categories/)**, **[Get a Category](https://developer.spotify.com/web-api/get-category/)**, and **[Get A Category's Playlists](https://developer.spotify.com/web-api/get-categorys-playlists/)** endpoints. |
| 110 | + |
| 111 | +* Add **[Get a List of Categories](https://developer.spotify.com/web-api/get-list-categories/)**, **[Get a Category](https://developer.spotify.com/web-api/get-category/)**, and **[Get A Category's Playlists](https://developer.spotify.com/web-api/get-categorys-playlists/)** endpoints. |
83 | 112 |
|
84 | 113 | #### 1.3.7
|
85 |
| -- Add **[Check if Users are Following Playlist](https://developer.spotify.com/web-api/check-user-following-playlist/)** endpoint. |
| 114 | + |
| 115 | +* Add **[Check if Users are Following Playlist](https://developer.spotify.com/web-api/check-user-following-playlist/)** endpoint. |
86 | 116 |
|
87 | 117 | #### 1.3.5
|
88 |
| -- Add missing options parameter in createPlaylist (issue #19). Thanks for raising this [allinallin](https://github.com/allinallin). |
| 118 | + |
| 119 | +* Add missing options parameter in createPlaylist (issue #19). Thanks for raising this [allinallin](https://github.com/allinallin). |
89 | 120 |
|
90 | 121 | #### 1.3.4
|
91 |
| -- Add **[Follow Playlist](https://developer.spotify.com/web-api/follow-playlist/)** and **[Unfollow Playlist](https://developer.spotify.com/web-api/unfollow-playlist/)** endpoints. |
| 122 | + |
| 123 | +* Add **[Follow Playlist](https://developer.spotify.com/web-api/follow-playlist/)** and **[Unfollow Playlist](https://developer.spotify.com/web-api/unfollow-playlist/)** endpoints. |
92 | 124 |
|
93 | 125 | #### 1.3.3
|
94 |
| -- [Fix](https://github.com/thelinmichael/spotify-web-api-node/pull/18) error format. Thanks [extrakt](https://github.com/extrakt). |
| 126 | + |
| 127 | +* [Fix](https://github.com/thelinmichael/spotify-web-api-node/pull/18) error format. Thanks [extrakt](https://github.com/extrakt). |
95 | 128 |
|
96 | 129 | #### 1.3.2
|
97 |
| -- Add ability to use callback methods instead of promise. |
| 130 | + |
| 131 | +* Add ability to use callback methods instead of promise. |
98 | 132 |
|
99 | 133 | #### 1.2.2
|
100 |
| -- Bugfix. api.addTracksToPlaylist tracks parameter can be a string or an array. Thanks [ofagbemi](https://github.com/ofagbemi)! |
| 134 | + |
| 135 | +* Bugfix. api.addTracksToPlaylist tracks parameter can be a string or an array. Thanks [ofagbemi](https://github.com/ofagbemi)! |
101 | 136 |
|
102 | 137 | #### 1.2.1
|
103 |
| -- Add **[Follow endpoints](https://developer.spotify.com/web-api/web-api-follow-endpoints/)**. Great work [JMPerez](https://github.com/JMPerez). |
| 138 | + |
| 139 | +* Add **[Follow endpoints](https://developer.spotify.com/web-api/web-api-follow-endpoints/)**. Great work [JMPerez](https://github.com/JMPerez). |
104 | 140 |
|
105 | 141 | #### 1.1.0
|
106 |
| -- Add **[Browse endpoints](https://developer.spotify.com/web-api/browse-endpoints/)**. Thanks [fsahin](https://github.com/fsahin). |
| 142 | + |
| 143 | +* Add **[Browse endpoints](https://developer.spotify.com/web-api/browse-endpoints/)**. Thanks [fsahin](https://github.com/fsahin). |
107 | 144 |
|
108 | 145 | #### 1.0.2
|
109 |
| -- Specify module's git repository. Thanks [vincentorback](https://github.com/vincentorback). |
| 146 | + |
| 147 | +* Specify module's git repository. Thanks [vincentorback](https://github.com/vincentorback). |
110 | 148 |
|
111 | 149 | #### 1.0.1
|
112 |
| -- Allow options to be set when retrieving a user's playlists. Thanks [EaterOfCode](https://github.com/EaterOfCode). |
| 150 | + |
| 151 | +* Allow options to be set when retrieving a user's playlists. Thanks [EaterOfCode](https://github.com/EaterOfCode). |
113 | 152 |
|
114 | 153 | #### 1.0.0
|
115 | 154 |
|
116 |
| -- Add **[Replace tracks in a Playlist](https://developer.spotify.com/web-api/replace-playlists-tracks/)** endpoint |
117 |
| -- Add **[Remove tracks in a Playlist](https://developer.spotify.com/web-api/remove-tracks-playlist/)** endpoint |
118 |
| -- Return errors as Error objects instead of unparsed JSON. Thanks [niftylettuce](https://github.com/niftylettuce). |
| 155 | +* Add **[Replace tracks in a Playlist](https://developer.spotify.com/web-api/replace-playlists-tracks/)** endpoint |
| 156 | +* Add **[Remove tracks in a Playlist](https://developer.spotify.com/web-api/remove-tracks-playlist/)** endpoint |
| 157 | +* Return errors as Error objects instead of unparsed JSON. Thanks [niftylettuce](https://github.com/niftylettuce). |
119 | 158 |
|
120 | 159 | #### 0.0.11
|
121 | 160 |
|
122 |
| -- Add **[Change Playlist details](https://developer.spotify.com/web-api/change-playlist-details/)** endpoint (change published status and name). Gracias [JMPerez](https://github.com/JMPerez). |
| 161 | +* Add **[Change Playlist details](https://developer.spotify.com/web-api/change-playlist-details/)** endpoint (change published status and name). Gracias [JMPerez](https://github.com/JMPerez). |
123 | 162 |
|
124 | 163 | #### 0.0.10
|
125 | 164 |
|
126 |
| -- Add Your Music Endpoints (**[Add tracks](https://developer.spotify.com/web-api/save-tracks-user/)**, **[Remove tracks](https://developer.spotify.com/web-api/remove-tracks-user/)**, **[Contains tracks](https://developer.spotify.com/web-api/check-users-saved-tracks/)**, **[Get tracks](https://developer.spotify.com/web-api/get-users-saved-tracks/)**). |
127 |
| -- Documentation updates (change scope name of playlist-modify to playlist-modify-public, and a fix to a parameter type). Thanks [JMPerez](https://github.com/JMPerez) and [matiassingers](https://github.com/matiassingers). |
| 165 | +* Add Your Music Endpoints (**[Add tracks](https://developer.spotify.com/web-api/save-tracks-user/)**, **[Remove tracks](https://developer.spotify.com/web-api/remove-tracks-user/)**, **[Contains tracks](https://developer.spotify.com/web-api/check-users-saved-tracks/)**, **[Get tracks](https://developer.spotify.com/web-api/get-users-saved-tracks/)**). |
| 166 | +* Documentation updates (change scope name of playlist-modify to playlist-modify-public, and a fix to a parameter type). Thanks [JMPerez](https://github.com/JMPerez) and [matiassingers](https://github.com/matiassingers). |
128 | 167 |
|
129 | 168 | #### 0.0.9
|
130 | 169 |
|
131 |
| -- Add **[Related artists](https://developer.spotify.com/web-api/get-related-artists/)** endpoint |
| 170 | +* Add **[Related artists](https://developer.spotify.com/web-api/get-related-artists/)** endpoint |
0 commit comments