Skip to content

TrailBase

v0.29.0 Feature

This release adds 3 notable features for engineering teams evaluating rollout.

Published 1mo NoSQL & Document
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

authentication database rest rust

Affected surfaces

auth

Summary

AI summary

Authentication now supports username-based login and anonymous ephemeral users.

Full changelog
  • Authentication - Enable username-based auth and anonymous auth 🎉
    • This allows using TB's auth for more use-cases.
    • Previously, the strict dependence on email, while useful for outreach, may be unsuitable for more sensitive use-cases. Whether username and/or email is required is now governed by a user-identifier policy.
    • Anonymous logins on the other hand, allow signing up new users with an ephemeral user, which can then eventually be promoted to a "proper" user with password-based login (OAuth is TBD). Anonymous users can be useful for app trials where drop-off due to mandatory sign-up is a concern.
    • Ephemeral users are single-sign-in, i.e. they cannot re-auth, are tied to a token and thus cannot be shared across devices. Right now they have a hard-coded TTL of 3 months, after which they'll be garbage-collected if they haven't been promoted to a "proper" user.
  • Make _user.email case insensitive and stop normalizing email, i.e. go with that the user provides.
  • Add CSV clipboard button to admin UI's SQL editor.
  • Minor: fix TooltipTrigger from triggering form submissions in admin UI.
  • Update dependencies.

Full Changelog: https://github.com/trailbaseio/trailbase/compare/v0.28.6...v0.29.0

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track TrailBase

Get notified when new releases ship.

Sign up free

About TrailBase

Open, sub-millisecond, single-executable FireBase alternative with type-safe REST & realtime APIs, built-in JS/TS runtime, auth & admin UI.

All releases →

Related context

Earlier breaking changes

  • v0.31.0 Batch/transaction RecordApi now returns a result for each operation, changing the API contract.
  • v0.31.0 Change batch/transaction RecordApi to return per-operation result, breaking existing clients.
  • v0.28.0 Switches from SQLite-specific ConflictResolutionStrategy to ISO upsert clauses.
  • v0.28.0 Removes ROLLBACK and FAIL conflict resolution strategies during record insertions.
  • v0.27.8 RecordApis, schema manipulations, and many tests are broken.

Beta — feedback welcome: [email protected]