ankhdb
Official AnkhDB Client SDK for Dart and Flutter. Real-time Multi-tenant BaaS.
2.0.2
47 downloads/mo
#4884 most downloaded on pub.dev
ankhdb/ankhdb-dart
What this package is like to depend on
Last release 5 months ago
04 Mar 2026
Too new to tell
only 2 release windows
Most releases are documented
notes for 3 of 5 stable releases
1 version withdrawn
withdrawn after publishing
6 months old
6 releases · first in 2026
6 releases in the last 12 months
see the full history below
Release timeline
6 releases · Feb 2026 to Mar 2026Releases
latest 6-
2.0.204 Mar 2026Release notes
Open source →Added
- Error taxonomy — all SDK errors now throw typed exceptions:
AnkhDBError(base),AuthError(401),PermissionError(403),ValidationError(400),NotFoundError(404),RateLimitError(429),ServerError(5xx).
AnkhQuerybuilder —db.from(collection)returns a chainable query builder:- Filters:
.eq(),.neq(),.gt(),.gte(),.lt(),.lte() - Pagination:
.limit(n),.offset(n) - Joins:
.join(foreignCollection, fkField)to embed related docs - Realtime:
.subscribe()— returns aStream<Map>fed by SSE
- Filters:
x-project-idheader is now sent on every request (required by server).
Changed
db.from(collection)returnsAnkhQuery— existing.select(),.get(),.insert(),.update(),.delete()calls are unchanged._requestnow throws typedAnkhDBErrorsubclasses.
- Error taxonomy — all SDK errors now throw typed exceptions:
-
2.0.004 Mar 2026Release notes
Open source →Breaking Changes
- Constructor signature changed:
AnkhDB(apiKey, baseUrl)→AnkhDB(projectId, apiKey, {serverUrl, token}).
Added
storageproperty withupload,list,getFile,delete.functionsproperty withinvoke.- Email verification flow in
register().
- Constructor signature changed:
-
2.0.0+104 Mar 2026Nothing published for this version
-
2.0.0+204 Mar 2026Nothing published for this version
-
1.1.004 Mar 2026 withdrawnNothing published for this version
-
1.0.121 Feb 2026