- BREAKING CHANGE: Upgraded Node to v20 and Babel to v7. This might break your build process if you are using an older version of Node or Babel.
- Upgraded Eslint to v8 and Jest to v29.
- added method
.archiveCascade
toConstraintBuilder
- added method
.finalCascade
toConstraintBuilder
- added method
.decimalDigits
toColumnBuilder
- added method
.showMemberColumns
toColumnBuilder
- added
AsyncApi
to implement the async version of the.doCall
method
- added type
"taxonomy"
toTableBuilder
- added method
.hidden
toColumnBuilder
- added method
.minLength
toColumnBuilder
- added method
.maxLength
toColumnBuilder
- replaced old lib/syncApi.js by the new case-sensitive version lib/SyncApi.js
- added
headers
parameter to options in backward compatible manner (cookies and headers object will be merged). This adds the ability to pass for example authorization bearer to SyncApi (e.g.{ "headers": { "Authorization": "Bearer eyJhbGciOiJSU...C6XZsFhVsxFw"}
)
- added property
rowId
to methodsgetRow
andgetRows
so it can be used for further manipulation like updates/deletions/etc.
- added method
convertColumnToMultilanguage
andconvertColumnToSinglelanguage
toTable
- added tests for
Table
- added method
getRows
forTable
which returns an array of row objects zipped with column names - added method
getRow
forTable
returns a single row object depending on the parameterid
- fix bug in
Table.createRowByObj
if columnName is a special word like 'length' - fix typos in
package.json
- add ability to configure
formatPattern
on group columns
- add new parameter for options
- currently only cookies are implemented (e.g.
{ "cookies": { "cookie-name": { "value": "cookie-value" } }}
)
- currently only cookies are implemented (e.g.
- rewrite syncApi to class implementation with better type support
- remove
minimist
dependency
- add a typedef for
Column
- add some tests for
ColumnBuilder
and removeresetSchema
test - add type definitions for multi-language methods
displayName()
,description()
, etc. - add argument checks for
languageType()
andtoOrdering()
- add TypeScript definitions
- add simple JSDoc comments and generate docs
- fix bug in
Table.createRowByObj
in error case
- add new method
toOrdering
toColumnBuilder
- change npm script
prepare
toprepublishOnly
b/c this shouldn't run onnpm install
- initial release