CHANGELOG.md
10.1 KB
6.4.0
- [New]
qs.stringify
: addencodeValuesOnly
option - [Fix] follow
allowPrototypes
option during merge (#201, #201) - [Fix] support keys starting with brackets (#202, #200)
- [Fix] chmod a-x
- [Dev Deps] update
eslint
- [Tests] up to
node
v7.7
,v6.10
,v4.8
; disable osx builds since they block linux builds - [eslint] reduce warnings
6.3.1
- [Fix] ensure that
allowPrototypes: false
does not ever shadow Object.prototype properties (thanks, @snyk!) - [Dev Deps] update
eslint
,@ljharb/eslint-config
,browserify
,iconv-lite
,qs-iconv
,tape
- [Tests] on all node minors; improve test matrix
- [Docs] document stringify option
allowDots
(#195) - [Docs] add empty object and array values example (#195)
- [Docs] Fix minor inconsistency/typo (#192)
- [Docs] document stringify option
sort
(#191) - [Refactor]
stringify
: throw faster with an invalid encoder - [Refactor] remove unnecessary escapes (#184)
- Remove contributing.md, since
qs
is no longer part ofhapi
(#183)
6.3.0
- [New] Add support for RFC 1738 (#174, #173)
- [New]
stringify
: AddserializeDate
option to customize Date serialization (#159) - [Fix] ensure
utils.merge
handles merging two arrays - [Refactor] only constructors should be capitalized
- [Refactor] capitalized var names are for constructors only
- [Refactor] avoid using a sparse array
- [Robustness]
formats
: cacheString#replace
- [Dev Deps] update
browserify
,eslint
,@ljharb/eslint-config
; addsafe-publish-latest
- [Tests] up to
node
v6.8
,v4.6
; improve test matrix - [Tests] flesh out arrayLimit/arrayFormat tests (#107)
- [Tests] skip Object.create tests when null objects are not available
- [Tests] Turn on eslint for test files (#175)
6.2.2
- [Fix] ensure that
allowPrototypes: false
does not ever shadow Object.prototype properties
6.2.1
- [Fix] ensure
key[]=x&key[]&key[]=y
results in 3, not 2, values - [Refactor] Be explicit and use
Object.prototype.hasOwnProperty.call
- [Tests] remove
parallelshell
since it does not reliably report failures - [Tests] up to
node
v6.3
,v5.12
- [Dev Deps] update
tape
,eslint
,@ljharb/eslint-config
,qs-iconv
<strong>6.2.0</strong>
- [New] pass Buffers to the encoder/decoder directly (#161)
- [New] add "encoder" and "decoder" options, for custom param encoding/decoding (#160)
- [Fix] fix compacting of nested sparse arrays (#150)
6.1.1
- [Fix] ensure that
allowPrototypes: false
does not ever shadow Object.prototype properties
<strong>6.1.0</strong>
- [New] allowDots option for
stringify
(#151) - [Fix] "sort" option should work at a depth of 3 or more (#151)
- [Fix] Restore
dist
directory; will be removed in v7 (#148)
6.0.3
- [Fix] ensure that
allowPrototypes: false
does not ever shadow Object.prototype properties - [Fix] Restore
dist
directory; will be removed in v7 (#148)
<strong>6.0.2</strong>
- Revert ES6 requirement and restore support for node down to v0.8.
<strong>6.0.1</strong>
- <strong>#127</strong> Fix engines definition in package.json
<strong>6.0.0</strong>
- <strong>#124</strong> Use ES6 and drop support for node < v4
5.2.1
- [Fix] ensure
key[]=x&key[]&key[]=y
results in 3, not 2, values
<strong>5.2.0</strong>
- <strong>#64</strong> Add option to sort object keys in the query string
<strong>5.1.0</strong>
- <strong>#117</strong> make URI encoding stringified results optional
- <strong>#106</strong> Add flag
skipNulls
to optionally skip null values in stringify
<strong>5.0.0</strong>
- <strong>#114</strong> default allowDots to false
- <strong>#100</strong> include dist to npm
<strong>4.0.0</strong>
- <strong>#98</strong> make returning plain objects and allowing prototype overwriting properties optional
<strong>3.1.0</strong>
- <strong>#89</strong> Add option to disable "Transform dot notation to bracket notation"
<strong>3.0.0</strong>
- <strong>#80</strong> qs.parse silently drops properties
- <strong>#77</strong> Perf boost
- <strong>#60</strong> Add explicit option to disable array parsing
- <strong>#74</strong> Bad parse when turning array into object
- <strong>#81</strong> Add a
filter
option - <strong>#68</strong> Fixed issue with recursion and passing strings into objects.
- <strong>#66</strong> Add mixed array and object dot notation support Closes: #47
- <strong>#76</strong> RFC 3986
- <strong>#85</strong> No equal sign
- <strong>#84</strong> update license attribute
<strong>2.4.1</strong>
- <strong>#73</strong> Property 'hasOwnProperty' of object # is not a function
<strong>2.4.0</strong>
- <strong>#70</strong> Add arrayFormat option
<strong>2.3.3</strong>
- <strong>#59</strong> make sure array indexes are >= 0, closes #57
- <strong>#58</strong> make qs usable for browser loader
<strong>2.3.2</strong>
- <strong>#55</strong> allow merging a string into an object
<strong>2.3.1</strong>
- <strong>#52</strong> Return "undefined" and "false" instead of throwing "TypeError".
<strong>2.3.0</strong>
- <strong>#50</strong> add option to omit array indices, closes #46
<strong>2.2.5</strong>
- <strong>#39</strong> Is there an alternative to Buffer.isBuffer?
- <strong>#49</strong> refactor utils.merge, fixes #45
- <strong>#41</strong> avoid browserifying Buffer, for #39
<strong>2.2.4</strong>
- <strong>#38</strong> how to handle object keys beginning with a number
<strong>2.2.3</strong>
- <strong>#37</strong> parser discards first empty value in array
- <strong>#36</strong> Update to lab 4.x
<strong>2.2.2</strong>
- <strong>#33</strong> Error when plain object in a value
- <strong>#34</strong> use Object.prototype.hasOwnProperty.call instead of obj.hasOwnProperty
- <strong>#24</strong> Changelog? Semver?
<strong>2.2.1</strong>
- <strong>#32</strong> account for circular references properly, closes #31
- <strong>#31</strong> qs.parse stackoverflow on circular objects
<strong>2.2.0</strong>
- <strong>#26</strong> Don't use Buffer global if it's not present
- <strong>#30</strong> Bug when merging non-object values into arrays
- <strong>#29</strong> Don't call Utils.clone at the top of Utils.merge
- <strong>#23</strong> Ability to not limit parameters?
<strong>2.1.0</strong>
- <strong>#22</strong> Enable using a RegExp as delimiter
<strong>2.0.0</strong>
- <strong>#18</strong> Why is there arrayLimit?
- <strong>#20</strong> Configurable parametersLimit
- <strong>#21</strong> make all limits optional, for #18, for #20
<strong>1.2.2</strong>
- <strong>#19</strong> Don't overwrite null values
<strong>1.2.1</strong>
- <strong>#16</strong> ignore non-string delimiters
- <strong>#15</strong> Close code block
<strong>1.2.0</strong>
- <strong>#12</strong> Add optional delim argument
- <strong>#13</strong> fix #11: flattened keys in array are now correctly parsed
<strong>1.1.0</strong>
- <strong>#7</strong> Empty values of a POST array disappear after being submitted
- <strong>#9</strong> Should not omit equals signs (=) when value is null
- <strong>#6</strong> Minor grammar fix in README
<strong>1.0.2</strong>
- <strong>#5</strong> array holes incorrectly copied into object on large index