Viewing version 5.1.1. Open the latest package page.

http_cache_hive_store

5.1.1

A DB cache store agnostic HTTP client implementation with hive_ce.

Download archive

Readme

pub package

http_cache_hive_store

Hive cache store implementation with hive_ce for:

Changelog

5.1.1

  • perf: avoid redundant reads and batch deleteFromPath
  • fix: Store race condition when cleaning at start and guard RW concurrent calls.
  • fix: code duplication.
  • fix: make CacheControlAdapter.other field null-safe
  • fix: recover from a box closed by another store instance
  • fix: initialize IsolatedHive before opening boxes.
  • chore: Min SDK is now 3.8.0.

5.1.0

  • feat: Add Isolated Hive cache store.

5.0.2

  • chore: Min SDK is now 3.6.0.
  • fix: Initialize home directory for box instead of Hive.

5.0.1

  • feat: Allow to provide a Hive implementation to be used.

5.0.0

  • feat: Saves response status code.
  • chore: Updated dependencies.

4.0.0

  • feat: Replace hive with hive_ce.

3.2.2

  • chore: Updated dependencies.

3.2.1

  • chore: Updated dependencies.

3.2.0

  • feat: Add Store.getFromPath method.
  • feat: Add Store.deleteFromPath method.

3.1.1

  • fix: Now using lazy box to avoid all values loaded into RAM.

3.1.0

  • Add request date to stored values.
  • Add encryptionCipher property for direct usage with Hive.
  • Raise dio_cache_interceptor minimum version.

3.0.2

  • core: Updated dependencies.

3.0.1

  • fix: imports.

3.0.0

  • Initial release.

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'http_cache_hive_store:5.1.1'
pubspec.yaml
name: http_cache_hive_store
description: A DB cache store agnostic HTTP client implementation with hive_ce.
homepage: https://github.com/llfbandit/dart_http_cache/tree/master/http_cache_hive_store
version: 5.1.1

resolution: workspace

environment:
  sdk: ^3.8.0

dependencies:
  http_cache_core: ^1.1.3

  # https://pub.dev/packages/hive_ce
  hive_ce: ^2.11.0

dev_dependencies:
  # https://pub.dev/packages/lints
  lints: ^6.1.0
  # https://pub.dev/packages/test
  test: ^1.24.4

  http_cache_store_tester: ^1.0.0

Version history

VersionPublishedArchiveSHA-256
5.0.0On demandDownloadbef5934e…23b8f7
5.0.1On demandDownload85847efd…1fb8fe
5.0.2On demandDownload9597d575…57cd03
5.1.0On demandDownload074518de…983682
5.1.1Cached · Upstream SHA-256 matchedDownload37d9f9ca…8dd3dc

Dependencies

hive_ce "^2.11.0"

http_cache_core "^1.1.3"