- deps: debug@2.6.7
- deps: ms@2.0.0
- deps: ms@2.0.0
- deps: debug@2.6.4
- Fix
DEBUG_MAX_ARRAY_LENGTH - deps: ms@0.7.3
- Fix
- deps: ms@1.0.0
- Fix issue when
Date.parsedoes not returnNaNon invalid date - Fix strict violation in broken environments
- Support
If-MatchandIf-Unmodified-Sinceheaders - Add
resandpatharguments todirectoryevent - Remove usage of
res._headersprivate field- Improves compatibility with Node.js 8 nightly
- Send complete HTML document in redirect & error responses
- Set default CSP header in redirect & error responses
- Use
res.getHeaderNames()when available - Use
res.headersSentwhen available - deps: debug@2.6.1
- Allow colors in workers
- Deprecated
DEBUG_FDenvironment variable set to3or higher - Fix error when running under React Native
- Use same color for same namespace
- deps: ms@0.7.2
- deps: etag@~1.8.0
- deps: fresh@0.5.0
- Fix false detection of
no-cacherequest directive - Fix incorrect result when
If-None-Matchhas both*and ETags - Fix weak
ETagmatching to match spec - perf: delay reading header values until needed
- perf: enable strict mode
- perf: hoist regular expressions
- perf: remove duplicate conditional
- perf: remove unnecessary boolean coercions
- perf: skip checking modified time if ETag check failed
- perf: skip parsing
If-None-Matchwhen noETagheader - perf: use
Date.parseinstead ofnew Date
- Fix false detection of
- deps: http-errors@~1.6.1
- Make
messageproperty enumerable forHttpErrors - deps: setprototypeof@1.0.3
- Make
- deps: http-errors@~1.5.1
- deps: inherits@2.0.3
- deps: setprototypeof@1.0.2
- deps: statuses@'>= 1.3.1 < 2'
- deps: ms@0.7.2
- deps: statuses@~1.3.1
- Fix redirect error when
pathcontains raw non-URL characters - Fix redirect when
pathstarts with multiple forward slashes
- Add
acceptRangesoption - Add
cacheControloption - Attempt to combine multiple ranges into single range
- Correctly inherit from
Streamclass - Fix
Content-Rangeheader in 416 responses when usingstart/endoptions - Fix
Content-Rangeheader missing from default 416 responses - Ignore non-byte
Rangeheaders - deps: http-errors@~1.5.0
- Add
HttpErrorexport, forerr instanceof createError.HttpError - Support new code
421 Misdirected Request - Use
setprototypeofmodule to replace__proto__setting - deps: inherits@2.0.1
- deps: statuses@'>= 1.3.0 < 2'
- perf: enable strict mode
- Add
- deps: range-parser@~1.2.0
- Fix incorrectly returning -1 when there is at least one valid range
- perf: remove internal function
- deps: statuses@~1.3.0
- Add
421 Misdirected Request - perf: enable strict mode
- Add
- perf: remove argument reassignment
- Fix invalid
Content-Typeheader whensend.mime.default_typeunset
- deps: depd@~1.1.0
- Support web browser loading
- perf: enable strict mode
- deps: destroy@~1.0.4
- perf: enable strict mode
- deps: escape-html@~1.0.3
- perf: enable strict mode
- perf: optimize string replacement
- perf: use faster string coercion
- deps: range-parser@~1.0.3
- perf: enable strict mode
- Allow Node.js HTTP server to set
Dateresponse header - Fix incorrectly removing
Content-Locationon 304 response - Improve the default redirect response headers
- Send appropriate headers on default error response
- Use
http-errorsfor standard emitted errors - Use
statusesinstead ofhttpmodule for status messages - deps: escape-html@1.0.2
- deps: etag@~1.7.0
- Improve stat performance by removing hashing
- deps: fresh@0.3.0
- Add weak
ETagmatching support
- Add weak
- deps: on-finished@~2.3.0
- Add defined behavior for HTTP
CONNECTrequests - Add defined behavior for HTTP
Upgraderequests - deps: ee-first@1.1.1
- Add defined behavior for HTTP
- perf: enable strict mode
- perf: remove unnecessary array allocations
- deps: debug@~2.2.0
- deps: ms@0.7.1
- deps: depd@~1.0.1
- deps: etag@~1.6.0
- Improve support for JXcore
- Support "fake" stats objects in environments without
fs
- deps: ms@0.7.1
- Prevent extraordinarily long inputs
- deps: on-finished@~2.2.1
- Throw errors early for invalid
extensionsorindexoptions - deps: debug@~2.1.3
- Fix high intensity foreground color for bold
- deps: ms@0.7.0
- Fix regression sending zero-length files
- Always read the stat size from the file
- Fix mutating passed-in
options - deps: mime@1.3.4
- Fix
rootpath disclosure
- deps: debug@~2.1.1
- deps: etag@~1.5.1
- deps: crc@3.2.1
- deps: ms@0.7.0
- Add
milliseconds - Add
msecs - Add
secs - Add
mins - Add
hrs - Add
yrs
- Add
- deps: on-finished@~2.2.0
- deps: on-finished@~2.1.1
- Fix handling of pipelined requests
- deps: debug@~2.1.0
- Implement
DEBUG_FDenv variable support
- Implement
- deps: depd@~1.0.0
- deps: etag@~1.5.0
- Improve string performance
- Slightly improve speed for weak ETags over 1KB
- deps: etag@~1.4.0
- Support "fake" stats objects
- deps: depd@0.4.5
- deps: etag@~1.3.1
- deps: range-parser@~1.0.2
- deps: fresh@0.2.4
- Add
lastModifiedoption - Use
etagto generateETagheader - deps: debug@~2.0.0
- Fix malicious path detection for empty string path
- Fix a path traversal issue when using
root
- deps: destroy@1.0.3
- renamed from dethroy
- deps: on-finished@2.1.0
- Work around
fdleak in Node.js 0.10 forfs.ReadStream - deps: dethroy@1.0.2
- Fix
extensionsbehavior when file already has extension
- Add
extensionsoption
- Fix serving index files without root dir
- Fix incorrect 403 on Windows and Node.js 0.11
- deps: depd@0.4.4
- Work-around v8 generating empty stack traces
- deps: depd@0.4.3
- Fix exception when global
Error.stackTraceLimitis too low
- Fix exception when global
- Deprecate
hiddenoption; usedotfilesoption - Add
dotfilesoption - deps: debug@1.0.4
- deps: depd@0.4.2
- Add
TRACE_DEPRECATIONenvironment variable - Remove non-standard grey color from color output
- Support
--no-deprecationargument - Support
--trace-deprecationargument
- Add
- Deprecate
fromoption; userootoption - Deprecate
send.etag()-- useetaginoptions - Deprecate
send.hidden()-- usehiddeninoptions - Deprecate
send.index()-- useindexinoptions - Deprecate
send.maxage()-- usemaxAgeinoptions - Deprecate
send.root()-- userootinoptions - Cap
maxAgevalue to 1 year - deps: debug@1.0.3
- Add support for multiple wildcards in namespaces
- Accept string for
maxAge(converted byms) - Add
headersevent - Include link in default redirect response
- Use
EventEmitter.listenerCountto count listeners
- Do not throw un-catchable error on file open race condition
- Use
escape-htmlfor HTML escaping - deps: debug@1.0.2
- fix some debugging output colors on node.js 0.8
- deps: finished@1.2.2
- deps: fresh@0.2.2
- fix "event emitter leak" warnings
- deps: debug@1.0.1
- deps: finished@1.2.1
- Send
max-ageinCache-Controlin correct format
- Calculate ETag with md5 for reduced collisions
- Fix wrong behavior when index file matches directory
- Ignore stream errors after request ends
- Goodbye
EBADF, read
- Goodbye
- Skip directories in index file search
- deps: debug@0.8.1
- Fix sending files with dots without root set
- Coerce option types
- Accept API options in options object
- Set etags to "weak"
- Include file path in etag
- Make "Can't set headers after they are sent." catchable
- Send full entity-body for multi range requests
- Default directory access to 403 when index disabled
- Support multiple index paths
- Support "If-Range" header
- Control whether to generate etags
- deps: mime@1.2.11
- update range-parser and fresh
- update fresh
- Revert "Fix fd leak"
- Fix fd leak
- add options parameter to send() that is passed to fs.createReadStream() [kanongil]
- allow custom "Accept-Ranges" definition
- fix normalization of the root directory. Closes #3
- add passing of req explicitly for now (YUCK)
- Initial release