Packages

agent-base

9.0.0 · 1 Apr 2026MIT411.9M / weekRepositoryHomepagenpmAtom feed

Upgrading agent-base From 7.0.1 to 9.0.0

8 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 7.0.1Newest 7.x7.1.4

Before you upgrade

Tick each one off as you go
  • Breaking9.0.0
  • Breaking8.0.0

Release by release

  1. 9.0.0

    Migration needed1 Apr 20262 fixes
    • Breaking

      Set minimum Node.js version to 20

    • Fixed

      Use duck typing for agent detection in createSocket to prevent silent hang with non-http.Agent agents like tunnel-agent's TunnelingAgent

    • Fixed

      Simplify package.json exports to remove unnecessary imports restriction

  2. 8.0.0

    Migration needed11 Mar 2026
    • Breaking

      Convert to ESM. All packages now use "type": "module" and compile to ESM output instead of CommonJS.

  3. 7.1.4

    7 Jul 20251 fix
    • Fixed

      Fix compatibility with @types/node@20.19.2.

  4. 7.1.3

    8 Dec 20241 fix
    • Fixed

      Remove unused debug dependency.

  5. 7.1.2

    7 Dec 20241 fix
    • Fixed

      Handle exceptions caused by Agent.addRequest()

  6. 7.1.1

    30 Mar 20241 fix
    • Fixed

      Synchronously update internal sockets length so http.Agent pooling is used

  7. 7.1.0

    24 May 20231 new
    • New

      Add isSecureEndpoint() as an instance method

  8. 7.0.2

    18 May 20231 new
    • New

      Allow for never relying on stack trace

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.