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