agent-base
April 1, 2026 · View on GitHub
9.0.0
Major Changes
- 7d12b51: Set minimum Node.js version to 20
Patch Changes
- ca12148: Fix: use duck typing for agent detection in createSocket to prevent silent hang with non-http.Agent agents like tunnel-agent's TunnelingAgent
- 7ca27d0: Simplify package.json exports to remove unnecessary imports restriction
8.0.0
Major Changes
- 9c92c09: Convert to ESM. All packages now use
"type": "module"and compile to ESM output instead of CommonJS.
7.1.4
Patch Changes
- a6fe3fd: Fix compatibility with
@types/node@20.19.2.
7.1.3
Patch Changes
- 12bbc08: Remove unused
debugdependency.
7.1.2
Patch Changes
- 1699a09: Handle exceptions caused by Agent.addRequest()
7.1.1
Patch Changes
- e62863c: Synchronously update internal sockets length so
http.Agentpooling is used
7.1.0
Minor Changes
- da699b1: Add
isSecureEndpoint()as an instance method
7.0.2
Patch Changes
- 66b4c63: Allow for never relying on stack trace
7.0.1
Patch Changes
- 7674748: Update
@types/nodeto v14.18.45
7.0.0
Major Changes
- d99a7c8: Major version bump for all packages
- ⚠️ This is a breaking change! In version 6.x, this package had a default export of a function that could be used to construct an
http.Agent. Now this default export has been removed, instead there is a named export for theAgentabstract class. See the README for details on how to use the abstract class.
- ⚠️ This is a breaking change! In version 6.x, this package had a default export of a function that could be used to construct an
Minor Changes
- 4333067: Add support for core
keepAlive: true
Patch Changes
- c169ced: Convert mocha tests to jest for all packages