Repository navigation
Releases
v0.4.0
Upgrading to 0.4.0
Raises three floors; no migration and no API change. Breaking under the conventions (§8.4) because the zod and vitest peers narrowed. The @byo-oss/core dependency floor rose too. Before 1.0 a caret range doesn't cross minors: widen ^0.3.0 to ^0.4.0.
- zod is now
^4.6.6(was^4.0.0), because zod 4.6.6 fixes GHSA-mrhx-c7xc-m3w5. An app on zod older than 4.6.6 (zod 3 included) has to move to 4.6.6 or later first, before or with this package. @byo-oss/coreis now^0.2.0(was^0.1.0). Core 0.2.0 only narrowed itsbetter-authpeer to^1.7.16, which this package already requires. Moving to it stops an app that uses core 0.2.0 from installing a second copy of core.- Optional peer
vitestis now^4.1.12 || >=5.0.3(was>=3), which drops vitest 3 for@byo-oss/entitlements/testing. This closes GHSA-5xrq-8626-4rwp (critical; affects below 3.2.6 and 4.0.x) and GHSA-82fw-gwwq-j7x9 (moderate; affects 2.1.0 to 4.1.10), and 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. An app on vitest 4 needs 4.1.12 or later, and an app on vitest 5 needs 5.0.3 or later, even if it never imports/testing(npm stops with ERESOLVE).
What's Changed
- Drop the 1.7.16 minimumReleaseAgeExclude entries by @stewartjarod in #4
- 0.4.0: security floors (zod peer ^4.6.6, core ^0.2.0, vitest peer >=4.1.11) by @stewartjarod in #5
Full Changelog: v0.3.0...v0.4.0
v0.3.0
Breaking (peer range): the better-auth, @better-auth/core and @better-auth/stripe peers are now ^1.7.16, and better-call is ^1.4.5.
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.
Relevant advisories: GHSA-x8j7-xh58-rv6x (Stripe customer IDs; @better-auth/stripe no longer lets sign-up or updateUser set them, and entitlements only reads them) and GHSA-c85h-5mrr-mgx4 (check the staff organization for padded role values).
Upgrade notes: https://byo.dev/docs/entitlements/upgrading
Full Changelog: v0.2.0...v0.3.0
v0.2.0
What's Changed
- feat: one shared display shape for every plan; docs corrections (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/entitlements/commits/v0.1.0