Packages

agent-base

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

Upgrading agent-base From 1.0.1 to 9.0.0

30 releases in betweennotes for 13

Reading releases, release notes and advisories…

Other targets from 1.0.1Newest 1.x1.0.2
6.0.0, 2.0.0 have no release note on GitHub or in the repository's changelog, so their breaking changes are missing from the counts below.
  1. 1.0.1yours
  2. 1 release
  3. 2.0.0major
  4. 3 releases
  5. 3.0.0security
  6. 4.0.0major
  7. 7 releases
  8. 5.0.0major
  9. 2 releases
  10. 6.0.0major
  11. 2 releases
  12. 7.0.0major
  13. 7 releases
  14. 8.0.0major
  15. 9.0.0target
9+
changes to make
0
advisories fixed
7+
new
13+
fixes

Counted from 13 of 30 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
  • Breaking5.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0

Security

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

2 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.