tiny_storage 2.0.1
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
andHTMLStorageImpl
). - Added support for dependency injection through
storage
parameter inTinyStorage.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.