tiny_storage 2.0.1 copy "tiny_storage: ^2.0.1" to clipboard
tiny_storage: ^2.0.1 copied to clipboard

A simple and lightweight key-value store that saves data as JSON files. Supports fast and ordered file I/O using Isolate-based parallel processing.

2.0.1 #

  • Downgraded meta package version for compatibility with current Flutter.

2.0.0 #

  • Major refactor: overall processing and API have been reviewed and improved for better usability and maintainability.

1.5.0 #

  • Added deferredSave to improve performance for frequent saves.

1.4.1 #

  • Fixed a bug in worker destruction when using union.

1.4.0 #

  • Added StorageImpl interface for better testability and extensibility.
  • Refactored storage implementations into separate classes (IOStorageImpl and HTMLStorageImpl).
  • Added support for dependency injection through storage parameter in TinyStorage.init.
  • Added example test cases using mock implementation.

1.3.0 #

  • Added 'close' to close the current file.
  • Added 'errorCallback' to get errors.

1.2.0 #

  • Added 'inProgress' to indicate whether the process is in progress or not.
  • Added 'waitUntilIdle' to wait until idle.

1.1.0 #

  • Added 'union' to run on the same thread.

1.0.4 #

  • Fixed data updates to Map and List.

1.0.3 #

  • Avoided unnecessary saving when values are the same.

1.0.2 #

  • Updated isoworker to fix a bug that sometimes files are not saved when exiting.

1.0.1 #

  • Avoid error when clear is called multiple times

1.0.0+1 #

  • Update README.

1.0.0 #

  • Initial version.
5
likes
160
points
107
downloads

Publisher

verified publisherzuvola.com

Weekly Downloads

A simple and lightweight key-value store that saves data as JSON files. Supports fast and ordered file I/O using Isolate-based parallel processing.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

isoworker, meta, web

More

Packages that depend on tiny_storage