github Ravinou/borgwarehouse v3.6.2
3.6.2

one hour ago

🐛 Fix

  • Fixed authentication crash after upgrading to better-auth@1.7. better-auth 1.7 scopes account identity by (issuer, accountId) and adds a required issuer column to the account table. Because better-auth refuses to add a required column to an already-populated table, existing installs crashed on start with SqliteError: no such column: account.issuer.

    BorgWarehouse now runs an automatic, idempotent migration on startup that adds the issuer column and backfills every existing account, following better-auth's official 1.7 upgrade guide:

    • credential accounts → issuer = local:credential, with accountId set to the user id
    • social & generic OIDC accounts → issuer = local:oauth:<providerId>

    ✅ No action required. The migration runs by itself on the first start after the update. Password, social, and generic OIDC logins keep working with no re-linking needed.

    â„šī¸ You may see a harmless Column "issuer" ... stays nullable warning on each start. This is expected and can be ignored : see the FAQ for details.

    âš ī¸ For Borgwarehouse with OAuth/OIDC generic provider, remember to change your URI, according to 3.6.1 changelog.

💖 Support the project

If you like my work, if you use BorgWarehouse in your business, or if you just want to give, think about sponsoring me.

🤝 Thank you to all contributors and sponsors!

Don't miss a new borgwarehouse release

NewReleases is sending notifications on new releases.