Packages

socks-proxy-agent

10.1.0 · 8 Jun 2026MIT70.4M / weekRepositoryHomepagenpmAtom feed

Upgrading socks-proxy-agent From 4.0.0 to 10.1.0

19 releases in betweennotes for 11

Reading releases, release notes and advisories…

Other targets from 4.0.0Newest 4.x4.0.2
7.0.0, 6.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. 4.0.0yours
  2. 2 releases
  3. 5.0.0major
  4. 1 release
  5. 6.0.0major
  6. 4 releases
  7. 7.0.0major
  8. 8.0.0major
  9. 3 releases
  10. 8.0.4security
  11. 1 release
  12. 9.0.0major
  13. 10.0.0major
  14. 10.1.0target
6+
changes to make
0
advisories fixed
2+
new
8+
fixes

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

Before you upgrade

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

Security

  • Resolve vulnerability in IP package

    8.0.4

Release by release

  1. 10.1.0

    8 Jun 20261 new
    • New

      Add proxy event emission on the request object for all proxy agents. After the proxy connection is established, the request emits a proxy event with { proxy, socket } where proxy is the proxy URL string. This is useful for debugging and logging which proxy was used for a connection.

  2. 10.0.0

    Migration needed1 Apr 20261 fix
    • Breaking

      Set minimum Node.js version to 20

    • Fixed

      Simplify package.json exports to remove unnecessary imports restriction

  3. 9.0.0

    Migration needed11 Mar 2026
    • Breaking

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

  4. 8.0.5

    7 Dec 20241 fix
    • Fixed

      Only overwrite servername in tls connect when host is not an IP address

  5. 8.0.4

    Security fix28 Jun 20241 fix
    • Security

      Resolve vulnerability in IP package

    • Fixed

      Remove net.isIP() check for TLS servername

  6. 8.0.3

    30 Mar 20241 fix
    • Fixed

      Pass socket_options to SocksClient

  7. 8.0.2

    4 Sep 20231 fix
    • Fixed

      Fix Electron support by using Node.js native URL object

  8. 8.0.1nothing new or fixed in the note

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