follow-redirects is a Node.js module that provides http and https methods that automatically follow HTTP(S) redirects. It acts as a drop-in replacement for Node’s built-in http and https modules, and exposes the final redirected URL via response.responseUrl.
Project status
- The repository appears actively maintained, with the most recent upstream push on 2026-04-13, and ongoing published updates through at least v1.15.11 (2025-07-31).
- Update cadence is irregular, with a cluster of several updates around 2024-09-09 (v1.15.7 to v1.15.9) and the next visible update occurring much later (v1.15.10 and v1.15.11 in 2025-07-31).
AI summary generated 2 days ago
Recent updates
v1.15.11
10 months agoRelease v1.15.11 contains only package metadata changes. The library version is bumped from 1.15.10 to 1.15.11, and the package.json field sideEffects has been removed.
v1.15.10
10 months agov1.15.10 contains a small package metadata update and a dev dependency bump. No release notes were provided, so the documented changes cannot be verified against what actually changed in the repo.
Breakingv1.15.8
9/9/2024v1.15.8 contains a small set of internal changes and CI updates. The release notes provided by the publisher are empty, so the behavior impact must be inferred from the code diff.
v1.15.7
9/9/2024Release v1.15.7 adds a browser-specific guard to prevent follow-redirects from being used in browser builds. It introduces a new entry file (nope.js) and updates the package metadata so bundlers can select it when targeting browsers.
BreakingFeaturesv1.15.9
9/9/2024Release v1.15.9 makes internal changes around environment detection and error stack tracing, plus a packaging adjustment related to browser builds. No release notes were provided, so the behavioral implications of these changes are not documented.
v1.15.6
3/14/2024Release v1.15.6 has no provided release notes. The code diff shows a small behavior change in redirect handling around which sensitive headers get stripped, plus a documentation-only change to the security disclosure URL.
v1.15.5
1/12/2024Release v1.15.5 makes a small behavior change in how redirect URLs are constructed. Specifically, it updates the redirect URL field preservation logic and adds a test to confirm fragment (hash) behavior across redirects.
Featuresv1.15.4
12/30/2023Release v1.15.4 contains substantial internal changes to redirect URL parsing and error handling in index.js, plus expanded test coverage for IPv4 and IPv6 (including bracketed forms). The release notes field is empty, so the functional impact must be inferred from the code diff and tests.
v1.15.3
9/19/2023v1.15.3 contains internal request cancellation changes in index.js, plus CI workflow and npm script adjustments. The release notes are missing (none provided), so any behavioral changes in runtime code should be treated as potentially undocumented.
Featuresv1.15.2
9/13/2022v1.15.2 makes follow-redirects stricter about URL inputs and changes how redirect-related errors and host defaults are handled. The publisher did not provide release notes, so the behavioral changes below are derived from the code diff and new/modified tests.
Features