Ramsayleung Rspotify Versions Save

Spotify Web API SDK implemented on Rust

v0.12.0

8 months ago

What's Changed

New features

  • (#390) The scopes! macro supports to split the scope by whitespace.
  • (#418) Add a user-settable callback function whenever token is updated.

Breaking changes

  • (#409) Change type of position parameter in playlist_add_items endpoint from Opinion<Duration> to Opinion<u32>
  • (#421) Change type of AudioFeaturesPayload.audio_features from Vec<AudioFeatures> to Vec<Option<AudioFeatures>>
  • (#429) Enable Token refreshing by default.
  • (#432) Add optional market field to track, album, albums, and album_track[_manual]. Make market field in artist_top_tracks optional.

Bugfixes

  • (#419) Base64url encode instead of plain base64 encode for PKCE challenge code.
  • (#421) Filter nulls on tracks_features requests
  • (#424) Fix PKCE refresh token invalid error
  • (#428) Fix PKCE url in doc

Full changelog

https://github.com/ramsayleung/rspotify/compare/v0.11.7...v0.12.0

v0.11.0

2 years ago

This release contains lots of breaking changes. These were necessary to continue Rspotify's development, and this shouldn't happen again. From now on we'll work on getting closer to the first stable release. Lots of internal code was rewritten to make RSpotify more flexible, performant and easier to use. Sorry for the inconvenience!

More info in the changelog. If you have problems upgrading, please let us know at #218 :)

v0.9

4 years ago
  • Adds async/await support.
  • Keeps the previous synchronous API, enabled by extra feature blocking, disabled by default.
  • Shorten the import path.
  • Add missing Show and Episode types.

v0.9-alpha

4 years ago

Alpha release supporting async/await