work_db 1.0.2
work_db: ^1.0.2 copied to clipboard
A lightweight, cross-platform local database for Dart and Flutter. Simple key-value storage with collections, supporting Desktop, Web, and Mobile.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.1.0 - 2026-01-20 #
Added #
- Introduced polymorphic Factory Pattern with dedicated input types (
IoWorkDbFactoryInput,WebWorkDbFactoryInput,MemoryWorkDbFactoryInput) for each implementation. // IA - All examples, tests, and documentation now use the new factory pattern. // IA
- All test suites aligned to the new pattern (202 tests, 100% pass). // IA
Changed #
- Breaking change: All instantiation now requires input objects for factory methods. // IA
- README and examples updated to reflect new usage. // IA
Removed #
- Deprecated old static factory methods (
forIo,forWeb,forMemory,createIo,createWeb,createMemory). // IA
1.0.0 - 2024-12-22 #
Added #
- Initial release
ClientWorkDb- Main database client implementationIoWorkDb- File system storage for Desktop/Server (Windows, macOS, Linux)WebWorkDb- localStorage-based storage for WebMemoryWorkDb- In-memory storage for testingWorkDbFactory- Factory methods for easy instantiation- Full CRUD operations: create, read, update, delete
- Batch operations: createMultiple, retrieveMultiple, createOrUpdateMultiple
- Collection management: getItemsInCollection, getCollections, deleteCollection
- Comprehensive test suite with 33 tests per implementation