Repository navigation
Releases
v0.5.0
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/coreis 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/coreor@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
vitestpeer 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/testingentry 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 withERESOLVE). 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-mimeis now^4.2.1andmailauthis^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, sonpm auditdoesn'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-printablemessage/rfc822parts 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 storesemail.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
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
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
What's Changed
- docs: byo.dev docs for support by @stewartjarod in #3
- docs: correct support docs against v0.3.0 by @stewartjarod in #4
- fix(events): events about an internal note no longer carry organizationId by @stewartjarod in #5
Full Changelog: v0.3.0...v0.3.1
v0.3.0
What's Changed
- Inbox and widget UX; kinds of support (0.3.0) by @stewartjarod in #2
Full Changelog: v0.2.0...v0.3.0
v0.2.0
What's Changed
- Fire events after the caller's commit (0.2.0) by @stewartjarod in #1
New Contributors
- @stewartjarod made their first contribution in #1
Full Changelog: v0.1.0...v0.2.0
v0.1.0
Full Changelog: https://github.com/byo-oss/support/commits/v0.1.0