- added
safeRegex
query
option- checks regex query operator values for regex which could be used as a DoS
- added support for
$not
query operator in combination with most operators- some operators still unsupported
- updated dev deps (mocha, chai, nsp)
- updated pegjs dep to 0.10.0 (#28)
- updated pegjs dependency to latest (#12)
- thanks greenkeeper 🌴!
- add native Date type support for query operators (#8)
- e.g.
?query=gt(dob,Date(2009-11-08T15:00:56.426Z))
- e.g.
- add
elemMatch
field operator support (#9)
- add
caseInsensitiveOperators
query
option- enables case insensitive matching for
eq
,ne
,contains
,startsWith
, andendsWith
- enables case insensitive matching for
- fixed not being able to disable
contains
,startsWith
, andendsWith
- add
not
support tocontains
,startsWith
andendsWith
- full
not
support still outstanding
- full
- First stable release.
- No code changes from 0.8.0.
- breaking change renamed
options.query.disabled
tooptions.query.disabledOperators
- breaking change renamed
offset
toskip
to match mongo syntax - breaking change renamed
q
toquery
to match mongo syntax - don't allow negative
skip
orlimit
fixes #1 - added
strictEncoding
option - main function now prefixes exceptions with the parser that threw the exception in the message
- added
type
query operator
- added
startsWith
,endsWith
andcontains
support
- suspected stable, but not yet proven in a production environment