Packages

agent-base

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

Upgrading agent-base From 6.0.1 to 9.0.0

11 releases in betweennotes for 10

Reading releases, release notes and advisories…

Other targets from 6.0.1Newest 6.x6.0.2
  1. 6.0.1yours
  2. 1 release
  3. 7.0.0major
  4. 7 releases
  5. 8.0.0major
  6. 9.0.0target
3+
changes to make
0
advisories fixed
3+
new
7+
fixes

Counted from 10 of 11 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking9.0.0
  • Breaking8.0.0
  • Breaking7.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

1 internal line (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.