fresh_graphql 0.8.0
fresh_graphql: ^0.8.0 copied to clipboard
An graphql link for token refresh. Built on top of package:graphql and manages authentication tokens transparently.
0.8.0 #
- BREAKING feat: adjust the default
shouldRefreshBeforeRequestto automatically refresh if the token expires within 30s
0.7.1 #
0.7.0 #
- feat:
ShouldRefreshBeforeRequestallows conditional token refresh based on GraphQL request details and token expiration - feat: automatic token refresh based on expiration before requests
- feat: enhanced token validation with
Token.expiresAtgetter - feat: support for custom token validation logic with GraphQL Request context
0.6.1 #
- chore: update copyright year
- chore: add funding to
pubspec.yaml - ci: revamp ci setup
0.6.0 #
- BREAKING: deps: remove
package:graphqldependency - deps: upgrade dependencies
gql_exec: ^1.0.0gql_link: ^1.0.0http: ^1.0.0
- docs: minor updates to
LICENSEandREADME - chore: adjust dart sdk constraint to
">=2.15.0 <4.0.0" - chore: use more strict analysis options
0.5.2 #
- feat: upgrade dependencies
graphql: ^5.0.0mocktail: ^0.3.0(dev)
0.5.1 #
- fix: incorrect usage of
updateContextEntry
0.5.0 #
- BREAKING update to null safety (Dart v2.12.0)
0.4.0 #
- BREAKING update to
graphql: ^4.0.0
0.4.0-dev.1 #
- BREAKING update to
graphql: ^4.0.0-beta.5
0.3.0 #
- BREAKING: update to
fresh: ^0.3.0
0.2.0 #
- BREAKING remove
onRefreshFailurefromFreshLink - Add
authenticationStatusStream toFreshLink
0.1.0 #
Initial Release of the library
- Includes
FreshLinkgraphql link with built-in token refresh.