Repository navigation
fix(deps): take the fixed releases for seven advisories, refresh undici, nodemailer and the MCP SDK - #39089
Conversation
…etter-auth, undici, nodemailer and the MCP SDK Raises the declared floors for fast-xml-parser, glob, nodemailer and @modelcontextprotocol/sdk, floors the transitive ws, cross-spawn and minimatch 11.x lines in pnpm-workspace.yaml's overrides, lifts the better-auth family target 1.7.12 -> 1.7.29 (all eleven) and undici's 8.x target to ^8.14.0. The temporary @better-auth/scim patch is regenerated for 1.7.29, which still lacks the name recompose. Claude-Session: https://claude.ai/code/session_012dn2AfG9txpigxdt2zFADB Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012dn2AfG9txpigxdt2zFADB Co-authored-by: Claude <noreply@anthropic.com>
The 1.7.29 lift reds 48 plugin-auth tests (session revocation, verification and organization-role behaviour changed upstream), so it moves to its own reviewed edit; the advisory fixes and the undici, nodemailer and MCP SDK refresh stay. Claude-Session: https://claude.ai/code/session_012dn2AfG9txpigxdt2zFADB Co-authored-by: Claude <noreply@anthropic.com>
…de note Claude-Session: https://claude.ai/code/session_012dn2AfG9txpigxdt2zFADB Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift CheckThis PR changes 7 package(s): 4 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:
What this run could not see
Coarse fallback — 61 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin a308bd172cfed706381fc765d321f049a55ac6bf && git checkout a308bd172cfed706381fc765d321f049a55ac6bf
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin a294369cbc7032b85818b4e79ab999af9e7be230 551ad8ef1b73f7125987c023af98a491e29e0163 && git checkout -B drift-repro a294369cbc7032b85818b4e79ab999af9e7be230 && git merge --no-ff 551ad8ef1b73f7125987c023af98a491e29e0163
node scripts/docs-audit/affected-docs.mjs --json a294369cbc7032b85818b4e79ab999af9e7be230
|
Reverts the hold-back: the maintainer chose to land the better-auth 1.7.29 lift together with the plugin-auth adaptation in this PR. Claude-Session: https://claude.ai/code/session_012dn2AfG9txpigxdt2zFADB Co-authored-by: Claude <noreply@anthropic.com>
…e owner guard and keep the blank invitation role refused Claude-Session: https://claude.ai/code/session_012dn2AfG9txpigxdt2zFADB Co-authored-by: Claude <noreply@anthropic.com>
…number identifiers Claude-Session: https://claude.ai/code/session_012dn2AfG9txpigxdt2zFADB Co-authored-by: Claude <noreply@anthropic.com>
…nd follow better-auth 1.7.29's change-email semantics Claude-Session: https://claude.ai/code/session_012dn2AfG9txpigxdt2zFADB Co-authored-by: Claude <noreply@anthropic.com>
… better-auth 1.7.29 requires Claude-Session: https://claude.ai/code/session_012dn2AfG9txpigxdt2zFADB Co-authored-by: Claude <noreply@anthropic.com>
… answer Claude-Session: https://claude.ai/code/session_012dn2AfG9txpigxdt2zFADB Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012dn2AfG9txpigxdt2zFADB Co-authored-by: Claude <noreply@anthropic.com>
…n the edited tests Claude-Session: https://claude.ai/code/session_012dn2AfG9txpigxdt2zFADB Co-authored-by: Claude <noreply@anthropic.com>
…eps on the auth doors Claude-Session: https://claude.ai/code/session_012dn2AfG9txpigxdt2zFADB Co-authored-by: Claude <noreply@anthropic.com>
…nd-factor account better-auth 1.7.29 no longer signs anyone in from a change-email link, so the two-factor sign-in challenge no longer answers it. Per the ruling, an enrolled account's link opened with no session is refused in the before hook with the existing 401 UNAUTHENTICATED and the address does not move. Signed-in callers and accounts without a second factor keep the vendor's link behaviour. Claude-Session: https://claude.ai/code/session_012dn2AfG9txpigxdt2zFADB Co-authored-by: Claude <noreply@anthropic.com>
…installed release check:vendor-version-stamps turned red when the pin moved to 1.7.29: fifteen comments stated a 1.7.12 reading in the present tense. Each is scoped with "then-installed", which re-measures nothing and changes no claim. Claude-Session: https://claude.ai/code/session_012dn2AfG9txpigxdt2zFADB Co-authored-by: Claude <noreply@anthropic.com>
…t's own session L1 review: the second-factor gate admitted any session, and returned when no data engine was present. It now admits only a caller signed in as the account the token is bound to; a caller signed in as another account gets the same 401 UNAUTHENTICATED. An absent engine refuses, the same as a failed read. Claude-Session: https://claude.ai/code/session_012dn2AfG9txpigxdt2zFADB Co-authored-by: Claude <noreply@anthropic.com>
…rking Refusing when no data engine is present broke the supported AuthManager on the vendor's own adapter (credential-change-ends-prior-access, 'the clock and the sign-in readings need no data engine'): a plain account's link got 401. The absent-engine branch is restored pending a decision; the identity check stays. Claude-Session: https://claude.ai/code/session_012dn2AfG9txpigxdt2zFADB Co-authored-by: Claude <noreply@anthropic.com>
…apter when no engine Ruling A: a manager with no data engine reads the bound account's twoFactorEnabled through internalAdapter.findUserById. An enrolled account's link with no same-account session is refused 401 UNAUTHENTICATED, as is a read that throws or finds no account. The engine-less plain account keeps the vendor's link behaviour. Claude-Session: https://claude.ai/code/session_012dn2AfG9txpigxdt2zFADB Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-bob · os-bob · session_012dn2AfG9txpigxdt2zFADB 维护者速读
ACCEPT — L1 at head 席位核对
|
⛔ merge queue 构建失败 — 先分诊,再决定要不要重排队列构建 46908102996 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集), 分类: 失败的 job(日志抽取,best effort):
跨 PR 相同签名(24h,按失败测试文件聚合):
历史信号:
分诊清单:
Generated by Claude Code · merge-queue-triage workflow (#4859) |
The merge-group dogfood run showed invitation-blank-role-refusal red: a bearer caller's "member," got 200. The before-hook door read the session with a bare getSessionFromCtx, which runs ahead of bearer()'s conversion and misses every bearer caller; better-auth 1.7.29 then normalizes the list to "member". The door now resolves the caller through the hook-order-independent resolveActor; a bearer pin covers the lane. Claude-Session: https://claude.ai/code/session_012dn2AfG9txpigxdt2zFADB Co-authored-by: Claude <noreply@anthropic.com>
…on-listing rule Ruling A: better-auth 1.7.29 lets only a role holding invitation:create list an organization's invitations. The armed control measures the invitation half as the owner; stage 2 expects an external's list-invitations to be refused 403 YOU_ARE_NOT_ALLOWED_TO_LIST_INVITATIONS and get-full-organization to answer it no invitations; a new pin keeps its own received invitations on list-user-invitations. The changeset states the narrowing. Claude-Session: https://claude.ai/code/session_012dn2AfG9txpigxdt2zFADB Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-bob · os-bob · session_012dn2AfG9txpigxdt2zFADB 维护者速读
ACCEPT (delta) — L1 at head 席位核对
|
Requested by bob · project thread
Fixes #39068
Clause-②: no
Metadata-protocol: none
维护者速读
pnpm audit清零,主分支每日依赖扫描应恢复绿色;认证库 better-auth 升到 1.7.29,邮件、MCP 和网络请求库升到最新补丁版。What changes
pnpm auditatorigin/main7814822 listed 7 advisories. On this branch it reportsNo known vulnerabilities found.^5.12.1. plugin-auth's exact pin moves to5.12.1, which is still the one copy@better-auth/ssoresolves.@object-ui/cli^14.0.6ws@>=8.0.0 <9.0.0to^8.23.0(pulled by@libsql/isomorphic-wsand happy-dom)cross-spawn@>=7.0.0 <8.0.0to^7.1.0. The card called this dev-only, but@modelcontextprotocol/sdkand@ai-sdk/mcpalso pull it, as well as eslint.minimatch@>=11.0.0 <12.0.0to^11.0.8^8.14.0^10.6.2^1.32.2@better-auth/*(refresh)@object-ui/auth, exact; the@better-auth/scimpatch is regenerated for 1.7.29The overrides go in
pnpm-workspace.yamland not in the rootpackage.json. pnpm 10 readsoverridesonly from the workspace file, and the rootpnpm.overridesblock is ignored without a warning, as that file's header says. Each selector is bounded at the major boundary, following the block's selector-shape rule, and a dated note records the batch. The undici 7.x copy (7.30.1) stays:@objectstack/coredeclares^7.30.1and@ai-sdk/provider-utilspulls it. It is not flagged, and the card does not name it.better-auth 1.7.29: plugin-auth adaptation (rulings 7340456975, 7343971547)
The changeset lists every client-visible change and every kept guarantee. In short:
vendor-phone-code-identifiers.ts).400 ROLE_NOT_FOUND; the remove-member owner guard trims roles the way the vendor now does.change-email-link-lockout.ts).401 UNAUTHENTICATED, and the address does not move, unless the caller is signed in as that same account (change-email-link-second-factor.ts). A caller signed in as another account gets the same refusal. When enrollment cannot be read, including on a standalone manager with no data engine (read through the auth library's own account store), the link is refused.403 YOU_ARE_NOT_ALLOWED_TO_LIST_INVITATIONS, and get-full-organization shows them none. A member's own received invitations stay on list-user-invitations. Maintainer ruling recorded on deps: refresh five packages with available fixes (ws, fast-xml-parser, glob, cross-spawn, minimatch) #39068.400 ROLE_NOT_FOUNDfor bearer callers too (invite-role-not-found-code.tsnow reads the caller throughresolveActor).It supersedes the open bumps #39029, #39028 and #38822 and answers #38840; the seat closes those after this lands.
Verification
pnpm --filter @objectstack/plugin-auth(vitest): 298 files, 6350 passed, 10 skipped. Typecheck exit 0.@objectstack/plugin-authsuite 298 of 298 files passed (in thirds), typecheck exit 0, auth gate families exit 0.@object-ui/cli, metadata: test and typecheck green.dispatch-gates --commands: 93 derived, 90 run green, 3 NOT MEASURED locally (left to CI).check:vendor-version-stampsgreen after 2992d19.pnpm audit:No known vulnerabilities found.🤖 Generated with Claude Code
https://claude.ai/code/session_012dn2AfG9txpigxdt2zFADB