| 1 | ## **6.15.2**
|
|---|
| 2 | - [Fix] `stringify`: skip null/undefined entries in `arrayFormat: 'comma'` + `encodeValuesOnly` instead of crashing in `encoder`
|
|---|
| 3 | - [Fix] `stringify`: use configured `delimiter` after `charsetSentinel` (#555)
|
|---|
| 4 | - [Fix] `stringify`: apply `formatter` to encoded key under `strictNullHandling` (#554)
|
|---|
| 5 | - [Fix] `stringify`: skip null/undefined filter-array entries instead of crashing in `encoder` (#551)
|
|---|
| 6 | - [Fix] `parse`: handle nested bracket groups and add regression tests (#530)
|
|---|
| 7 | - [readme] fix grammar (#550)
|
|---|
| 8 | - [Dev Deps] update `@ljharb/eslint-config`
|
|---|
| 9 | - [Tests] add regression tests for keys containing percent-encoded bracket text
|
|---|
| 10 |
|
|---|
| 11 | ## **6.15.1**
|
|---|
| 12 | - [Fix] `parse`: `parameterLimit: Infinity` with `throwOnLimitExceeded: true` silently drops all parameters
|
|---|
| 13 | - [Deps] update `@ljharb/eslint-config`
|
|---|
| 14 | - [Dev Deps] update `@ljharb/eslint-config`, `iconv-lite`
|
|---|
| 15 | - [Tests] increase coverage
|
|---|
| 16 |
|
|---|
| 17 | ## **6.15.0**
|
|---|
| 18 | - [New] `parse`: add `strictMerge` option to wrap object/primitive conflicts in an array (#425, #122)
|
|---|
| 19 | - [Fix] `duplicates` option should not apply to bracket notation keys (#514)
|
|---|
| 20 |
|
|---|
| 21 | ## **6.14.2**
|
|---|
| 22 | - [Fix] `parse`: mark overflow objects for indexed notation exceeding `arrayLimit` (#546)
|
|---|
| 23 | - [Fix] `arrayLimit` means max count, not max index, in `combine`/`merge`/`parseArrayValue`
|
|---|
| 24 | - [Fix] `parse`: throw on `arrayLimit` exceeded with indexed notation when `throwOnLimitExceeded` is true (#529)
|
|---|
| 25 | - [Fix] `parse`: enforce `arrayLimit` on `comma`-parsed values
|
|---|
| 26 | - [Fix] `parse`: fix error message to reflect arrayLimit as max index; remove extraneous comments (#545)
|
|---|
| 27 | - [Robustness] avoid `.push`, use `void`
|
|---|
| 28 | - [readme] document that `addQueryPrefix` does not add `?` to empty output (#418)
|
|---|
| 29 | - [readme] clarify `parseArrays` and `arrayLimit` documentation (#543)
|
|---|
| 30 | - [readme] replace runkit CI badge with shields.io check-runs badge
|
|---|
| 31 | - [meta] fix changelog typo (`arrayLength` → `arrayLimit`)
|
|---|
| 32 | - [actions] fix rebase workflow permissions
|
|---|
| 33 |
|
|---|
| 34 | ## **6.14.1**
|
|---|
| 35 | - [Fix] ensure `arrayLimit` applies to `[]` notation as well
|
|---|
| 36 | - [Fix] `parse`: when a custom decoder returns `null` for a key, ignore that key
|
|---|
| 37 | - [Refactor] `parse`: extract key segment splitting helper
|
|---|
| 38 | - [meta] add threat model
|
|---|
| 39 | - [actions] add workflow permissions
|
|---|
| 40 | - [Tests] `stringify`: increase coverage
|
|---|
| 41 | - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `npmignore`, `es-value-fixtures`, `for-each`, `object-inspect`
|
|---|
| 42 |
|
|---|
| 43 | ## **6.14.0**
|
|---|
| 44 | - [New] `parse`: add `throwOnParameterLimitExceeded` option (#517)
|
|---|
| 45 | - [Refactor] `parse`: use `utils.combine` more
|
|---|
| 46 | - [patch] `parse`: add explicit `throwOnLimitExceeded` default
|
|---|
| 47 | - [actions] use shared action; re-add finishers
|
|---|
| 48 | - [meta] Fix changelog formatting bug
|
|---|
| 49 | - [Deps] update `side-channel`
|
|---|
| 50 | - [Dev Deps] update `es-value-fixtures`, `has-bigints`, `has-proto`, `has-symbols`
|
|---|
| 51 | - [Tests] increase coverage
|
|---|
| 52 |
|
|---|
| 53 | ## **6.13.3**
|
|---|
| 54 | [Fix] fix regressions from robustness refactor
|
|---|
| 55 | [actions] update reusable workflows
|
|---|
| 56 |
|
|---|
| 57 | ## **6.13.2**
|
|---|
| 58 | - [Robustness] avoid `.push`, use `void`
|
|---|
| 59 | - [readme] clarify `parseArrays` and `arrayLimit` documentation (#543)
|
|---|
| 60 | - [readme] document that `addQueryPrefix` does not add `?` to empty output (#418)
|
|---|
| 61 | - [readme] replace runkit CI badge with shields.io check-runs badge
|
|---|
| 62 | - [actions] fix rebase workflow permissions
|
|---|
| 63 |
|
|---|
| 64 | ## **6.13.1**
|
|---|
| 65 | - [Fix] `stringify`: avoid a crash when a `filter` key is `null`
|
|---|
| 66 | - [Fix] `utils.merge`: functions should not be stringified into keys
|
|---|
| 67 | - [Fix] `parse`: avoid a crash with interpretNumericEntities: true, comma: true, and iso charset
|
|---|
| 68 | - [Fix] `stringify`: ensure a non-string `filter` does not crash
|
|---|
| 69 | - [Refactor] use `__proto__` syntax instead of `Object.create` for null objects
|
|---|
| 70 | - [Refactor] misc cleanup
|
|---|
| 71 | - [Tests] `utils.merge`: add some coverage
|
|---|
| 72 | - [Tests] fix a test case
|
|---|
| 73 | - [actions] split out node 10-20, and 20+
|
|---|
| 74 | - [Dev Deps] update `es-value-fixtures`, `mock-property`, `object-inspect`, `tape`
|
|---|
| 75 |
|
|---|
| 76 | ## **6.13.0**
|
|---|
| 77 | - [New] `parse`: add `strictDepth` option (#511)
|
|---|
| 78 | - [Tests] use `npm audit` instead of `aud`
|
|---|
| 79 |
|
|---|
| 80 | ## **6.12.5**
|
|---|
| 81 | - [Fix] fix regressions from robustness refactor
|
|---|
| 82 | - [actions] update reusable workflows
|
|---|
| 83 |
|
|---|
| 84 | ## **6.12.4**
|
|---|
| 85 | - [Robustness] avoid `.push`, use `void`
|
|---|
| 86 | - [readme] clarify `parseArrays` and `arrayLimit` documentation (#543)
|
|---|
| 87 | - [readme] document that `addQueryPrefix` does not add `?` to empty output (#418)
|
|---|
| 88 | - [readme] replace runkit CI badge with shields.io check-runs badge
|
|---|
| 89 | - [actions] fix rebase workflow permissions
|
|---|
| 90 |
|
|---|
| 91 | ## **6.12.3**
|
|---|
| 92 | - [Fix] `parse`: properly account for `strictNullHandling` when `allowEmptyArrays`
|
|---|
| 93 | - [meta] fix changelog indentation
|
|---|
| 94 |
|
|---|
| 95 | ## **6.12.2**
|
|---|
| 96 | - [Fix] `parse`: parse encoded square brackets (#506)
|
|---|
| 97 | - [readme] add CII best practices badge
|
|---|
| 98 |
|
|---|
| 99 | ## **6.12.1**
|
|---|
| 100 | - [Fix] `parse`: Disable `decodeDotInKeys` by default to restore previous behavior (#501)
|
|---|
| 101 | - [Performance] `utils`: Optimize performance under large data volumes, reduce memory usage, and speed up processing (#502)
|
|---|
| 102 | - [Refactor] `utils`: use `+=`
|
|---|
| 103 | - [Tests] increase coverage
|
|---|
| 104 |
|
|---|
| 105 | ## **6.12.0**
|
|---|
| 106 |
|
|---|
| 107 | - [New] `parse`/`stringify`: add `decodeDotInKeys`/`encodeDotKeys` options (#488)
|
|---|
| 108 | - [New] `parse`: add `duplicates` option
|
|---|
| 109 | - [New] `parse`/`stringify`: add `allowEmptyArrays` option to allow [] in object values (#487)
|
|---|
| 110 | - [Refactor] `parse`/`stringify`: move allowDots config logic to its own variable
|
|---|
| 111 | - [Refactor] `stringify`: move option-handling code into `normalizeStringifyOptions`
|
|---|
| 112 | - [readme] update readme, add logos (#484)
|
|---|
| 113 | - [readme] `stringify`: clarify default `arrayFormat` behavior
|
|---|
| 114 | - [readme] fix line wrapping
|
|---|
| 115 | - [readme] remove dead badges
|
|---|
| 116 | - [Deps] update `side-channel`
|
|---|
| 117 | - [meta] make the dist build 50% smaller
|
|---|
| 118 | - [meta] add `sideEffects` flag
|
|---|
| 119 | - [meta] run build in prepack, not prepublish
|
|---|
| 120 | - [Tests] `parse`: remove useless tests; add coverage
|
|---|
| 121 | - [Tests] `stringify`: increase coverage
|
|---|
| 122 | - [Tests] use `mock-property`
|
|---|
| 123 | - [Tests] `stringify`: improve coverage
|
|---|
| 124 | - [Dev Deps] update `@ljharb/eslint-config `, `aud`, `has-override-mistake`, `has-property-descriptors`, `mock-property`, `npmignore`, `object-inspect`, `tape`
|
|---|
| 125 | - [Dev Deps] pin `glob`, since v10.3.8+ requires a broken `jackspeak`
|
|---|
| 126 | - [Dev Deps] pin `jackspeak` since 2.1.2+ depends on npm aliases, which kill the install process in npm < 6
|
|---|
| 127 |
|
|---|
| 128 | ## **6.11.4**
|
|---|
| 129 | - [Fix] fix regressions from robustness refactor
|
|---|
| 130 | - [actions] update reusable workflows
|
|---|
| 131 |
|
|---|
| 132 | ## **6.11.3**
|
|---|
| 133 | - [Robustness] avoid `.push`, use `void`
|
|---|
| 134 | - [readme] clarify `parseArrays` and `arrayLimit` documentation (#543)
|
|---|
| 135 | - [readme] document that `addQueryPrefix` does not add `?` to empty output (#418)
|
|---|
| 136 | - [readme] replace runkit CI badge with shields.io check-runs badge
|
|---|
| 137 | - [actions] fix rebase workflow permissions
|
|---|
| 138 |
|
|---|
| 139 | ## **6.11.2**
|
|---|
| 140 | - [Fix] `parse`: Fix parsing when the global Object prototype is frozen (#473)
|
|---|
| 141 | - [Tests] add passing test cases with empty keys (#473)
|
|---|
| 142 |
|
|---|
| 143 | ## **6.11.1**
|
|---|
| 144 | - [Fix] `stringify`: encode comma values more consistently (#463)
|
|---|
| 145 | - [readme] add usage of `filter` option for injecting custom serialization, i.e. of custom types (#447)
|
|---|
| 146 | - [meta] remove extraneous code backticks (#457)
|
|---|
| 147 | - [meta] fix changelog markdown
|
|---|
| 148 | - [actions] update checkout action
|
|---|
| 149 | - [actions] restrict action permissions
|
|---|
| 150 | - [Dev Deps] update `@ljharb/eslint-config`, `aud`, `object-inspect`, `tape`
|
|---|
| 151 |
|
|---|
| 152 | ## **6.11.0**
|
|---|
| 153 | - [New] [Fix] `stringify`: revert 0e903c0; add `commaRoundTrip` option (#442)
|
|---|
| 154 | - [readme] fix version badge
|
|---|
| 155 |
|
|---|
| 156 | ## **6.10.7**
|
|---|
| 157 | - [Fix] fix regressions from robustness refactor
|
|---|
| 158 | - [actions] update reusable workflows
|
|---|
| 159 |
|
|---|
| 160 | ## **6.10.6**
|
|---|
| 161 | - [Robustness] avoid `.push`, use `void`
|
|---|
| 162 | - [readme] clarify `parseArrays` and `arrayLimit` documentation (#543)
|
|---|
| 163 | - [readme] document that `addQueryPrefix` does not add `?` to empty output (#418)
|
|---|
| 164 | - [readme] replace runkit CI badge with shields.io check-runs badge
|
|---|
| 165 | - [actions] fix rebase workflow permissions
|
|---|
| 166 |
|
|---|
| 167 | ## **6.10.5**
|
|---|
| 168 | - [Fix] `stringify`: with `arrayFormat: comma`, properly include an explicit `[]` on a single-item array (#434)
|
|---|
| 169 |
|
|---|
| 170 | ## **6.10.4**
|
|---|
| 171 | - [Fix] `stringify`: with `arrayFormat: comma`, include an explicit `[]` on a single-item array (#441)
|
|---|
| 172 | - [meta] use `npmignore` to autogenerate an npmignore file
|
|---|
| 173 | - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `has-symbol`, `object-inspect`, `tape`
|
|---|
| 174 |
|
|---|
| 175 | ## **6.10.3**
|
|---|
| 176 | - [Fix] `parse`: ignore `__proto__` keys (#428)
|
|---|
| 177 | - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
|
|---|
| 178 | - [actions] reuse common workflows
|
|---|
| 179 | - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `object-inspect`, `tape`
|
|---|
| 180 |
|
|---|
| 181 | ## **6.10.2**
|
|---|
| 182 | - [Fix] `stringify`: actually fix cyclic references (#426)
|
|---|
| 183 | - [Fix] `stringify`: avoid encoding arrayformat comma when `encodeValuesOnly = true` (#424)
|
|---|
| 184 | - [readme] remove travis badge; add github actions/codecov badges; update URLs
|
|---|
| 185 | - [Docs] add note and links for coercing primitive values (#408)
|
|---|
| 186 | - [actions] update codecov uploader
|
|---|
| 187 | - [actions] update workflows
|
|---|
| 188 | - [Tests] clean up stringify tests slightly
|
|---|
| 189 | - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `object-inspect`, `safe-publish-latest`, `tape`
|
|---|
| 190 |
|
|---|
| 191 | ## **6.10.1**
|
|---|
| 192 | - [Fix] `stringify`: avoid exception on repeated object values (#402)
|
|---|
| 193 |
|
|---|
| 194 | ## **6.10.0**
|
|---|
| 195 | - [New] `stringify`: throw on cycles, instead of an infinite loop (#395, #394, #393)
|
|---|
| 196 | - [New] `parse`: add `allowSparse` option for collapsing arrays with missing indices (#312)
|
|---|
| 197 | - [meta] fix README.md (#399)
|
|---|
| 198 | - [meta] only run `npm run dist` in publish, not install
|
|---|
| 199 | - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `has-symbols`, `tape`
|
|---|
| 200 | - [Tests] fix tests on node v0.6
|
|---|
| 201 | - [Tests] use `ljharb/actions/node/install` instead of `ljharb/actions/node/run`
|
|---|
| 202 | - [Tests] Revert "[meta] ignore eclint transitive audit warning"
|
|---|
| 203 |
|
|---|
| 204 | ## **6.9.9**
|
|---|
| 205 | - [Fix] fix regressions from robustness refactor
|
|---|
| 206 | - [meta] add `npmignore` to autogenerate an npmignore file
|
|---|
| 207 | - [actions] update reusable workflows
|
|---|
| 208 |
|
|---|
| 209 | ## **6.9.8**
|
|---|
| 210 | - [Robustness] avoid `.push`, use `void`
|
|---|
| 211 | - [readme] clarify `parseArrays` and `arrayLimit` documentation (#543)
|
|---|
| 212 | - [readme] document that `addQueryPrefix` does not add `?` to empty output (#418)
|
|---|
| 213 | - [readme] replace runkit CI badge with shields.io check-runs badge
|
|---|
| 214 | - [actions] fix rebase workflow permissions
|
|---|
| 215 |
|
|---|
| 216 | ## **6.9.7**
|
|---|
| 217 | - [Fix] `parse`: ignore `__proto__` keys (#428)
|
|---|
| 218 | - [Fix] `stringify`: avoid encoding arrayformat comma when `encodeValuesOnly = true` (#424)
|
|---|
| 219 | - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
|
|---|
| 220 | - [readme] remove travis badge; add github actions/codecov badges; update URLs
|
|---|
| 221 | - [Docs] add note and links for coercing primitive values (#408)
|
|---|
| 222 | - [Tests] clean up stringify tests slightly
|
|---|
| 223 | - [meta] fix README.md (#399)
|
|---|
| 224 | - Revert "[meta] ignore eclint transitive audit warning"
|
|---|
| 225 | - [actions] backport actions from main
|
|---|
| 226 | - [Dev Deps] backport updates from main
|
|---|
| 227 |
|
|---|
| 228 | ## **6.9.6**
|
|---|
| 229 | - [Fix] restore `dist` dir; mistakenly removed in d4f6c32
|
|---|
| 230 |
|
|---|
| 231 | ## **6.9.5**
|
|---|
| 232 | - [Fix] `stringify`: do not encode parens for RFC1738
|
|---|
| 233 | - [Fix] `stringify`: fix arrayFormat comma with empty array/objects (#350)
|
|---|
| 234 | - [Refactor] `format`: remove `util.assign` call
|
|---|
| 235 | - [meta] add "Allow Edits" workflow; update rebase workflow
|
|---|
| 236 | - [actions] switch Automatic Rebase workflow to `pull_request_target` event
|
|---|
| 237 | - [Tests] `stringify`: add tests for #378
|
|---|
| 238 | - [Tests] migrate tests to Github Actions
|
|---|
| 239 | - [Tests] run `nyc` on all tests; use `tape` runner
|
|---|
| 240 | - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `browserify`, `mkdirp`, `object-inspect`, `tape`; add `aud`
|
|---|
| 241 |
|
|---|
| 242 | ## **6.9.4**
|
|---|
| 243 | - [Fix] `stringify`: when `arrayFormat` is `comma`, respect `serializeDate` (#364)
|
|---|
| 244 | - [Refactor] `stringify`: reduce branching (part of #350)
|
|---|
| 245 | - [Refactor] move `maybeMap` to `utils`
|
|---|
| 246 | - [Dev Deps] update `browserify`, `tape`
|
|---|
| 247 |
|
|---|
| 248 | ## **6.9.3**
|
|---|
| 249 | - [Fix] proper comma parsing of URL-encoded commas (#361)
|
|---|
| 250 | - [Fix] parses comma delimited array while having percent-encoded comma treated as normal text (#336)
|
|---|
| 251 |
|
|---|
| 252 | ## **6.9.2**
|
|---|
| 253 | - [Fix] `parse`: Fix parsing array from object with `comma` true (#359)
|
|---|
| 254 | - [Fix] `parse`: throw a TypeError instead of an Error for bad charset (#349)
|
|---|
| 255 | - [meta] ignore eclint transitive audit warning
|
|---|
| 256 | - [meta] fix indentation in package.json
|
|---|
| 257 | - [meta] add tidelift marketing copy
|
|---|
| 258 | - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `object-inspect`, `has-symbols`, `tape`, `mkdirp`, `iconv-lite`
|
|---|
| 259 | - [actions] add automatic rebasing / merge commit blocking
|
|---|
| 260 |
|
|---|
| 261 | ## **6.9.1**
|
|---|
| 262 | - [Fix] `parse`: with comma true, handle field that holds an array of arrays (#335)
|
|---|
| 263 | - [Fix] `parse`: with comma true, do not split non-string values (#334)
|
|---|
| 264 | - [meta] add `funding` field
|
|---|
| 265 | - [Dev Deps] update `eslint`, `@ljharb/eslint-config`
|
|---|
| 266 | - [Tests] use shared travis-ci config
|
|---|
| 267 |
|
|---|
| 268 | ## **6.9.0**
|
|---|
| 269 | - [New] `parse`/`stringify`: Pass extra key/value argument to `decoder` (#333)
|
|---|
| 270 | - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `evalmd`
|
|---|
| 271 | - [Tests] `parse`: add passing `arrayFormat` tests
|
|---|
| 272 | - [Tests] add `posttest` using `npx aud` to run `npm audit` without a lockfile
|
|---|
| 273 | - [Tests] up to `node` `v12.10`, `v11.15`, `v10.16`, `v8.16`
|
|---|
| 274 | - [Tests] `Buffer.from` in node v5.0-v5.9 and v4.0-v4.4 requires a TypedArray
|
|---|
| 275 |
|
|---|
| 276 | ## **6.8.5**
|
|---|
| 277 | - [Fix] fix regressions from robustness refactor
|
|---|
| 278 | - [meta] add `npmignore` to autogenerate an npmignore file
|
|---|
| 279 | - [actions] update reusable workflows
|
|---|
| 280 |
|
|---|
| 281 | ## **6.8.4**
|
|---|
| 282 | - [Robustness] avoid `.push`, use `void`
|
|---|
| 283 | - [readme] clarify `parseArrays` and `arrayLimit` documentation (#543)
|
|---|
| 284 | - [readme] document that `addQueryPrefix` does not add `?` to empty output (#418)
|
|---|
| 285 | - [readme] replace runkit CI badge with shields.io check-runs badge
|
|---|
| 286 | - [actions] fix rebase workflow permissions
|
|---|
| 287 |
|
|---|
| 288 | ## **6.8.3**
|
|---|
| 289 | - [Fix] `parse`: ignore `__proto__` keys (#428)
|
|---|
| 290 | - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
|
|---|
| 291 | - [Fix] `stringify`: avoid encoding arrayformat comma when `encodeValuesOnly = true` (#424)
|
|---|
| 292 | - [readme] remove travis badge; add github actions/codecov badges; update URLs
|
|---|
| 293 | - [Tests] clean up stringify tests slightly
|
|---|
| 294 | - [Docs] add note and links for coercing primitive values (#408)
|
|---|
| 295 | - [meta] fix README.md (#399)
|
|---|
| 296 | - [actions] backport actions from main
|
|---|
| 297 | - [Dev Deps] backport updates from main
|
|---|
| 298 | - [Refactor] `stringify`: reduce branching
|
|---|
| 299 | - [meta] do not publish workflow files
|
|---|
| 300 |
|
|---|
| 301 | ## **6.8.2**
|
|---|
| 302 | - [Fix] proper comma parsing of URL-encoded commas (#361)
|
|---|
| 303 | - [Fix] parses comma delimited array while having percent-encoded comma treated as normal text (#336)
|
|---|
| 304 |
|
|---|
| 305 | ## **6.8.1**
|
|---|
| 306 | - [Fix] `parse`: Fix parsing array from object with `comma` true (#359)
|
|---|
| 307 | - [Fix] `parse`: throw a TypeError instead of an Error for bad charset (#349)
|
|---|
| 308 | - [Fix] `parse`: with comma true, handle field that holds an array of arrays (#335)
|
|---|
| 309 | - [fix] `parse`: with comma true, do not split non-string values (#334)
|
|---|
| 310 | - [meta] add tidelift marketing copy
|
|---|
| 311 | - [meta] add `funding` field
|
|---|
| 312 | - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`, `safe-publish-latest`, `evalmd`, `has-symbols`, `iconv-lite`, `mkdirp`, `object-inspect`
|
|---|
| 313 | - [Tests] `parse`: add passing `arrayFormat` tests
|
|---|
| 314 | - [Tests] use shared travis-ci configs
|
|---|
| 315 | - [Tests] `Buffer.from` in node v5.0-v5.9 and v4.0-v4.4 requires a TypedArray
|
|---|
| 316 | - [actions] add automatic rebasing / merge commit blocking
|
|---|
| 317 |
|
|---|
| 318 | ## **6.8.0**
|
|---|
| 319 | - [New] add `depth=false` to preserve the original key; [Fix] `depth=0` should preserve the original key (#326)
|
|---|
| 320 | - [New] [Fix] stringify symbols and bigints
|
|---|
| 321 | - [Fix] ensure node 0.12 can stringify Symbols
|
|---|
| 322 | - [Fix] fix for an impossible situation: when the formatter is called with a non-string value
|
|---|
| 323 | - [Refactor] `formats`: tiny bit of cleanup.
|
|---|
| 324 | - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `browserify`, `safe-publish-latest`, `iconv-lite`, `tape`
|
|---|
| 325 | - [Tests] add tests for `depth=0` and `depth=false` behavior, both current and intuitive/intended (#326)
|
|---|
| 326 | - [Tests] use `eclint` instead of `editorconfig-tools`
|
|---|
| 327 | - [docs] readme: add security note
|
|---|
| 328 | - [meta] add github sponsorship
|
|---|
| 329 | - [meta] add FUNDING.yml
|
|---|
| 330 | - [meta] Clean up license text so it’s properly detected as BSD-3-Clause
|
|---|
| 331 |
|
|---|
| 332 | ## **6.7.5**
|
|---|
| 333 | - [Fix] fix regressions from robustness refactor
|
|---|
| 334 | - [meta] add `npmignore` to autogenerate an npmignore file
|
|---|
| 335 | - [actions] update reusable workflows
|
|---|
| 336 |
|
|---|
| 337 | ## **6.7.4**
|
|---|
| 338 | - [Robustness] avoid `.push`, use `void`
|
|---|
| 339 | - [readme] clarify `parseArrays` and `arrayLimit` documentation (#543)
|
|---|
| 340 | - [readme] document that `addQueryPrefix` does not add `?` to empty output (#418)
|
|---|
| 341 | - [readme] replace runkit CI badge with shields.io check-runs badge
|
|---|
| 342 | - [actions] fix rebase workflow permissions
|
|---|
| 343 |
|
|---|
| 344 | ## **6.7.3**
|
|---|
| 345 | - [Fix] `parse`: ignore `__proto__` keys (#428)
|
|---|
| 346 | - [Fix] `stringify`: avoid encoding arrayformat comma when `encodeValuesOnly = true` (#424)
|
|---|
| 347 | - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
|
|---|
| 348 | - [readme] remove travis badge; add github actions/codecov badges; update URLs
|
|---|
| 349 | - [Docs] add note and links for coercing primitive values (#408)
|
|---|
| 350 | - [meta] fix README.md (#399)
|
|---|
| 351 | - [meta] do not publish workflow files
|
|---|
| 352 | - [actions] backport actions from main
|
|---|
| 353 | - [Dev Deps] backport updates from main
|
|---|
| 354 | - [Tests] use `nyc` for coverage
|
|---|
| 355 | - [Tests] clean up stringify tests slightly
|
|---|
| 356 |
|
|---|
| 357 | ## **6.7.2**
|
|---|
| 358 | - [Fix] proper comma parsing of URL-encoded commas (#361)
|
|---|
| 359 | - [Fix] parses comma delimited array while having percent-encoded comma treated as normal text (#336)
|
|---|
| 360 |
|
|---|
| 361 | ## **6.7.1**
|
|---|
| 362 | - [Fix] `parse`: Fix parsing array from object with `comma` true (#359)
|
|---|
| 363 | - [Fix] `parse`: with comma true, handle field that holds an array of arrays (#335)
|
|---|
| 364 | - [fix] `parse`: with comma true, do not split non-string values (#334)
|
|---|
| 365 | - [Fix] `parse`: throw a TypeError instead of an Error for bad charset (#349)
|
|---|
| 366 | - [Fix] fix for an impossible situation: when the formatter is called with a non-string value
|
|---|
| 367 | - [Refactor] `formats`: tiny bit of cleanup.
|
|---|
| 368 | - readme: add security note
|
|---|
| 369 | - [meta] add tidelift marketing copy
|
|---|
| 370 | - [meta] add `funding` field
|
|---|
| 371 | - [meta] add FUNDING.yml
|
|---|
| 372 | - [meta] Clean up license text so it’s properly detected as BSD-3-Clause
|
|---|
| 373 | - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`, `safe-publish-latest`, `evalmd`, `iconv-lite`, `mkdirp`, `object-inspect`, `browserify`
|
|---|
| 374 | - [Tests] `parse`: add passing `arrayFormat` tests
|
|---|
| 375 | - [Tests] use shared travis-ci configs
|
|---|
| 376 | - [Tests] `Buffer.from` in node v5.0-v5.9 and v4.0-v4.4 requires a TypedArray
|
|---|
| 377 | - [Tests] add tests for `depth=0` and `depth=false` behavior, both current and intuitive/intended
|
|---|
| 378 | - [Tests] use `eclint` instead of `editorconfig-tools`
|
|---|
| 379 | - [actions] add automatic rebasing / merge commit blocking
|
|---|
| 380 |
|
|---|
| 381 | ## **6.7.0**
|
|---|
| 382 | - [New] `stringify`/`parse`: add `comma` as an `arrayFormat` option (#276, #219)
|
|---|
| 383 | - [Fix] correctly parse nested arrays (#212)
|
|---|
| 384 | - [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source, also with an array source
|
|---|
| 385 | - [Robustness] `stringify`: cache `Object.prototype.hasOwnProperty`
|
|---|
| 386 | - [Refactor] `utils`: `isBuffer`: small tweak; add tests
|
|---|
| 387 | - [Refactor] use cached `Array.isArray`
|
|---|
| 388 | - [Refactor] `parse`/`stringify`: make a function to normalize the options
|
|---|
| 389 | - [Refactor] `utils`: reduce observable [[Get]]s
|
|---|
| 390 | - [Refactor] `stringify`/`utils`: cache `Array.isArray`
|
|---|
| 391 | - [Tests] always use `String(x)` over `x.toString()`
|
|---|
| 392 | - [Tests] fix Buffer tests to work in node < 4.5 and node < 5.10
|
|---|
| 393 | - [Tests] temporarily allow coverage to fail
|
|---|
| 394 |
|
|---|
| 395 | ## **6.6.3**
|
|---|
| 396 | - [Fix] fix regressions from robustness refactor
|
|---|
| 397 | - [meta] add `npmignore` to autogenerate an npmignore file
|
|---|
| 398 | - [actions] update reusable workflows
|
|---|
| 399 |
|
|---|
| 400 | ## **6.6.2**
|
|---|
| 401 | - [Robustness] avoid `.push`, use `void`
|
|---|
| 402 | - [readme] clarify `parseArrays` and `arrayLimit` documentation (#543)
|
|---|
| 403 | - [readme] document that `addQueryPrefix` does not add `?` to empty output (#418)
|
|---|
| 404 | - [readme] replace runkit CI badge with shields.io check-runs badge
|
|---|
| 405 | - [actions] fix rebase workflow permissions
|
|---|
| 406 |
|
|---|
| 407 | ## **6.6.1**
|
|---|
| 408 | - [Fix] `parse`: ignore `__proto__` keys (#428)
|
|---|
| 409 | - [Fix] fix for an impossible situation: when the formatter is called with a non-string value
|
|---|
| 410 | - [Fix] `utils.merge`: avoid a crash with a null target and an array source
|
|---|
| 411 | - [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source
|
|---|
| 412 | - [Fix] correctly parse nested arrays
|
|---|
| 413 | - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
|
|---|
| 414 | - [Robustness] `stringify`: cache `Object.prototype.hasOwnProperty`
|
|---|
| 415 | - [Refactor] `formats`: tiny bit of cleanup.
|
|---|
| 416 | - [Refactor] `utils`: `isBuffer`: small tweak; add tests
|
|---|
| 417 | - [Refactor]: `stringify`/`utils`: cache `Array.isArray`
|
|---|
| 418 | - [Refactor] `utils`: reduce observable [[Get]]s
|
|---|
| 419 | - [Refactor] use cached `Array.isArray`
|
|---|
| 420 | - [Refactor] `parse`/`stringify`: make a function to normalize the options
|
|---|
| 421 | - [readme] remove travis badge; add github actions/codecov badges; update URLs
|
|---|
| 422 | - [Docs] Clarify the need for "arrayLimit" option
|
|---|
| 423 | - [meta] fix README.md (#399)
|
|---|
| 424 | - [meta] do not publish workflow files
|
|---|
| 425 | - [meta] Clean up license text so it’s properly detected as BSD-3-Clause
|
|---|
| 426 | - [meta] add FUNDING.yml
|
|---|
| 427 | - [meta] Fixes typo in CHANGELOG.md
|
|---|
| 428 | - [actions] backport actions from main
|
|---|
| 429 | - [Tests] fix Buffer tests to work in node < 4.5 and node < 5.10
|
|---|
| 430 | - [Tests] always use `String(x)` over `x.toString()`
|
|---|
| 431 | - [Dev Deps] backport from main
|
|---|
| 432 |
|
|---|
| 433 | ## **6.6.0**
|
|---|
| 434 | - [New] Add support for iso-8859-1, utf8 "sentinel" and numeric entities (#268)
|
|---|
| 435 | - [New] move two-value combine to a `utils` function (#189)
|
|---|
| 436 | - [Fix] `stringify`: fix a crash with `strictNullHandling` and a custom `filter`/`serializeDate` (#279)
|
|---|
| 437 | - [Fix] when `parseArrays` is false, properly handle keys ending in `[]` (#260)
|
|---|
| 438 | - [Fix] `stringify`: do not crash in an obscure combo of `interpretNumericEntities`, a bad custom `decoder`, & `iso-8859-1`
|
|---|
| 439 | - [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided
|
|---|
| 440 | - [refactor] `stringify`: Avoid arr = arr.concat(...), push to the existing instance (#269)
|
|---|
| 441 | - [Refactor] `parse`: only need to reassign the var once
|
|---|
| 442 | - [Refactor] `parse`/`stringify`: clean up `charset` options checking; fix defaults
|
|---|
| 443 | - [Refactor] add missing defaults
|
|---|
| 444 | - [Refactor] `parse`: one less `concat` call
|
|---|
| 445 | - [Refactor] `utils`: `compactQueue`: make it explicitly side-effecting
|
|---|
| 446 | - [Dev Deps] update `browserify`, `eslint`, `@ljharb/eslint-config`, `iconv-lite`, `safe-publish-latest`, `tape`
|
|---|
| 447 | - [Tests] up to `node` `v10.10`, `v9.11`, `v8.12`, `v6.14`, `v4.9`; pin included builds to LTS
|
|---|
| 448 |
|
|---|
| 449 | ## **6.5.5**
|
|---|
| 450 | - [Fix] fix regressions from robustness refactor
|
|---|
| 451 | - [meta] add `npmignore` to autogenerate an npmignore file
|
|---|
| 452 | - [actions] update reusable workflows
|
|---|
| 453 |
|
|---|
| 454 | ## **6.5.4**
|
|---|
| 455 | - [Robustness] avoid `.push`, use `void`
|
|---|
| 456 | - [readme] clarify `parseArrays` and `arrayLimit` documentation (#543)
|
|---|
| 457 | - [readme] document that `addQueryPrefix` does not add `?` to empty output (#418)
|
|---|
| 458 | - [readme] replace runkit CI badge with shields.io check-runs badge
|
|---|
| 459 | - [actions] fix rebase workflow permissions
|
|---|
| 460 |
|
|---|
| 461 | ## **6.5.3**
|
|---|
| 462 | - [Fix] `parse`: ignore `__proto__` keys (#428)
|
|---|
| 463 | - [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source
|
|---|
| 464 | - [Fix] correctly parse nested arrays
|
|---|
| 465 | - [Fix] `stringify`: fix a crash with `strictNullHandling` and a custom `filter`/`serializeDate` (#279)
|
|---|
| 466 | - [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided
|
|---|
| 467 | - [Fix] when `parseArrays` is false, properly handle keys ending in `[]`
|
|---|
| 468 | - [Fix] fix for an impossible situation: when the formatter is called with a non-string value
|
|---|
| 469 | - [Fix] `utils.merge`: avoid a crash with a null target and an array source
|
|---|
| 470 | - [Refactor] `utils`: reduce observable [[Get]]s
|
|---|
| 471 | - [Refactor] use cached `Array.isArray`
|
|---|
| 472 | - [Refactor] `stringify`: Avoid arr = arr.concat(...), push to the existing instance (#269)
|
|---|
| 473 | - [Refactor] `parse`: only need to reassign the var once
|
|---|
| 474 | - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
|
|---|
| 475 | - [readme] remove travis badge; add github actions/codecov badges; update URLs
|
|---|
| 476 | - [Docs] Clean up license text so it’s properly detected as BSD-3-Clause
|
|---|
| 477 | - [Docs] Clarify the need for "arrayLimit" option
|
|---|
| 478 | - [meta] fix README.md (#399)
|
|---|
| 479 | - [meta] add FUNDING.yml
|
|---|
| 480 | - [actions] backport actions from main
|
|---|
| 481 | - [Tests] always use `String(x)` over `x.toString()`
|
|---|
| 482 | - [Tests] remove nonexistent tape option
|
|---|
| 483 | - [Dev Deps] backport from main
|
|---|
| 484 |
|
|---|
| 485 | ## **6.5.2**
|
|---|
| 486 | - [Fix] use `safer-buffer` instead of `Buffer` constructor
|
|---|
| 487 | - [Refactor] utils: `module.exports` one thing, instead of mutating `exports` (#230)
|
|---|
| 488 | - [Dev Deps] update `browserify`, `eslint`, `iconv-lite`, `safer-buffer`, `tape`, `browserify`
|
|---|
| 489 |
|
|---|
| 490 | ## **6.5.1**
|
|---|
| 491 | - [Fix] Fix parsing & compacting very deep objects (#224)
|
|---|
| 492 | - [Refactor] name utils functions
|
|---|
| 493 | - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`
|
|---|
| 494 | - [Tests] up to `node` `v8.4`; use `nvm install-latest-npm` so newer npm doesn’t break older node
|
|---|
| 495 | - [Tests] Use precise dist for Node.js 0.6 runtime (#225)
|
|---|
| 496 | - [Tests] make 0.6 required, now that it’s passing
|
|---|
| 497 | - [Tests] on `node` `v8.2`; fix npm on node 0.6
|
|---|
| 498 |
|
|---|
| 499 | ## **6.5.0**
|
|---|
| 500 | - [New] add `utils.assign`
|
|---|
| 501 | - [New] pass default encoder/decoder to custom encoder/decoder functions (#206)
|
|---|
| 502 | - [New] `parse`/`stringify`: add `ignoreQueryPrefix`/`addQueryPrefix` options, respectively (#213)
|
|---|
| 503 | - [Fix] Handle stringifying empty objects with addQueryPrefix (#217)
|
|---|
| 504 | - [Fix] do not mutate `options` argument (#207)
|
|---|
| 505 | - [Refactor] `parse`: cache index to reuse in else statement (#182)
|
|---|
| 506 | - [Docs] add various badges to readme (#208)
|
|---|
| 507 | - [Dev Deps] update `eslint`, `browserify`, `iconv-lite`, `tape`
|
|---|
| 508 | - [Tests] up to `node` `v8.1`, `v7.10`, `v6.11`; npm v4.6 breaks on node < v1; npm v5+ breaks on node < v4
|
|---|
| 509 | - [Tests] add `editorconfig-tools`
|
|---|
| 510 |
|
|---|
| 511 | ## **6.4.3**
|
|---|
| 512 | - [Fix] fix regressions from robustness refactor
|
|---|
| 513 | - [meta] add `npmignore` to autogenerate an npmignore file
|
|---|
| 514 | - [actions] update reusable workflows
|
|---|
| 515 |
|
|---|
| 516 | ## **6.4.2**
|
|---|
| 517 | - [Robustness] avoid `.push`, use `void`
|
|---|
| 518 | - [readme] clarify `parseArrays` and `arrayLimit` documentation (#543)
|
|---|
| 519 | - [readme] replace runkit CI badge with shields.io check-runs badge
|
|---|
| 520 | - [readme] replace travis CI badge with shields.io check-runs badge
|
|---|
| 521 | - [actions] fix rebase workflow permissions
|
|---|
| 522 |
|
|---|
| 523 | ## **6.4.1**
|
|---|
| 524 | - [Fix] `parse`: ignore `__proto__` keys (#428)
|
|---|
| 525 | - [Fix] fix for an impossible situation: when the formatter is called with a non-string value
|
|---|
| 526 | - [Fix] use `safer-buffer` instead of `Buffer` constructor
|
|---|
| 527 | - [Fix] `utils.merge`: avoid a crash with a null target and an array source
|
|---|
| 528 | - [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source
|
|---|
| 529 | - [Fix] `stringify`: fix a crash with `strictNullHandling` and a custom `filter`/`serializeDate` (#279)
|
|---|
| 530 | - [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided
|
|---|
| 531 | - [Fix] when `parseArrays` is false, properly handle keys ending in `[]`
|
|---|
| 532 | - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
|
|---|
| 533 | - [Refactor] use cached `Array.isArray`
|
|---|
| 534 | - [Refactor] `stringify`: Avoid arr = arr.concat(...), push to the existing instance (#269)
|
|---|
| 535 | - [readme] remove travis badge; add github actions/codecov badges; update URLs
|
|---|
| 536 | - [Docs] Clarify the need for "arrayLimit" option
|
|---|
| 537 | - [meta] fix README.md (#399)
|
|---|
| 538 | - [meta] Clean up license text so it’s properly detected as BSD-3-Clause
|
|---|
| 539 | - [meta] add FUNDING.yml
|
|---|
| 540 | - [actions] backport actions from main
|
|---|
| 541 | - [Tests] remove nonexistent tape option
|
|---|
| 542 | - [Dev Deps] backport from main
|
|---|
| 543 |
|
|---|
| 544 | ## **6.4.0**
|
|---|
| 545 | - [New] `qs.stringify`: add `encodeValuesOnly` option
|
|---|
| 546 | - [Fix] follow `allowPrototypes` option during merge (#201, #201)
|
|---|
| 547 | - [Fix] support keys starting with brackets (#202, #200)
|
|---|
| 548 | - [Fix] chmod a-x
|
|---|
| 549 | - [Dev Deps] update `eslint`
|
|---|
| 550 | - [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
|
|---|
| 551 | - [eslint] reduce warnings
|
|---|
| 552 |
|
|---|
| 553 | ## **6.3.5**
|
|---|
| 554 | - [Fix] fix regressions from robustness refactor
|
|---|
| 555 | - [meta] add `npmignore` to autogenerate an npmignore file
|
|---|
| 556 | - [actions] update reusable workflows
|
|---|
| 557 |
|
|---|
| 558 | ## **6.3.4**
|
|---|
| 559 | - [Robustness] avoid `.push`, use `void`
|
|---|
| 560 | - [readme] clarify `parseArrays` and `arrayLimit` documentation (#543)
|
|---|
| 561 | - [readme] replace travis CI badge with shields.io check-runs badge
|
|---|
| 562 | - [actions] fix rebase workflow permissions
|
|---|
| 563 |
|
|---|
| 564 | ## **6.3.3**
|
|---|
| 565 | - [Fix] `parse`: ignore `__proto__` keys (#428)
|
|---|
| 566 | - [Fix] fix for an impossible situation: when the formatter is called with a non-string value
|
|---|
| 567 | - [Fix] `utils.merge`: avoid a crash with a null target and an array source
|
|---|
| 568 | - [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source
|
|---|
| 569 | - [Fix] `stringify`: fix a crash with `strictNullHandling` and a custom `filter`/`serializeDate` (#279)
|
|---|
| 570 | - [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided
|
|---|
| 571 | - [Fix] when `parseArrays` is false, properly handle keys ending in `[]`
|
|---|
| 572 | - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
|
|---|
| 573 | - [Refactor] use cached `Array.isArray`
|
|---|
| 574 | - [Refactor] `stringify`: Avoid arr = arr.concat(...), push to the existing instance (#269)
|
|---|
| 575 | - [Docs] Clarify the need for "arrayLimit" option
|
|---|
| 576 | - [meta] fix README.md (#399)
|
|---|
| 577 | - [meta] Clean up license text so it’s properly detected as BSD-3-Clause
|
|---|
| 578 | - [meta] add FUNDING.yml
|
|---|
| 579 | - [actions] backport actions from main
|
|---|
| 580 | - [Tests] use `safer-buffer` instead of `Buffer` constructor
|
|---|
| 581 | - [Tests] remove nonexistent tape option
|
|---|
| 582 | - [Dev Deps] backport from main
|
|---|
| 583 |
|
|---|
| 584 | ## **6.3.2**
|
|---|
| 585 | - [Fix] follow `allowPrototypes` option during merge (#201, #200)
|
|---|
| 586 | - [Dev Deps] update `eslint`
|
|---|
| 587 | - [Fix] chmod a-x
|
|---|
| 588 | - [Fix] support keys starting with brackets (#202, #200)
|
|---|
| 589 | - [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
|
|---|
| 590 |
|
|---|
| 591 | ## **6.3.1**
|
|---|
| 592 | - [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties (thanks, @snyk!)
|
|---|
| 593 | - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `browserify`, `iconv-lite`, `qs-iconv`, `tape`
|
|---|
| 594 | - [Tests] on all node minors; improve test matrix
|
|---|
| 595 | - [Docs] document stringify option `allowDots` (#195)
|
|---|
| 596 | - [Docs] add empty object and array values example (#195)
|
|---|
| 597 | - [Docs] Fix minor inconsistency/typo (#192)
|
|---|
| 598 | - [Docs] document stringify option `sort` (#191)
|
|---|
| 599 | - [Refactor] `stringify`: throw faster with an invalid encoder
|
|---|
| 600 | - [Refactor] remove unnecessary escapes (#184)
|
|---|
| 601 | - Remove contributing.md, since `qs` is no longer part of `hapi` (#183)
|
|---|
| 602 |
|
|---|
| 603 | ## **6.3.0**
|
|---|
| 604 | - [New] Add support for RFC 1738 (#174, #173)
|
|---|
| 605 | - [New] `stringify`: Add `serializeDate` option to customize Date serialization (#159)
|
|---|
| 606 | - [Fix] ensure `utils.merge` handles merging two arrays
|
|---|
| 607 | - [Refactor] only constructors should be capitalized
|
|---|
| 608 | - [Refactor] capitalized var names are for constructors only
|
|---|
| 609 | - [Refactor] avoid using a sparse array
|
|---|
| 610 | - [Robustness] `formats`: cache `String#replace`
|
|---|
| 611 | - [Dev Deps] update `browserify`, `eslint`, `@ljharb/eslint-config`; add `safe-publish-latest`
|
|---|
| 612 | - [Tests] up to `node` `v6.8`, `v4.6`; improve test matrix
|
|---|
| 613 | - [Tests] flesh out arrayLimit/arrayFormat tests (#107)
|
|---|
| 614 | - [Tests] skip Object.create tests when null objects are not available
|
|---|
| 615 | - [Tests] Turn on eslint for test files (#175)
|
|---|
| 616 |
|
|---|
| 617 | ## **6.2.6**
|
|---|
| 618 | - [Fix] fix regression from robustness refactor
|
|---|
| 619 | - [meta] add `npmignore` to autogenerate an npmignore file
|
|---|
| 620 | - [actions] update reusable workflows
|
|---|
| 621 |
|
|---|
| 622 | ## **6.2.5**
|
|---|
| 623 | - [Robustness] avoid `.push`, use `void`
|
|---|
| 624 | - [readme] clarify `parseArrays` and `arrayLimit` documentation (#543)
|
|---|
| 625 | - [readme] replace travis CI badge with shields.io check-runs badge
|
|---|
| 626 | - [actions] fix rebase workflow permissions
|
|---|
| 627 |
|
|---|
| 628 | ## **6.2.4**
|
|---|
| 629 | - [Fix] `parse`: ignore `__proto__` keys (#428)
|
|---|
| 630 | - [Fix] `utils.merge`: avoid a crash with a null target and an array source
|
|---|
| 631 | - [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source
|
|---|
| 632 | - [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided
|
|---|
| 633 | - [Fix] when `parseArrays` is false, properly handle keys ending in `[]`
|
|---|
| 634 | - [Robustness] `stringify`: avoid relying on a global `undefined` (#427)
|
|---|
| 635 | - [Refactor] use cached `Array.isArray`
|
|---|
| 636 | - [Docs] Clarify the need for "arrayLimit" option
|
|---|
| 637 | - [meta] fix README.md (#399)
|
|---|
| 638 | - [meta] Clean up license text so it’s properly detected as BSD-3-Clause
|
|---|
| 639 | - [meta] add FUNDING.yml
|
|---|
| 640 | - [actions] backport actions from main
|
|---|
| 641 | - [Tests] use `safer-buffer` instead of `Buffer` constructor
|
|---|
| 642 | - [Tests] remove nonexistent tape option
|
|---|
| 643 | - [Dev Deps] backport from main
|
|---|
| 644 |
|
|---|
| 645 | ## **6.2.3**
|
|---|
| 646 | - [Fix] follow `allowPrototypes` option during merge (#201, #200)
|
|---|
| 647 | - [Fix] chmod a-x
|
|---|
| 648 | - [Fix] support keys starting with brackets (#202, #200)
|
|---|
| 649 | - [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
|
|---|
| 650 |
|
|---|
| 651 | ## **6.2.2**
|
|---|
| 652 | - [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties
|
|---|
| 653 |
|
|---|
| 654 | ## **6.2.1**
|
|---|
| 655 | - [Fix] ensure `key[]=x&key[]&key[]=y` results in 3, not 2, values
|
|---|
| 656 | - [Refactor] Be explicit and use `Object.prototype.hasOwnProperty.call`
|
|---|
| 657 | - [Tests] remove `parallelshell` since it does not reliably report failures
|
|---|
| 658 | - [Tests] up to `node` `v6.3`, `v5.12`
|
|---|
| 659 | - [Dev Deps] update `tape`, `eslint`, `@ljharb/eslint-config`, `qs-iconv`
|
|---|
| 660 |
|
|---|
| 661 | ## [**6.2.0**](https://github.com/ljharb/qs/issues?milestone=36&state=closed)
|
|---|
| 662 | - [New] pass Buffers to the encoder/decoder directly (#161)
|
|---|
| 663 | - [New] add "encoder" and "decoder" options, for custom param encoding/decoding (#160)
|
|---|
| 664 | - [Fix] fix compacting of nested sparse arrays (#150)
|
|---|
| 665 |
|
|---|
| 666 | ## **6.1.4**
|
|---|
| 667 | - [Fix] fix regression from robustness refactor
|
|---|
| 668 | - [meta] add `npmignore` to autogenerate an npmignore file
|
|---|
| 669 | - [actions] update reusable workflows
|
|---|
| 670 |
|
|---|
| 671 | ## **6.1.3**
|
|---|
| 672 | - [Robustness] avoid `.push`, use `void`
|
|---|
| 673 | - [readme] clarify `parseArrays` and `arrayLimit` documentation (#543)
|
|---|
| 674 | - [readme] replace travis CI badge with shields.io check-runs badge
|
|---|
| 675 |
|
|---|
| 676 | ## **6.1.2**
|
|---|
| 677 | - [Fix] follow `allowPrototypes` option during merge (#201, #200)
|
|---|
| 678 | - [Fix] chmod a-x
|
|---|
| 679 | - [Fix] support keys starting with brackets (#202, #200)
|
|---|
| 680 | - [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
|
|---|
| 681 |
|
|---|
| 682 | ## **6.1.1**
|
|---|
| 683 | - [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties
|
|---|
| 684 |
|
|---|
| 685 | ## [**6.1.0**](https://github.com/ljharb/qs/issues?milestone=35&state=closed)
|
|---|
| 686 | - [New] allowDots option for `stringify` (#151)
|
|---|
| 687 | - [Fix] "sort" option should work at a depth of 3 or more (#151)
|
|---|
| 688 | - [Fix] Restore `dist` directory; will be removed in v7 (#148)
|
|---|
| 689 |
|
|---|
| 690 | ## **6.0.6**
|
|---|
| 691 | - [Fix] fix regression from robustness refactor
|
|---|
| 692 | - [meta] add `npmignore` to autogenerate an npmignore file
|
|---|
| 693 | - [actions] update reusable workflows
|
|---|
| 694 |
|
|---|
| 695 | ## **6.0.5**
|
|---|
| 696 | - [Robustness] avoid `.push`, use `void`
|
|---|
| 697 | - [readme] clarify `parseArrays` and `arrayLimit` documentation (#543)
|
|---|
| 698 | - [readme] replace travis CI badge with shields.io check-runs badge
|
|---|
| 699 |
|
|---|
| 700 | ## **6.0.4**
|
|---|
| 701 | - [Fix] follow `allowPrototypes` option during merge (#201, #200)
|
|---|
| 702 | - [Fix] chmod a-x
|
|---|
| 703 | - [Fix] support keys starting with brackets (#202, #200)
|
|---|
| 704 | - [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
|
|---|
| 705 |
|
|---|
| 706 | ## **6.0.3**
|
|---|
| 707 | - [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties
|
|---|
| 708 | - [Fix] Restore `dist` directory; will be removed in v7 (#148)
|
|---|
| 709 |
|
|---|
| 710 | ## [**6.0.2**](https://github.com/ljharb/qs/issues?milestone=33&state=closed)
|
|---|
| 711 | - Revert ES6 requirement and restore support for node down to v0.8.
|
|---|
| 712 |
|
|---|
| 713 | ## [**6.0.1**](https://github.com/ljharb/qs/issues?milestone=32&state=closed)
|
|---|
| 714 | - [**#127**](https://github.com/ljharb/qs/pull/127) Fix engines definition in package.json
|
|---|
| 715 |
|
|---|
| 716 | ## [**6.0.0**](https://github.com/ljharb/qs/issues?milestone=31&state=closed)
|
|---|
| 717 | - [**#124**](https://github.com/ljharb/qs/issues/124) Use ES6 and drop support for node < v4
|
|---|
| 718 |
|
|---|
| 719 | ## **5.2.1**
|
|---|
| 720 | - [Fix] ensure `key[]=x&key[]&key[]=y` results in 3, not 2, values
|
|---|
| 721 |
|
|---|
| 722 | ## [**5.2.0**](https://github.com/ljharb/qs/issues?milestone=30&state=closed)
|
|---|
| 723 | - [**#64**](https://github.com/ljharb/qs/issues/64) Add option to sort object keys in the query string
|
|---|
| 724 |
|
|---|
| 725 | ## [**5.1.0**](https://github.com/ljharb/qs/issues?milestone=29&state=closed)
|
|---|
| 726 | - [**#117**](https://github.com/ljharb/qs/issues/117) make URI encoding stringified results optional
|
|---|
| 727 | - [**#106**](https://github.com/ljharb/qs/issues/106) Add flag `skipNulls` to optionally skip null values in stringify
|
|---|
| 728 |
|
|---|
| 729 | ## [**5.0.0**](https://github.com/ljharb/qs/issues?milestone=28&state=closed)
|
|---|
| 730 | - [**#114**](https://github.com/ljharb/qs/issues/114) default allowDots to false
|
|---|
| 731 | - [**#100**](https://github.com/ljharb/qs/issues/100) include dist to npm
|
|---|
| 732 |
|
|---|
| 733 | ## [**4.0.0**](https://github.com/ljharb/qs/issues?milestone=26&state=closed)
|
|---|
| 734 | - [**#98**](https://github.com/ljharb/qs/issues/98) make returning plain objects and allowing prototype overwriting properties optional
|
|---|
| 735 |
|
|---|
| 736 | ## [**3.1.0**](https://github.com/ljharb/qs/issues?milestone=24&state=closed)
|
|---|
| 737 | - [**#89**](https://github.com/ljharb/qs/issues/89) Add option to disable "Transform dot notation to bracket notation"
|
|---|
| 738 |
|
|---|
| 739 | ## [**3.0.0**](https://github.com/ljharb/qs/issues?milestone=23&state=closed)
|
|---|
| 740 | - [**#80**](https://github.com/ljharb/qs/issues/80) qs.parse silently drops properties
|
|---|
| 741 | - [**#77**](https://github.com/ljharb/qs/issues/77) Perf boost
|
|---|
| 742 | - [**#60**](https://github.com/ljharb/qs/issues/60) Add explicit option to disable array parsing
|
|---|
| 743 | - [**#74**](https://github.com/ljharb/qs/issues/74) Bad parse when turning array into object
|
|---|
| 744 | - [**#81**](https://github.com/ljharb/qs/issues/81) Add a `filter` option
|
|---|
| 745 | - [**#68**](https://github.com/ljharb/qs/issues/68) Fixed issue with recursion and passing strings into objects.
|
|---|
| 746 | - [**#66**](https://github.com/ljharb/qs/issues/66) Add mixed array and object dot notation support Closes: #47
|
|---|
| 747 | - [**#76**](https://github.com/ljharb/qs/issues/76) RFC 3986
|
|---|
| 748 | - [**#85**](https://github.com/ljharb/qs/issues/85) No equal sign
|
|---|
| 749 | - [**#84**](https://github.com/ljharb/qs/issues/84) update license attribute
|
|---|
| 750 |
|
|---|
| 751 | ## [**2.4.1**](https://github.com/ljharb/qs/issues?milestone=20&state=closed)
|
|---|
| 752 | - [**#73**](https://github.com/ljharb/qs/issues/73) Property 'hasOwnProperty' of object #<Object> is not a function
|
|---|
| 753 |
|
|---|
| 754 | ## [**2.4.0**](https://github.com/ljharb/qs/issues?milestone=19&state=closed)
|
|---|
| 755 | - [**#70**](https://github.com/ljharb/qs/issues/70) Add arrayFormat option
|
|---|
| 756 |
|
|---|
| 757 | ## [**2.3.3**](https://github.com/ljharb/qs/issues?milestone=18&state=closed)
|
|---|
| 758 | - [**#59**](https://github.com/ljharb/qs/issues/59) make sure array indexes are >= 0, closes #57
|
|---|
| 759 | - [**#58**](https://github.com/ljharb/qs/issues/58) make qs usable for browser loader
|
|---|
| 760 |
|
|---|
| 761 | ## [**2.3.2**](https://github.com/ljharb/qs/issues?milestone=17&state=closed)
|
|---|
| 762 | - [**#55**](https://github.com/ljharb/qs/issues/55) allow merging a string into an object
|
|---|
| 763 |
|
|---|
| 764 | ## [**2.3.1**](https://github.com/ljharb/qs/issues?milestone=16&state=closed)
|
|---|
| 765 | - [**#52**](https://github.com/ljharb/qs/issues/52) Return "undefined" and "false" instead of throwing "TypeError".
|
|---|
| 766 |
|
|---|
| 767 | ## [**2.3.0**](https://github.com/ljharb/qs/issues?milestone=15&state=closed)
|
|---|
| 768 | - [**#50**](https://github.com/ljharb/qs/issues/50) add option to omit array indices, closes #46
|
|---|
| 769 |
|
|---|
| 770 | ## [**2.2.5**](https://github.com/ljharb/qs/issues?milestone=14&state=closed)
|
|---|
| 771 | - [**#39**](https://github.com/ljharb/qs/issues/39) Is there an alternative to Buffer.isBuffer?
|
|---|
| 772 | - [**#49**](https://github.com/ljharb/qs/issues/49) refactor utils.merge, fixes #45
|
|---|
| 773 | - [**#41**](https://github.com/ljharb/qs/issues/41) avoid browserifying Buffer, for #39
|
|---|
| 774 |
|
|---|
| 775 | ## [**2.2.4**](https://github.com/ljharb/qs/issues?milestone=13&state=closed)
|
|---|
| 776 | - [**#38**](https://github.com/ljharb/qs/issues/38) how to handle object keys beginning with a number
|
|---|
| 777 |
|
|---|
| 778 | ## [**2.2.3**](https://github.com/ljharb/qs/issues?milestone=12&state=closed)
|
|---|
| 779 | - [**#37**](https://github.com/ljharb/qs/issues/37) parser discards first empty value in array
|
|---|
| 780 | - [**#36**](https://github.com/ljharb/qs/issues/36) Update to lab 4.x
|
|---|
| 781 |
|
|---|
| 782 | ## [**2.2.2**](https://github.com/ljharb/qs/issues?milestone=11&state=closed)
|
|---|
| 783 | - [**#33**](https://github.com/ljharb/qs/issues/33) Error when plain object in a value
|
|---|
| 784 | - [**#34**](https://github.com/ljharb/qs/issues/34) use Object.prototype.hasOwnProperty.call instead of obj.hasOwnProperty
|
|---|
| 785 | - [**#24**](https://github.com/ljharb/qs/issues/24) Changelog? Semver?
|
|---|
| 786 |
|
|---|
| 787 | ## [**2.2.1**](https://github.com/ljharb/qs/issues?milestone=10&state=closed)
|
|---|
| 788 | - [**#32**](https://github.com/ljharb/qs/issues/32) account for circular references properly, closes #31
|
|---|
| 789 | - [**#31**](https://github.com/ljharb/qs/issues/31) qs.parse stackoverflow on circular objects
|
|---|
| 790 |
|
|---|
| 791 | ## [**2.2.0**](https://github.com/ljharb/qs/issues?milestone=9&state=closed)
|
|---|
| 792 | - [**#26**](https://github.com/ljharb/qs/issues/26) Don't use Buffer global if it's not present
|
|---|
| 793 | - [**#30**](https://github.com/ljharb/qs/issues/30) Bug when merging non-object values into arrays
|
|---|
| 794 | - [**#29**](https://github.com/ljharb/qs/issues/29) Don't call Utils.clone at the top of Utils.merge
|
|---|
| 795 | - [**#23**](https://github.com/ljharb/qs/issues/23) Ability to not limit parameters?
|
|---|
| 796 |
|
|---|
| 797 | ## [**2.1.0**](https://github.com/ljharb/qs/issues?milestone=8&state=closed)
|
|---|
| 798 | - [**#22**](https://github.com/ljharb/qs/issues/22) Enable using a RegExp as delimiter
|
|---|
| 799 |
|
|---|
| 800 | ## [**2.0.0**](https://github.com/ljharb/qs/issues?milestone=7&state=closed)
|
|---|
| 801 | - [**#18**](https://github.com/ljharb/qs/issues/18) Why is there arrayLimit?
|
|---|
| 802 | - [**#20**](https://github.com/ljharb/qs/issues/20) Configurable parametersLimit
|
|---|
| 803 | - [**#21**](https://github.com/ljharb/qs/issues/21) make all limits optional, for #18, for #20
|
|---|
| 804 |
|
|---|
| 805 | ## [**1.2.2**](https://github.com/ljharb/qs/issues?milestone=6&state=closed)
|
|---|
| 806 | - [**#19**](https://github.com/ljharb/qs/issues/19) Don't overwrite null values
|
|---|
| 807 |
|
|---|
| 808 | ## [**1.2.1**](https://github.com/ljharb/qs/issues?milestone=5&state=closed)
|
|---|
| 809 | - [**#16**](https://github.com/ljharb/qs/issues/16) ignore non-string delimiters
|
|---|
| 810 | - [**#15**](https://github.com/ljharb/qs/issues/15) Close code block
|
|---|
| 811 |
|
|---|
| 812 | ## [**1.2.0**](https://github.com/ljharb/qs/issues?milestone=4&state=closed)
|
|---|
| 813 | - [**#12**](https://github.com/ljharb/qs/issues/12) Add optional delim argument
|
|---|
| 814 | - [**#13**](https://github.com/ljharb/qs/issues/13) fix #11: flattened keys in array are now correctly parsed
|
|---|
| 815 |
|
|---|
| 816 | ## [**1.1.0**](https://github.com/ljharb/qs/issues?milestone=3&state=closed)
|
|---|
| 817 | - [**#7**](https://github.com/ljharb/qs/issues/7) Empty values of a POST array disappear after being submitted
|
|---|
| 818 | - [**#9**](https://github.com/ljharb/qs/issues/9) Should not omit equals signs (=) when value is null
|
|---|
| 819 | - [**#6**](https://github.com/ljharb/qs/issues/6) Minor grammar fix in README
|
|---|
| 820 |
|
|---|
| 821 | ## [**1.0.2**](https://github.com/ljharb/qs/issues?milestone=2&state=closed)
|
|---|
| 822 | - [**#5**](https://github.com/ljharb/qs/issues/5) array holes incorrectly copied into object on large index
|
|---|