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.

600 lines
31 KiB

1 month ago
  1. ## **6.13.0**
  2. - [New] `parse`: add `strictDepth` option (#511)
  3. - [Tests] use `npm audit` instead of `aud`
  4. ## **6.12.3**
  5. - [Fix] `parse`: properly account for `strictNullHandling` when `allowEmptyArrays`
  6. - [meta] fix changelog indentation
  7. ## **6.12.2**
  8. - [Fix] `parse`: parse encoded square brackets (#506)
  9. - [readme] add CII best practices badge
  10. ## **6.12.1**
  11. - [Fix] `parse`: Disable `decodeDotInKeys` by default to restore previous behavior (#501)
  12. - [Performance] `utils`: Optimize performance under large data volumes, reduce memory usage, and speed up processing (#502)
  13. - [Refactor] `utils`: use `+=`
  14. - [Tests] increase coverage
  15. ## **6.12.0**
  16. - [New] `parse`/`stringify`: add `decodeDotInKeys`/`encodeDotKeys` options (#488)
  17. - [New] `parse`: add `duplicates` option
  18. - [New] `parse`/`stringify`: add `allowEmptyArrays` option to allow [] in object values (#487)
  19. - [Refactor] `parse`/`stringify`: move allowDots config logic to its own variable
  20. - [Refactor] `stringify`: move option-handling code into `normalizeStringifyOptions`
  21. - [readme] update readme, add logos (#484)
  22. - [readme] `stringify`: clarify default `arrayFormat` behavior
  23. - [readme] fix line wrapping
  24. - [readme] remove dead badges
  25. - [Deps] update `side-channel`
  26. - [meta] make the dist build 50% smaller
  27. - [meta] add `sideEffects` flag
  28. - [meta] run build in prepack, not prepublish
  29. - [Tests] `parse`: remove useless tests; add coverage
  30. - [Tests] `stringify`: increase coverage
  31. - [Tests] use `mock-property`
  32. - [Tests] `stringify`: improve coverage
  33. - [Dev Deps] update `@ljharb/eslint-config `, `aud`, `has-override-mistake`, `has-property-descriptors`, `mock-property`, `npmignore`, `object-inspect`, `tape`
  34. - [Dev Deps] pin `glob`, since v10.3.8+ requires a broken `jackspeak`
  35. - [Dev Deps] pin `jackspeak` since 2.1.2+ depends on npm aliases, which kill the install process in npm < 6
  36. ## **6.11.2**
  37. - [Fix] `parse`: Fix parsing when the global Object prototype is frozen (#473)
  38. - [Tests] add passing test cases with empty keys (#473)
  39. ## **6.11.1**
  40. - [Fix] `stringify`: encode comma values more consistently (#463)
  41. - [readme] add usage of `filter` option for injecting custom serialization, i.e. of custom types (#447)
  42. - [meta] remove extraneous code backticks (#457)
  43. - [meta] fix changelog markdown
  44. - [actions] update checkout action
  45. - [actions] restrict action permissions
  46. - [Dev Deps] update `@ljharb/eslint-config`, `aud`, `object-inspect`, `tape`
  47. ## **6.11.0**
  48. - [New] [Fix] `stringify`: revert 0e903c0; add `commaRoundTrip` option (#442)
  49. - [readme] fix version badge
  50. ## **6.10.5**
  51. - [Fix] `stringify`: with `arrayFormat: comma`, properly include an explicit `[]` on a single-item array (#434)
  52. ## **6.10.4**
  53. - [Fix] `stringify`: with `arrayFormat: comma`, include an explicit `[]` on a single-item array (#441)
  54. - [meta] use `npmignore` to autogenerate an npmignore file
  55. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `has-symbol`, `object-inspect`, `tape`
  56. ## **6.10.3**
  57. - [Fix] `parse`: ignore `__proto__` keys (#428)
  58. - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
  59. - [actions] reuse common workflows
  60. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `object-inspect`, `tape`
  61. ## **6.10.2**
  62. - [Fix] `stringify`: actually fix cyclic references (#426)
  63. - [Fix] `stringify`: avoid encoding arrayformat comma when `encodeValuesOnly = true` (#424)
  64. - [readme] remove travis badge; add github actions/codecov badges; update URLs
  65. - [Docs] add note and links for coercing primitive values (#408)
  66. - [actions] update codecov uploader
  67. - [actions] update workflows
  68. - [Tests] clean up stringify tests slightly
  69. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `object-inspect`, `safe-publish-latest`, `tape`
  70. ## **6.10.1**
  71. - [Fix] `stringify`: avoid exception on repeated object values (#402)
  72. ## **6.10.0**
  73. - [New] `stringify`: throw on cycles, instead of an infinite loop (#395, #394, #393)
  74. - [New] `parse`: add `allowSparse` option for collapsing arrays with missing indices (#312)
  75. - [meta] fix README.md (#399)
  76. - [meta] only run `npm run dist` in publish, not install
  77. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `has-symbols`, `tape`
  78. - [Tests] fix tests on node v0.6
  79. - [Tests] use `ljharb/actions/node/install` instead of `ljharb/actions/node/run`
  80. - [Tests] Revert "[meta] ignore eclint transitive audit warning"
  81. ## **6.9.7**
  82. - [Fix] `parse`: ignore `__proto__` keys (#428)
  83. - [Fix] `stringify`: avoid encoding arrayformat comma when `encodeValuesOnly = true` (#424)
  84. - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
  85. - [readme] remove travis badge; add github actions/codecov badges; update URLs
  86. - [Docs] add note and links for coercing primitive values (#408)
  87. - [Tests] clean up stringify tests slightly
  88. - [meta] fix README.md (#399)
  89. - Revert "[meta] ignore eclint transitive audit warning"
  90. - [actions] backport actions from main
  91. - [Dev Deps] backport updates from main
  92. ## **6.9.6**
  93. - [Fix] restore `dist` dir; mistakenly removed in d4f6c32
  94. ## **6.9.5**
  95. - [Fix] `stringify`: do not encode parens for RFC1738
  96. - [Fix] `stringify`: fix arrayFormat comma with empty array/objects (#350)
  97. - [Refactor] `format`: remove `util.assign` call
  98. - [meta] add "Allow Edits" workflow; update rebase workflow
  99. - [actions] switch Automatic Rebase workflow to `pull_request_target` event
  100. - [Tests] `stringify`: add tests for #378
  101. - [Tests] migrate tests to Github Actions
  102. - [Tests] run `nyc` on all tests; use `tape` runner
  103. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `browserify`, `mkdirp`, `object-inspect`, `tape`; add `aud`
  104. ## **6.9.4**
  105. - [Fix] `stringify`: when `arrayFormat` is `comma`, respect `serializeDate` (#364)
  106. - [Refactor] `stringify`: reduce branching (part of #350)
  107. - [Refactor] move `maybeMap` to `utils`
  108. - [Dev Deps] update `browserify`, `tape`
  109. ## **6.9.3**
  110. - [Fix] proper comma parsing of URL-encoded commas (#361)
  111. - [Fix] parses comma delimited array while having percent-encoded comma treated as normal text (#336)
  112. ## **6.9.2**
  113. - [Fix] `parse`: Fix parsing array from object with `comma` true (#359)
  114. - [Fix] `parse`: throw a TypeError instead of an Error for bad charset (#349)
  115. - [meta] ignore eclint transitive audit warning
  116. - [meta] fix indentation in package.json
  117. - [meta] add tidelift marketing copy
  118. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `object-inspect`, `has-symbols`, `tape`, `mkdirp`, `iconv-lite`
  119. - [actions] add automatic rebasing / merge commit blocking
  120. ## **6.9.1**
  121. - [Fix] `parse`: with comma true, handle field that holds an array of arrays (#335)
  122. - [Fix] `parse`: with comma true, do not split non-string values (#334)
  123. - [meta] add `funding` field
  124. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`
  125. - [Tests] use shared travis-ci config
  126. ## **6.9.0**
  127. - [New] `parse`/`stringify`: Pass extra key/value argument to `decoder` (#333)
  128. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `evalmd`
  129. - [Tests] `parse`: add passing `arrayFormat` tests
  130. - [Tests] add `posttest` using `npx aud` to run `npm audit` without a lockfile
  131. - [Tests] up to `node` `v12.10`, `v11.15`, `v10.16`, `v8.16`
  132. - [Tests] `Buffer.from` in node v5.0-v5.9 and v4.0-v4.4 requires a TypedArray
  133. ## **6.8.3**
  134. - [Fix] `parse`: ignore `__proto__` keys (#428)
  135. - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
  136. - [Fix] `stringify`: avoid encoding arrayformat comma when `encodeValuesOnly = true` (#424)
  137. - [readme] remove travis badge; add github actions/codecov badges; update URLs
  138. - [Tests] clean up stringify tests slightly
  139. - [Docs] add note and links for coercing primitive values (#408)
  140. - [meta] fix README.md (#399)
  141. - [actions] backport actions from main
  142. - [Dev Deps] backport updates from main
  143. - [Refactor] `stringify`: reduce branching
  144. - [meta] do not publish workflow files
  145. ## **6.8.2**
  146. - [Fix] proper comma parsing of URL-encoded commas (#361)
  147. - [Fix] parses comma delimited array while having percent-encoded comma treated as normal text (#336)
  148. ## **6.8.1**
  149. - [Fix] `parse`: Fix parsing array from object with `comma` true (#359)
  150. - [Fix] `parse`: throw a TypeError instead of an Error for bad charset (#349)
  151. - [Fix] `parse`: with comma true, handle field that holds an array of arrays (#335)
  152. - [fix] `parse`: with comma true, do not split non-string values (#334)
  153. - [meta] add tidelift marketing copy
  154. - [meta] add `funding` field
  155. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`, `safe-publish-latest`, `evalmd`, `has-symbols`, `iconv-lite`, `mkdirp`, `object-inspect`
  156. - [Tests] `parse`: add passing `arrayFormat` tests
  157. - [Tests] use shared travis-ci configs
  158. - [Tests] `Buffer.from` in node v5.0-v5.9 and v4.0-v4.4 requires a TypedArray
  159. - [actions] add automatic rebasing / merge commit blocking
  160. ## **6.8.0**
  161. - [New] add `depth=false` to preserve the original key; [Fix] `depth=0` should preserve the original key (#326)
  162. - [New] [Fix] stringify symbols and bigints
  163. - [Fix] ensure node 0.12 can stringify Symbols
  164. - [Fix] fix for an impossible situation: when the formatter is called with a non-string value
  165. - [Refactor] `formats`: tiny bit of cleanup.
  166. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `browserify`, `safe-publish-latest`, `iconv-lite`, `tape`
  167. - [Tests] add tests for `depth=0` and `depth=false` behavior, both current and intuitive/intended (#326)
  168. - [Tests] use `eclint` instead of `editorconfig-tools`
  169. - [docs] readme: add security note
  170. - [meta] add github sponsorship
  171. - [meta] add FUNDING.yml
  172. - [meta] Clean up license text so it’s properly detected as BSD-3-Clause
  173. ## **6.7.3**
  174. - [Fix] `parse`: ignore `__proto__` keys (#428)
  175. - [Fix] `stringify`: avoid encoding arrayformat comma when `encodeValuesOnly = true` (#424)
  176. - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
  177. - [readme] remove travis badge; add github actions/codecov badges; update URLs
  178. - [Docs] add note and links for coercing primitive values (#408)
  179. - [meta] fix README.md (#399)
  180. - [meta] do not publish workflow files
  181. - [actions] backport actions from main
  182. - [Dev Deps] backport updates from main
  183. - [Tests] use `nyc` for coverage
  184. - [Tests] clean up stringify tests slightly
  185. ## **6.7.2**
  186. - [Fix] proper comma parsing of URL-encoded commas (#361)
  187. - [Fix] parses comma delimited array while having percent-encoded comma treated as normal text (#336)
  188. ## **6.7.1**
  189. - [Fix] `parse`: Fix parsing array from object with `comma` true (#359)
  190. - [Fix] `parse`: with comma true, handle field that holds an array of arrays (#335)
  191. - [fix] `parse`: with comma true, do not split non-string values (#334)
  192. - [Fix] `parse`: throw a TypeError instead of an Error for bad charset (#349)
  193. - [Fix] fix for an impossible situation: when the formatter is called with a non-string value
  194. - [Refactor] `formats`: tiny bit of cleanup.
  195. - readme: add security note
  196. - [meta] add tidelift marketing copy
  197. - [meta] add `funding` field
  198. - [meta] add FUNDING.yml
  199. - [meta] Clean up license text so it’s properly detected as BSD-3-Clause
  200. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`, `safe-publish-latest`, `evalmd`, `iconv-lite`, `mkdirp`, `object-inspect`, `browserify`
  201. - [Tests] `parse`: add passing `arrayFormat` tests
  202. - [Tests] use shared travis-ci configs
  203. - [Tests] `Buffer.from` in node v5.0-v5.9 and v4.0-v4.4 requires a TypedArray
  204. - [Tests] add tests for `depth=0` and `depth=false` behavior, both current and intuitive/intended
  205. - [Tests] use `eclint` instead of `editorconfig-tools`
  206. - [actions] add automatic rebasing / merge commit blocking
  207. ## **6.7.0**
  208. - [New] `stringify`/`parse`: add `comma` as an `arrayFormat` option (#276, #219)
  209. - [Fix] correctly parse nested arrays (#212)
  210. - [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source, also with an array source
  211. - [Robustness] `stringify`: cache `Object.prototype.hasOwnProperty`
  212. - [Refactor] `utils`: `isBuffer`: small tweak; add tests
  213. - [Refactor] use cached `Array.isArray`
  214. - [Refactor] `parse`/`stringify`: make a function to normalize the options
  215. - [Refactor] `utils`: reduce observable [[Get]]s
  216. - [Refactor] `stringify`/`utils`: cache `Array.isArray`
  217. - [Tests] always use `String(x)` over `x.toString()`
  218. - [Tests] fix Buffer tests to work in node < 4.5 and node < 5.10
  219. - [Tests] temporarily allow coverage to fail
  220. ## **6.6.1**
  221. - [Fix] `parse`: ignore `__proto__` keys (#428)
  222. - [Fix] fix for an impossible situation: when the formatter is called with a non-string value
  223. - [Fix] `utils.merge`: avoid a crash with a null target and an array source
  224. - [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source
  225. - [Fix] correctly parse nested arrays
  226. - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
  227. - [Robustness] `stringify`: cache `Object.prototype.hasOwnProperty`
  228. - [Refactor] `formats`: tiny bit of cleanup.
  229. - [Refactor] `utils`: `isBuffer`: small tweak; add tests
  230. - [Refactor]: `stringify`/`utils`: cache `Array.isArray`
  231. - [Refactor] `utils`: reduce observable [[Get]]s
  232. - [Refactor] use cached `Array.isArray`
  233. - [Refactor] `parse`/`stringify`: make a function to normalize the options
  234. - [readme] remove travis badge; add github actions/codecov badges; update URLs
  235. - [Docs] Clarify the need for "arrayLimit" option
  236. - [meta] fix README.md (#399)
  237. - [meta] do not publish workflow files
  238. - [meta] Clean up license text so it’s properly detected as BSD-3-Clause
  239. - [meta] add FUNDING.yml
  240. - [meta] Fixes typo in CHANGELOG.md
  241. - [actions] backport actions from main
  242. - [Tests] fix Buffer tests to work in node < 4.5 and node < 5.10
  243. - [Tests] always use `String(x)` over `x.toString()`
  244. - [Dev Deps] backport from main
  245. ## **6.6.0**
  246. - [New] Add support for iso-8859-1, utf8 "sentinel" and numeric entities (#268)
  247. - [New] move two-value combine to a `utils` function (#189)
  248. - [Fix] `stringify`: fix a crash with `strictNullHandling` and a custom `filter`/`serializeDate` (#279)
  249. - [Fix] when `parseArrays` is false, properly handle keys ending in `[]` (#260)
  250. - [Fix] `stringify`: do not crash in an obscure combo of `interpretNumericEntities`, a bad custom `decoder`, & `iso-8859-1`
  251. - [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided
  252. - [refactor] `stringify`: Avoid arr = arr.concat(...), push to the existing instance (#269)
  253. - [Refactor] `parse`: only need to reassign the var once
  254. - [Refactor] `parse`/`stringify`: clean up `charset` options checking; fix defaults
  255. - [Refactor] add missing defaults
  256. - [Refactor] `parse`: one less `concat` call
  257. - [Refactor] `utils`: `compactQueue`: make it explicitly side-effecting
  258. - [Dev Deps] update `browserify`, `eslint`, `@ljharb/eslint-config`, `iconv-lite`, `safe-publish-latest`, `tape`
  259. - [Tests] up to `node` `v10.10`, `v9.11`, `v8.12`, `v6.14`, `v4.9`; pin included builds to LTS
  260. ## **6.5.3**
  261. - [Fix] `parse`: ignore `__proto__` keys (#428)
  262. - [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source
  263. - [Fix] correctly parse nested arrays
  264. - [Fix] `stringify`: fix a crash with `strictNullHandling` and a custom `filter`/`serializeDate` (#279)
  265. - [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided
  266. - [Fix] when `parseArrays` is false, properly handle keys ending in `[]`
  267. - [Fix] fix for an impossible situation: when the formatter is called with a non-string value
  268. - [Fix] `utils.merge`: avoid a crash with a null target and an array source
  269. - [Refactor] `utils`: reduce observable [[Get]]s
  270. - [Refactor] use cached `Array.isArray`
  271. - [Refactor] `stringify`: Avoid arr = arr.concat(...), push to the existing instance (#269)
  272. - [Refactor] `parse`: only need to reassign the var once
  273. - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
  274. - [readme] remove travis badge; add github actions/codecov badges; update URLs
  275. - [Docs] Clean up license text so it’s properly detected as BSD-3-Clause
  276. - [Docs] Clarify the need for "arrayLimit" option
  277. - [meta] fix README.md (#399)
  278. - [meta] add FUNDING.yml
  279. - [actions] backport actions from main
  280. - [Tests] always use `String(x)` over `x.toString()`
  281. - [Tests] remove nonexistent tape option
  282. - [Dev Deps] backport from main
  283. ## **6.5.2**
  284. - [Fix] use `safer-buffer` instead of `Buffer` constructor
  285. - [Refactor] utils: `module.exports` one thing, instead of mutating `exports` (#230)
  286. - [Dev Deps] update `browserify`, `eslint`, `iconv-lite`, `safer-buffer`, `tape`, `browserify`
  287. ## **6.5.1**
  288. - [Fix] Fix parsing & compacting very deep objects (#224)
  289. - [Refactor] name utils functions
  290. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`
  291. - [Tests] up to `node` `v8.4`; use `nvm install-latest-npm` so newer npm doesn’t break older node
  292. - [Tests] Use precise dist for Node.js 0.6 runtime (#225)
  293. - [Tests] make 0.6 required, now that it’s passing
  294. - [Tests] on `node` `v8.2`; fix npm on node 0.6
  295. ## **6.5.0**
  296. - [New] add `utils.assign`
  297. - [New] pass default encoder/decoder to custom encoder/decoder functions (#206)
  298. - [New] `parse`/`stringify`: add `ignoreQueryPrefix`/`addQueryPrefix` options, respectively (#213)
  299. - [Fix] Handle stringifying empty objects with addQueryPrefix (#217)
  300. - [Fix] do not mutate `options` argument (#207)
  301. - [Refactor] `parse`: cache index to reuse in else statement (#182)
  302. - [Docs] add various badges to readme (#208)
  303. - [Dev Deps] update `eslint`, `browserify`, `iconv-lite`, `tape`
  304. - [Tests] up to `node` `v8.1`, `v7.10`, `v6.11`; npm v4.6 breaks on node < v1; npm v5+ breaks on node < v4
  305. - [Tests] add `editorconfig-tools`
  306. ## **6.4.1**
  307. - [Fix] `parse`: ignore `__proto__` keys (#428)
  308. - [Fix] fix for an impossible situation: when the formatter is called with a non-string value
  309. - [Fix] use `safer-buffer` instead of `Buffer` constructor
  310. - [Fix] `utils.merge`: avoid a crash with a null target and an array source
  311. - [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source
  312. - [Fix] `stringify`: fix a crash with `strictNullHandling` and a custom `filter`/`serializeDate` (#279)
  313. - [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided
  314. - [Fix] when `parseArrays` is false, properly handle keys ending in `[]`
  315. - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
  316. - [Refactor] use cached `Array.isArray`
  317. - [Refactor] `stringify`: Avoid arr = arr.concat(...), push to the existing instance (#269)
  318. - [readme] remove travis badge; add github actions/codecov badges; update URLs
  319. - [Docs] Clarify the need for "arrayLimit" option
  320. - [meta] fix README.md (#399)
  321. - [meta] Clean up license text so it’s properly detected as BSD-3-Clause
  322. - [meta] add FUNDING.yml
  323. - [actions] backport actions from main
  324. - [Tests] remove nonexistent tape option
  325. - [Dev Deps] backport from main
  326. ## **6.4.0**
  327. - [New] `qs.stringify`: add `encodeValuesOnly` option
  328. - [Fix] follow `allowPrototypes` option during merge (#201, #201)
  329. - [Fix] support keys starting with brackets (#202, #200)
  330. - [Fix] chmod a-x
  331. - [Dev Deps] update `eslint`
  332. - [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
  333. - [eslint] reduce warnings
  334. ## **6.3.3**
  335. - [Fix] `parse`: ignore `__proto__` keys (#428)
  336. - [Fix] fix for an impossible situation: when the formatter is called with a non-string value
  337. - [Fix] `utils.merge`: avoid a crash with a null target and an array source
  338. - [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source
  339. - [Fix] `stringify`: fix a crash with `strictNullHandling` and a custom `filter`/`serializeDate` (#279)
  340. - [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided
  341. - [Fix] when `parseArrays` is false, properly handle keys ending in `[]`
  342. - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
  343. - [Refactor] use cached `Array.isArray`
  344. - [Refactor] `stringify`: Avoid arr = arr.concat(...), push to the existing instance (#269)
  345. - [Docs] Clarify the need for "arrayLimit" option
  346. - [meta] fix README.md (#399)
  347. - [meta] Clean up license text so it’s properly detected as BSD-3-Clause
  348. - [meta] add FUNDING.yml
  349. - [actions] backport actions from main
  350. - [Tests] use `safer-buffer` instead of `Buffer` constructor
  351. - [Tests] remove nonexistent tape option
  352. - [Dev Deps] backport from main
  353. ## **6.3.2**
  354. - [Fix] follow `allowPrototypes` option during merge (#201, #200)
  355. - [Dev Deps] update `eslint`
  356. - [Fix] chmod a-x
  357. - [Fix] support keys starting with brackets (#202, #200)
  358. - [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
  359. ## **6.3.1**
  360. - [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties (thanks, @snyk!)
  361. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `browserify`, `iconv-lite`, `qs-iconv`, `tape`
  362. - [Tests] on all node minors; improve test matrix
  363. - [Docs] document stringify option `allowDots` (#195)
  364. - [Docs] add empty object and array values example (#195)
  365. - [Docs] Fix minor inconsistency/typo (#192)
  366. - [Docs] document stringify option `sort` (#191)
  367. - [Refactor] `stringify`: throw faster with an invalid encoder
  368. - [Refactor] remove unnecessary escapes (#184)
  369. - Remove contributing.md, since `qs` is no longer part of `hapi` (#183)
  370. ## **6.3.0**
  371. - [New] Add support for RFC 1738 (#174, #173)
  372. - [New] `stringify`: Add `serializeDate` option to customize Date serialization (#159)
  373. - [Fix] ensure `utils.merge` handles merging two arrays
  374. - [Refactor] only constructors should be capitalized
  375. - [Refactor] capitalized var names are for constructors only
  376. - [Refactor] avoid using a sparse array
  377. - [Robustness] `formats`: cache `String#replace`
  378. - [Dev Deps] update `browserify`, `eslint`, `@ljharb/eslint-config`; add `safe-publish-latest`
  379. - [Tests] up to `node` `v6.8`, `v4.6`; improve test matrix
  380. - [Tests] flesh out arrayLimit/arrayFormat tests (#107)
  381. - [Tests] skip Object.create tests when null objects are not available
  382. - [Tests] Turn on eslint for test files (#175)
  383. ## **6.2.4**
  384. - [Fix] `parse`: ignore `__proto__` keys (#428)
  385. - [Fix] `utils.merge`: avoid a crash with a null target and an array source
  386. - [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source
  387. - [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided
  388. - [Fix] when `parseArrays` is false, properly handle keys ending in `[]`
  389. - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
  390. - [Refactor] use cached `Array.isArray`
  391. - [Docs] Clarify the need for "arrayLimit" option
  392. - [meta] fix README.md (#399)
  393. - [meta] Clean up license text so it’s properly detected as BSD-3-Clause
  394. - [meta] add FUNDING.yml
  395. - [actions] backport actions from main
  396. - [Tests] use `safer-buffer` instead of `Buffer` constructor
  397. - [Tests] remove nonexistent tape option
  398. - [Dev Deps] backport from main
  399. ## **6.2.3**
  400. - [Fix] follow `allowPrototypes` option during merge (#201, #200)
  401. - [Fix] chmod a-x
  402. - [Fix] support keys starting with brackets (#202, #200)
  403. - [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
  404. ## **6.2.2**
  405. - [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties
  406. ## **6.2.1**
  407. - [Fix] ensure `key[]=x&key[]&key[]=y` results in 3, not 2, values
  408. - [Refactor] Be explicit and use `Object.prototype.hasOwnProperty.call`
  409. - [Tests] remove `parallelshell` since it does not reliably report failures
  410. - [Tests] up to `node` `v6.3`, `v5.12`
  411. - [Dev Deps] update `tape`, `eslint`, `@ljharb/eslint-config`, `qs-iconv`
  412. ## [**6.2.0**](https://github.com/ljharb/qs/issues?milestone=36&state=closed)
  413. - [New] pass Buffers to the encoder/decoder directly (#161)
  414. - [New] add "encoder" and "decoder" options, for custom param encoding/decoding (#160)
  415. - [Fix] fix compacting of nested sparse arrays (#150)
  416. ## **6.1.2**
  417. - [Fix] follow `allowPrototypes` option during merge (#201, #200)
  418. - [Fix] chmod a-x
  419. - [Fix] support keys starting with brackets (#202, #200)
  420. - [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
  421. ## **6.1.1**
  422. - [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties
  423. ## [**6.1.0**](https://github.com/ljharb/qs/issues?milestone=35&state=closed)
  424. - [New] allowDots option for `stringify` (#151)
  425. - [Fix] "sort" option should work at a depth of 3 or more (#151)
  426. - [Fix] Restore `dist` directory; will be removed in v7 (#148)
  427. ## **6.0.4**
  428. - [Fix] follow `allowPrototypes` option during merge (#201, #200)
  429. - [Fix] chmod a-x
  430. - [Fix] support keys starting with brackets (#202, #200)
  431. - [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
  432. ## **6.0.3**
  433. - [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties
  434. - [Fix] Restore `dist` directory; will be removed in v7 (#148)
  435. ## [**6.0.2**](https://github.com/ljharb/qs/issues?milestone=33&state=closed)
  436. - Revert ES6 requirement and restore support for node down to v0.8.
  437. ## [**6.0.1**](https://github.com/ljharb/qs/issues?milestone=32&state=closed)
  438. - [**#127**](https://github.com/ljharb/qs/pull/127) Fix engines definition in package.json
  439. ## [**6.0.0**](https://github.com/ljharb/qs/issues?milestone=31&state=closed)
  440. - [**#124**](https://github.com/ljharb/qs/issues/124) Use ES6 and drop support for node < v4
  441. ## **5.2.1**
  442. - [Fix] ensure `key[]=x&key[]&key[]=y` results in 3, not 2, values
  443. ## [**5.2.0**](https://github.com/ljharb/qs/issues?milestone=30&state=closed)
  444. - [**#64**](https://github.com/ljharb/qs/issues/64) Add option to sort object keys in the query string
  445. ## [**5.1.0**](https://github.com/ljharb/qs/issues?milestone=29&state=closed)
  446. - [**#117**](https://github.com/ljharb/qs/issues/117) make URI encoding stringified results optional
  447. - [**#106**](https://github.com/ljharb/qs/issues/106) Add flag `skipNulls` to optionally skip null values in stringify
  448. ## [**5.0.0**](https://github.com/ljharb/qs/issues?milestone=28&state=closed)
  449. - [**#114**](https://github.com/ljharb/qs/issues/114) default allowDots to false
  450. - [**#100**](https://github.com/ljharb/qs/issues/100) include dist to npm
  451. ## [**4.0.0**](https://github.com/ljharb/qs/issues?milestone=26&state=closed)
  452. - [**#98**](https://github.com/ljharb/qs/issues/98) make returning plain objects and allowing prototype overwriting properties optional
  453. ## [**3.1.0**](https://github.com/ljharb/qs/issues?milestone=24&state=closed)
  454. - [**#89**](https://github.com/ljharb/qs/issues/89) Add option to disable "Transform dot notation to bracket notation"
  455. ## [**3.0.0**](https://github.com/ljharb/qs/issues?milestone=23&state=closed)
  456. - [**#80**](https://github.com/ljharb/qs/issues/80) qs.parse silently drops properties
  457. - [**#77**](https://github.com/ljharb/qs/issues/77) Perf boost
  458. - [**#60**](https://github.com/ljharb/qs/issues/60) Add explicit option to disable array parsing
  459. - [**#74**](https://github.com/ljharb/qs/issues/74) Bad parse when turning array into object
  460. - [**#81**](https://github.com/ljharb/qs/issues/81) Add a `filter` option
  461. - [**#68**](https://github.com/ljharb/qs/issues/68) Fixed issue with recursion and passing strings into objects.
  462. - [**#66**](https://github.com/ljharb/qs/issues/66) Add mixed array and object dot notation support Closes: #47
  463. - [**#76**](https://github.com/ljharb/qs/issues/76) RFC 3986
  464. - [**#85**](https://github.com/ljharb/qs/issues/85) No equal sign
  465. - [**#84**](https://github.com/ljharb/qs/issues/84) update license attribute
  466. ## [**2.4.1**](https://github.com/ljharb/qs/issues?milestone=20&state=closed)
  467. - [**#73**](https://github.com/ljharb/qs/issues/73) Property 'hasOwnProperty' of object #<Object> is not a function
  468. ## [**2.4.0**](https://github.com/ljharb/qs/issues?milestone=19&state=closed)
  469. - [**#70**](https://github.com/ljharb/qs/issues/70) Add arrayFormat option
  470. ## [**2.3.3**](https://github.com/ljharb/qs/issues?milestone=18&state=closed)
  471. - [**#59**](https://github.com/ljharb/qs/issues/59) make sure array indexes are >= 0, closes #57
  472. - [**#58**](https://github.com/ljharb/qs/issues/58) make qs usable for browser loader
  473. ## [**2.3.2**](https://github.com/ljharb/qs/issues?milestone=17&state=closed)
  474. - [**#55**](https://github.com/ljharb/qs/issues/55) allow merging a string into an object
  475. ## [**2.3.1**](https://github.com/ljharb/qs/issues?milestone=16&state=closed)
  476. - [**#52**](https://github.com/ljharb/qs/issues/52) Return "undefined" and "false" instead of throwing "TypeError".
  477. ## [**2.3.0**](https://github.com/ljharb/qs/issues?milestone=15&state=closed)
  478. - [**#50**](https://github.com/ljharb/qs/issues/50) add option to omit array indices, closes #46
  479. ## [**2.2.5**](https://github.com/ljharb/qs/issues?milestone=14&state=closed)
  480. - [**#39**](https://github.com/ljharb/qs/issues/39) Is there an alternative to Buffer.isBuffer?
  481. - [**#49**](https://github.com/ljharb/qs/issues/49) refactor utils.merge, fixes #45
  482. - [**#41**](https://github.com/ljharb/qs/issues/41) avoid browserifying Buffer, for #39
  483. ## [**2.2.4**](https://github.com/ljharb/qs/issues?milestone=13&state=closed)
  484. - [**#38**](https://github.com/ljharb/qs/issues/38) how to handle object keys beginning with a number
  485. ## [**2.2.3**](https://github.com/ljharb/qs/issues?milestone=12&state=closed)
  486. - [**#37**](https://github.com/ljharb/qs/issues/37) parser discards first empty value in array
  487. - [**#36**](https://github.com/ljharb/qs/issues/36) Update to lab 4.x
  488. ## [**2.2.2**](https://github.com/ljharb/qs/issues?milestone=11&state=closed)
  489. - [**#33**](https://github.com/ljharb/qs/issues/33) Error when plain object in a value
  490. - [**#34**](https://github.com/ljharb/qs/issues/34) use Object.prototype.hasOwnProperty.call instead of obj.hasOwnProperty
  491. - [**#24**](https://github.com/ljharb/qs/issues/24) Changelog? Semver?
  492. ## [**2.2.1**](https://github.com/ljharb/qs/issues?milestone=10&state=closed)
  493. - [**#32**](https://github.com/ljharb/qs/issues/32) account for circular references properly, closes #31
  494. - [**#31**](https://github.com/ljharb/qs/issues/31) qs.parse stackoverflow on circular objects
  495. ## [**2.2.0**](https://github.com/ljharb/qs/issues?milestone=9&state=closed)
  496. - [**#26**](https://github.com/ljharb/qs/issues/26) Don't use Buffer global if it's not present
  497. - [**#30**](https://github.com/ljharb/qs/issues/30) Bug when merging non-object values into arrays
  498. - [**#29**](https://github.com/ljharb/qs/issues/29) Don't call Utils.clone at the top of Utils.merge
  499. - [**#23**](https://github.com/ljharb/qs/issues/23) Ability to not limit parameters?
  500. ## [**2.1.0**](https://github.com/ljharb/qs/issues?milestone=8&state=closed)
  501. - [**#22**](https://github.com/ljharb/qs/issues/22) Enable using a RegExp as delimiter
  502. ## [**2.0.0**](https://github.com/ljharb/qs/issues?milestone=7&state=closed)
  503. - [**#18**](https://github.com/ljharb/qs/issues/18) Why is there arrayLimit?
  504. - [**#20**](https://github.com/ljharb/qs/issues/20) Configurable parametersLimit
  505. - [**#21**](https://github.com/ljharb/qs/issues/21) make all limits optional, for #18, for #20
  506. ## [**1.2.2**](https://github.com/ljharb/qs/issues?milestone=6&state=closed)
  507. - [**#19**](https://github.com/ljharb/qs/issues/19) Don't overwrite null values
  508. ## [**1.2.1**](https://github.com/ljharb/qs/issues?milestone=5&state=closed)
  509. - [**#16**](https://github.com/ljharb/qs/issues/16) ignore non-string delimiters
  510. - [**#15**](https://github.com/ljharb/qs/issues/15) Close code block
  511. ## [**1.2.0**](https://github.com/ljharb/qs/issues?milestone=4&state=closed)
  512. - [**#12**](https://github.com/ljharb/qs/issues/12) Add optional delim argument
  513. - [**#13**](https://github.com/ljharb/qs/issues/13) fix #11: flattened keys in array are now correctly parsed
  514. ## [**1.1.0**](https://github.com/ljharb/qs/issues?milestone=3&state=closed)
  515. - [**#7**](https://github.com/ljharb/qs/issues/7) Empty values of a POST array disappear after being submitted
  516. - [**#9**](https://github.com/ljharb/qs/issues/9) Should not omit equals signs (=) when value is null
  517. - [**#6**](https://github.com/ljharb/qs/issues/6) Minor grammar fix in README
  518. ## [**1.0.2**](https://github.com/ljharb/qs/issues?milestone=2&state=closed)
  519. - [**#5**](https://github.com/ljharb/qs/issues/5) array holes incorrectly copied into object on large index