- Make built-in casting functions customizable using the
castersoption - Improve number detection to exclude strings greater than MAX_SAFE_INTEGER (fix #113)
- upgrade all dependencies
- projection field accepts JSON string
- properly handle comma-separated values (thx @bolzon)
- provide as commonjs module (thx @SergKazakov)
- skip JSON parsing on filter param if already parsed
- custom casters are now properly applied on arrays (fix #81)
filterJSON parameter now gets merged with other query params instead of replacing them
- add
castersoption to add custom casting functions - add
castParamsoption to map casting functions to query parameter values - add CHANGELOG.md file