work_db 1.0.2 copy "work_db: ^1.0.2" to clipboard
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.1 - 2025-12-26 #

Changed #

  • Updated createOrUpdate to properly use create and update methods

1.0.0 - 2024-12-22 #

Added #

  • Initial release
  • ClientWorkDb - Main database client implementation
  • IoWorkDb - File system storage for Desktop/Server (Windows, macOS, Linux)
  • WebWorkDb - localStorage-based storage for Web
  • MemoryWorkDb - In-memory storage for testing
  • WorkDbFactory - 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
0
likes
0
points
141
downloads

Documentation

Documentation

Publisher

unverified uploader

Weekly Downloads

A lightweight, cross-platform local database for Dart and Flutter. Simple key-value storage with collections, supporting Desktop, Web, and Mobile.

Repository (GitHub)
View/report issues

Topics

#database #storage #local-storage #persistence #key-value

License

unknown (license)

Dependencies

path

More

Packages that depend on work_db