Skip to content

Releases: trailbaseio/trailbase

v0.30.4

Choose a tag to compare

@github-actions github-actions released this 13 Jul 18:24
  • Add dark mode to auth UI.
  • Fix mode switcher layout in admin UI on mobile.
  • Update dependencies.

Full Changelog: v0.30.3...v0.30.4

v0.30.3

Choose a tag to compare

@github-actions github-actions released this 13 Jul 09:26
  • Add an initial version of admin UI dark mode support.
    • The styling most certainly deserves more tweaking, feedback very welcome 🙏.
    • Next, we should also add dark-mode to the auth UI.
  • Make ERD graph styling reactive.
  • Some more minor styling tweaks.

Full Changelog: v0.30.2...v0.30.3

v0.30.2

Choose a tag to compare

@github-actions github-actions released this 12 Jul 12:30
  • Better backups 🎉
    • Backup all attached databases including logs and sessions. Longer term we should probably also backup and restore configuration/vault.
    • Add backup UIs, both in the admin UI as well as the CLI.
    • Allow restoring backups via the UI.
    • Add a rolling and configurable backup horizon. By default keep 5 backups.
  • Admin UI: fix selected table memoization of explorer and add memoization to scripts and settings page.
  • Update dependencies

Full Changelog: v0.30.1...v0.30.2

v0.30.1

Choose a tag to compare

@github-actions github-actions released this 10 Jul 06:19
  • Fix trailbase JS client's type bundling - Thanks @bltavares 🙏.
  • Factor out WASM integration into separate crate and simplify WASM runtime construction.
  • Update Rust and JS dependencies.

Full Changelog: v0.30.0...v0.30.1

v0.30.0

Choose a tag to compare

@github-actions github-actions released this 02 Jul 08:26
  • Merge api::serve() and Server::init* APIs by pulling out AppState construction and allowing injection of custom axum routers. This facilitates greater re-use between the trail binary and custom binaries. This is a breaking API change for users with custom binaries.
    • Historically, we haven't always pushed a major version but since numbers are cheap and we don't currently publish a separately versioned library crate, this is probably most explicit.
  • Update auth documentation to talk about usernames and anonymous auth.
  • Fix: scrollbars on admin dash's account page. Thanks @zyrakq 🙏.
  • Update dependencies.

Full Changelog: v0.29.0...v0.30.0

v0.29.0

Choose a tag to compare

@github-actions github-actions released this 23 Jun 18:17
  • 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: v0.28.6...v0.29.0

v0.28.6

Choose a tag to compare

@github-actions github-actions released this 17 Jun 17:39
  • Fix: custom password reset email verification - thanks @zyrakq 🙏.
  • Fix: update auth token cookie on auth status requests - thanks @zyrakq 🙏.
  • Remove unnecessary buttons (e.g. change password, register TOTP) from auth UI's profile page when user is authenticated via OAuth - thanks @zyrakq 🙏.
  • Update Dependencies.

What's Changed

  • Fix: JS client deleteUser() sends GET instead of DELETE by @zyrakq in #248

Full Changelog: v0.28.5...v0.28.6

v0.28.5

Choose a tag to compare

@github-actions github-actions released this 12 Jun 12:28
  • Fix TOTP update query - thanks @zyrakq 🙏. This was a regression from the PG work.
  • Point vendored dependencies at git to simplify library builds of TB itself - thanks @zyrakq 🙏.
  • Update dependencies. Also point serde_rusqlite back at upstream.

What's Changed

  • fix: remove escaped quotes in register_totp_confirm UPDATE query by @zyrakq in #243

New Contributors

Full Changelog: v0.28.4...v0.28.5

v0.28.4

Choose a tag to compare

@github-actions github-actions released this 09 Jun 08:09
  • Wire up graceful server shutdown with realtime subscriptions, i.e. actively cancel established streams to prevent graceful shutdown from timing out.
  • Update dependencies - including wasmtime v44 -> v45 after addressing zero-duration timer issue upstream.

Full Changelog: v0.28.3...v0.28.4

v0.28.3

Choose a tag to compare

@github-actions github-actions released this 04 Jun 16:36
  • Stream-encode file contents with new admin dash file-upload UI.
  • Since we're not using multipart forms, there are hard limits on upload size - both on the server and browser. Warn for larger (> 5MB) files. The effective limit is around 10MB right now.
  • Minor: validate SMTP host as part of config validation.
  • Update Rust and JavaScript dependencies.

Full Changelog: v0.28.2...v0.28.3