Skip to content

Commit 9c4c431

Browse files
claude[bot]claude
andauthored
deps(auth): move the better-auth family 1.7.1 to 1.7.2 in step, and return @better-auth/scim to the family range (#13938)
* deps(auth): move the better-auth family 1.7.1 -> 1.7.2 in step WIP: overrides + plugin-auth manifest + lockfile. * deps(auth): add the changeset for the better-auth 1.7.2 family move --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent a28a3c0 commit 9c4c431

4 files changed

Lines changed: 177 additions & 118 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.

packages/plugins/plugin-auth/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@
2424
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.examples.json"
2525
},
2626
"dependencies": {
27-
"@better-auth/core": "^1.7.1",
28-
"@better-auth/oauth-provider": "^1.7.1",
29-
"@better-auth/scim": "1.7.1",
30-
"@better-auth/sso": "^1.7.1",
27+
"@better-auth/core": "^1.7.2",
28+
"@better-auth/oauth-provider": "^1.7.2",
29+
"@better-auth/scim": "^1.7.2",
30+
"@better-auth/sso": "^1.7.2",
3131
"@noble/hashes": "^2.3.0",
3232
"@objectstack/core": "workspace:*",
3333
"@objectstack/platform-objects": "workspace:*",
3434
"@objectstack/rest": "workspace:*",
3535
"@objectstack/spec": "workspace:*",
3636
"@objectstack/types": "workspace:*",
37-
"better-auth": "^1.7.1",
37+
"better-auth": "^1.7.2",
3838
"jose": "^6.2.8"
3939
},
4040
"devDependencies": {

0 commit comments

Comments
 (0)