Releases: ukrbublik/react-awesome-query-builder
Releases · ukrbublik/react-awesome-query-builder
Nit
Added functions support
- 1.0.8
- Added support for your custom functions as value source (args can be values/fields/funcs), see new section
funcsinconfig - Improved Mongo format: now can compare with field & use funcs with help of
$expr - (breaking)
mongoFormatOp- inserted arguseExprat 4th position - Added
hideForSelect,hideForComparefor field config
- Added support for your custom functions as value source (args can be values/fields/funcs), see new section
- 1.0.7
- Fixed Babel
TypeSript support
- Added TypeScript support (
examplesuses TS,sandboxuses JS) - Updated Babel, Webpack
- For
fieldwidget slightly changed format offormatValue()andsqlFormatValue()functions - argumentrightFieldDefis now last one - Added
defaultValuein field config - All
fieldSettingswill be now passed to widget props listValuesandallowCustomValuesmoved insidefieldSettings
See:
- index.d.ts
- examples in TS (
npm run examples)
TODO:
- Probably it worth adding comments in
index.d.tsalso.
1.0.4
Changelog
- 1.0.4
- Added
QbUtils.sqlFormat()(issue #29) - Added
likeandnot_likeoperators - Added 2 params
string op, Object opDefto end offormatValue,mongoFormatValue
- Added
- 1.0.3
- Completely removed auto-loading of antd styles (issue #50)
- 1.0.2
- Fixed bug with running examples app via react-scripts
- 1.0.1
- Fixed bug with importing React
- 1.0.0
- Don't include AntDesign styles automatically (issues #50, #93)
- added:
allowCustomValues(issue #88) - change: removed
renderFieldAndOpAsDropdown, replaced byrenderField(issue #109) - added
renderOperator(issue #89) - change: query value now can be exported to JSON (instead of
Immutable.Map), and loaded withloadTree(old format is supported) (issue #61) - added:
canRegroup - rename:
readonlyMode->immutableGroupsMode - rename:
get_children->renderBuilder - removed: unused
<Preview />component and.query-previewclass - optimized renders & dragging
Sandbox
Fixed atd3 search in field
switch to antd3
Switched from atd2 to antd3
0.1.49
MongoDb export; Slider widget
- Added export to MongoDb
- Added Slider widget
- Bugfixes