You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(plugin-auth): re-measure the version-stamped vendor attestations against the installed 1.7.1 (#10187)
The `^1.7.1` bump (#3002) moved the better-auth family past the versions 20
comment attestations in `plugin-auth/src` named, turning "verified against X"
into claims nobody had checked. Each site below was re-measured against the
INSTALLED packages (better-auth 1.7.1, @better-auth/sso 1.7.1,
@better-auth/oauth-provider 1.7.1, @better-auth/core 1.7.1) on 2026-08-20 and
re-stamped with the version, the date, and the shipped file:line it was read
out of, so the next reader can falsify it with one grep instead of trusting it.
Not a find-and-replace: 12 further hits are left exactly as they are, because
they are deliberately historical (`admin-user-endpoints.ts:70`'s rc.2/stable
`accountId` contrast, the `auth-schema-config.ts` rename narratives) or are
already-corrected #10072 sites naming the stamp they superseded.
Two sites needed more than a new number:
- `objectql-adapter.ts` called the dependency a **prerelease**. 1.7.1 is
stable, so that half of the reason is deleted rather than re-stamped; the
half that still carries the argument (a vendor `dist` internal, invisible to
any published type, not covering the raw-adapter path) is kept and re-anchored
at the corrected lines `:127,146,602,615`.
- `auth-manager.ts` cited `@better-auth/core/src/types/init-options.ts:946-971`
— a `src/` path the package does not publish, so no reader could check it.
Re-pointed at the shipped `dist/types/init-options.d.mts:835-857`.
`auth-schema-config.ts`'s `ssoProvider` mapping carried a field-surface claim
about `@better-auth/sso@1.6.20` that had never been measured. Measured now by
resolving the model the way the adapter does over
`getAuthTables({ plugins: [sso()] })`: all 7 declared fields (8 with
`domainVerification`) resolve to columns `sys_sso_provider` declares. Recorded
with the gap that makes it worth re-checking — this mapping has no parity gate,
because `better-auth-schema-parity.test.ts` deliberately passes no `sso` plugin.
Comment-only: no assertion, pin or gate input is touched.
Claude-Session: https://claude.ai/code/session_01PnJHU45vPJj5UQrxe946Bx
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments