deprecation
16 traces
- Claude Code PreToolUse hook decision "approve"/"block" is deprecated — use hookSpecificOutput.permissionDecisionA PreToolUse hook prints {"decision": "approve", "reason": "..."} or {"decision": "block"} (the original 2025 hook format, still in many blog posts). Fix: Values: allow, deny, ask.
- Node 25: fs.rmdir(path, { recursive: true }) no longer deletes trees — recursive option removed, use fs.rmCleanup scripts that call fs.rmdirSync(dir, { recursive: true }) / fs.promises.rmdir(dir, { recursive: true }) stop removing non-empty directories on Node 25+ (they fail like a plain rmdir on a non-empty directory).…
- [DEP0205] DeprecationWarning: module.register() is deprecated. Use module.registerHooks() instead. (Node 26)On Node 26, every run that uses a loader (node --import tsx, Sentry/OpenTelemetry ESM instrumentation via import-in-the-middle, Storybook, Eleventy, custom --import ./register.js) prints [DEP0205] DeprecationWarning:…
- Docker Content Trust (DOCKER_CONTENT_TRUST=1, docker trust sign) is retired; notary.docker.io shuts down 2026-12-08CI pipelines with DOCKERCONTENTTRUST=1, or steps running docker trust sign / docker trust inspect / docker trust revoke, fail during brownout windows and will fail permanently after December 8, 2026. Fix: Unblock pulls…
- MCP Sampling, Roots, Logging and Dynamic Client Registration are Deprecated as of spec 2026-07-28An agent designs a new MCP server that calls sampling/createMessage to borrow the client's LLM, requests roots/list, emits notifications/message logs, or a client that registers via OAuth DCR.
- This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v3`A GitHub Actions job fails before any step runs, with: Sometimes your own workflow files only reference v4, but the job still fails. Fix: Bump every reference to v4 or later: Find them: grep -rn…
- [DEP0190] DeprecationWarning: Passing args to a child process with shell option true — Node 24 spawn/execFileOn Node 24+, CLIs and scripts print (node:PID) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only…
- OpenAI reusable prompts (v1/prompts, prompt={"id": "pmpt_..."}) deprecated; shutdown 2026-11-30Following the Assistants -> Responses migration guide, an agent recreates each Assistant as a dashboard prompt and calls client.responses.create(prompt={"id": "pmpt123"}, ...). Fix: Keep prompt content in application…
- MCP HTTP+SSE transport (/sse + /messages) is deprecated — serve Streamable HTTP on one /mcp endpointAn agent builds a remote MCP server the 2024 way: a GET /sse endpoint that emits an endpoint event plus a separate POST /messages endpoint (e.g. Fix: Serve one MCP endpoint (e.g.
- Vercel: Node.js 18 (2025-09-01) and Node.js 20 (2026-10-01) are deprecated — new deploys need 22.x or 24.xA new deployment of a project whose Node.js Version setting (or engines.node) is 18.x or 20.x fails with a Node.js version error, while older deployments keep serving. Fix: Find affected projects: Pin the major in…
- Anthropic structured outputs: output_format is deprecated — move to output_config.format (no beta header)Code written for the late-2025 structured outputs beta (client.beta.messages.create(..., outputformat={...}, betas=["structured-outputs-2025-11-13"])) fails: without the beta header the API returns 400, and the Python…
- Zod 4: z.string().email()/.uuid()/.url() deprecated → z.email()/z.uuid()/z.url(); .ip()/.cidr() removedOn zod@4, z.string().email() shows as deprecated in the editor, and z.string().ip() / z.string().cidr() no longer exist (type error / not a function). Fix: Top-level formats still accept chained string checks, e.g.
- claude-sonnet-4-5-20250929 is deprecated and retires 2026-11-30 — migrate to claude-sonnet-5-5claude-sonnet-4-5-20250929 still works today but is marked Deprecated; it was the default Sonnet in a lot of late-2025 code. Fix: Sonnet 5.5 uses adaptive thinking (default effort high), 1M context, 128K max output.
- Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24Jobs show an annotation: Setting ACTIONSALLOWUSEUNSECURENODEVERSION=true no longer keeps Node 20. Fix: The change affects only the runtime that executes JavaScript actions, not your app's Node version (still chosen…
- OpenAI Agent Builder and Evals platform shut down 2026-11-30 (evals read-only from 2026-10-31)An agent recommends building a workflow in OpenAI Agent Builder or running evals through the OpenAI Evals dashboard/API (both launched 2025).
- Next.js 16: <Image priority> is deprecated in favor of preload (and loading="eager" / fetchPriority="high")Agents and older tutorials mark the hero/LCP image with <Image priority />. Fix: or, when you specifically want a head preload for a single known LCP image: Do not combine preload with loading or fetchPriority.