Skip to content

v0.13.0

Choose a tag to compare

@xgame92 xgame92 released this 11 Nov 21:17
347fcb8

A server that takes accounts by invitation can now also let in a list of addresses and domains its
owner keeps. This release has two migrations, and the signing algorithm doesn't change.

New

  • The owner's list. While sign-up is closed, invitations used to be the only way in. On /server,
    the owner can now keep a list of addresses (ada@example.com) and domains (@example.com). Anyone on
    it can make an account without an invitation. A domain covers addresses at exactly that domain, not
    its subdomains. Each entry can have a note, and the list shows whether an account with that address,
    or at that domain, exists yet. It has a search and holds up to 5,000 entries. Adding and removing
    entries asks for a recent sign-in, and the activity log records each change without the address.
    Sign-up codes, GitHub, invitations and the database all follow the same rule, and an address that
    isn't allowed gets the same refusal everywhere. (#108)
  • Ask for access. If SIGN_UP_REQUEST_URL is set to an https address, the sign-in and sign-up
    pages link to it as "Ask for access" while sign-up is closed. Gateweave Cloud points it at its
    waitlist. (#108)

If you run your own

  • Nothing changes unless you change it. The list does nothing while sign-up is open, and
    SIGN_UP_REQUEST_URL is optional. Deploying applies migrations 0017 and 0018.
  • The list holds addresses of people who may not have an account yet. The self-hosting guide says
    so, for your own privacy notice. (#108)
  • Dependencies: Better Auth 1.7.18 and twelve other updates.
    (#104, #105,
    #107) drizzle-kit's copy of esbuild moved off a flagged
    version; it never reached a deployed Worker. (#101)