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.

588 lines
14 KiB

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