Skip to content

Releases: ukrbublik/react-awesome-query-builder

5.0.0 - MUI 5 and SpEL support

04 Feb 17:13
e9996ed

Choose a tag to compare

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

18 Jan 18:27
cebc38a

Choose a tag to compare

Bootstrap

4.9.0

18 Jan 18:08

Choose a tag to compare

  • Added is_null and is_not_null operators (issue #494) (PR #522)
  • ! Breaking change for operators is_empty and is_not_empty. Left for text type only, for other types will be auto converted to is_null/is_not_null. Changed meaning of is_empty - now it's just strict comparing with empty string. Before change meaning was similar to is_null (and export to SQL was wrong because of non-existent operator IS EMPTY). (issue #494) (PR #573)
  • Fixed order of operators for field when merging operators from 2+ widgets (PR #573)
  • Added last param fieldDef for functions to format operators (PR #573)
  • Added jsonLogic to widget TS def (PR #572)
  • Export TreeUtils (PR #597)

4.8.0

17 Nov 16:35
11542a1

Choose a tag to compare

4.8.0

  • Added read-only mode switch for rules and groups. See showLock and canDeleteLocked config options, custom JsonLogic op locked, setLock action, lockLabel and lockedLabel. Added Switch components, see renderSwitch. (issue #377) (PR #490)
  • Fixed issue with frozen config (Object.freeze) by using clone (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

11 Nov 20:00

Choose a tag to compare

  • 4.7.2
    • Fixed import of rule_group with not (issue #548) (PR #559)

4.7.1

09 Nov 21:37

Choose a tag to compare

  • 4.7.1
    • Fixed potential inconsistent order of fields (issue #335) (PR #553)
    • Bump webpack-dev-server from 3.11.2 to 4.4.0 (PR #540)
    • Change FieldItems type definition from map to array (issues #550, #363) (PR #551)
    • Spreading customProps to vanilla widgets (PR #546)
    • Fix for allowCustomValues (PR #545)
    • Use minimum material-ui version 4.12.3 and use new createTheme instead of deprecated createMuiTheme (issue #463) (PR #531)

4.7.0 - Important bugfixes

23 Oct 11:38

Choose a tag to compare

  • Add explicit not: false in 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

19 Oct 01:06
adc5dd9

Choose a tag to compare

  • 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 actionMeta to onChange() to get info about action (PR #445) (issue #351)
    • Added demo of using actions programmatically (see run actions in demo app) (PR #445)
    • Added config shouldCreateEmptyGroup (default false) (PR #445)
    • Now config canLeaveEmptyGroup is 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)

Pass id prop to Rule children

30 Sep 06:43
3d90562

Choose a tag to compare

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

15 Sep 05:30
c6dddac

Choose a tag to compare

4.5.1

Update package.json