What changed in http-server from 13 to 14
3 releases numbered after v13.1.0 up to and including v14.1.1, stable releases only. v13.1.0 and v14.1.1 are the newest stable releases of 13 and 14 we track; this page follows them as new ones ship.
- 1 CVE mentioned
- 1 mentions breaking changes
- 1 removes or deprecates something
15 changes across 3 releases
Added 5
- Add encoding charset sniffing
- Add passphrase option
- Add ability to pass proxyOptions
- Implement displaying last modified date in index
- Add version number to server startup output
Changed 3
Fixed 5
- Don't crash when file path errors
- Fix CORS option detection
- Fix crash on redirect with formfeed in URL
- Fix --proxy without a protocol throwing an uncaught error
- Use relative paths in directory listing
Removed 1
- Drop Node.js 10 support
Security 1
- Patch CVE-2021-44906
Original release notes, newest first
The list above is our reading of these notes; the originals from http-server are here, one fold per release.
v14.1.1
- Patch CVE-2021-44906 @dpassen (#803)
Other changes
- Bump follow-redirects from 1.14.4 to 1.14.8 @dependabot (#794)
v14.1.0
This release contains an emergency fix which replaces colors.js with chalk. See #781 for more info and discussion, and Marak/colors.js#285 for broader discussion about colors.js.
- Switch from colors to chalk @zbynek (#785)
v14.0.0
Breaking changes
- Add encoding charset sniffing @boarwell (#736)
- Drop Node.js 10 support @boarwell (#739)
- Required to support charset sniffing
Features and enhancements
- add passphrase option @chris--jones (#746)
- Make --ssl an alias for --tls @thornjad (#747)
- add ability to pass proxyOptions @yannickglt (#688)
- Replace mkdirp in tests with native JS @thornjad (#743)
- Implement displaying last modified date in index @owenl131 (#737)
- Adds version number to server startup output @Innoveramera (#734)
Bug Fixes
- Don't crash when file path errors @thornjad (#753)
- Fix CORS option detection @thornjad (#748)
- fix crash on redirect with formfeed in URL @thornjad (#749)
- Fixes --proxy without a protocol throwing an uncaught error @Ratcoder (#742)
- Fix tests EACCESS by finding an open port every time @thornjad (#741)
- Use relative paths in directory listing #661 @boarwell (#732)
Other changes
- Add Contributing guide @thornjad (#752)
- Eslint config - replace common-style with eslint-config-populist @chris--jones (#744)
- Update some dependencies @thornjad (#740)
Full Changelog: https://github.com/http-party/http-server/compare/v13.0.2...v14.0.0