Releases: nutes-uepb/query-strings-parser
Releases · nutes-uepb/query-strings-parser
v2.1.2
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
- Currently
v2.0.0
New features and many improvements:
- You can now choose the name of the fields to be used for filtering with date:
start_at
andend_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
Bug Fixes:
- Treatment of integer values in the filters.
v1.1.1
Bug Fixes:
- Integration Test failed
- Concerted broken links in README
v1.1.0
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
Added support for:
- Filtration in sub-levels
- Filtering with logical operators AND <> <=> =
- Selection of fields in sub-levels
v1.0.0
Initial release.
v2.1.0
New feature
- Added support for parse() function, which is a merge of parsers: parseFields(), parseSort(), parsePagination(), parseFilter(), parseDate().