Skip to content

Commit 957dfc5

Browse files
committed
deps(auth): add the changeset for the better-auth 1.7.2 family move
1 parent 3c02b8b commit 957dfc5

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
"@objectstack/plugin-auth": patch
3+
---
4+
5+
deps(auth): move the whole better-auth family 1.7.1 → 1.7.2 in step, and return `@better-auth/scim` to the family's `^` range (#13715)
6+
7+
`@objectstack/plugin-auth` declared `@better-auth/scim` at an EXACT `1.7.1`
8+
while the rest of the family sat on `^1.7.1`, and `pnpm-workspace.yaml`
9+
forced the same exact resolution. That hold was deliberate and dated (#3653
10+
ruling, 2026-08-27): at the time `^1.7.1` resolved scim to 1.7.2, whose
11+
`better-auth` / `@better-auth/core` peers are `^1.7.2`, while the installed
12+
family was still 1.7.1 — and the workspace overrides would have rewritten
13+
those peer ranges down and *silenced* the mismatch rather than satisfy it.
14+
That ruling named the remedy: float to 1.7.2+ "with the family moved in
15+
step, never a side effect of a lockfile refresh". This is that move.
16+
17+
All eleven family members go to `^1.7.2` together — `better-auth`,
18+
`@better-auth/core`, `@better-auth/scim`, `@better-auth/oauth-provider`,
19+
`@better-auth/sso`, the five adapters and `@better-auth/telemetry` — in the
20+
workspace overrides and in `@objectstack/plugin-auth`'s own declared
21+
dependencies, which are what a downstream `npx create-objectstack` install
22+
actually resolves (the overrides do not ship). Measured after the move: npm
23+
`latest` is 1.7.2 for all eleven, the install resolves exactly one copy of
24+
each at 1.7.2, and `@better-auth/scim@1.7.2` keeps its `^1.7.2` peers on
25+
disk — satisfied by the installed pair rather than rewritten down.
26+
27+
scim rejoins the family's `^` shape rather than taking a fresh exact pin: its
28+
two sibling standalone plugins (`oauth-provider`, `sso`) peer the family
29+
identically and carry `^`, and this entry is also the GHSA-j8v8-g9cx-5qf4
30+
floor, which has to be able to take the next patch. The two shapes were
31+
measured against each other and resolve identically today, so the choice is a
32+
durability one, not a resolution one.
33+
34+
No source change: `better-call@1.4.0` and `@better-auth/utils@0.4.2` are
35+
still peered exactly as they were at 1.7.1, and `better-auth`'s stale
36+
optional `better-sqlite3@^12.0.0` peer is unchanged, so the scaffold's
37+
`peerDependencyRules` are untouched.

0 commit comments

Comments
 (0)