got
16.2.0 · 30 Oct 2026MIT53.2M / weekRepositoryHomepagenpmAtom feed
Upgrading got From 9.3.2 to 9.6.0
4 releases in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 4
- new
- 2
- fixes
Before you upgrade
Tick each one off as you go- Breaking9.5.0
Security
1 advisory still affects 9.6.0
- Got allows a redirect to a UNIX socketmoderate · GHSA-pfrx-2q88-qq97
Upgrading to 11.8.5 clears it.
Release by release
- New
Add
inithook (#683) 677d0a4 - New
Add
beforeErrorhook (#696) 29ffb44
- New
- Fixed
Fix memory leak when using socket timeout and keepalive agent (#694) 203dadc
- Fixed
Fix strange timing data for HTTP requests d136e61
- Fixed
- Breaking
Remove error thrown for URLs with auth component (#676) 5d20a43
- Breaking
- New
Add ability to specify which network error codes to retry on. 9f3a099
- New
Add Got options onto responses and errors. 33b838f
- New
3 other lines we could not sort, mostly version bumps
- 9.5.1
Correctly preserve original status code when returning cached responses d136e61
- 9.5.0
Upgrade dependencies a1eadfe
- 9.4.0
Correctly clear
sockettimeout on error. c8e358f
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.