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

Official AnkhDB Client SDK for Dart and Flutter. Real-time Multi-tenant BaaS.

Changelog #

2.0.0 - 2026-03-04 #

Breaking Changes #

  • Constructor signature changed: AnkhDB(apiKey, baseUrl, {token})AnkhDB(projectId, apiKey, {serverUrl, token}).
    • The server URL now defaults to the production server constant (_kServerUrl).
    • Pass serverUrl to override (e.g. for self-hosting).

Added #

  • storage property — exposes an AnkhStorage instance with upload(bytes, filename), list(), getFile(id), delete(id).
  • functions property — exposes an AnkhFunctions instance with invoke(name, {payload}).
  • register() now handles the email-verification flow: if enabled on the project, no token is returned until the user verifies their email.
  • logout() is now synchronous (clears the local token; no server round-trip needed).
  • Exported AnkhStorage and AnkhFunctions classes.

Changed #

  • baseUrl field renamed to baseUrl (unchanged), but trailing-slash trimming is now done via regex on the constant.
  • logout() return type changed from Future<void> to void.

1.0.1 - 2026-02-22 #

  • Initial open-source release on pub.dev.
  • Refactored SDK to standard package layout (moved source to lib/).
  • Added pubspec.yaml with required metadata.
  • Added README.md, CHANGELOG.md, and LICENSE.
  • Updated AnkhDB to require apiKey and include x-api-key in headers.

1.0.0 - 2026-01-21 #

  • Initial development version of the AnkhDB Dart SDK.
  • Basic Auth and Database operations.
0
likes
0
points
43
downloads

Publisher

unverified uploader

Weekly Downloads

Official AnkhDB Client SDK for Dart and Flutter. Real-time Multi-tenant BaaS.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http

More

Packages that depend on ankhdb