Skip to content
This repository was archived by the owner on May 27, 2022. It is now read-only.

Use query-string library

Compare
Choose a tag to compare
@javierbrea javierbrea released this 31 Jul 09:00
· 138 commits to master since this release
b0ed8cf

Changed

  • feat(#6): Use query-string package to format query strings. Allow configuring query-string options using the queryStringConfig option of this package. This is a BREAKING CHANGE because query-string default options are used (read BREAKING CHANGES bellow for further info)
  • chore(deps): Update devDependencies

BREAKING CHANGES

  • Arrays in query strings were converted into a list separated by "%2C" (url encoded comma). Now it uses the query-string package using its default options, so arrays are serialized duplicating keys (?foo=1&foo=2). This behaviour can be configured using the new queryStringConfig option.
  • query string keys now are sorted by default.