backd 0.9.2
backd: ^0.9.2 copied to clipboard
The pure-Dart client for backd: sign-in and sessions, collections and the query language, files, function jobs, realtime live views and generated realm types. Works in Flutter apps and standalone Dart [...]
0.9.2 #
-
Your own data:
client.accountasks for the export of the user's personal data (requestExport, with a fresh proof), follows it (exports,export,waitForExport) and saves it (downloadExport: a signed link and itsbytes(), or the zip itself when the realm proxies its files). Needs a backd server withcompliance.export. See Personal data export. -
Live app configuration:
client.config.live([paths])follows the realm's app configuration over realtime.config.changesfires within the realtime delay instead of at the nextcache_ttl;config.errorsreports a realm without configuration or without realtime. Needs a backd server with theconfigrealtime subscription. See Live updates.
0.9.1 #
- Versions now follow the
backdrelease train.package:backd0.9.1 goes withbackdv0.9.1 andbackd-js0.9.1, asbackd-jshas done since 0.8.2. The API is the same as in 0.0.5; the number is the only change. - Update the constraint. A caret on a
0.0.xversion allows nothing newer, sobackd: ^0.0.5will not pick this release: usebackd: ^0.9.1(dart pub add backd). From here abackdX.Y matches the server's X.Y, and patch releases are fixes. - The Flutter Shelf demo moved out of the package, from
example/toclients/dart-examplesin the repository. The package no longer needs the Flutter SDK to resolve, test or publish. - Works with everything
backdv0.9.1 adds on the server side: encrypted fields read asnullwith_meta.redactedfor a caller their reveal rule refuses (already typed since 0.0.5), andPasswordExpiredErrorandFieldEncryptedErrorfor the new server errors. The Dart client has no admin API, so the newadmin.encryption, key and breach-response commands stay inbackd-js, the CLI and the admin UI.
0.0.5 #
- New errors:
PasswordExpiredError(password_expired, withresetEmailQueued) andFieldEncryptedError(field_encrypted), matchingbackd-js. fillBucketsandbucketKeyfor aggregations over date buckets.Collection.deleteFileandCollection.downloadFile, which the documentation already described.- Generated types:
Meta.redacted, the encrypted fields a caller may not see. - The example app builds with
file_picker11 (FilePicker.pickFilesis static), which fixesdart analyze --fatal-warningsfor the package.
0.0.4 #
-
Upgraded library and dependency versions across the package and the
example/app. -
CHANGELOG now covers every published release.## 0.0.3
-
Feature modules landed on top of the
0.0.1scaffold:auth(sessions, OAuth, consents),data(collections and the query language),files,functions(jobs),realtime(live views),orgs,push, typed realm clients and tokenstorage.
0.0.2 #
- Publication tests: pub.dev packaging dry-runs,
.pubignorefixes and CI release plumbing. No API changes.
0.0.1 #
- First development release: the package scaffold —
BackdClientoptions, the injectable transport, the request pipeline (JSON and raw bodies, query encoding, retries of429/503on safe requests, theX-Backd-Typesfingerprint headers), theBackdExceptionhierarchy,TokenStorageand theRevalidationCache. Feature modules (auth, data, files, realtime, …) land in following releases.