omni_kv 0.1.0
omni_kv: ^0.1.0 copied to clipboard
Strongly-typed, storage-agnostic key-value framework for Dart and Flutter.
0.1.0 #
Added #
- Core Architecture: Introduced
KvGateway,KvKey, andKvEntryto provide a strongly-typed, fluent API for key-value storage. - Capability-Based Interfaces: Added modular capabilities to enforce compile-time safety:
ReadableKvCapability,WritableKvCapability,RemovableKvCapability,ClearableKvCapability,WatchableKvCapability, andBatchableKvCapability.
- Built-in Converters: Added a comprehensive suite of
KvConverterimplementations to seamlessly serialize complex types natively or as JSON:BigIntConverter,CollectionConverter,DateTimeConverter,DurationConverter,EnumConverter,InlineConverter,JsonConverter,ModelConverter,RecordConverter, andUriConverter.
- Memory Storage: Included
MemoryKvAdapterandMemoryKvCodecout-of-the-box for instantaneous, mock-free unit testing and temporary runtime state. - Exceptions: Added custom, descriptive typed exceptions (
KvMissingValueException,KvTypeException,KvSerializationException,KvUnsupportedValueException). - Batching System: Introduced an asynchronous, ordered batching DSL via
KvBatchCollectorAdapterandSequentialKvBatchCapability.