PackageTrack
Sign in Get early access

dio_cache_interceptor_hive_store

A DB cache store implementation with Hive for dio_cache_interceptor package.

4.0.0 25K downloads/mo #2003 most downloaded on pub.dev llfbandit/dio_cache_interceptor

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Ships fairly regularly

a new release about every 6 months

Nearly every release is documented

notes for 9 of 9 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

9 releases · first in 2021

0 releases in the last 12 months

see the full history below

Release timeline

9 releases · Jun 2021 to Dec 2024
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 9
  1. 4.0.0 08 Dec 2024
    Release notes

    feat: Add http client along dio interceptor.

    Open source →
    Release notes
    • chore: Reworked package to be only a dio interceptor. Leaving space to do the same with http package or others.

    • feat: ** BREAKING ** Stores save response status codes.

    • Store migration is implicit, you have nothing to do.

    • 304 may still be forwarded for older cached responses.

    • feat: ** BREAKING ** hitCacheOnErrorExcept is split with hitCacheOnNetworkFailure . Term is now positive and replaced by hitCacheOnErrorCodes .

    • feat: Add hitCacheOnNetworkFailure to allow restore previous cached response on network failure (connection, TO, ...).

    • chore: Stores are now fully agnostic and don't rely on dio_cache_interceptor package.

    • chore: Source code cleanup.

    • chore: Min SDK is now 3.0.0.

    • chore: Updated dependencies.

    Open source →
    Release notes
    • feat: Replace hive with hive_ce.
    Open source →
  2. 3.2.2 27 Nov 2023
    Release notes
    • fix: stream response type is no more eligible to cache (wasn't working anyway). This is additional fix to content-disposition: attachment; ... since headers may not be set.
    Open source →
    Release notes
    • chore: Updated dependencies.
    Open source →
  3. 3.2.1 22 Feb 2023
    Release notes
    • fix: io import in CacheResponse preventing usage with web platform.
    Open source →
    Release notes
    • chore: Updated dependencies.
    Open source →
  4. 3.2.0 08 Jul 2022
    Release notes

    Warning, this version is considered compatible with previous versions about stored data. However, cache store entries have now a new field for request date persistence which is setup arbitrarily for backward compatibility (150ms before response receive time). Depending of your usage, cache beheviour could be a bit inaccurate while entries are not updated with new strategy algorithm. If this is critical for your app, consider to clean up your store by calling store.clean(); for example on your next app upgrade.

    • feat: More status codes (203, 301) are available for caching responses.

    • feat: Status codes (302 are 307) are available for caching responses under strict conditions.

    • feat: Lots of improvements in computation of response expiry. Package is now much more compliant with rfc7234 .

    • feat: age , max-stale , min-fresh , must-revalidate headers/values are now parsed.

    • feat: When maxStale is given to the request, interceptor will now add/update it from the current date for a previously cached response. This lets you get more control to postpone the deletion if needed.

    • fix: stale state is now handled in interceptor instead of cache stores.

    • fix: no-cache header is now correctly handled.

    • fix: content-disposition: attachment; ... is no more eligible to be cached.

    • core: General code cleanup to handle above features.

    Open source →
    Release notes
    • feat: Add Store.getFromPath method.
    • feat: Add Store.deleteFromPath method.
    Open source →
  5. 3.1.1 16 Feb 2022
    Release notes
    • fix: Now using lazy box to avoid all values loaded into RAM.
    Open source →
  6. 3.1.0 07 Jan 2022
    Release notes
    • Breaking : File cache store is now available as external package and suitable for production.

    • Improved example with added non-cached content & image provider sample.

    Open source →
    Release notes
    • Add request date to stored values.
    • Add encryptionCipher property for direct usage with Hive.
    • Raise dio_cache_interceptor minimum version.
    Open source →
  7. 3.0.2 27 Dec 2021
    Release notes
    • fix: Ciphered content deserialization error when updating headers.
    Open source →
    Release notes
    • core: Updated dependencies.
    Open source →
  8. 3.0.1 27 Jun 2021
    Release notes
    • fix: file_cache_store visibility.
    Open source →
    Release notes
    • fix: imports.
    Open source →
  9. 3.0.0 22 Jun 2021
    Release notes
    • core: Moved DB & Hive cache stores to their respective packages.

    • fix: import of file_cache_store.

    Open source →
    Release notes
    • Initial release.
    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