Skip to content

Releases

v1.4.2

Choose a tag to compare

@lukavoss lukavoss released this 08 Nov 09:19

Security fixes

  • signInWithOAuth() only opens http:// or https:// provider addresses; a javascript: or data: address now fails instead of running in the app's sign-in popup.
  • toCookie() and cookie writing reject a path, domain or sameSite value that would add extra cookie settings, and reject an invalid expires or maxAge instead of writing a broken header.

Validated with 106 tests, typecheck, build and package contents check.

v1.4.1

Choose a tag to compare

@tolaleng tolaleng released this 21 Oct 06:39

Fixes

  • CLI option values retain embedded equals signs; missing values fail clearly before any request.
  • Schema generation fetches all reported pages instead of silently stopping after page 99.
  • Clearing an already-empty session no longer emits duplicate change notifications.

Validated with 97 tests, typecheck, build, package import checks and CLI type generation.

v1.4.0

Choose a tag to compare

@lukavoss lukavoss released this 16 Oct 12:13
  • Added count(filter?) on tables: returns the number of matching rows with a single one-row request.
  • Added tokenExpiresIn(token): seconds until a token expires (null when it never expires).
  • error.fieldErrors now always returns an object, even when the server sends a non-object data payload.

v1.3.1

Choose a tag to compare

@tolaleng tolaleng released this 06 Oct 05:38

Fixes

  • filter() no longer produces invalid expressions for NaN / Infinity, and no longer throws on an invalid Date; both now bind as null.
npm install rustabase@1.3.1

v1.3.0

Choose a tag to compare

@lukavoss lukavoss released this 03 Oct 08:27

Adds npx rustabase gen-types to generate TypeScript types from your schema, plus a typed table() helper. See CHANGELOG.md.

RustaBase JavaScript SDK v1.2.0

Choose a tag to compare

@tolaleng tolaleng released this 29 Sep 16:14

1.2.0

  • Added admin.webhooks.deliveries() and clearDeliveries() for the Go server delivery history.
  • Added admin.functions.invoke() for HTTP-triggered edge functions, with X-Edge-Secret support.
  • Log list and stats accept clientOnly, since, minLevel and search.
  • settings.testStorage() can test unsaved S3 settings.
  • History limits are clamped to the server's 1-500 range.
  • Typed results for SQL, RLS tests, run stats, deliveries, function logs and email templates.

RustaBase JavaScript SDK 1.1.0

Choose a tag to compare

@tolaleng tolaleng released this 27 Sep 14:55

Go server and platform compatibility improvements: MFA challenge support, safe transient retries, request timeouts, rate-limit metadata, credentialed realtime, typed health responses, stricter JSON handling, reusable batches, expanded tests, guides, and examples.

v1.0.3

Choose a tag to compare

@tolaleng tolaleng released this 26 Sep 04:58