Releases: expressjs/body-parser
Releases · expressjs/body-parser
1.13.0
- Add
statusCode
property onError
s, in addition tostatus
- Change
type
default toapplication/json
for JSON parser - Change
type
default toapplication/x-www-form-urlencoded
for urlencoded parser - Provide static
require
analysis - Use the
http-errors
module to generate errors - deps: [email protected]
- Slight optimizations
- deps: [email protected]
- The encoding UTF-16 without BOM now defaults to UTF-16LE when detection fails
- Leading BOM is now removed when decoding
- deps: on-finished@~2.3.0
- Add defined behavior for HTTP
CONNECT
requests - Add defined behavior for HTTP
Upgrade
requests - deps: [email protected]
- Add defined behavior for HTTP
- deps: [email protected]
- Fix dropping parameters like
hasOwnProperty
- Fix various parsing edge cases
- Parsed object now has
null
prototype
- Fix dropping parameters like
- deps: raw-body@~2.1.1
- Use
unpipe
module for unpiping requests - deps: [email protected]
- Use
- deps: type-is@~1.6.3
- deps: mime-types@~2.1.1
- perf: reduce try block size
- perf: remove bitwise operations
- perf: enable strict mode
- perf: remove argument reassignment
- perf: remove delete call
1.12.4
- deps: debug@~2.2.0
- deps: [email protected]
- Fix allowing parameters like
constructor
- Fix allowing parameters like
- deps: on-finished@~2.2.1
- deps: raw-body@~2.0.1
- Fix a false-positive when unpiping in Node.js 0.8
- deps: [email protected]
- deps: type-is@~1.6.2
- deps: mime-types@~2.0.11
1.12.3
- Slight efficiency improvement when not debugging
- deps: depd@~1.0.1
- deps: [email protected]
- Add encoding alias UNICODE-1-1-UTF-7
- deps: [email protected]
- Fix hanging callback if request aborts during read
- deps: [email protected]
1.12.2
- deps: [email protected]
- Fix error when parameter
hasOwnProperty
is present
- Fix error when parameter
1.12.1
- deps: debug@~2.1.3
- Fix high intensity foreground color for bold
- deps: [email protected]
- deps: type-is@~1.6.1
- deps: mime-types@~2.0.10
1.12.0
- add
debug
messages - accept a function for the
type
option - use
content-type
to parseContent-Type
headers - deps: [email protected]
- Gracefully support enumerables on
Object.prototype
- Gracefully support enumerables on
- deps: [email protected]
- deps: [email protected]
- deps: type-is@~1.6.0
- fix argument reassignment
- fix false-positives in
hasBody
Transfer-Encoding
check - support wildcard for both type and subtype (
*/*
) - deps: mime-types@~2.0.9
1.11.0
- make internal
extended: true
depth limit infinity - deps: type-is@~1.5.6
- deps: mime-types@~2.0.8
1.10.2
- deps: [email protected]
- Fix rare aliases of single-byte encodings
- deps: [email protected]
- deps: [email protected]
1.10.1
- deps: on-finished@~2.2.0
- deps: type-is@~1.5.5
- deps: mime-types@~2.0.7
1.10.0
- make internal
extended: true
array limit dynamic