Skip to main content

rustabase 1.2.1 copy "rustabase: ^1.2.1" to clipboard
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 a RustaBaseError whose cause is a TimeoutException.
  • 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.dart for 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 timeout to signInWithOAuth (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 expand value.
  • 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.
0
likes
150
points
490
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Official multi-platform Dart and Flutter SDK for the RustaBase PostgreSQL backend-as-a-service.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#backend #postgres #baas #realtime #sdk

License

MIT (license)

Dependencies

http

More

Packages that depend on rustabase