Skip to content

Releases: ukrbublik/react-awesome-query-builder

Import from JsonLogic

08 Jan 01:04
875e984
Compare
Choose a tag to compare
import from json logic (#135)

* Import from json logic
* Added jsType

Export to JsonLogic

05 Jan 18:49
Compare
Choose a tag to compare
  • 1.1.1
    • Optimized $eq and $and in MongoDb query export
    • Fixed error if query value is empty
    • Added API in readme
  • 1.1.0

Func improvements

19 Dec 22:46
7aaa13e
Compare
Choose a tag to compare
  • 1.0.12
    • Added sqlFormatFunc, mongoFormatFunc, renderBrackets, renderSeps (for func), funcs (for field)

Nit

15 Dec 23:01
Compare
Choose a tag to compare
Nit
  • 1.0.11
    • Added css-class qb-lite for query builder (see readme if you wanna use it)
  • 1.0.10
    • Fix when using cascader for func selection
  • 1.0.9
    • Allow group of functions (like with fields - type == '!struct' and subfields)

Added functions support

15 Dec 20:06
4773229
Compare
Choose a tag to compare
  • 1.0.8
    • Added support for your custom functions as value source (args can be values/fields/funcs), see new section funcs in config
    • Improved Mongo format: now can compare with field & use funcs with help of $expr
    • (breaking) mongoFormatOp - inserted arg useExpr at 4th position
    • Added hideForSelect, hideForCompare for field config
  • 1.0.7
    • Fixed Babel

TypeSript support

08 Dec 20:46
013f2e0
Compare
Choose a tag to compare
  • Added TypeScript support (examples uses TS, sandbox uses JS)
  • Updated Babel, Webpack
  • For field widget slightly changed format of formatValue() and sqlFormatValue() functions - argument rightFieldDef is now last one
  • Added defaultValue in field config
  • All fieldSettings will be now passed to widget props
  • listValues and allowCustomValues moved inside fieldSettings

See:

TODO:

  • Probably it worth adding comments in index.d.ts also.

1.0.4

28 Nov 19:59
9b1d227
Compare
Choose a tag to compare

Changelog

  • 1.0.4
    • Added QbUtils.sqlFormat() (issue #29)
    • Added like and not_like operators
    • Added 2 params string op, Object opDef to end of formatValue, mongoFormatValue
  • 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 by renderField (issue #109)
    • added renderOperator (issue #89)
    • change: query value now can be exported to JSON (instead of Immutable.Map), and loaded with loadTree (old format is supported) (issue #61)
    • added: canRegroup
    • rename: readonlyMode -> immutableGroupsMode
    • rename: get_children -> renderBuilder
    • removed: unused <Preview /> component and .query-preview class
    • optimized renders & dragging

Sandbox

03 Nov 16:25
e1979b8
Compare
Choose a tag to compare
Sandbox (#114)

* sandbox
* readme

Fixed atd3 search in field

21 Jul 16:29
Compare
Choose a tag to compare
0.2.50

switch to antd3

Switched from atd2 to antd3

21 Jul 16:30
Compare
Choose a tag to compare