- Fixed security vulnerabilities in production dependency
qs(DoS via arrayLimit bypass) - Updated dev dependencies to address known vulnerabilities (
jest,prettier,ts-jest,typedoc,typescript) - Added pnpm overrides to resolve transitive dev dependency vulnerabilities (
minimatch,js-yaml,tmp,diff)
-
- BREAKING CHANGE: Changed internal properties and methods from
privatetoprotectedto enable inheritance scenariosdataproperty is now accessible to subclasses for query state managementqsOptionsproperty is now accessible to subclasses for query string optionsconfigproperty is now accessible to subclasses for configuration settingsgenerateKeyNamemethod is now accessible to subclassesgetIndexIdmethod is now accessible to subclasses- This change affects consumers who subclass
DrupalJsonApiParams
- BREAKING CHANGE: Changed internal properties and methods from
- Fixed return for custom params method #44.
- Dev dependency update.
- Introduce configurations to control query generation behaviour.
addFilternow supports an optional parameter to use a specific key
- Use TypeScript
thisreturn type for fluent setters
- Introduced
setQsOptionandgetQsOptionto set and get default options passed toqslibrary.
- Switched primary development branch to use
maininstead ofmaster - Fixed a bug when non null values were supplied to
IS NULLandIS NOT NULLoperator, which used to generate buggy query.
addPageOffsetmethod 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
constructorforDrupalJsonApiParamsaccepts same parameter asinitializemethod, and also calls it.