umay_db 1.2.0 copy "umay_db: ^1.2.0" to clipboard
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, _needsOldValueForPut in umay_box.dart
  • Remove unused import, parameter, file: type_adapter.dart import, _key method, 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 _calculateLiveDataSize method — replaced with _rebuildRecordLengthMetrics

1.1.0 #

  • Batch write optimization: batchPut and batchDelete now batch all disk and hint writes via StorageFile.appendAll()
  • Cached DB size metrics (_dbDataSize, _liveDataSize) for O(1) compaction decisions instead of file scanning
  • Record length tracking (_recordLengths map) to avoid header re-reads during updates/deletes
  • Configurable snapshot write interval (_snapshotWriteInterval = 100K ops)
  • hasIndexes getter on IndexManager, hasListeners getter on ChangeBus for efficient old-value skipping
  • StorageFile.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 test dev 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

1
likes
160
points
24
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A lightweight embedded NoSQL database for Dart and Flutter. Inspired by Laravel Eloquent ORM and Bitcask storage architecture.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on umay_db