- This release contains breaking changes, read through this list before updating.
- All static methods on
Request
have been removed.Request
now needs to be instantiated before using. - All methods that accepted the
limit
option now uses the correct Spotify default value if nothing has been specified. - It's now possible to specify your own
Request
object inSpotifyWebAPI
andSession
constructors. SpotifyWebAPI::getArtistAlbums()
now supports thealbum_type
option.Request::send()
will only modify URLs when needed.
- The following methods has been added
Session::getExpires()
Session::getRefreshToken()
Session::setRefreshToken()
SpotifyWebAPI::getFeaturedPlaylists()
SpotifyWebAPI::getNewReleases()
- The following options has been added
offset
andlimit
toSpotifyWebAPI::getUserPlaylists()
offset
andlimit
toSpotifyWebAPI::getUserPlaylistTracks()
fields
toSpotifyWebAPI::getUserPlaylistTracks()
market
toSpotifyWebAPI::getArtistAlbums()
market
toSpotifyWebAPI::search()
- Better handling of HTTP response codes in
Request::send()
. - Fixed a bug where
SpotifyWebAPIException
messages weren't correctly set. - Fixed various issues related to user playlists.
- This release contains lots of breaking changes, read through this list before updating.
- All methods which previously required a Spotify URI now just needs an ID.
deletePlaylistTrack()
has been renamed todeletePlaylistTracks()
.- When something goes wrong, a
SpotifyWebAPIException
is thrown. - The
SpotifyWebAPI
methods are no longer static, you'll need to instantiate the class now.
- Added new methods to
- Get Current User’s Saved Tracks.
- Check Current User’s Saved Tracks.
- Save Tracks for Current User.
- Remove Tracks for Current User.
- Change a Playlist’s Details.
- Remove Tracks from a Playlist.
- Replace a Playlist’s Tracks.
- Added support for the Client Credentials Authorization Flow.
- Added support for more HTTP methods in
Request::send()
.
- Added Artist’s Related Artists endpoint.
- Added
offset
andlimit
options forSpotifyWebAPI::getAlbumTracks()
andSpotifyWebAPI::getArtistAlbums()
. - Replaced PSR-0 autoloading with PSR-4 autoloading.
- Changed method signature of
Session::getAuthorizeUrl()
and addedshow_dialog
option. - Added missing returns for
SpotifyWebAPI::getUserPlaylist()
andSpotifyWebAPI::getUserPlaylistTracks()
. - Fixed a bug where search terms were double encoded.
- Initial release