Skip to content

Commit 339c349

Browse files
committed
Bump spotify-web-api-core to 2021.5.1
1 parent b193c0e commit 339c349

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
- Update to spotify-web-api-core `2021.5.1`
9+
- The `ids` parameter in the `RemoveShowsUserRequest` and `SaveShowsUserRequest` is now passed in the body
10+
- Add `htmlDescription` and `restrictions` fields to `Episode` and `SimplifiedEpisode`
11+
- Fix `SearchResponse` object
812

913
## [2.0.0]
1014
Complete rewrite of the library. The models and endpoints are generated from output of my [spotify-web-api-parser](https://github.com/sonallux/spotify-web-api) which generates a machine-readable format of the [Spotify Web API Reference](https://developer.spotify.com/documentation/web-api/reference). This results in a lot of breaking changes around naming of objects, properties, endpoints and parameters.

spotify-web-api-java-generator/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<url>https://github.com/sonallux/spotify-web-api-java</url>
2121

2222
<properties>
23-
<spotify-web-api-core.version>2021.4.28</spotify-web-api-core.version>
23+
<spotify-web-api-core.version>2021.5.1</spotify-web-api-core.version>
2424
<guava.version>30.1.1-jre</guava.version>
2525
<picocli.version>4.6.1</picocli.version>
2626
<flexmark.version>0.62.2</flexmark.version>

spotify-web-api-java/src/main/generated/de/sonallux/spotify/api/models/SearchResponse.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
@Setter
77
@NoArgsConstructor
88
public class SearchResponse {
9-
public Paging<SimplifiedAlbum> album;
10-
public Paging<Artist> artist;
11-
public Paging<SimplifiedEpisode> episode;
12-
public Paging<SimplifiedPlaylist> playlist;
13-
public Paging<SimplifiedShow> show;
14-
public Paging<Track> track;
9+
public Paging<SimplifiedAlbum> albums;
10+
public Paging<Artist> artists;
11+
public Paging<SimplifiedEpisode> episodes;
12+
public Paging<SimplifiedPlaylist> playlists;
13+
public Paging<SimplifiedShow> shows;
14+
public Paging<Track> tracks;
1515
}

0 commit comments

Comments
 (0)