Got is a human-friendly, powerful HTTP request library for Node.js, useful for making HTTP and HTTPS requests with features like promise, streams, pagination, and retries. It also supports JSON handling (including a `.json()` helper) and includes documentation for configuration such as timeouts, HTTPS options, caching, proxies, and HTTP/2.
Project status
- Actively maintained: The source (sindresorhus/got) shows ongoing updates in 2026 (for example, v15.1.0 on 2026-07-02, with the latest upstream push on 2026-07-17), indicating active development rather than maintenance mode.
- Update cadence: Recent updates are frequent, with several releases across late June through mid July 2026 (v15.1.0, v15.0.7, v15.0.6, v15.0.5, v15.0.4), suggesting a steady roughly weekly to every few weeks cadence.
AI summary generated
Recent updates
v15.1.0
got v15.1.0 introduces the documented `allowAbsoluteUrls` option to control whether absolute URLs bypass `prefixUrl`. The code changes, however, expand URL validation and boundary enforcement across hooks, redirects, retries, and pagination, and they also refactor URL handling so relative pagination URLs resolve against the currently redirected request URL.
BreakingFeaturesv15.0.7
Got v15.0.7 includes a targeted fix for cross-origin redirects with HTTP 307/308, specifically around whether the request body can be replayed when following the redirect. The core redirect logic was updated to detect non-replayable request bodies and to preserve or fail accordingly, with additional tests covering early redirect timing and streamed uploads.
Breakingv15.0.6
v15.0.6 includes a fix to the `searchParams` setter so query parameters are preserved correctly when an `url` is already present. The code diff also adds/updates pagination behavior to prevent sensitive headers inherited from the original request from being forwarded when pagination moves to a different origin, and it adds tests around `searchParams` assignment semantics.
Securityv15.0.5
v15.0.5 is a small fix release focused on AbortSignal handling. Release notes state it specifically addresses abort signals that are added by request handlers before the request proceeds.
v15.0.4
v15.0.4 is a small patch release that specifically addresses abort behavior during HTTP download progress events. The code changes ensure the request stops pushing additional buffered response data once an abort is triggered from within the downloadProgress handler.
v15.0.3
got v15.0.3 fixes a false ReadError that could be raised for responses that close without a Content-Length header. The code changes also adjust how late ECONNRESET errors and aborted events are interpreted for close-delimited responses.
v15.0.2
v15.0.2 is presented as a patch release with a focus on fixing a race condition related to stream cookie jar completion. The code diff shows additional, broader changes to how Got finalizes response streaming around cookie jar handling, plus new logic for clearing or restoring cookie headers across redirects, pagination, and option merging.
v15.0.1
v15.0.1 is a very small release according to the notes, claiming only a fix for init types. The actual diff includes multiple non-note changes across core request handling, caching internals, utilities, and several TypeScript type definitions that can affect developer-facing typings and runtime edge-case behavior.
v15.0.0
Got v15.0.0 introduces several breaking behavior changes, including requiring Node.js 22, removing promise cancellation and the public isStream option, switching to native Web FormData, and changing buffer-like response types to Uint8Array. It also changes default behaviors around strict Content-Length checking, retry eligibility enforcement, piped header copying, and handling of 300/304 responses.
BreakingFeaturesv14.6.6
This release fixes a regression in got.stream where streams for OPTIONS, DELETE, and PATCH could auto-end incorrectly when no body was provided, breaking the ability to pipe data into the stream. The fix removes the special-case auto-end behavior for these methods and updates docs and tests accordingly.