You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

609 lines
15 KiB

4 years ago
  1. 1.19.0 / 2019-04-25
  2. ===================
  3. * deps: bytes@3.1.0
  4. - Add petabyte (`pb`) support
  5. * deps: http-errors@1.7.2
  6. - Set constructor name when possible
  7. - deps: setprototypeof@1.1.1
  8. - deps: statuses@'>= 1.5.0 < 2'
  9. * deps: iconv-lite@0.4.24
  10. - Added encoding MIK
  11. * deps: qs@6.7.0
  12. - Fix parsing array brackets after index
  13. * deps: raw-body@2.4.0
  14. - deps: bytes@3.1.0
  15. - deps: http-errors@1.7.2
  16. - deps: iconv-lite@0.4.24
  17. * deps: type-is@~1.6.17
  18. - deps: mime-types@~2.1.24
  19. - perf: prevent internal `throw` on invalid type
  20. 1.18.3 / 2018-05-14
  21. ===================
  22. * Fix stack trace for strict json parse error
  23. * deps: depd@~1.1.2
  24. - perf: remove argument reassignment
  25. * deps: http-errors@~1.6.3
  26. - deps: depd@~1.1.2
  27. - deps: setprototypeof@1.1.0
  28. - deps: statuses@'>= 1.3.1 < 2'
  29. * deps: iconv-lite@0.4.23
  30. - Fix loading encoding with year appended
  31. - Fix deprecation warnings on Node.js 10+
  32. * deps: qs@6.5.2
  33. * deps: raw-body@2.3.3
  34. - deps: http-errors@1.6.3
  35. - deps: iconv-lite@0.4.23
  36. * deps: type-is@~1.6.16
  37. - deps: mime-types@~2.1.18
  38. 1.18.2 / 2017-09-22
  39. ===================
  40. * deps: debug@2.6.9
  41. * perf: remove argument reassignment
  42. 1.18.1 / 2017-09-12
  43. ===================
  44. * deps: content-type@~1.0.4
  45. - perf: remove argument reassignment
  46. - perf: skip parameter parsing when no parameters
  47. * deps: iconv-lite@0.4.19
  48. - Fix ISO-8859-1 regression
  49. - Update Windows-1255
  50. * deps: qs@6.5.1
  51. - Fix parsing & compacting very deep objects
  52. * deps: raw-body@2.3.2
  53. - deps: iconv-lite@0.4.19
  54. 1.18.0 / 2017-09-08
  55. ===================
  56. * Fix JSON strict violation error to match native parse error
  57. * Include the `body` property on verify errors
  58. * Include the `type` property on all generated errors
  59. * Use `http-errors` to set status code on errors
  60. * deps: bytes@3.0.0
  61. * deps: debug@2.6.8
  62. * deps: depd@~1.1.1
  63. - Remove unnecessary `Buffer` loading
  64. * deps: http-errors@~1.6.2
  65. - deps: depd@1.1.1
  66. * deps: iconv-lite@0.4.18
  67. - Add support for React Native
  68. - Add a warning if not loaded as utf-8
  69. - Fix CESU-8 decoding in Node.js 8
  70. - Improve speed of ISO-8859-1 encoding
  71. * deps: qs@6.5.0
  72. * deps: raw-body@2.3.1
  73. - Use `http-errors` for standard emitted errors
  74. - deps: bytes@3.0.0
  75. - deps: iconv-lite@0.4.18
  76. - perf: skip buffer decoding on overage chunk
  77. * perf: prevent internal `throw` when missing charset
  78. 1.17.2 / 2017-05-17
  79. ===================
  80. * deps: debug@2.6.7
  81. - Fix `DEBUG_MAX_ARRAY_LENGTH`
  82. - deps: ms@2.0.0
  83. * deps: type-is@~1.6.15
  84. - deps: mime-types@~2.1.15
  85. 1.17.1 / 2017-03-06
  86. ===================
  87. * deps: qs@6.4.0
  88. - Fix regression parsing keys starting with `[`
  89. 1.17.0 / 2017-03-01
  90. ===================
  91. * deps: http-errors@~1.6.1
  92. - Make `message` property enumerable for `HttpError`s
  93. - deps: setprototypeof@1.0.3
  94. * deps: qs@6.3.1
  95. - Fix compacting nested arrays
  96. 1.16.1 / 2017-02-10
  97. ===================
  98. * deps: debug@2.6.1
  99. - Fix deprecation messages in WebStorm and other editors
  100. - Undeprecate `DEBUG_FD` set to `1` or `2`
  101. 1.16.0 / 2017-01-17
  102. ===================
  103. * deps: debug@2.6.0
  104. - Allow colors in workers
  105. - Deprecated `DEBUG_FD` environment variable
  106. - Fix error when running under React Native
  107. - Use same color for same namespace
  108. - deps: ms@0.7.2
  109. * deps: http-errors@~1.5.1
  110. - deps: inherits@2.0.3
  111. - deps: setprototypeof@1.0.2
  112. - deps: statuses@'>= 1.3.1 < 2'
  113. * deps: iconv-lite@0.4.15
  114. - Added encoding MS-31J
  115. - Added encoding MS-932
  116. - Added encoding MS-936
  117. - Added encoding MS-949
  118. - Added encoding MS-950
  119. - Fix GBK/GB18030 handling of Euro character
  120. * deps: qs@6.2.1
  121. - Fix array parsing from skipping empty values
  122. * deps: raw-body@~2.2.0
  123. - deps: iconv-lite@0.4.15
  124. * deps: type-is@~1.6.14
  125. - deps: mime-types@~2.1.13
  126. 1.15.2 / 2016-06-19
  127. ===================
  128. * deps: bytes@2.4.0
  129. * deps: content-type@~1.0.2
  130. - perf: enable strict mode
  131. * deps: http-errors@~1.5.0
  132. - Use `setprototypeof` module to replace `__proto__` setting
  133. - deps: statuses@'>= 1.3.0 < 2'
  134. - perf: enable strict mode
  135. * deps: qs@6.2.0
  136. * deps: raw-body@~2.1.7
  137. - deps: bytes@2.4.0
  138. - perf: remove double-cleanup on happy path
  139. * deps: type-is@~1.6.13
  140. - deps: mime-types@~2.1.11
  141. 1.15.1 / 2016-05-05
  142. ===================
  143. * deps: bytes@2.3.0
  144. - Drop partial bytes on all parsed units
  145. - Fix parsing byte string that looks like hex
  146. * deps: raw-body@~2.1.6
  147. - deps: bytes@2.3.0
  148. * deps: type-is@~1.6.12
  149. - deps: mime-types@~2.1.10
  150. 1.15.0 / 2016-02-10
  151. ===================
  152. * deps: http-errors@~1.4.0
  153. - Add `HttpError` export, for `err instanceof createError.HttpError`
  154. - deps: inherits@2.0.1
  155. - deps: statuses@'>= 1.2.1 < 2'
  156. * deps: qs@6.1.0
  157. * deps: type-is@~1.6.11
  158. - deps: mime-types@~2.1.9
  159. 1.14.2 / 2015-12-16
  160. ===================
  161. * deps: bytes@2.2.0
  162. * deps: iconv-lite@0.4.13
  163. * deps: qs@5.2.0
  164. * deps: raw-body@~2.1.5
  165. - deps: bytes@2.2.0
  166. - deps: iconv-lite@0.4.13
  167. * deps: type-is@~1.6.10
  168. - deps: mime-types@~2.1.8
  169. 1.14.1 / 2015-09-27
  170. ===================
  171. * Fix issue where invalid charset results in 400 when `verify` used
  172. * deps: iconv-lite@0.4.12
  173. - Fix CESU-8 decoding in Node.js 4.x
  174. * deps: raw-body@~2.1.4
  175. - Fix masking critical errors from `iconv-lite`
  176. - deps: iconv-lite@0.4.12
  177. * deps: type-is@~1.6.9
  178. - deps: mime-types@~2.1.7
  179. 1.14.0 / 2015-09-16
  180. ===================
  181. * Fix JSON strict parse error to match syntax errors
  182. * Provide static `require` analysis in `urlencoded` parser
  183. * deps: depd@~1.1.0
  184. - Support web browser loading
  185. * deps: qs@5.1.0
  186. * deps: raw-body@~2.1.3
  187. - Fix sync callback when attaching data listener causes sync read
  188. * deps: type-is@~1.6.8
  189. - Fix type error when given invalid type to match against
  190. - deps: mime-types@~2.1.6
  191. 1.13.3 / 2015-07-31
  192. ===================
  193. * deps: type-is@~1.6.6
  194. - deps: mime-types@~2.1.4
  195. 1.13.2 / 2015-07-05
  196. ===================
  197. * deps: iconv-lite@0.4.11
  198. * deps: qs@4.0.0
  199. - Fix dropping parameters like `hasOwnProperty`
  200. - Fix user-visible incompatibilities from 3.1.0
  201. - Fix various parsing edge cases
  202. * deps: raw-body@~2.1.2
  203. - Fix error stack traces to skip `makeError`
  204. - deps: iconv-lite@0.4.11
  205. * deps: type-is@~1.6.4
  206. - deps: mime-types@~2.1.2
  207. - perf: enable strict mode
  208. - perf: remove argument reassignment
  209. 1.13.1 / 2015-06-16
  210. ===================
  211. * deps: qs@2.4.2
  212. - Downgraded from 3.1.0 because of user-visible incompatibilities
  213. 1.13.0 / 2015-06-14
  214. ===================
  215. * Add `statusCode` property on `Error`s, in addition to `status`
  216. * Change `type` default to `application/json` for JSON parser
  217. * Change `type` default to `application/x-www-form-urlencoded` for urlencoded parser
  218. * Provide static `require` analysis
  219. * Use the `http-errors` module to generate errors
  220. * deps: bytes@2.1.0
  221. - Slight optimizations
  222. * deps: iconv-lite@0.4.10
  223. - The encoding UTF-16 without BOM now defaults to UTF-16LE when detection fails
  224. - Leading BOM is now removed when decoding
  225. * deps: on-finished@~2.3.0
  226. - Add defined behavior for HTTP `CONNECT` requests
  227. - Add defined behavior for HTTP `Upgrade` requests
  228. - deps: ee-first@1.1.1
  229. * deps: qs@3.1.0
  230. - Fix dropping parameters like `hasOwnProperty`
  231. - Fix various parsing edge cases
  232. - Parsed object now has `null` prototype
  233. * deps: raw-body@~2.1.1
  234. - Use `unpipe` module for unpiping requests
  235. - deps: iconv-lite@0.4.10
  236. * deps: type-is@~1.6.3
  237. - deps: mime-types@~2.1.1
  238. - perf: reduce try block size
  239. - perf: remove bitwise operations
  240. * perf: enable strict mode
  241. * perf: remove argument reassignment
  242. * perf: remove delete call
  243. 1.12.4 / 2015-05-10
  244. ===================
  245. * deps: debug@~2.2.0
  246. * deps: qs@2.4.2
  247. - Fix allowing parameters like `constructor`
  248. * deps: on-finished@~2.2.1
  249. * deps: raw-body@~2.0.1
  250. - Fix a false-positive when unpiping in Node.js 0.8
  251. - deps: bytes@2.0.1
  252. * deps: type-is@~1.6.2
  253. - deps: mime-types@~2.0.11
  254. 1.12.3 / 2015-04-15
  255. ===================
  256. * Slight efficiency improvement when not debugging
  257. * deps: depd@~1.0.1
  258. * deps: iconv-lite@0.4.8
  259. - Add encoding alias UNICODE-1-1-UTF-7
  260. * deps: raw-body@1.3.4
  261. - Fix hanging callback if request aborts during read
  262. - deps: iconv-lite@0.4.8
  263. 1.12.2 / 2015-03-16
  264. ===================
  265. * deps: qs@2.4.1
  266. - Fix error when parameter `hasOwnProperty` is present
  267. 1.12.1 / 2015-03-15
  268. ===================
  269. * deps: debug@~2.1.3
  270. - Fix high intensity foreground color for bold
  271. - deps: ms@0.7.0
  272. * deps: type-is@~1.6.1
  273. - deps: mime-types@~2.0.10
  274. 1.12.0 / 2015-02-13
  275. ===================
  276. * add `debug` messages
  277. * accept a function for the `type` option
  278. * use `content-type` to parse `Content-Type` headers
  279. * deps: iconv-lite@0.4.7
  280. - Gracefully support enumerables on `Object.prototype`
  281. * deps: raw-body@1.3.3
  282. - deps: iconv-lite@0.4.7
  283. * deps: type-is@~1.6.0
  284. - fix argument reassignment
  285. - fix false-positives in `hasBody` `Transfer-Encoding` check
  286. - support wildcard for both type and subtype (`*/*`)
  287. - deps: mime-types@~2.0.9
  288. 1.11.0 / 2015-01-30
  289. ===================
  290. * make internal `extended: true` depth limit infinity
  291. * deps: type-is@~1.5.6
  292. - deps: mime-types@~2.0.8
  293. 1.10.2 / 2015-01-20
  294. ===================
  295. * deps: iconv-lite@0.4.6
  296. - Fix rare aliases of single-byte encodings
  297. * deps: raw-body@1.3.2
  298. - deps: iconv-lite@0.4.6
  299. 1.10.1 / 2015-01-01
  300. ===================
  301. * deps: on-finished@~2.2.0
  302. * deps: type-is@~1.5.5
  303. - deps: mime-types@~2.0.7
  304. 1.10.0 / 2014-12-02
  305. ===================
  306. * make internal `extended: true` array limit dynamic
  307. 1.9.3 / 2014-11-21
  308. ==================
  309. * deps: iconv-lite@0.4.5
  310. - Fix Windows-31J and X-SJIS encoding support
  311. * deps: qs@2.3.3
  312. - Fix `arrayLimit` behavior
  313. * deps: raw-body@1.3.1
  314. - deps: iconv-lite@0.4.5
  315. * deps: type-is@~1.5.3
  316. - deps: mime-types@~2.0.3
  317. 1.9.2 / 2014-10-27
  318. ==================
  319. * deps: qs@2.3.2
  320. - Fix parsing of mixed objects and values
  321. 1.9.1 / 2014-10-22
  322. ==================
  323. * deps: on-finished@~2.1.1
  324. - Fix handling of pipelined requests
  325. * deps: qs@2.3.0
  326. - Fix parsing of mixed implicit and explicit arrays
  327. * deps: type-is@~1.5.2
  328. - deps: mime-types@~2.0.2
  329. 1.9.0 / 2014-09-24
  330. ==================
  331. * include the charset in "unsupported charset" error message
  332. * include the encoding in "unsupported content encoding" error message
  333. * deps: depd@~1.0.0
  334. 1.8.4 / 2014-09-23
  335. ==================
  336. * fix content encoding to be case-insensitive
  337. 1.8.3 / 2014-09-19
  338. ==================
  339. * deps: qs@2.2.4
  340. - Fix issue with object keys starting with numbers truncated
  341. 1.8.2 / 2014-09-15
  342. ==================
  343. * deps: depd@0.4.5
  344. 1.8.1 / 2014-09-07
  345. ==================
  346. * deps: media-typer@0.3.0
  347. * deps: type-is@~1.5.1
  348. 1.8.0 / 2014-09-05
  349. ==================
  350. * make empty-body-handling consistent between chunked requests
  351. - empty `json` produces `{}`
  352. - empty `raw` produces `new Buffer(0)`
  353. - empty `text` produces `''`
  354. - empty `urlencoded` produces `{}`
  355. * deps: qs@2.2.3
  356. - Fix issue where first empty value in array is discarded
  357. * deps: type-is@~1.5.0
  358. - fix `hasbody` to be true for `content-length: 0`
  359. 1.7.0 / 2014-09-01
  360. ==================
  361. * add `parameterLimit` option to `urlencoded` parser
  362. * change `urlencoded` extended array limit to 100
  363. * respond with 413 when over `parameterLimit` in `urlencoded`
  364. 1.6.7 / 2014-08-29
  365. ==================
  366. * deps: qs@2.2.2
  367. - Remove unnecessary cloning
  368. 1.6.6 / 2014-08-27
  369. ==================
  370. * deps: qs@2.2.0
  371. - Array parsing fix
  372. - Performance improvements
  373. 1.6.5 / 2014-08-16
  374. ==================
  375. * deps: on-finished@2.1.0
  376. 1.6.4 / 2014-08-14
  377. ==================
  378. * deps: qs@1.2.2
  379. 1.6.3 / 2014-08-10
  380. ==================
  381. * deps: qs@1.2.1
  382. 1.6.2 / 2014-08-07
  383. ==================
  384. * deps: qs@1.2.0
  385. - Fix parsing array of objects
  386. 1.6.1 / 2014-08-06
  387. ==================
  388. * deps: qs@1.1.0
  389. - Accept urlencoded square brackets
  390. - Accept empty values in implicit array notation
  391. 1.6.0 / 2014-08-05
  392. ==================
  393. * deps: qs@1.0.2
  394. - Complete rewrite
  395. - Limits array length to 20
  396. - Limits object depth to 5
  397. - Limits parameters to 1,000
  398. 1.5.2 / 2014-07-27
  399. ==================
  400. * deps: depd@0.4.4
  401. - Work-around v8 generating empty stack traces
  402. 1.5.1 / 2014-07-26
  403. ==================
  404. * deps: depd@0.4.3
  405. - Fix exception when global `Error.stackTraceLimit` is too low
  406. 1.5.0 / 2014-07-20
  407. ==================
  408. * deps: depd@0.4.2
  409. - Add `TRACE_DEPRECATION` environment variable
  410. - Remove non-standard grey color from color output
  411. - Support `--no-deprecation` argument
  412. - Support `--trace-deprecation` argument
  413. * deps: iconv-lite@0.4.4
  414. - Added encoding UTF-7
  415. * deps: raw-body@1.3.0
  416. - deps: iconv-lite@0.4.4
  417. - Added encoding UTF-7
  418. - Fix `Cannot switch to old mode now` error on Node.js 0.10+
  419. * deps: type-is@~1.3.2
  420. 1.4.3 / 2014-06-19
  421. ==================
  422. * deps: type-is@1.3.1
  423. - fix global variable leak
  424. 1.4.2 / 2014-06-19
  425. ==================
  426. * deps: type-is@1.3.0
  427. - improve type parsing
  428. 1.4.1 / 2014-06-19
  429. ==================
  430. * fix urlencoded extended deprecation message
  431. 1.4.0 / 2014-06-19
  432. ==================
  433. * add `text` parser
  434. * add `raw` parser
  435. * check accepted charset in content-type (accepts utf-8)
  436. * check accepted encoding in content-encoding (accepts identity)
  437. * deprecate `bodyParser()` middleware; use `.json()` and `.urlencoded()` as needed
  438. * deprecate `urlencoded()` without provided `extended` option
  439. * lazy-load urlencoded parsers
  440. * parsers split into files for reduced mem usage
  441. * support gzip and deflate bodies
  442. - set `inflate: false` to turn off
  443. * deps: raw-body@1.2.2
  444. - Support all encodings from `iconv-lite`
  445. 1.3.1 / 2014-06-11
  446. ==================
  447. * deps: type-is@1.2.1
  448. - Switch dependency from mime to mime-types@1.0.0
  449. 1.3.0 / 2014-05-31
  450. ==================
  451. * add `extended` option to urlencoded parser
  452. 1.2.2 / 2014-05-27
  453. ==================
  454. * deps: raw-body@1.1.6
  455. - assert stream encoding on node.js 0.8
  456. - assert stream encoding on node.js < 0.10.6
  457. - deps: bytes@1
  458. 1.2.1 / 2014-05-26
  459. ==================
  460. * invoke `next(err)` after request fully read
  461. - prevents hung responses and socket hang ups
  462. 1.2.0 / 2014-05-11
  463. ==================
  464. * add `verify` option
  465. * deps: type-is@1.2.0
  466. - support suffix matching
  467. 1.1.2 / 2014-05-11
  468. ==================
  469. * improve json parser speed
  470. 1.1.1 / 2014-05-11
  471. ==================
  472. * fix repeated limit parsing with every request
  473. 1.1.0 / 2014-05-10
  474. ==================
  475. * add `type` option
  476. * deps: pin for safety and consistency
  477. 1.0.2 / 2014-04-14
  478. ==================
  479. * use `type-is` module
  480. 1.0.1 / 2014-03-20
  481. ==================
  482. * lower default limits to 100kb