Skip to content

Latest commit

 

History

History
60 lines (60 loc) · 2.83 KB

CHANGELOG.md

File metadata and controls

60 lines (60 loc) · 2.83 KB

Changelog

  • 1.2.0
    • Added treeselect and treemultiselect types
    • Changed format of listValues from {<value>: <title>} to [{value, title}] (old is supported). Tree select also use listValues, format is compatible with simple select - [{value, title, parent}]
  • 1.1.3
    • Fixed console warnings
    • Fixed dev hot reload: now state is preserving
    • Added render hoooks to config.settings: renderBeforeWidget, renderAfterWidget, renderBeforeActions, renderAfterActions
  • 1.1.2
  • 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
  • 1.0.12
    • Added sqlFormatFunc, mongoFormatFunc, renderBrackets, renderSeps (for func), funcs (for field)
  • 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)
  • 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
  • 1.0.6
    • 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
  • 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