Packages

@anthropic-ai/claude-agent-sdk

0.3.330 · 20 Nov 2026SEE LICENSE IN README.md20.7M / weekRepositorynpmAtom feed

Upgrading @anthropic-ai/claude-agent-sdk From 0.3.310 to 0.3.311

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.3.310Newest 0.x, Latest0.3.330
  1. 0.3.310yours
  2. 0.3.311target
1
change to make
0
advisories fixed
1
new
0
fixes

Before you upgrade

Tick each one off as you go
  • Breaking0.3.311

Release by release

  1. 0.3.311

    Migration needed26 Oct 20261 new
    • Breaking

      Changed the minimum supported Node.js version from 18.0.0 to 18.14.0

    • New

      Added cacheCreationEphemeral5mInputTokens and cacheCreationEphemeral1hInputTokens to ModelUsage, splitting cacheCreationInputTokens by cache lifetime

2 other lines we could not sort, mostly version bumps
  • Changed background start-up work to wait until the first model request is sent, for about 10 seconds at most, when the first message arrives during start-up

    0.3.311
  • Updated to parity with Claude Code v2.1.311

    0.3.311

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.