PackageTrack
Sign in Get early access

fresh_graphql

An graphql link for token refresh. Built on top of package:graphql and manages authentication tokens transparently.

0.8.0 3.7K downloads/mo #4279 most downloaded on pub.dev felangel/fresh

What this package is like to depend on

Last release 5 months ago

26 Feb 2026

Release timing varies

gaps range from 2 weeks to 1.6 years

Nearly every release is documented

notes for 12 of 12 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

13 releases · first in 2020

3 releases in the last 12 months

see the full history below

Release timeline

13 releases · May 2020 to Feb 2026
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 13
  1. 0.8.0 26 Feb 2026
    Release notes
    • BREAKING feat: adjust the default shouldRefreshBeforeRequest to automatically refresh if the token expires within 30s
    Open source →
    Release notes
    • BREAKING feat: adjust the default shouldRefreshBeforeRequest to automatically refresh if the token expires within 30s
    Open source →
  2. 0.7.1 20 Feb 2026
    Release notes

    chore: bump package versions (#137)

    Open source →
    Release notes
    • feat: single-flight token refresh - concurrent UNAUTHENTICATED errors trigger only one refreshToken call (#126, #130)
    • fix: non-RevokeTokenException errors during token refresh no longer kill the response stream - the original error response is yielded instead (#130)
    Open source →
  3. 0.7.0 19 Feb 2026
    Release notes
    • feat: ShouldRefreshBeforeRequest allows 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.expiresAt getter
    • feat: support for custom token validation logic with GraphQL Request context
    Open source →
  4. 0.6.1 20 Jul 2024
    Release notes
    • chore: update copyright year
    • chore: add funding to pubspec.yaml
    • ci: revamp ci setup
    Open source →
  5. 0.6.0 25 Jul 2023
    Release notes
    • BREAKING: deps: remove package:graphql dependency
    • deps: upgrade dependencies
      • gql_exec: ^1.0.0
      • gql_link: ^1.0.0
      • http: ^1.0.0
    • docs: minor updates to LICENSE and README
    • chore: adjust dart sdk constraint to ">=2.15.0 <4.0.0"
    • chore: use more strict analysis options
    Open source →
  6. 0.5.2 04 Apr 2022
    Release notes
    • feat: upgrade dependencies
      • graphql: ^5.0.0
      • mocktail: ^0.3.0 (dev)
    Open source →
  7. 0.5.1 10 Apr 2021
    Release notes
    • fix: incorrect usage of updateContextEntry
    Open source →
  8. 0.5.0 09 Apr 2021
    Release notes
    • BREAKING update to null safety (Dart v2.12.0)
    Open source →
  9. 0.4.0 01 Feb 2021
    Release notes
    • BREAKING update to graphql: ^4.0.0
    Open source →
  10. 0.4.0-dev.1 14 Nov 2020 pre-release
    Release notes
    • BREAKING update to graphql: ^4.0.0-beta.5
    Open source →
  11. 0.3.0 11 Aug 2020
    Release notes
    • BREAKING: update to fresh: ^0.3.0
    Open source →
  12. 0.2.0 08 Jun 2020
    Release notes
    • BREAKING remove onRefreshFailure from FreshLink
    • Add authenticationStatus Stream to FreshLink
    Open source →
  13. 0.1.0 22 May 2020
    Release notes

    Initial Release of the library

    • Includes FreshLink graphql link with built-in token refresh.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive