- Make built-in casting functions customizable using the
casters
option - 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)
filter
JSON parameter now gets merged with other query params instead of replacing them
- add
casters
option to add custom casting functions - add
castParams
option to map casting functions to query parameter values - add CHANGELOG.md file