Packages

@openai/agents

0.22.0 · 12 Nov 2026MIT2.5M / weekRepositoryHomepagenpmAtom feed

Upgrading @openai/agents From 0.4.1 to 0.4.2

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.4.1Newest 0.x, Latest0.22.0
  1. 0.4.1yours
  2. 0.4.2target
1
change to make
0
advisories fixed
3
new
1
fix

Before you upgrade

Tick each one off as you go
  • Deprecated0.4.2

Release by release

  1. 0.4.2

    Deprecation22 Jan 20263 new · 1 fix
    • Deprecated

      Both import paths still work for now, but the top-level import is deprecated and will be removed in v0.5.0.

    • New

      Add MCPServers lifecycle helper

    • New

      Add AI SDK data/text stream response adapters for streamed runs

    • New

      agents-core: Add maxTurns error handlers with runData snapshots

    • Fixed

      agents-core: Prefer run tracing config when resuming run state

6 internal lines (docs, tests, tooling) left out.

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.