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.

226 lines
12 KiB

  1. ## **6.5.2**
  2. - [Fix] use `safer-buffer` instead of `Buffer` constructor
  3. - [Refactor] utils: `module.exports` one thing, instead of mutating `exports` (#230)
  4. - [Dev Deps] update `browserify`, `eslint`, `iconv-lite`, `safer-buffer`, `tape`, `browserify`
  5. ## **6.5.1**
  6. - [Fix] Fix parsing & compacting very deep objects (#224)
  7. - [Refactor] name utils functions
  8. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`
  9. - [Tests] up to `node` `v8.4`; use `nvm install-latest-npm` so newer npm doesn’t break older node
  10. - [Tests] Use precise dist for Node.js 0.6 runtime (#225)
  11. - [Tests] make 0.6 required, now that it’s passing
  12. - [Tests] on `node` `v8.2`; fix npm on node 0.6
  13. ## **6.5.0**
  14. - [New] add `utils.assign`
  15. - [New] pass default encoder/decoder to custom encoder/decoder functions (#206)
  16. - [New] `parse`/`stringify`: add `ignoreQueryPrefix`/`addQueryPrefix` options, respectively (#213)
  17. - [Fix] Handle stringifying empty objects with addQueryPrefix (#217)
  18. - [Fix] do not mutate `options` argument (#207)
  19. - [Refactor] `parse`: cache index to reuse in else statement (#182)
  20. - [Docs] add various badges to readme (#208)
  21. - [Dev Deps] update `eslint`, `browserify`, `iconv-lite`, `tape`
  22. - [Tests] up to `node` `v8.1`, `v7.10`, `v6.11`; npm v4.6 breaks on node < v1; npm v5+ breaks on node < v4
  23. - [Tests] add `editorconfig-tools`
  24. ## **6.4.0**
  25. - [New] `qs.stringify`: add `encodeValuesOnly` option
  26. - [Fix] follow `allowPrototypes` option during merge (#201, #201)
  27. - [Fix] support keys starting with brackets (#202, #200)
  28. - [Fix] chmod a-x
  29. - [Dev Deps] update `eslint`
  30. - [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
  31. - [eslint] reduce warnings
  32. ## **6.3.2**
  33. - [Fix] follow `allowPrototypes` option during merge (#201, #200)
  34. - [Dev Deps] update `eslint`
  35. - [Fix] chmod a-x
  36. - [Fix] support keys starting with brackets (#202, #200)
  37. - [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
  38. ## **6.3.1**
  39. - [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties (thanks, @snyk!)
  40. - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `browserify`, `iconv-lite`, `qs-iconv`, `tape`
  41. - [Tests] on all node minors; improve test matrix
  42. - [Docs] document stringify option `allowDots` (#195)
  43. - [Docs] add empty object and array values example (#195)
  44. - [Docs] Fix minor inconsistency/typo (#192)
  45. - [Docs] document stringify option `sort` (#191)
  46. - [Refactor] `stringify`: throw faster with an invalid encoder
  47. - [Refactor] remove unnecessary escapes (#184)
  48. - Remove contributing.md, since `qs` is no longer part of `hapi` (#183)
  49. ## **6.3.0**
  50. - [New] Add support for RFC 1738 (#174, #173)
  51. - [New] `stringify`: Add `serializeDate` option to customize Date serialization (#159)
  52. - [Fix] ensure `utils.merge` handles merging two arrays
  53. - [Refactor] only constructors should be capitalized
  54. - [Refactor] capitalized var names are for constructors only
  55. - [Refactor] avoid using a sparse array
  56. - [Robustness] `formats`: cache `String#replace`
  57. - [Dev Deps] update `browserify`, `eslint`, `@ljharb/eslint-config`; add `safe-publish-latest`
  58. - [Tests] up to `node` `v6.8`, `v4.6`; improve test matrix
  59. - [Tests] flesh out arrayLimit/arrayFormat tests (#107)
  60. - [Tests] skip Object.create tests when null objects are not available
  61. - [Tests] Turn on eslint for test files (#175)
  62. ## **6.2.3**
  63. - [Fix] follow `allowPrototypes` option during merge (#201, #200)
  64. - [Fix] chmod a-x
  65. - [Fix] support keys starting with brackets (#202, #200)
  66. - [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
  67. ## **6.2.2**
  68. - [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties
  69. ## **6.2.1**
  70. - [Fix] ensure `key[]=x&key[]&key[]=y` results in 3, not 2, values
  71. - [Refactor] Be explicit and use `Object.prototype.hasOwnProperty.call`
  72. - [Tests] remove `parallelshell` since it does not reliably report failures
  73. - [Tests] up to `node` `v6.3`, `v5.12`
  74. - [Dev Deps] update `tape`, `eslint`, `@ljharb/eslint-config`, `qs-iconv`
  75. ## [**6.2.0**](https://github.com/ljharb/qs/issues?milestone=36&state=closed)
  76. - [New] pass Buffers to the encoder/decoder directly (#161)
  77. - [New] add "encoder" and "decoder" options, for custom param encoding/decoding (#160)
  78. - [Fix] fix compacting of nested sparse arrays (#150)
  79. ## **6.1.2
  80. - [Fix] follow `allowPrototypes` option during merge (#201, #200)
  81. - [Fix] chmod a-x
  82. - [Fix] support keys starting with brackets (#202, #200)
  83. - [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
  84. ## **6.1.1**
  85. - [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties
  86. ## [**6.1.0**](https://github.com/ljharb/qs/issues?milestone=35&state=closed)
  87. - [New] allowDots option for `stringify` (#151)
  88. - [Fix] "sort" option should work at a depth of 3 or more (#151)
  89. - [Fix] Restore `dist` directory; will be removed in v7 (#148)
  90. ## **6.0.4**
  91. - [Fix] follow `allowPrototypes` option during merge (#201, #200)
  92. - [Fix] chmod a-x
  93. - [Fix] support keys starting with brackets (#202, #200)
  94. - [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
  95. ## **6.0.3**
  96. - [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties
  97. - [Fix] Restore `dist` directory; will be removed in v7 (#148)
  98. ## [**6.0.2**](https://github.com/ljharb/qs/issues?milestone=33&state=closed)
  99. - Revert ES6 requirement and restore support for node down to v0.8.
  100. ## [**6.0.1**](https://github.com/ljharb/qs/issues?milestone=32&state=closed)
  101. - [**#127**](https://github.com/ljharb/qs/pull/127) Fix engines definition in package.json
  102. ## [**6.0.0**](https://github.com/ljharb/qs/issues?milestone=31&state=closed)
  103. - [**#124**](https://github.com/ljharb/qs/issues/124) Use ES6 and drop support for node < v4
  104. ## **5.2.1**
  105. - [Fix] ensure `key[]=x&key[]&key[]=y` results in 3, not 2, values
  106. ## [**5.2.0**](https://github.com/ljharb/qs/issues?milestone=30&state=closed)
  107. - [**#64**](https://github.com/ljharb/qs/issues/64) Add option to sort object keys in the query string
  108. ## [**5.1.0**](https://github.com/ljharb/qs/issues?milestone=29&state=closed)
  109. - [**#117**](https://github.com/ljharb/qs/issues/117) make URI encoding stringified results optional
  110. - [**#106**](https://github.com/ljharb/qs/issues/106) Add flag `skipNulls` to optionally skip null values in stringify
  111. ## [**5.0.0**](https://github.com/ljharb/qs/issues?milestone=28&state=closed)
  112. - [**#114**](https://github.com/ljharb/qs/issues/114) default allowDots to false
  113. - [**#100**](https://github.com/ljharb/qs/issues/100) include dist to npm
  114. ## [**4.0.0**](https://github.com/ljharb/qs/issues?milestone=26&state=closed)
  115. - [**#98**](https://github.com/ljharb/qs/issues/98) make returning plain objects and allowing prototype overwriting properties optional
  116. ## [**3.1.0**](https://github.com/ljharb/qs/issues?milestone=24&state=closed)
  117. - [**#89**](https://github.com/ljharb/qs/issues/89) Add option to disable "Transform dot notation to bracket notation"
  118. ## [**3.0.0**](https://github.com/ljharb/qs/issues?milestone=23&state=closed)
  119. - [**#80**](https://github.com/ljharb/qs/issues/80) qs.parse silently drops properties
  120. - [**#77**](https://github.com/ljharb/qs/issues/77) Perf boost
  121. - [**#60**](https://github.com/ljharb/qs/issues/60) Add explicit option to disable array parsing
  122. - [**#74**](https://github.com/ljharb/qs/issues/74) Bad parse when turning array into object
  123. - [**#81**](https://github.com/ljharb/qs/issues/81) Add a `filter` option
  124. - [**#68**](https://github.com/ljharb/qs/issues/68) Fixed issue with recursion and passing strings into objects.
  125. - [**#66**](https://github.com/ljharb/qs/issues/66) Add mixed array and object dot notation support Closes: #47
  126. - [**#76**](https://github.com/ljharb/qs/issues/76) RFC 3986
  127. - [**#85**](https://github.com/ljharb/qs/issues/85) No equal sign
  128. - [**#84**](https://github.com/ljharb/qs/issues/84) update license attribute
  129. ## [**2.4.1**](https://github.com/ljharb/qs/issues?milestone=20&state=closed)
  130. - [**#73**](https://github.com/ljharb/qs/issues/73) Property 'hasOwnProperty' of object #<Object> is not a function
  131. ## [**2.4.0**](https://github.com/ljharb/qs/issues?milestone=19&state=closed)
  132. - [**#70**](https://github.com/ljharb/qs/issues/70) Add arrayFormat option
  133. ## [**2.3.3**](https://github.com/ljharb/qs/issues?milestone=18&state=closed)
  134. - [**#59**](https://github.com/ljharb/qs/issues/59) make sure array indexes are >= 0, closes #57
  135. - [**#58**](https://github.com/ljharb/qs/issues/58) make qs usable for browser loader
  136. ## [**2.3.2**](https://github.com/ljharb/qs/issues?milestone=17&state=closed)
  137. - [**#55**](https://github.com/ljharb/qs/issues/55) allow merging a string into an object
  138. ## [**2.3.1**](https://github.com/ljharb/qs/issues?milestone=16&state=closed)
  139. - [**#52**](https://github.com/ljharb/qs/issues/52) Return "undefined" and "false" instead of throwing "TypeError".
  140. ## [**2.3.0**](https://github.com/ljharb/qs/issues?milestone=15&state=closed)
  141. - [**#50**](https://github.com/ljharb/qs/issues/50) add option to omit array indices, closes #46
  142. ## [**2.2.5**](https://github.com/ljharb/qs/issues?milestone=14&state=closed)
  143. - [**#39**](https://github.com/ljharb/qs/issues/39) Is there an alternative to Buffer.isBuffer?
  144. - [**#49**](https://github.com/ljharb/qs/issues/49) refactor utils.merge, fixes #45
  145. - [**#41**](https://github.com/ljharb/qs/issues/41) avoid browserifying Buffer, for #39
  146. ## [**2.2.4**](https://github.com/ljharb/qs/issues?milestone=13&state=closed)
  147. - [**#38**](https://github.com/ljharb/qs/issues/38) how to handle object keys beginning with a number
  148. ## [**2.2.3**](https://github.com/ljharb/qs/issues?milestone=12&state=closed)
  149. - [**#37**](https://github.com/ljharb/qs/issues/37) parser discards first empty value in array
  150. - [**#36**](https://github.com/ljharb/qs/issues/36) Update to lab 4.x
  151. ## [**2.2.2**](https://github.com/ljharb/qs/issues?milestone=11&state=closed)
  152. - [**#33**](https://github.com/ljharb/qs/issues/33) Error when plain object in a value
  153. - [**#34**](https://github.com/ljharb/qs/issues/34) use Object.prototype.hasOwnProperty.call instead of obj.hasOwnProperty
  154. - [**#24**](https://github.com/ljharb/qs/issues/24) Changelog? Semver?
  155. ## [**2.2.1**](https://github.com/ljharb/qs/issues?milestone=10&state=closed)
  156. - [**#32**](https://github.com/ljharb/qs/issues/32) account for circular references properly, closes #31
  157. - [**#31**](https://github.com/ljharb/qs/issues/31) qs.parse stackoverflow on circular objects
  158. ## [**2.2.0**](https://github.com/ljharb/qs/issues?milestone=9&state=closed)
  159. - [**#26**](https://github.com/ljharb/qs/issues/26) Don't use Buffer global if it's not present
  160. - [**#30**](https://github.com/ljharb/qs/issues/30) Bug when merging non-object values into arrays
  161. - [**#29**](https://github.com/ljharb/qs/issues/29) Don't call Utils.clone at the top of Utils.merge
  162. - [**#23**](https://github.com/ljharb/qs/issues/23) Ability to not limit parameters?
  163. ## [**2.1.0**](https://github.com/ljharb/qs/issues?milestone=8&state=closed)
  164. - [**#22**](https://github.com/ljharb/qs/issues/22) Enable using a RegExp as delimiter
  165. ## [**2.0.0**](https://github.com/ljharb/qs/issues?milestone=7&state=closed)
  166. - [**#18**](https://github.com/ljharb/qs/issues/18) Why is there arrayLimit?
  167. - [**#20**](https://github.com/ljharb/qs/issues/20) Configurable parametersLimit
  168. - [**#21**](https://github.com/ljharb/qs/issues/21) make all limits optional, for #18, for #20
  169. ## [**1.2.2**](https://github.com/ljharb/qs/issues?milestone=6&state=closed)
  170. - [**#19**](https://github.com/ljharb/qs/issues/19) Don't overwrite null values
  171. ## [**1.2.1**](https://github.com/ljharb/qs/issues?milestone=5&state=closed)
  172. - [**#16**](https://github.com/ljharb/qs/issues/16) ignore non-string delimiters
  173. - [**#15**](https://github.com/ljharb/qs/issues/15) Close code block
  174. ## [**1.2.0**](https://github.com/ljharb/qs/issues?milestone=4&state=closed)
  175. - [**#12**](https://github.com/ljharb/qs/issues/12) Add optional delim argument
  176. - [**#13**](https://github.com/ljharb/qs/issues/13) fix #11: flattened keys in array are now correctly parsed
  177. ## [**1.1.0**](https://github.com/ljharb/qs/issues?milestone=3&state=closed)
  178. - [**#7**](https://github.com/ljharb/qs/issues/7) Empty values of a POST array disappear after being submitted
  179. - [**#9**](https://github.com/ljharb/qs/issues/9) Should not omit equals signs (=) when value is null
  180. - [**#6**](https://github.com/ljharb/qs/issues/6) Minor grammar fix in README
  181. ## [**1.0.2**](https://github.com/ljharb/qs/issues?milestone=2&state=closed)
  182. - [**#5**](https://github.com/ljharb/qs/issues/5) array holes incorrectly copied into object on large index