4.0.0 (2026-02-04)
Bug Fixes
- correct entry script (fixes #73) (6c01a10)
- default rejectUnauthorized to true & match Node's NODE_TLS_REJECT_UNAUTHORIZED logic (a3c390e)
- do not proxy traffic to sockets (cfce4c7)
- drop anyproxy (91c2340)
- fixed eslint error (0661973)
- replaced configuration with configurationInput (0b1714e)
- suppresed process.env eslint error (a69e748)
- suppressed type error (182747d)
- updated ca type to string[] (899a286)
- updated default value of ca to be empty array (c7a6d59)
- updated test (69bca77)
- updated test (291e47d)
- updated test (83df90e)
- updated test (f2353ba)
- Updated test (a74bce9)
- Updated test case (6728712)
- Updated test cases and rearranged them (2e86447)
- Use deep semver import (1bce3f6)
Features
- added option to pass ca certificates while creating global-agent instance. (5df9ceb)
- change Flow to TypeScript (3735fa1)
BREAKING CHANGES
- changed types from Flow to TypeScript
There are visible issues with how this library is implemented,
including some examples of wrong imported types that need
to be suppressed. We should either rewrite or leverage agent-base.