Skip to content

Commit 761d87d

Browse files
Copilotdargmuesli
andauthored
feat!: Spotify Web API breaking changes for 2026-02-11 (#448)
* Initial plan * Remove 20 request classes, their test classes, and test fixtures Co-authored-by: dargmuesli <[email protected]> * Remove deleted request class references and add new library builder methods in SpotifyApi.java Co-authored-by: dargmuesli <[email protected]> * Remove deprecated endpoints and add new /me/library endpoints - Remove 20 deprecated request classes (GET several/top, POST/GET user-specific, PUT/DELETE per-type library) - Remove corresponding 20 test classes and 12 test fixtures - Remove 28 builder methods from SpotifyApi.java - Add SaveToLibraryRequest (PUT /me/library) and RemoveFromLibraryRequest (DELETE /me/library) - Add saveToLibrary() and removeFromLibrary() builder methods to SpotifyApi.java Co-authored-by: dargmuesli <[email protected]> * Remove availableMarkets, externalIds, label, and popularity fields from Album model Co-authored-by: dargmuesli <[email protected]> * Remove albumGroup and availableMarkets fields from AlbumSimplified Co-authored-by: dargmuesli <[email protected]> * Remove followers and popularity fields from Artist model class Co-authored-by: dargmuesli <[email protected]> * Remove availableMarkets, externalIds, linkedFrom, and popularity fields from Track model Remove field declarations, constructor assignments, getter methods, Builder setter methods, and JsonUtil deserialization code for the four fields. Also remove unused imports (CountryCode, ExternalId, TrackLink, Gson) and update toString method. Update GetTrackRequestTest to remove assertions for removed fields. Co-authored-by: dargmuesli <[email protected]> * Remove availableMarkets and linkedFrom fields from TrackSimplified Co-authored-by: dargmuesli <[email protected]> * Remove availableMarkets and publisher fields from Show and ShowSimplified Co-authored-by: dargmuesli <[email protected]> * Remove country, email, followers, and product fields from User model Co-authored-by: dargmuesli <[email protected]> * Rename tracks/track fields to items/item in Playlist, PlaylistSimplified, and PlaylistTrack Co-authored-by: dargmuesli <[email protected]> * Fix test compilation errors after model field removals Co-authored-by: dargmuesli <[email protected]> * Rename playlist JSON fixture fields: tracks→items, track→item Co-authored-by: dargmuesli <[email protected]> * Add tests for SaveToLibraryRequest and RemoveFromLibraryRequest endpoints Co-authored-by: dargmuesli <[email protected]> * Update examples directory for API changes and add compile-examples CI step - Remove 20 example files for deleted endpoints - Add SaveToLibraryExample and RemoveFromLibraryExample - Fix pre-existing SavedEpisode import bug in GetUsersSavedEpisodesExample - Add compile-examples Maven profile to compile examples with project sources - Add CI step to compile examples during builds Co-authored-by: dargmuesli <[email protected]> * Fix Javadoc for renamed playlist fields and add @OverRide to library request execute methods - PlaylistSimplified.setItems(): update @param tracks → items - Playlist.setItems(): update Javadoc wording and @param tracks → items - PlaylistTrack.setItem(): update Javadoc wording and @param track → item - SaveToLibraryRequest.execute(): add @OverRide annotation - RemoveFromLibraryRequest.execute(): add @OverRide annotation Co-authored-by: dargmuesli <[email protected]> * ci: compile examples by default --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: dargmuesli <[email protected]> Co-authored-by: Jonas Thelemann <[email protected]>
1 parent 90c6508 commit 761d87d

File tree

105 files changed

+289
-7574
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+289
-7574
lines changed

examples/data/albums/GetSeveralAlbumsExample.java

Lines changed: 0 additions & 56 deletions
This file was deleted.

examples/data/artists/GetArtistsTopTracksExample.java

Lines changed: 0 additions & 58 deletions
This file was deleted.

examples/data/artists/GetSeveralArtistsExample.java

Lines changed: 0 additions & 55 deletions
This file was deleted.

examples/data/browse/GetCategoryExample.java

Lines changed: 0 additions & 57 deletions
This file was deleted.

examples/data/browse/GetListOfCategoriesExample.java

Lines changed: 0 additions & 59 deletions
This file was deleted.

examples/data/browse/GetListOfNewReleasesExample.java

Lines changed: 0 additions & 58 deletions
This file was deleted.

0 commit comments

Comments
 (0)