Skip to content

ci(release): v10#455

Draft
dargmuesli wants to merge 9 commits intomainfrom
beta
Draft

ci(release): v10#455
dargmuesli wants to merge 9 commits intomainfrom
beta

Conversation

@dargmuesli
Copy link
Member

Copilot AI and others added 8 commits February 11, 2026 16:38
* 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]>
…playlist-endpoint

Add CreatePlaylist endpoint (POST /v1/me/playlists)
@codecov
Copy link

codecov bot commented Mar 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.84%. Comparing base (90c6508) to head (a069569).
⚠️ Report is 7 commits behind head on main.

❗ There is a different number of reports uploaded between BASE (90c6508) and HEAD (a069569). Click for more details.

HEAD has 2 uploads less than BASE
Flag BASE (90c6508) HEAD (a069569)
8 6
Additional details and impacted files
@@              Coverage Diff              @@
##               main     #455       +/-   ##
=============================================
- Coverage     66.64%   49.84%   -16.80%     
+ Complexity      672      582       -90     
=============================================
  Files           184      243       +59     
  Lines          7264     8626     +1362     
  Branches       1151     1054       -97     
=============================================
- Hits           4841     4300      -541     
- Misses         1520     3526     +2006     
+ Partials        903      800      -103     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants