Releases: ukrbublik/react-awesome-query-builder
Releases · ukrbublik/react-awesome-query-builder
5.0.0 - MUI 5 and SpEL support
SpEL support (#613) * . * . * . * spelFormatValue * mongo: fix for empty aggregation * fix T() * string: fix empty aggr * sql: add asyncListValues * aggr * # * func * ? escape * fixed escape * float, array, .?[true] * #this not needed? * formatSpelField, isSpel* * spel2js init * import1 * typo width * fix revop * fix omitBrackets * use my fork * . * fix valueType and unary minus * group basic * inline list * date, datetime * time * lint fix * test fix * added simple tests * group fix * some/all/none * between * valueType from field config * !func * excludeOperators for type * fix $contains * chlog * Like -> Contains Moved is_empty, is_null to end of operators list * fix test * chlog . . * readme * add "sh " for win * ternary1 * ternary 2 . * . * . * parentReordableNodesCnt * export ?: * import ternary * ternary import complete with react-select * . * . * fix * add case * ! * lint fix * tsc fix * fix add first case * unsafe warning fix * demo /switch * fix * fix validation * fix * . * logger * . * fix import * add/del default * getSwitchValues * lint fix * . * . * lint fix * fix for npm 7+ * . * lint fix . * Added `Utils._loadFromJsonLogic()` that returns `[tree, errors]` (issue #621) * return Errors * useCallback * . * fix tests * . * fix
4.10.0
4.9.0
- Added
is_nullandis_not_nulloperators (issue #494) (PR #522) - ! Breaking change for operators
is_emptyandis_not_empty. Left for text type only, for other types will be auto converted tois_null/is_not_null. Changed meaning ofis_empty- now it's just strict comparing with empty string. Before change meaning was similar tois_null(and export to SQL was wrong because of non-existent operatorIS EMPTY). (issue #494) (PR #573) - Fixed order of operators for field when merging operators from 2+ widgets (PR #573)
- Added last param
fieldDeffor functions to format operators (PR #573) - Added
jsonLogicto widget TS def (PR #572) - Export
TreeUtils(PR #597)
4.8.0
4.8.0
- Added read-only mode switch for rules and groups. See
showLockandcanDeleteLockedconfig options, custom JsonLogic oplocked,setLockaction,lockLabelandlockedLabel. Added Switch components, seerenderSwitch. (issue #377) (PR #490) - Fixed issue with frozen config (
Object.freeze) by usingclone(issue #345) (PR #490) - Fix: Filter value sources for func args correctly. LHS field can be used as arg in RHS function. (PR #490)
- MUI - Support showSearch (autocomplete) for field select widget (issue #479 #521) (PR #563)
- AntDesign - Fix FieldSelect with 3+ level !struct nesting (issue #224) (PR #564)
4.7.2
4.7.1
- 4.7.1
- Fixed potential inconsistent order of fields (issue #335) (PR #553)
- Bump
webpack-dev-serverfrom 3.11.2 to 4.4.0 (PR #540) - Change
FieldItemstype definition from map to array (issues #550, #363) (PR #551) - Spreading
customPropsto vanilla widgets (PR #546) - Fix for
allowCustomValues(PR #545) - Use minimum
material-uiversion 4.12.3 and use newcreateThemeinstead of deprecatedcreateMuiTheme(issue #463) (PR #531)
4.7.0 - Important bugfixes
- Add explicit
not: falsein new group (issue #512) - Fix: don't automatically add one rule to query when it become empty when
canLeaveEmptyGroup=true(issue #504) - Added config
forceShowConj(issue #474) - Fixed import of complex hierarchy fields (combination of !group and !struct) from JsonLogic (issues #517, #333)
- Fixed non-ordered map bug (issue #501)
4.6.0
- 4.6.0
- Added
groupId(id of the parent Item - Group, RuleGroup, RuleGroupExt etc) to field's, operartor's and widget's props (PR #510) - Fixed export to ES when group is empty (broken 'Clear' button in demo app) (PR #511)
- Added 3rd param
actionMetatoonChange()to get info about action (PR #445) (issue #351) - Added demo of using actions programmatically (see
run actionsin demo app) (PR #445) - Added config
shouldCreateEmptyGroup(defaultfalse) (PR #445) - Now config
canLeaveEmptyGroupis true by default (PR #445) (issue #504) - Breaking changes for format with
isForDisplay=true- don't wrap strings with", replace==with=(PR #518) - Fixed type definition for export utils - can return undefined (PR #516)
- Fixed use of
hideOperator(PR #523) (issue #292)
- Added
Pass id prop to Rule children
Pass additional data to Rule children (#503) * pass ruleID down to operator * add fieldConfig to be returned from operator's getMeta to be passed down as renderProps * pass rule id to Field and Widget * prop value shortcut * bump version 4.5.2 Co-authored-by: Daniel Roytman <daniel.roytman@forescout.com>
Fixed export to ES
4.5.1 Update package.json