- deps: type-is@~1.5.4
- deps: mime-types@~2.0.4
- make internal
extended: true
array limit dynamic
- deps: [email protected]
- Fix Windows-31J and X-SJIS encoding support
- deps: [email protected]
- Fix
arrayLimit
behavior
- Fix
- deps: [email protected]
- deps: [email protected]
- deps: type-is@~1.5.3
- deps: mime-types@~2.0.3
- deps: [email protected]
- Fix parsing of mixed objects and values
- deps: on-finished@~2.1.1
- Fix handling of pipelined requests
- deps: [email protected]
- Fix parsing of mixed implicit and explicit arrays
- deps: type-is@~1.5.2
- deps: mime-types@~2.0.2
- include the charset in "unsupported charset" error message
- include the encoding in "unsupported content encoding" error message
- deps: depd@~1.0.0
- fix content encoding to be case-insensitive
- deps: [email protected]
- Fix issue with object keys starting with numbers truncated
- deps: [email protected]
- deps: [email protected]
- deps: type-is@~1.5.1
- make empty-body-handling consistent between chunked requests
- empty
json
produces{}
- empty
raw
producesnew Buffer(0)
- empty
text
produces''
- empty
urlencoded
produces{}
- empty
- deps: [email protected]
- Fix issue where first empty value in array is discarded
- deps: type-is@~1.5.0
- fix
hasbody
to be true forcontent-length: 0
- fix
- add
parameterLimit
option tourlencoded
parser - change
urlencoded
extended array limit to 100 - respond with 413 when over
parameterLimit
inurlencoded
- deps: [email protected]
- Remove unnecessary cloning
- deps: [email protected]
- Array parsing fix
- Performance improvements
- deps: [email protected]
- deps: [email protected]
- deps: [email protected]
- deps: [email protected]
- Fix parsing array of objects
- deps: [email protected]
- Accept urlencoded square brackets
- Accept empty values in implicit array notation
- deps: [email protected]
- Complete rewrite
- Limits array length to 20
- Limits object depth to 5
- Limits parameters to 1,000
- deps: [email protected]
- Work-around v8 generating empty stack traces
- deps: [email protected]
- Fix exception when global
Error.stackTraceLimit
is too low
- Fix exception when global
- deps: [email protected]
- Add
TRACE_DEPRECATION
environment variable - Remove non-standard grey color from color output
- Support
--no-deprecation
argument - Support
--trace-deprecation
argument
- Add
- deps: [email protected]
- Added encoding UTF-7
- deps: [email protected]
- deps: [email protected]
- Added encoding UTF-7
- Fix
Cannot switch to old mode now
error on Node.js 0.10+
- deps: type-is@~1.3.2
- deps: [email protected]
- fix global variable leak
- deps: [email protected]
- improve type parsing
- fix urlencoded extended deprecation message
- add
text
parser - add
raw
parser - check accepted charset in content-type (accepts utf-8)
- check accepted encoding in content-encoding (accepts identity)
- deprecate
bodyParser()
middleware; use.json()
and.urlencoded()
as needed - deprecate
urlencoded()
without providedextended
option - lazy-load urlencoded parsers
- parsers split into files for reduced mem usage
- support gzip and deflate bodies
- set
inflate: false
to turn off
- set
- deps: [email protected]
- Support all encodings from
iconv-lite
- Support all encodings from
- deps: [email protected]
- Switch dependency from mime to [email protected]
- add
extended
option to urlencoded parser
- deps: [email protected]
- assert stream encoding on node.js 0.8
- assert stream encoding on node.js < 0.10.6
- deps: bytes@1
- invoke
next(err)
after request fully read- prevents hung responses and socket hang ups
- add
verify
option - deps: [email protected]
- support suffix matching
- improve json parser speed
- fix repeated limit parsing with every request
- add
type
option - deps: pin for safety and consistency
- use
type-is
module
- lower default limits to 100kb