Skip to main content

rpc_blob_sqlite 2.0.0 copy "rpc_blob_sqlite: ^2.0.0" to clipboard
rpc_blob_sqlite: ^2.0.0 copied to clipboard

SQLite/SQLCipher storage adapter for rpc_blob, with optionally encrypted databases on VM and Flutter.

2.0.0 #

  • Implements ensureCollection, deleteMany and headMany from the rpc_blob 2.0.0 interface. Both batch operations run one statement per chunk, sized under SQLite's bound-variable ceiling, instead of one statement per id; deleteMany uses RETURNING so callers get per-id truth rather than a count they would have to guess against.
  • collectionSize returns Future<int?>; this backend still answers a number.

1.0.1 #

  • Web (dart2js / Wasm) path correctness. Verified the injected-CommonDatabase adapter surface (SqliteBlobRepository.db) imports only package:sqlite3/common.dart (Wasm-compatible); dart:io, dart:ffi and package:sqlite3/sqlite3.dart (FFI) stay confined to the if (dart.library.io) loader files and never leak onto the web import chain. The .memory()/.file() convenience factories go through the conditional loader whose web stub throws UnsupportedError (web apps inject their own sqlite3mc-on-Wasm db). The adapter's async* generators (_chunkedPayload, read/list streams) are await-first / yield-only over already-materialized bytes, so there is no yield-before-await for cancel-deadlock on dart2js. The 1 << 32 random-seed pattern exists only in the io-only loader (VM-only) and is not web-reachable. Added a JS compile smoke test (test/web_smoke_test.dart, dart test -p node) proving the web-facing API compiles to JS clean. Full Wasm db execution still requires the app to supply sqlite3mc.wasm.

1.0.5 #

  • Allow to pass raw sqlite db connection to adapter

1.0.4 #

  • S3 adapter now auto-detects public buckets and returns plain download URLs when anonymous s3:GetObject is allowed; presigning is used only for private buckets, still honoring presign* host overrides.

1.0.3 #

  • Added presign-only endpoint overrides (presignEndpoint/presignPort/presignUseSSL/presignPathStyle) for S3/MinIO to sign links on a public host behind a reverse proxy; removed downloadUrlMapper to avoid generating invalid signatures.

1.0.2 #

  • S3 adapter can rewrite presigned download URLs via S3BlobStorageOptions.downloadUrlMapper (useful for serving through a proxy/CDN) and configure presign TTL via S3BlobStorageOptions.presignTtlSeconds; constructor params consolidated into S3BlobStorageOptions.

1.0.1 #

  • S3 adapter now fetches object tags (?tagging) and merges them into BlobDescriptor.metadata without overwriting metadata provided on upload.
  • Added xml dependency to parse S3 tag responses.

1.0.0 #

  • Added S3BlobStorageAdapter (S3/MinIO/Ceph-compatible) storing blobs under <prefix><collection>/<id> with metadata-based versioning and optimistic checks.
  • New S3BlobStorageAdapter.connect(...) helper for quick setup; list/Head/read/write/delete/listCollections wired to S3 operations; descriptors include a presigned download URL.
  • README now documents S3/MinIO usage; pubspec updated with the MinIO client dependency.
  • Initial version.
0
likes
0
points
737
downloads

Publisher

verified publisherrpc-extra.nogipx.dev

Weekly Downloads

SQLite/SQLCipher storage adapter for rpc_blob, with optionally encrypted databases on VM and Flutter.

Homepage
Repository (GitHub)
View/report issues

Topics

#rpc #storage #blob #sqlite

License

unknown (license)

Dependencies

crypto, paseto_dart, rpc_blob, rpc_dart, sqlite3

More

Packages that depend on rpc_blob_sqlite