x_storage_core 0.4.1
x_storage_core: ^0.4.1 copied to clipboard
Core package for x_storage providing XStorageProvider and other base functionality
0.4.1 #
- Added
XFileHead(size / contentType / lastModified) andXStorageProvider.head()/XStorage.head()to fetch file metadata without downloading the content (default implementation falls back toloadFile) - Fixed
XUri.changeSchemeproducing double leading slashes (e.g.////path) by usingUri.replaceinstead of string concatenation
0.4.0 #
- Added
CachingProviderMixinfor cache management interface - Added
SyncProviderMixinfor sync status management interface - Added
SyncStatusenum (synced,pendingUpload,localOnly,pendingDelete) XStorage.withResource()now auto-detects cached files viaCachingProviderMixin- Fixed
AssetProviderMixin.assetNameto strip leading slash
0.2.1 #
- Added export
XStorageException
0.2.0 #
- BREAKING CHANGE: Migrated error handling to use
Resulttype fromtype_resultpackage - BREAKING CHANGE: Renamed
XStorageErrortoXStorageException - All storage operations now return
Result<T, XStorageException> - Improved type safety in error handling
- Added dependency on
type_result: ^3.0.1
0.1.0 #
- BREAKING CHANGE: Renamed
XStorageDrivertoXStorageProviderfor better semantic clarity - Renamed all related classes, methods, and documentation to use "Provider" instead of "Driver"
- Updated all mixins to work with
XStorageProvider - Improved documentation
0.0.4 #
- Fix bugs
0.0.3 #
- Fix bugs
0.0.2 #
- Add getProviderFromScheme method to XStorage
- Add changeSchema method to XUri
0.0.1 #
- Initial release
- Implementation of basic storage interface
- Various Mixins (Network, File, Asset)
- URI-based file management functionality