Skip to content

chore(deps-dev): bump @anthropic-ai/sdk from 0.39.0 to 0.74.0#119

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/anthropic-ai/sdk-0.74.0
Closed

chore(deps-dev): bump @anthropic-ai/sdk from 0.39.0 to 0.74.0#119
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/anthropic-ai/sdk-0.74.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Feb 11, 2026

Bumps @anthropic-ai/sdk from 0.39.0 to 0.74.0.

Release notes

Sourced from @​anthropic-ai/sdk's releases.

sdk: v0.74.0

0.74.0 (2026-02-07)

Full Changelog: sdk-v0.73.0...sdk-v0.74.0

Features

  • api: enabling fast-mode in claude-opus-4-6 (e337981)

sdk: v0.73.0

0.73.0 (2026-02-05)

Full Changelog: sdk-v0.72.1...sdk-v0.73.0

Features

  • api: Release Claude Opus 4.6, adaptive thinking, and other features (f741f92)

Bug Fixes

  • client: avoid memory leak in abort signal listener (#895) (3bdd153)
  • client: avoid memory leak with abort signals (53e47df)
  • client: avoid removing abort listener too early (cd6e832)

Chores

  • client: do not parse responses with empty content-length (2be2df9)
  • client: restructure abort controller binding (0eeacb6)
  • internal: fix pagination internals not accepting option promises (7c23a3f)
  • remove claude-code-review workflow (#644) (ad09c76)

sdk: v0.72.1

0.72.1 (2026-01-30)

Full Changelog: sdk-v0.72.0...sdk-v0.72.1

Bug Fixes

  • client: remove OutputFormat exports from index.ts (bf2cf08)

sdk: v0.72.0

0.72.0 (2026-01-29)

Full Changelog: sdk-v0.71.2...sdk-v0.72.0

Features

  • api: add support for Structured Outputs in the Messages API (eeb7fab)

... (truncated)

Changelog

Sourced from @​anthropic-ai/sdk's changelog.

0.74.0 (2026-02-07)

Full Changelog: sdk-v0.73.0...sdk-v0.74.0

Features

  • api: enabling fast-mode in claude-opus-4-6 (e337981)

0.73.0 (2026-02-05)

Full Changelog: sdk-v0.72.1...sdk-v0.73.0

Features

  • api: Release Claude Opus 4.6, adaptive thinking, and other features (f741f92)

Bug Fixes

  • client: avoid memory leak in abort signal listener (#895) (3bdd153)
  • client: avoid memory leak with abort signals (53e47df)
  • client: avoid removing abort listener too early (cd6e832)

Chores

  • client: do not parse responses with empty content-length (2be2df9)
  • client: restructure abort controller binding (0eeacb6)
  • internal: fix pagination internals not accepting option promises (7c23a3f)
  • remove claude-code-review workflow (#644) (ad09c76)

0.72.1 (2026-01-30)

Full Changelog: sdk-v0.72.0...sdk-v0.72.1

Bug Fixes

  • client: remove OutputFormat exports from index.ts (bf2cf08)

0.72.0 (2026-01-29)

Full Changelog: sdk-v0.71.2...sdk-v0.72.0

Features

  • api: add support for Structured Outputs in the Messages API (eeb7fab)
  • api: migrate sending message format in output_config rather than output_format (99f4066)
  • ci: add breaking change detection workflow (b181568)
  • client: migrate structured output format (#625) (abcdddc)
  • helpers: add MCP SDK helper functions (#610) (b6c3963)

... (truncated)

Commits
  • 5ccd743 chore: release main
  • 66c786d feat(api): enabling fast-mode in claude-opus-4-6
  • 883bbb6 Update CHANGELOG.md (#902)
  • db18ae2 chore: release main
  • a9f163f feat(api): manual updates
  • 33d13a6 chore(internal): fix pagination internals not accepting option promises
  • 54d352c fix(client): avoid removing abort listener too early
  • ddc2f6b chore(client): restructure abort controller binding
  • 6f46cc5 chore(client): do not parse responses with empty content-length
  • e32cdd5 chore: remove claude-code-review workflow (#644)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by packy-anthropic, a new releaser for @​anthropic-ai/sdk since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Feb 11, 2026
@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Feb 11, 2026

Greptile Summary

This PR bumps @anthropic-ai/sdk from 0.39.0 to 0.78.0 as a devDependency, bringing in a significantly modernised SDK that drops legacy Node.js polyfills in favour of leaner, schema-focused dependencies.

  • Dependency cleanup: The old SDK pulled in node-fetch, abort-controller, agentkeepalive, form-data-encoder, and formdata-node as runtime polyfills. The new SDK drops all of these (the project already requires Node ≥22, which has native fetch and AbortController), replacing them with json-schema-to-ts and ts-algebra.
  • Zod integration: zod is now an optional peer dependency of the SDK. The lockfile correctly reuses the project's existing zod@3.25.76, avoiding any duplication.
  • Compatibility: All three files that import @anthropic-ai/sdk (agentops/runner/lib/llm/provider.ts, agentops/scripts/test-api-keys.ts, scripts/agents/behavioral-contracts.ts) use only the stable new Anthropic() constructor and client.messages.create() — both of which have remained unchanged across this version range.
  • Binary added: @anthropic-ai/sdk@0.78.0 now ships a binary (hasBin: true), which is expected for this version and has no impact on the project.

Confidence Score: 4/5

  • Safe to merge — a dev-only dependency bump with clean polyfill removal and no breaking API surface used in the codebase.
  • The SDK is a devDependency only, all call-sites use the stable core messages.create() API that has not changed, and the transitive dependency tree is actually smaller and cleaner than before. The one point deducted reflects the large 39-minor-version jump whose full changelog is not included in the PR description.
  • No files require special attention.

Important Files Changed

Filename Overview
package.json Updates @anthropic-ai/sdk devDependency from ^0.39.0 to ^0.78.0 — a major jump of 39 minor versions. All existing usages in the codebase rely on stable Anthropic constructor and messages.create() APIs that have not changed.
pnpm-lock.yaml Lockfile resolves @anthropic-ai/sdk to 0.78.0(zod@3.25.76). Old transitive polyfill dependencies (node-fetch, abort-controller, agentkeepalive, etc.) are removed and replaced with json-schema-to-ts + ts-algebra. The resolved zod@3.25.76 matches the project's own zod dependency, avoiding duplication.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    subgraph Before["@anthropic-ai/sdk@0.39.0"]
        A["@anthropic-ai/sdk"] --> B["node-fetch"]
        A --> C["abort-controller"]
        A --> D["agentkeepalive"]
        A --> E["form-data-encoder"]
        A --> F["formdata-node"]
        A --> G["@types/node-fetch"]
    end

    subgraph After["@anthropic-ai/sdk@0.78.0"]
        H["@anthropic-ai/sdk"] --> I["json-schema-to-ts"]
        I --> J["@babel/runtime"]
        I --> K["ts-algebra"]
        H -. "optional peer" .-> L["zod@3.25.76 (already in project)"]
    end

    Before -->|"bumped"| After
Loading

Last reviewed commit: f6969c3

@augmentcode
Copy link
Copy Markdown

augmentcode bot commented Feb 11, 2026

🤖 Augment PR Summary

Summary: Bumps the dev dependency @anthropic-ai/sdk from 0.39.0 to 0.74.0.

Why: Pulls in upstream SDK improvements and fixes (per Dependabot release notes).

Notable upstream changes: Adds newer Messages API features (e.g., fast-mode / newer model support) and includes client-side stability fixes (e.g., abort-signal memory leak fixes).

Scope: Only dependency metadata is updated (lockfile updated separately).

Considerations: Given the large version jump, validate that existing Anthropic SDK call sites and tests/scripts still behave as expected.

🤖 Was this summary useful? React with 👍 or 👎

Copy link
Copy Markdown

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. 1 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

package.json Outdated
"devDependencies": {
"@anthropic-ai/claude-agent-sdk": "^0.1.76",
"@anthropic-ai/sdk": "^0.39.0",
"@anthropic-ai/sdk": "^0.74.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a large jump (0.39.0 → 0.74.0) and the PR metadata notes a new npm releaser for this package; it’s worth double-checking upstream release notes/provenance and ensuring the repo’s @anthropic-ai/sdk usages still work under the new API/typing surface.

Severity: medium

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/anthropic-ai/sdk-0.74.0 branch 2 times, most recently from dadc7bf to 0bb6225 Compare February 18, 2026 02:56
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/anthropic-ai/sdk-0.74.0 branch from 0bb6225 to ab49835 Compare March 4, 2026 02:56
"devDependencies": {
"@anthropic-ai/claude-agent-sdk": "^0.1.76",
"@anthropic-ai/sdk": "^0.39.0",
"@anthropic-ai/sdk": "^0.78.0",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR title/description version mismatch

The PR title states the bump is from 0.39.0 to 0.74.0, but package.json (and package-lock.json) actually update the version specifier to ^0.78.0, meaning 0.78.0 will be installed — not 0.74.0. This discrepancy suggests Dependabot may have updated the pinned version after the PR was originally opened. It is worth verifying that the intended target version is indeed 0.78.0 and that the release notes for 0.74.00.78.0 (not included in the PR description) have been reviewed for any additional breaking changes.

Prompt To Fix With AI
This is a comment left during a code review.
Path: package.json
Line: 95

Comment:
**PR title/description version mismatch**

The PR title states the bump is from `0.39.0` to `0.74.0`, but `package.json` (and `package-lock.json`) actually update the version specifier to `^0.78.0`, meaning `0.78.0` will be installed — not `0.74.0`. This discrepancy suggests Dependabot may have updated the pinned version after the PR was originally opened. It is worth verifying that the intended target version is indeed `0.78.0` and that the release notes for `0.74.0``0.78.0` (not included in the PR description) have been reviewed for any additional breaking changes.

How can I resolve this? If you propose a fix, please make it concise.

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/anthropic-ai/sdk-0.74.0 branch 2 times, most recently from b020645 to bd46af4 Compare March 7, 2026 11:31
Bumps [@anthropic-ai/sdk](https://github.com/anthropics/anthropic-sdk-typescript) from 0.39.0 to 0.74.0.
- [Release notes](https://github.com/anthropics/anthropic-sdk-typescript/releases)
- [Changelog](https://github.com/anthropics/anthropic-sdk-typescript/blob/main/CHANGELOG.md)
- [Commits](anthropics/anthropic-sdk-typescript@sdk-v0.39.0...sdk-v0.74.0)

---
updated-dependencies:
- dependency-name: "@anthropic-ai/sdk"
  dependency-version: 0.74.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/anthropic-ai/sdk-0.74.0 branch from bd46af4 to f6969c3 Compare March 8, 2026 23:36
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Mar 11, 2026

Superseded by #158.

@dependabot dependabot bot closed this Mar 11, 2026
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/anthropic-ai/sdk-0.74.0 branch March 11, 2026 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants