nosqueel 1.0.0-alpha.6
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
encryptionKeypassphrases 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.propertyNamesto list an entity's user-visible property names (excludes reserved__key__/__version__). - Replace
NSQuery.addFilterwith explicitcreateBranch()/NSQueryBranch. Filters on one branch are AND-ed; branches are OR-ed.AndFilterandOrFilterare 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.
DatabaseBusyErrorandDecryptionErrorare now raised on every platform, using the newns_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@Nativebindings resolve against the code asset. No prebuilt library orDynamicLibrary.openis 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
NSTextin a property which already has an index. - Release replaced index pages, which were previously never reused, so database files grew on every write.
- Fix
setPropertythrowing when replacing a property with a list orNSText.
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