taro 2.0.3
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
TaroStorageFailureExceptionandTaroStorageOperationTypefor storage error handling. - FEAT: Add
onStorageErrorcallback toTaroclass for monitoring storage failures. - FEAT: Add
topicsto pubspec.yaml for better discoverability on pub.dev. - REFACTOR: Add
@immutableannotation toCacheFileInfo. - REFACTOR: Remove duplicate
keyassignment inTaroWidget. - TEST: Add comprehensive tests for exception classes and
CacheFileInfo. - TEST: Add
tearDownto 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
TaroHttpResponsefromRecordtoclass. - BREAKING CHANGE:
TaroHttpResponseconstructor is no longerconstdue to header normalization. - FEAT: Add
toString,==,hashCodeimplementation toTaroHttpResponse. - FEAT: Normalize
TaroHttpResponseheaders keys to lowercase.
1.5.0 #
- BREAKING CHANGE: Remove
TaroResizeOption,TaroResizeOptionSkip, andTaroResizeOptionMemory. - BREAKING CHANGE:
Taro.loadImageProviderandTaroWidgetnow usemaxWidthandmaxHeightarguments instead ofresizeOption.
1.4.0 #
- BREAKING CHANGE: Remove
imagedependency. - BREAKING CHANGE: Remove
TaroResizer,TaroResizeOptionDisk, andTaroResizeFormat. - BREAKING CHANGE: Remove
resizeOptionargument fromloadBytes. - BREAKING CHANGE: Remove
networkLoaderResizersetter fromTaro.
1.3.0 #
- Add
customCacheDurationoption toTaroHeaderOption - BREAKING CHANGE: Convert
TaroHeaderOptionfrom record to class for better extensibility - Add
toString(),==, andhashCodeto allTaroResizeOptionsubclasses - Fix
cache-controlheader parsing to support multiple directives - Improve error handling in
TaroResizer
1.2.0 #
- Refactor
TaroResizeOption
1.1.0 #
- Remove
httpdependency - Use
dart.library.ioanddart.library.js_interop
1.0.1 #
- Add sample code with
Diohttp 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