- Fixed return for custom params method #44.
- Dev dependency update.
- Introduce configurations to control query generation behaviour.
addFilter
now supports an optional parameter to use a specific key
- Use TypeScript
this
return type for fluent setters
- Introduced
setQsOption
andgetQsOption
to set and get default options passed toqs
library.
- Switched primary development branch to use
main
instead ofmaster
- Fixed a bug when non null values were supplied to
IS NULL
andIS NOT NULL
operator, which used to generate buggy query.
addPageOffset
method added.
- BREAKING CHANGE! FilterItem interface has been replaced by FilterItemType
- Fixed short query generation for cases where operator is other than "="
- Switched to version 2 for package-lock.json
- Updated testing tools (jest) from 25._ to 27._
- Added CHANGELOG.md
constructor
forDrupalJsonApiParams
accepts same parameter asinitialize
method, and also calls it.