Skip to content

Releases: sonallux/spotify-web-api-java

Release 2.3.0

08 Nov 19:42
Compare
Choose a tag to compare

What's Changed

  • Update to spotify-web-api-core 2021.8.23
    • Fix tracks property in Recommendations
    • 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
  • Update to jackson 2.12.4

Release 2.2.0

18 Jun 11:04
Compare
Choose a tag to compare

What's Changed

  • Update to spotify-web-api-core 2021.6.18
    • Fix response type of ReplacePlaylistsTracksRequest from Void to SnapshotId.
  • Add a module-info file, so the library is usable with the Java module system.

Release 2.1.0

01 May 18:52
Compare
Choose a tag to compare

What's Changed

Update to spotify-web-api-core 2021.5.1

  • The ids parameter in the RemoveShowsUserRequest and SaveShowsUserRequest is now passed in the body
  • Add htmlDescription and restrictions fields to Episode and SimplifiedEpisode
  • Fix SearchResponse object

Release 2.0.0

14 Apr 14:43
Compare
Choose a tag to compare

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 to de.sonallux.spotify
  • Renamed java package name from de.jsone_studios.wrapper.spotify to de.sonallux.spotify.api
  • Removed SpotifyApi interface in favour of an enhanced SpotifyWebApi 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 an executeCall() method on the new ApiCall class
  • Removed SpotifyApi.callApiAndReturnBody() in favour of an execute() method on the new ApiCall class
  • Added support for all authorization flows. See here for more details.
  • Bump minimum required Java version to Java 11