Skip to content

Releases: adamgrieger/spotify-web-api-ts

v1.0.0

21 May 03:14
Compare
Choose a tag to compare

1.0.0 (2020-05-21)

Code Refactoring

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.