wiseclient 3.0.0
wiseclient: ^3.0.0 copied to clipboard
A http client based on Dio with extra features and a few interceptors for basic functionality.
3.0.0 #
- Breaking: Removed
OAuthToken. UseOAuth2Tokenfrom fresh - Breaking:
OAuthToken.fromSnakeCaseandOAuthToken.fromCamelCasingare replaced bymap.toOAuth2TokenFromSnakeCase()andmap.toOAuth2TokenFromCamelCase(). - Breaking: Removed the unused
LogoutException. ThrowRevokeTokenExceptionfromrefreshFunctionto log the user out - Breaking:
fresh,setFreshToken,removeFreshTokenandauthenticationStatusthrow aStateErroron a client created withoutWiseInterceptor.fresh, instead of reading and changing the shared stored token - Breaking:
interceptorsToAddnow run before the wise interceptors - Breaking: Replaced the
tokenStorageparameter withfresh. Pass one client'sfreshto the others to share a session; for custom storage, passgetFreshInterceptor(refreshFunction: ..., tokenStorage: ...) - Fixed refresh calls and retried requests ignoring the client's adapter, base url and timeouts (
withCredentialson web,useNativeAdapter, connect timeout) - Fixed refreshed tokens not being persisted when
refreshFunctionreturned anOAuth2Token - Fixed requests hanging when the stored token could not be read; it is now deleted and reported to the zone as a
TokenParseException - Updated
flutter_secure_storageto 11.x
2.1.1 #
- Fixed constructor function parameters for web and native
2.1.0 #
- Removed error screens
- Changed web support to WASM
2.0.4 #
- Removed
synchronizablefrom iOS options inFreshSecureTokenStorage - Updated packages
2.0.3 #
- Added
issuedAtto mappers
2.0.2 #
- Added
RevokeTokenExceptionto exports
2.0.1 #
- Added
AuthenticationStatusto exports
2.0.0 #
- Breaking change: Removed
freshfork - Needs migration: FreshSecureTokenStorage
- Added iOS options for
KeychainAccessibility.first_unlock - Use
tokenStoragein client creation to achieve migration (or handle separately)
- Added iOS options for
1.1.3-prerelease.3 #
- Add a wiseclient skill
1.1.3-prerelease.2 #
- Pass refreshBuffer through createClient
1.1.3-prerelease.1 #
- Updated dependencies
1.1.3-prerelease.0 #
- Make sure refresh calls have better support for concurrent calls
- Refresh tokens before call occurs
- Add 10 second hard cache before doing new refresh call
1.1.2-prerelease.0 #
- Updated Flutter Secure storage
1.1.1 #
- Bugfix: workaround for BrowserHttpAdapter issue
- Updated packages
1.1.0 #
- Added option to add permanent headers to client
- Bugfix: Header options in client base (duplicate header)
- Updated packages
1.0.8 #
- Updated secure storage package and reverted workaround for efficiency
1.0.7 #
- Changed secure storage read because of breaking bug on iOS
1.0.6 #
- Updated packages
1.0.5 #
- Updated
diopackage
1.0.4 #
- Replaced pretty_dio_logger with talker_dio_logger
1.0.3 #
- Changes for pub.dev analysis
1.0.2 #
- Added repository link and homepage
1.0.1 #
- Formatting/added example
1.0.0 #
- Initial version
- Basic request overrides with added functionality
- Extended dio client with possibility to add interceptors