taro 2.0.3 copy "taro: ^2.0.3" to clipboard
taro: ^2.0.3 copied to clipboard

Taro is a library for loading data from network and saving it to storage to speed up data loading.

2.0.3 #

  • FEAT: Add TaroStorageFailureException and TaroStorageOperationType for storage error handling.
  • FEAT: Add onStorageError callback to Taro class for monitoring storage failures.
  • FEAT: Add topics to pubspec.yaml for better discoverability on pub.dev.
  • REFACTOR: Add @immutable annotation to CacheFileInfo.
  • REFACTOR: Remove duplicate key assignment in TaroWidget.
  • TEST: Add comprehensive tests for exception classes and CacheFileInfo.
  • TEST: Add tearDown to existing tests for better isolation.

2.0.2 #

  • FIX: Fix lint rule.

2.0.1 #

  • FIX: Handle deleted cache directory in native.dart.
  • REFACTOR: Rearrange test directory structure.
  • DOCS: Update README badges and examples.## 2.0.0

2.0.0 #

  • BREAKING CHANGE: Refactor TaroHttpResponse from Record to class.
  • BREAKING CHANGE: TaroHttpResponse constructor is no longer const due to header normalization.
  • FEAT: Add toString, ==, hashCode implementation to TaroHttpResponse.
  • FEAT: Normalize TaroHttpResponse headers keys to lowercase.

1.5.0 #

  • BREAKING CHANGE: Remove TaroResizeOption, TaroResizeOptionSkip, and TaroResizeOptionMemory.
  • BREAKING CHANGE: Taro.loadImageProvider and TaroWidget now use maxWidth and maxHeight arguments instead of resizeOption.

1.4.0 #

  • BREAKING CHANGE: Remove image dependency.
  • BREAKING CHANGE: Remove TaroResizer, TaroResizeOptionDisk, and TaroResizeFormat.
  • BREAKING CHANGE: Remove resizeOption argument from loadBytes.
  • BREAKING CHANGE: Remove networkLoaderResizer setter from Taro.

1.3.0 #

  • Add customCacheDuration option to TaroHeaderOption
  • BREAKING CHANGE: Convert TaroHeaderOption from record to class for better extensibility
  • Add toString(), ==, and hashCode to all TaroResizeOption subclasses
  • Fix cache-control header parsing to support multiple directives
  • Improve error handling in TaroResizer

1.2.0 #

  • Refactor TaroResizeOption

1.1.0 #

  • Remove http dependency
  • Use dart.library.io and dart.library.js_interop

1.0.1 #

  • Add sample code with Dio http client
  • Update README
  • Code cleanup

1.0.0 #

  • Initial stable release

0.3.1 #

  • Code cleanup

0.3.0 #

  • http 1.2.1

0.2.2 #

  • Change js class names to match Dart class names

0.2.1 #

  • Specify generic type

0.2.0 #

  • Require Dart 3.3.0 and Flutter 3.19.0
  • Update to extension type

0.1.0 #

  • Migrate to js_interop
  • Create filename by sha256 hash of URL and options

0.0.3 #

  • Cleanup API
  • Add comments

0.0.2 #

  • More documentation

0.0.1 #

  • Initial alpha release
2
likes
160
points
915
downloads

Publisher

unverified uploader

Weekly Downloads

Taro is a library for loading data from network and saving it to storage to speed up data loading.

Repository (GitHub)
View/report issues

Topics

#image #cache #network

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

clock, crypto, flutter, path_provider

More

Packages that depend on taro