Releases: sonallux/spotify-web-api-java
Releases · sonallux/spotify-web-api-java
Release 2.3.0
What's Changed
- Update to spotify-web-api-core
2021.8.23
- Fix
tracks
property inRecommendations
- Mark
market
parameter in "Get Playlist's Items" endpoint as optional - Make "Upload a Custom Playlist Cover Image" endpoint actually usable
- Make type of
tracks
parameter in "Remove Items from a Playlist" endpoint more accurate
- Fix
- Update to jackson
2.12.4
Release 2.2.0
What's Changed
- Update to spotify-web-api-core
2021.6.18
- Fix response type of
ReplacePlaylistsTracksRequest
fromVoid
toSnapshotId
.
- Fix response type of
- Add a module-info file, so the library is usable with the Java module system.
Release 2.1.0
What's Changed
Update to spotify-web-api-core 2021.5.1
- The
ids
parameter in theRemoveShowsUserRequest
andSaveShowsUserRequest
is now passed in the body - Add
htmlDescription
andrestrictions
fields toEpisode
andSimplifiedEpisode
- Fix
SearchResponse
object
Release 2.0.0
Complete rewrite of the library. The models and endpoints are generated from output of my spotify-web-api-parser which generates a machine-readable format of the Spotify Web API Reference. This results in a lot of breaking changes around naming of objects, properties, endpoints and parameters.
Other notable changes:
- Renamed the maven groupId from
de.jsone-studios
tode.sonallux.spotify
- Renamed java package name from
de.jsone_studios.wrapper.spotify
tode.sonallux.spotify.api
- Removed
SpotifyApi
interface in favour of an enhancedSpotifyWebApi
class SpotifyWebApi
uses the builder pattern to create an instance- Replaced retrofit with a custom wrapper around OkHttp
- Requests are now created with a builder style api for optional parameters. For example:
ApiCall<?> call1 = spotifyWebApi.getXApi().getX("requiredParam").build();
ApiCall<?> call2 = spotifyWebApi.getXApi().getX("requiredParam").optionalParam1("Y").build();
- Removed
SpotifyApi.callApi()
in favour of anexecuteCall()
method on the newApiCall
class - Removed
SpotifyApi.callApiAndReturnBody()
in favour of anexecute()
method on the newApiCall
class - Added support for all authorization flows. See here for more details.
- Bump minimum required Java version to Java 11