4.12.1
expressjs/express4.12.1Mar 2, 2015by dougwilson
AI Summary
Express 4.12.1 is a patch release focused on bug fixes, particularly addressing issues with proxy trust settings and sendFile functionality. The release fixes multiple bugs related to connection handling, protocol detection, and error codes, while also updating the merge-descriptors dependency.
Key Highlights
- Fixes `ECONNRESET` errors and wrong error codes on aborted connections from `res.sendFile`
- Corrects `req.host`, `req.protocol`, and `req.secure` when using 'trust proxy' hops count
- Fixes application construction with non-configurable prototype properties
- Updates merge-descriptors dependency to version 1.0.0
Full Release Notes
- Fix constructing application with non-configurable prototype properties - Fix `ECONNRESET` errors from `res.sendFile` usage - Fix `req.host` when using "trust proxy" hops count - Fix `req.protocol`/`req.secure` when using "trust proxy" hops count - Fix wrong `code` on aborted connections from `res.sendFile` - deps: merge-descriptors@1.0.0