- Introduced seperate constructors for PKCE and non-PKCE
flows on both
AuthorizationCodeUserAuthorization
andAuthorizationCodeRefresher
.
- Don't require client secret with PKCE flow
- A lot of classes are no longer extendable/implementable outside of this package. Realistically, this shouldn't pose an issue to any users.
- auth: Implement PKCE extension (closes #14)
- Add class modifiers where appropriate
- Fix request body of removePlaylistItems
- Made a bunch of response model fields that should be an int able to handle a double value
- Revert erroneous dependency bumps.
- Implement available genre seeds endpoint
- #32: Implement track recommendation endpoint
- Introduce SimplifiedTrack for Track.linkedFrom
- Optimize literal list JSON deserialization
- artist: Change type of popularity to double?
- deps: Updated dependency logger to
^2.0.0
- Added artist lookup and artist's top tracks lookup
- Generic
SpotifyApiException
may contain statusCode now - Require Dart 3
- Require
http ^1.0.0
- 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)
- Remove
clientId
field from abstractAccessTokenRefresher
- Add
rawAccessToken
getter - Export RequestsClient in
extension.dart
module
- Remove
FileRefreshTokenStorage
- Now compatible with the Web platform
- Previously deprecated
AuthorizationCodeResponse
removed - Fixed signature of
UserAuthorizationFlow
to not require a RequestsClient instance
- (#15) Split up
AuthenticationFlow
intoAccessTokenRefresher
andUserAuthorizationFlow
Further package quality improvements.
Several package quality improvements.
Initial alpha release.