spotify_api 3.0.0 copy "spotify_api: ^3.0.0" to clipboard
spotify_api: ^3.0.0 copied to clipboard

A wrapper for the Spotify Web API, implemented in Dart. Available on all Dart platforms.

Changelog #

3.0.0 (2024-06-23) #

BREAKING CHANGE #

  • Introduced seperate constructors for PKCE and non-PKCE flows on both AuthorizationCodeUserAuthorization and AuthorizationCodeRefresher.

Fix #

  • Don't require client secret with PKCE flow

2.0.0 (2024-06-23) #

BREAKING CHANGE #

  • A lot of classes are no longer extendable/implementable outside of this package. Realistically, this shouldn't pose an issue to any users.

Feat #

  • auth: Implement PKCE extension (closes #14)
  • Add class modifiers where appropriate

1.1.3 (2024-05-10) #

Fix #

  • Fix request body of removePlaylistItems

1.1.2 (2024-02-28) #

Fix #

  • Made a bunch of response model fields that should be an int able to handle a double value

1.1.1 (2024-01-21) #

Fix #

  • Revert erroneous dependency bumps.

1.1.0 (2024-01-21) #

Feat #

  • Implement available genre seeds endpoint
  • #32: Implement track recommendation endpoint

Fix #

  • Introduce SimplifiedTrack for Track.linkedFrom

Perf #

  • Optimize literal list JSON deserialization

1.0.0 (2024-01-13) #

BREAKING CHANGES #

  • artist: Change type of popularity to double?
  • deps: Updated dependency logger to ^2.0.0

0.5.1-alpha #

  • Added artist lookup and artist's top tracks lookup
  • Generic SpotifyApiException may contain statusCode now
  • Require Dart 3
  • Require http ^1.0.0

0.4.0-alpha #

  • Improve error handling
    • RateLimitingException now contains the duration after which a retry should be done
    • Not attempt is made to decode rate limiting error responses (they're not JSON)

Breaking Changes #

  • Remove clientId field from abstract AccessTokenRefresher

0.3.1-alpha #

  • Add rawAccessToken getter
  • Export RequestsClient in extension.dart module

0.3.0-alpha #

Breaking Changes #

  • Remove FileRefreshTokenStorage

0.2.1-alpha #

  • Now compatible with the Web platform
  • Previously deprecated AuthorizationCodeResponse removed
  • Fixed signature of UserAuthorizationFlow to not require a RequestsClient instance

0.2.0-alpha #

Breaking Changes #

  • (#15) Split up AuthenticationFlow into AccessTokenRefresher and UserAuthorizationFlow

0.1.0-alpha.3 #

Further package quality improvements.

0.1.0-alpha.2 #

Several package quality improvements.

0.1.0-alpha.1 #

Initial alpha release.

2
likes
160
pub points
72%
popularity

Publisher

verified publisherbjoernpetersen.net

A wrapper for the Spotify Web API, implemented in Dart. Available on all Dart platforms.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

convert, crypto, http, json_annotation, logger, meta

More

Packages that depend on spotify_api