UNPKG

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