serve-static
2.2.1 · 15 Dec 2025MIT202.2M / weekRepositoryHomepagenpmAtom feed
67 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 2.x · latest line
2.2.1
15 Dec 2025Remove
HISTORY.mdfrom tarball content
What's Changed
Remove
HISTORY.mdfrom tarball content
2.2.0
28 Mar 2025Refactor HISTORY.md header update to use String.prototype.repeat
Conditionally set headers (if not already set) in redirect response
Revert "feat: conditionally set headers (if not already set) in redirect response (#190)"
What's Changed
Refactor HISTORY.md header update to use String.prototype.repeat
Conditionally set headers (if not already set) in redirect response
Revert "feat: conditionally set headers (if not already set) in redirect response (#190)"
Release 2.2.0
2.0.0
23 Aug 2024- 1.x
1.16.3
15 Dec 2025Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.
1.16.2
11 Sep 2024encodeurl@~2.0.0
1.14.2 – 1.15.02 releases that only update dependenciessend 0.18.0depd 2.0.0destroy 1.2.0and 4 moreShow each
- 1.15.025 Mar 2022send 0.18.0depd 2.0.0destroy 1.2.0and 3 more
- 1.14.216 Dec 2021send 0.17.2http-errors 1.8.1ms 2.1.3
1.14.1
11 May 2019Set stricter CSP header in redirect response
1.14.0
8 May 2019Only updates dependencies:send 0.17.0mime 1.6.0ms 2.1.1
1.13.2
7 Feb 2018Fix incorrect end tag in redirects
1.13.1
29 Sep 2017Fix regression when
rootis incorrectly set to a file
1.12.1 – 1.13.07 releases that only update dependenciessend 0.16.0mime 1.4.1debug 2.6.9and 1 moreShow each
- 1.13.028 Sep 2017send 0.16.0mime 1.4.1
- 1.12.623 Sep 2017send 0.15.6debug 2.6.9
- 1.12.521 Sep 2017send 0.15.5fresh 0.5.2
- 1.12.46 Aug 2017send 0.15.4debug 2.6.8
- 1.12.317 May 2017send 0.15.3debug 2.6.7
- 1.12.227 Apr 2017send 0.15.2debug 2.6.4
- 1.12.15 Mar 2017send 0.15.1
1.12.0
26 Feb 2017Send complete HTML document in redirect response
1.11.2
23 Jan 2017Only updates dependencies:send 0.14.2ms 0.7.2
1.11.1
11 Jun 2016Fix redirect error when
req.urlcontains raw non-URL characters
Fix redirect error when
req.urlcontains raw non-URL characters
1.11.0
8 Jun 2016Use status code 301 for redirects
Use status code 301 for redirects
1.10.1 – 1.10.33 releases with no change for you2 dependency updates, 1 maintenancesend 0.13.2Show each
- 1.10.331 May 2016send 0.13.2
- 1.10.220 Jan 2016docs, tests or tooling
- 1.10.117 Jan 2016send 0.13.1
1.10.0
18 Jun 2015- removed
Remove argument reassignment
Add
fallthroughoptionFix reading options from options prototype
Add
fallthroughoptionAllows declaring this middleware is the final destination
Provides better integration with Express patterns
Fix reading options from options prototype
Improve the default redirect response headers
Enable strict mode
- removed
Remove argument reassignment
1.9.0 – 1.9.34 releases that only update dependenciessend 0.12.3ms 0.7.1mime 1.3.4Show each
- 1.9.315 May 2015send 0.12.3ms 0.7.1
- 1.9.215 Mar 2015send 0.12.2
- 1.9.117 Feb 2015send 0.12.1
- 1.9.017 Feb 2015send 0.12.0mime 1.3.4
1.8.1
21 Jan 2015Fix redirect loop in Node.js 0.11.14
Fix redirect loop in Node.js 0.11.14
1.8.0
6 Jan 2015Only updates dependencies:send 0.11.0ms 0.7.0
1.7.2
3 Jan 2015- security
Fix potential open redirect when mounted at root
1.7.0 – 1.7.12 releases that only update dependenciessend 0.10.1Show each
- 1.7.123 Oct 2014send 0.10.1
- 1.7.016 Oct 2014send 0.10.0
1.6.5
4 Feb 2015- security
Fix potential open redirect when mounted at root
1.6.4
8 Oct 2014Fix redirect loop when index file serving disabled
1.5.2 – 1.6.37 releases that only update dependenciessend 0.9.2depd 0.4.5fresh 0.2.4Show each
- 1.6.324 Sep 2014send 0.9.2
- 1.6.216 Sep 2014send 0.9.2depd 0.4.5
- 1.6.18 Sep 2014send 0.9.1fresh 0.2.4
- 1.6.08 Sep 2014send 0.9.0
- 1.5.45 Sep 2014send 0.8.5
- 1.5.317 Aug 2014send 0.8.3
- 1.5.215 Aug 2014send 0.8.2
1.5.1
10 Aug 2014Fix parsing of weird
req.originalUrlvalues
Fix parsing of weird
req.originalUrlvalues
1.4.4 – 1.5.02 releases that only update dependenciessend 0.8.1Show each
- 1.5.06 Aug 2014send 0.8.1
- 1.4.44 Aug 2014send 0.7.4