Skip to content

Releases

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 15:56
Immutable release. Only release title and notes can be modified.
v0.5.0
2edef78

Upgrading to 0.5.0

Upgrading from 0.4.x needs no migration and no API change. The schema didn't change and no export, option or endpoint changed. Breaking under the conventions (§8.4) because the zod and vitest peers narrowed. The @byo-oss/core, postal-mime and mailauth dependency floors rose too.

  • The zod peer floor is now ^4.6.6. zod 4.6.6 fixes GHSA-mrhx-c7xc-m3w5 (high severity). Support validates request input with your app's copy of zod, so that copy needs 4.6.6 or later. Move it before or with this package:

    npm install zod@latest @byo-oss/support@latest
  • @byo-oss/core is now ^0.2.0. It is a dependency of this package, not a peer. Core 0.2.0 only narrowed its better-auth peer to ^1.7.16, which this package already requires. If your app also imports @byo-oss/core or @byo-oss/notifications, move them to releases that use core 0.2.0, so your package manager installs one copy of core instead of two.

  • The optional vitest peer is now ^4.1.12 || >=5.0.3. This closes GHSA-5xrq-8626-4rwp (critical, affects vitest below 3.2.6 and 4.0.x), GHSA-82fw-gwwq-j7x9 (moderate), GHSA-qxg6-89mg-rqv8 (vitest 2.1 to 4.1.11, and 5.0.0 to 5.0.2) and GHSA-xp26-3454-mjgp (4.1.11, and 5.0.0 to 5.0.2), both in @vitest/mocker, which vitest pins exactly, and both fixed in 4.1.12 and 5.0.3, and drops vitest 3. Only the @byo-oss/support/testing entry point uses vitest, but the narrowed peer applies to every app that has vitest installed: it needs 4.1.12 or later on vitest 4, or 5.0.3 or later on vitest 5, even if it never imports ./testing (npm stops with ERESOLVE). Move vitest before or with this package.

  • The stated Node minimum is now 20.18.1 (engines), as mailauth 8.0.6 and undici 7.30.2 declare.

  • postal-mime is now ^4.2.1 and mailauth is ^8.0.6. Both are dependencies of this package, used only for inbound email. postal-mime 4.2.1 fixes GHSA-jh3p-792r-98gm and GHSA-q8wm-54mj-r36p, which affect every version up to 4.2.0 (they are listed on the postal-mime repository, so npm audit doesn't show them). mailauth 8.0.6 brings joi 18.3.2, which fixes GHSA-4528-x5fx-h6hg. The newer postal-mime reads some mail differently. That covers malformed mail (header block end, boundary matching, base64 or quoted-printable message/rfc822 parts kept as attachments), and in well-formed mail the text of inline forwarded messages and text taken from HTML with multi-line <style>/<script> blocks. Support stores email.text, so those messages can read differently. Apps that only use the package's inbound sources don't need to change anything.

What's Changed

  • Drop the 1.7.16 minimumReleaseAgeExclude entries by @stewartjarod in #10
  • 0.5.0: security floors (zod, core, vitest, postal-mime, mailauth) by @stewartjarod in #11

Full Changelog: v0.4.0...v0.5.0

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 04 Nov 03:37
Immutable release. Only release title and notes can be modified.
v0.4.0
5db772e

Breaking (peer range): the better-auth and @better-auth/core peers are now ^1.7.16.

better-auth 1.7.16 is the security release of 2026-11-03. Every BYO package now requires it, so an app can't install them on a better-auth with those advisories. Move better-auth and every @better-auth/* package together to 1.7.16 or later, before or with this release. No API change and no migration.

Behaviour from better-auth 1.7.16: hasPermission trims stored roles and splits them on commas, so a staff member stored as admin, owner now has owner permissions. Before you upgrade, check the staff organization for padded role values (GHSA-c85h-5mrr-mgx4).

Upgrade notes: https://byo.dev/docs/support/upgrading

Full Changelog: v0.3.2...v0.4.0

v0.3.2

Choose a tag to compare

@github-actions github-actions released this 23 Oct 20:45
Immutable release. Only release title and notes can be modified.
v0.3.2
6a88af0

What's Changed

  • docs(events): internal-note events carry no organizationId by @stewartjarod in #6
  • Depend on @byo-oss/mailer ^0.2.0 and @wraps.dev/email >=0.15.1 (0.3.2) by @stewartjarod in #7

Full Changelog: v0.3.1...v0.3.2

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 23 Oct 15:20
Immutable release. Only release title and notes can be modified.
v0.3.1
395f915

What's Changed

Full Changelog: v0.3.0...v0.3.1

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 22 Oct 15:58
Immutable release. Only release title and notes can be modified.
v0.3.0
69ff88e

What's Changed

Full Changelog: v0.2.0...v0.3.0

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 22 Oct 15:34
Immutable release. Only release title and notes can be modified.
v0.2.0
1a2eb22

What's Changed

New Contributors

Full Changelog: v0.1.0...v0.2.0

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 21 Oct 18:02
Immutable release. Only release title and notes can be modified.
v0.1.0
859d7ff