Releases: adamgrieger/spotify-web-api-ts
Releases · adamgrieger/spotify-web-api-ts
v1.0.0
1.0.0 (2020-05-21)
Code Refactoring
- refine Albums API (bbc4db0)
- refine Artists API (20c310f)
- refine Browse API (da7dc29)
- refine Episodes API (9d55db6)
- refine Follow API (6f4a12b)
- refine Player API (363a845)
- refine Playlists API (a06b2d5)
- refine Search API (48de3a7)
- refine Shows API (d420744)
- refine Tracks API (7dc8cb2)
Features
- add authorization workflows (492c46b)
BREAKING CHANGES
- 'SpotifyWebApi' is instantiated differently. Instead of passing an 'accessToken'
string, the constructor now takes an object that specifies optional arguments. This allows one entry
point to be used on both browsers and servers. - 'getAudioFeaturesForTracks' and 'getTracks' return partially unwrapped responses.
- 'getShows' returns a partially unwrapped response.
- Most search functions partially unwrap the response now.
- Function name changes ('tracks' changed to 'items' to be more generic) and some
responses are partially unwrapped. - 'repeat' is now 'setRepeat', 'shuffle' is now 'setShuffle', 'volume' is now
'setVolume', 'next' is now 'skipToNext', and 'previous' is now 'skipToPrevious'. Additionally,
'transferPlayback' now takes a single string instead of an array of strings. - The response for 'getFollowedArtists' is partially unwrapped.
- The response for 'getEpisodes' is partially unwrapped.
- The responses 'getAvailableGenreSeeds', 'getCategories', 'getCategoryPlaylists',
and 'getNewReleases' are partially unwrapped. - 'getArtists', 'getArtistTopTracks', and 'getRelatedArtists' now remove the outer
object 'shell' from the response. - 'getAlbums' returns the 'albums' property of the response instead of the whole
response.