Skip to main content

nosqueel 1.0.0-alpha.6 copy "nosqueel: ^1.0.0-alpha.6" to clipboard
nosqueel: ^1.0.0-alpha.6 copied to clipboard

Dart FFI bindings for NoSqueel, a lightweight embedded NoSQL database with queries, transactions, and optional AES-256-GCM encryption.

1.0.0-alpha.6 #

  • Add support for datetime properties

1.0.0-alpha.5 #

  • Fix type of transaction passed to NSQuery
  • Don't expose version when iterating properties

1.0.0-alpha.4 #

  • Stretch encryptionKey passphrases with Argon2id (salted, memory-hard) instead of a single SHA-256 hash. Salt and cost parameters are stored in the database file; existing encrypted databases from earlier alphas will not open.
  • Encrypt/decrypt callbacks now take additional authenticated data (AAD) so AES-GCM binds each blob to its domain (entity / index / WAL / key verifier).
  • Add NSEntity.propertyNames to list an entity's user-visible property names (excludes reserved __key__ / __version__).
  • Replace NSQuery.addFilter with explicit createBranch() / NSQueryBranch. Filters on one branch are AND-ed; branches are OR-ed. AndFilter and OrFilter are removed.

1.0.0-alpha.3 #

  • Restore Windows support, with file locking, durable writes and UTF-8 paths. Database files are now identical on every platform, and existing files from other platforms still open.
  • DatabaseBusyError and DecryptionError are now raised on every platform, using the new ns_database_last_open_error().
  • Fix reads and writes past 4GB, which used truncated file offsets on every platform.
  • Never recreate an existing database when it can't be opened, which could have erased it if the file was only temporarily unavailable.

1.0.0-alpha.2 #

  • Migrate to Dart native assets: the bundled C sources are compiled by a build hook (hook/build.dart) and @Native bindings resolve against the code asset. No prebuilt library or DynamicLibrary.open is required.
  • Drop the Flutter SDK dependency; the package is now pure Dart.
  • Switch native threading from C11 <threads.h> to POSIX pthreads (POSIX only; Windows support removed).
  • Fix deleted entities coming back, other entities going missing and filters returning stale results after reopening a database. Files already affected aren't repaired.
  • Fix a native assertion failure when querying a table whose last entity had been deleted.
  • Fix writes failing for indexed strings near the 1024 byte limit, and for large NSText in a property which already has an index.
  • Release replaced index pages, which were previously never reused, so database files grew on every write.
  • Fix setProperty throwing when replacing a property with a list or NSText.

1.0.0-alpha #

  • Initial Dart FFI bindings structure
  • Basic wrapper classes for NSDatabase, NSEntity, and NSKey
  • FFI function declarations via ffigen
  • Implement encryption callbacks
0
likes
130
points
827
downloads

Documentation

API reference

Publisher

verified publisherakqaleap.com

Weekly Downloads

Dart FFI bindings for NoSqueel, a lightweight embedded NoSQL database with queries, transactions, and optional AES-256-GCM encryption.

Repository (GitLab)
View/report issues

Topics

#database #embedded #ffi #nosql #storage

License

MIT (license)

Dependencies

code_assets, ffi, hooks, logging, native_toolchain_c, path, pointycastle

More

Packages that depend on nosqueel