umay_db 1.2.0
umay_db: ^1.2.0 copied to clipboard
A lightweight embedded NoSQL database for Dart and Flutter. Inspired by Laravel Eloquent ORM and Bitcask storage architecture.
1.2.0 #
- Add comprehensive dartdoc comments across all public API elements (20%+ threshold met)
- Add example file (
example/umay_db_example.dart) demonstrating CRUD and query builder - Fix all static analysis warnings and infos (0 issues on
dart analyze) - Remove unused declarations:
_oldRecordLength,_needsOldValueForPutinumay_box.dart - Remove unused import, parameter, file:
type_adapter.dartimport,_keymethod,object_proxy.dart - Fix unintended HTML in doc comments, parameter naming, unnecessary null assertions
- Clean up unnecessary imports in
umay_model.dart,umay_model_relations.dart,query_engine.dart,linq_query_builder.dart,many_to_many.dart - Use super parameters in relation classes (
BelongsTo,HasMany,HasOne,ManyToMany)
1.1.3 #
- Update version in READMEs to ^1.1.2
1.1.2 #
- Update version in READMEs to ^1.1.1
1.1.1 #
- Fix undefined
_calculateLiveDataSizemethod — replaced with_rebuildRecordLengthMetrics
1.1.0 #
- Batch write optimization:
batchPutandbatchDeletenow batch all disk and hint writes viaStorageFile.appendAll() - Cached DB size metrics (
_dbDataSize,_liveDataSize) for O(1) compaction decisions instead of file scanning - Record length tracking (
_recordLengthsmap) to avoid header re-reads during updates/deletes - Configurable snapshot write interval (
_snapshotWriteInterval= 100K ops) hasIndexesgetter onIndexManager,hasListenersgetter onChangeBusfor efficient old-value skippingStorageFile.appendAll()for single-disk-write batch appending- Add benchmark tool (
bin/benchmark.dart) with create/update/delete cases - Add test suite (
test/umay_box_test.dart) covering recovery, batch consistency, and update semantics - Add
testdev dependency
1.0.2 #
- Rename logo image to logo.png
- Update install instructions to pub.dev package
- Add Persian and Azerbaijani README
1.0.1 #
-
Initial pub.dev release
-
Add CHANGELOG.md
-
Add LICENSE
-
Prepare package metadata for publishing
-
Initial release
-
Active Record ORM with fillable, guarded, hidden, casts, accessors, mutators
-
Append-only log storage (
.db/.hint/.idx) -
LINQ-style type-safe query builder
-
Secondary, compound, unique, range, and fuzzy indexes (B+Tree)
-
Soft Deletes (SoftDeletes mixin)
-
Relations: HasMany, BelongsTo, HasOne, ManyToMany, MorphMany, MorphTo
-
Eager loading with dot-notation
-
Reactive queries via
watch()streams -
MVCC transactions with commit/rollback
-
Auto compaction with configurable policy
-
Model lifecycle events
-
Query optimizer with automatic index selection
-
Persian/Arabic text normalization
-
Zero runtime dependencies