streambox_core 1.3.1 copy "streambox_core: ^1.3.1" to clipboard
streambox_core: ^1.3.1 copied to clipboard

Core for stream-based caching and data strategy architecture.

1.3.1 #

  • fix README and example

1.3.0 #

  • Introduced RequestParams abstraction for strongly typed request parameters.
  • Unified APIs across DataSource, Repo, and CacheStrategy to require RequestParams.
  • Refactored BaseCacheStrategy to automatically resolve cache keys.
  • Simplified repository and data source generics for better type safety.
  • Updated all tests to cover new APIs and edge cases.

1.2.0 #

  • Moved all storage adapters into a separate package streambox_adapters.
  • Updated documentation to reference the new package.
  • Core library is now lighter with no direct dependency on storage backends.

1.1.0 #

  • Added new storage adapters exports:
    • AsyncSharedPrefsStorageAdapter
    • CachedSharedPrefsStorageAdapter
    • FlutterSecureStorageAdapter
    • MemoryStoreAdapter
  • Added example usage in example/main.dart demonstrating repository, caching, and DI setup.
  • Updated documentation to clarify DataInitial behavior after flush/reset.

1.0.0 #

  • Initial release of streambox_core.
  • Implemented core repository and caching framework.
  • Added built-in cache strategies:
    • CacheFirstStrategy
    • CacheThenRefreshStrategy
    • NoOpCacheStrategy
  • Provided base repository implementations:
    • SingleSourceRepo
    • ChainedSourcesRepo
    • PeriodicRepo
  • Introduced DataState lifecycle: Initial, Loading, Success, Error.
  • Added ready-to-use storage adapters:
    • MemoryStoreAdapter
    • AsyncSharedPrefsStorageAdapter
    • CachedPrefsAdapter
    • FlutterSecureStorageAdapter
1
likes
0
points
194
downloads

Publisher

verified publisherkalaganov.dev

Weekly Downloads

Core for stream-based caching and data strategy architecture.

Repository (GitHub)
View/report issues

Topics

#repository #caching #reactive #strategy #core

License

unknown (license)

Dependencies

meta

More

Packages that depend on streambox_core