got
16.2.0 · 30 Oct 2026MIT53.2M / weekRepositoryHomepagenpmAtom feed
Upgrading got From 9.2.2 to 11.8.5
52 releases in betweenevery note read
Reading releases, release notes and advisories…
Before you upgrade
Tick each one off as you go- Breaking11.0.0
- Breaking11.0.0
- Breaking11.0.0
- Breaking11.0.0
- Breaking11.0.0
- Breaking11.0.0
- Breaking11.0.0
- Breaking11.0.0
- Breaking10.0.0
- Breaking10.0.0
Security
Fixes 1 advisory affecting 9.2.2
- Got allows a redirect to a UNIX socketmoderate · GHSA-pfrx-2q88-qq97
- 11.8.5
Backport security fix 861ccd9
Release by release
- Fixed
Fix
HTTPErrormissing.codeproperty (#1739) 0e167b8
- Fixed
11.8.2nothing new or fixed in the note
- Fixed
Do not throw on custom stack traces (#1491) 4c815c3a609eb74d0eb139414d9996b4f65dc3c0
- Fixed
- Fixed
Fix for sending files with size
0onstat(#1488) 7acd380
- Fixed
- New
Add
pfxHTTPS option (#1364) c33df7f - New
Update
bodyafterbeforeRequest(#1453) e1c1844 - New
Don't allocate buffer twice (#1403) 7bc69d9
- Fixed
Fix a regression where body was sent after redirect 88b32ea
- Fixed
Fix destructure error on
promise.json()c97ce7c - Fixed
Do not ignore userinfo on a redirect to the same origin 52de13b
- New
- Fixed
Inherit the
prefixUrloption from parent if it'sundefined(#1448) a3da70a78aeb7f44dd3e0d0fa47cebe9541eb91e - Fixed
Prepare a fix for hanging promise on Node.js 14.10.x 29d4e325b110ccf7571d4265d40760be4175f7ff
- Fixed
Prepare for Node.js 15.0.0 c126ff19c4e893975cbf6c2c8bebce6ed7631276
- Fixed
- Fixed
Fix
options.porton redirect (#1439) 408e22a
- Fixed
48 other lines we could not sort, mostly version bumps
- 11.8.3
Bump cacheable-request dependency (#1921) 9463bb6
- 11.8.2
Make the
dnsCacheoption lazy (#1529) 3bd245f This slightly improves Got startup performance and fixes an issue with Jest. - 11.8.0
beforeRetryallows stream body if different from original (#1501) 3dd2273 - 11.8.0
Set default value for an options object (#1495) 390b145
- 11.6.1
Welcome @Giotino as a maintainer 🎉 5031843
- 11.6.1
Showcase companies using Got (#1432) d12d6af
- 11.4.0
Use async iterators to get response body (#1256) 7dcd1456a68a2603d30cbb1a4e453c4560bd51b2
- 11.4.0
Clarify options.encoding docs 04f3ea4b7995e1609555dd13f00641b8f470de4c
- 11.4.0
Improve the
searchParamsoption 4dbada94e261ad890d2478c313ec3d74761b659e - 11.3.0
Deep merge
httpsoptions (#1304) c98f0d7
27 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.