You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4.0 KiB
4.0 KiB
2.5.0 / 2018-03-29
- Ignore requests without
url
property - deps: ms@2.1.1
- Add
week
- Add
w
- Add
2.4.5 / 2017-09-26
- deps: etag@~1.8.1
- perf: replace regular expression with substring
- deps: fresh@0.5.2
- Fix regression matching multiple ETags in
If-None-Match
- perf: improve
If-None-Match
token parsing
- Fix regression matching multiple ETags in
2.4.4 / 2017-09-11
- deps: fresh@0.5.1
- Fix handling of modified headers with invalid dates
- perf: improve ETag match loop
- deps: parseurl@~1.3.2
- perf: reduce overhead for full URLs
- perf: unroll the "fast-path"
RegExp
- deps: safe-buffer@5.1.1
2.4.3 / 2017-05-16
- Use
safe-buffer
for improved Buffer API - deps: ms@2.0.0
2.4.2 / 2017-03-24
- deps: ms@1.0.0
2.4.1 / 2017-02-27
- Remove usage of
res._headers
private field - deps: fresh@0.5.0
- Fix incorrect result when
If-None-Match
has both*
and ETags - Fix weak
ETag
matching to match spec - perf: skip checking modified time if ETag check failed
- perf: skip parsing
If-None-Match
when noETag
header - perf: use
Date.parse
instead ofnew Date
- Fix incorrect result when
2.4.0 / 2017-02-19
- deps: etag@~1.8.0
- Use SHA1 instead of MD5 for ETag hashing
- Works with FIPS 140-2 OpenSSL configuration
- deps: fresh@0.4.0
- Fix false detection of
no-cache
request directive - perf: enable strict mode
- perf: hoist regular expressions
- perf: remove duplicate conditional
- perf: remove unnecessary boolean coercions
- Fix false detection of
- perf: simplify initial argument checking
2.3.2 / 2016-11-16
- deps: ms@0.7.2
2.3.1 / 2016-01-23
- deps: parseurl@~1.3.1
- perf: enable strict mode
2.3.0 / 2015-06-13
- Send non-chunked response for
OPTIONS
- deps: etag@~1.7.0
- Always include entity length in ETags for hash length extensions
- Generate non-Stats ETags using MD5 only (no longer CRC32)
- Remove base64 padding in ETags to shorten
- deps: fresh@0.3.0
- Add weak
ETag
matching support
- Add weak
- perf: enable strict mode
- perf: remove argument reassignment
- perf: remove bitwise operations
2.2.1 / 2015-05-14
- 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
2.2.0 / 2014-12-18
- Support query string in the URL
- 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
2.1.7 / 2014-11-19
- Avoid errors from enumerables on
Object.prototype
2.1.6 / 2014-10-16
- deps: etag@~1.5.0
2.1.5 / 2014-09-24
- deps: etag@~1.4.0
2.1.4 / 2014-09-15
- Fix content headers being sent in 304 response
- deps: etag@~1.3.1
- Improve ETag generation speed
2.1.3 / 2014-09-07
- deps: fresh@0.2.4
2.1.2 / 2014-09-05
- deps: etag@~1.3.0
- Improve ETag generation speed
2.1.1 / 2014-08-25
- Fix
ms
to be listed as a dependency
2.1.0 / 2014-08-24
- Accept string for
maxAge
(converted byms
) - Use
etag
to generateETag
header
2.0.1 / 2014-06-05
- Reduce byte size of
ETag
header
2.0.0 / 2014-05-02
path
argument is required; there is no default icon.- Accept
Buffer
of icon as first argument. - Non-GET and HEAD requests are denied.
- Send valid max-age value
- Support conditional requests
- Support max-age=0
- Support OPTIONS method
- Throw if
path
argument is directory.
1.0.2 / 2014-03-16
- Fixed content of default icon.
1.0.1 / 2014-03-11
- Fixed path to default icon.
1.0.0 / 2014-02-15
- Initial release