Skip to content

Releases: nutes-uepb/query-strings-parser

v2.1.2

12 Aug 02:17
Compare
Choose a tag to compare

New feature

  • Added support for parse() function, which is a merge of parsers: parseFields(), parseSort(), parsePagination(), parseFilter(), parseDate().

Bug Fixes

  • Fixed parse() function interface. The function takes three parameters, before it was receiving only two.
    • Currently parser(query?: string | object, defaults?: IDefault, options?: IOptions): any

v2.0.0

24 Feb 02:44
Compare
Choose a tag to compare

New features and many improvements:

  • You can now choose the name of the fields to be used for filtering with date: start_at and end_at;
  • A merge between the default values ​​defined in the settings and the values ​​from the query string is now performed. Default values ​​have higher priority;
  • Added support for parser functions: parseFields(), parseSort(), parsePagination(), parseFilter(), parseDate().
  • Fixed bugs, added more tests and code improvements.

v1.1.2

31 Jan 19:26
Compare
Choose a tag to compare

Bug Fixes:

  • Treatment of integer values ​​in the filters.

v1.1.1

27 Jan 02:59
Compare
Choose a tag to compare

Bug Fixes:

  • Integration Test failed
  • Concerted broken links in README

v1.1.0

27 Jan 02:27
Compare
Choose a tag to compare

Many improvements and bug fixes have been made.

Added support for:

  • Logical operator OR
  • Filter by date
  • Advanced search similar to SQL LIKE

v1.0.1

05 Dec 20:50
Compare
Choose a tag to compare

Added support for:

  • Filtration in sub-levels
  • Filtering with logical operators AND <> <=> =
  • Selection of fields in sub-levels

v1.0.0

03 Nov 04:06
Compare
Choose a tag to compare

Initial release.

v2.1.0

07 Aug 23:30
Compare
Choose a tag to compare

New feature

  • Added support for parse() function, which is a merge of parsers: parseFields(), parseSort(), parsePagination(), parseFilter(), parseDate().