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 2024Releases
latest 9-
4.0.008 Dec 2024Release notes
Open source →-
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.
-
-
3.2.227 Nov 2023Release notes
Open source →- 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.
-
3.2.122 Feb 2023 -
3.2.008 Jul 2022Release notes
Open source →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.
Release notes
Open source →- feat: Add
Store.getFromPathmethod. - feat: Add
Store.deleteFromPathmethod.
-
-
3.1.116 Feb 2022 -
3.1.007 Jan 2022Release notes
Open source →-
Breaking : File cache store is now available as external package and suitable for production.
-
Improved example with added non-cached content & image provider sample.
Release notes
Open source →- Add request date to stored values.
- Add encryptionCipher property for direct usage with Hive.
- Raise dio_cache_interceptor minimum version.
-
-
3.0.227 Dec 2021 -
3.0.127 Jun 2021 -
3.0.022 Jun 2021Release notes
Open source →-
core: Moved DB & Hive cache stores to their respective packages.
-
fix: import of file_cache_store.
-