rustabase 1.2.1
rustabase: ^1.2.1 copied to clipboard
Official multi-platform Dart and Flutter SDK for the RustaBase PostgreSQL backend-as-a-service.
1.2.1 #
- Type-generation CLI rejects missing or empty option values without consuming
the next option; inline values containing
=and stdout output remain supported. - Request query parameters are appended before URL fragments and no longer add
redundant separators to URLs ending with
?or&.
1.2.0 #
- Added
RequestOptions(timeout: ...): slow requests fail with aRustaBaseErrorwhosecauseis aTimeoutException. - Added
RequestOptions(retry: n): GET/HEAD requests retry network errors and 502/503/504 responses with a growing delay (rb.retryDelay). Writes are never retried. - Parallel requests now share one keep-alive token refresh instead of each spending the same refresh token.
- Plain-text and HTML error bodies (for example from proxies) now become a readable error message instead of only the HTTP reason phrase.
1.1.0 #
- Added
dart run rustabase:gen_types: generates Dart model classes (fromJson,toJson,tableName) from your schema. - Added
package:rustabase/codegen.dartfor using the generator from build scripts.
1.0.1 #
- Hardened realtime: a failed connect or initial sync now surfaces as a
RustaBaseError, tears down the SSE stream, and retries instead of throwing an unhandled async error; subscriber callbacks can no longer kill the event stream. - Added a
timeouttosignInWithOAuth(default 5 minutes) so an abandoned provider flow fails cleanly instead of hanging forever and leaking the realtime connection. - Updating the signed-in record no longer crashes when the server returns
a non-map
expandvalue. - Restoring a session from corrupt storage now clears the session instead of crashing with a cast error.
1.0.0 #
- Rewrote the SDK around the same public API as the RustaBase JavaScript SDK.
- Added
from(),auth(),session,batch(),RustaBaseError, hooks, cancellation, and token keep-alive. - Added JavaScript-parity CRUD, authentication, files, realtime, batch, and superuser administration APIs.
- Implemented an independent Dart transport pipeline, request ledger, session codec, and reconnect policy.
- Established the clean RustaBase 1.x public API. This is a breaking release from earlier previews.