react-awesome-query-builder

User-friendly query builder for React

MIT License

Downloads
669.6K
Stars
2K
Committers
82

Bot releases are hidden (Show)

react-awesome-query-builder - 6.6.3

Published by ukrbublik 2 months ago

Fixes 🐞

Chore 🔨

Thanks 🙏

Full Changelog: https://github.com/ukrbublik/react-awesome-query-builder/compare/6.6.2...6.6.3

react-awesome-query-builder - 6.6.2

Published by ukrbublik 3 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/ukrbublik/react-awesome-query-builder/compare/6.6.1...6.6.2

react-awesome-query-builder - 6.6.1

Published by ukrbublik 4 months ago

  • Operators reverse on "NOT" is now optional, disabled by default to preserve orignal query (PR #1068) (issue #1059).
    Added settings reverseOperatorsForNot and canShortMongoQuery
  • Scope CSS classes to .query-builder (PR #1070) (issue #1018)
  • Update packages (PR #1071)
  • Fixed issue with excludeOperators (affects prox1 at example) (PR #1072)
  • Use pnpm 9
react-awesome-query-builder - 6.6.0

Published by ukrbublik 4 months ago

  • 6.6.0
    • Optimizations for rendering and export utils (PR #1054) (issue #342)
    • Added support of JsonLogic export for ternary mode (PR #1013) (issue #978)
    • Added support of JsonLogic import for ternary mode (PR #1062) (issue #978)
    • Added support of tooltip for operator config (PR #1011) (issue #261)
    • Removed optimizeRenderWithInternals from settings (PR #1054)
    • Fixed TreeStore - 2nd arg action can be undefined (PR #1054) (issue #1056)
    • Fixed import of negative number in SpEL (PR #1054) (issue #1055)
    • Fixed validation error message for min/max (PR #1058) (issue #1057)
    • (Ternary mode) Added to config.settings: caseValueField, renderBeforeCaseValue, renderAfterCaseValue, renderSwitchPrefix, defaultCaseLabel, addCaseLabel, addDefaultCaseLabel (PR #1062)
    • Use icon button label as the aria-label to improve accessibility (PR #1066) (issue #1038)
    • Show imported value initially in MUI autocomplete inputs (PR #1065)
    • Make getOptionLabel always return a string (PR #1064)
react-awesome-query-builder - 6.5.2

Published by ukrbublik 5 months ago

  • Updated dependencies. @babel/runtime is now dep for core package (PR #1051) (issue #964)
react-awesome-query-builder - 6.5.1

Published by ukrbublik 5 months ago

  • Fix missing config file in antd moment date widgets (PR #1046) (issue #1048)
  • Fix SpEL import not_between (PR #1050) (issue #1047)
react-awesome-query-builder - 6.5.0 - Improved validation API

Published by ukrbublik 5 months ago

  • Breaking: Utils.validateTree returns array of errors (PR #1034)
  • Breaking: removeIncompleteRulesOnLoad by default is false
  • Added config removeEmptyRulesOnLoad (default true) (PR #1034)
  • Deprecated Utils.validateAndFixTree and Utils.checkTree (and removed type defs).
    Use Utils.sanitizeTree().fixedTree instead (PR #1034)
  • Utils.validateTree now checks LHS and RHS are completed (issues #977, #781) (PR #1034)
  • Fixed import of select_any_in operator from JsonLogic (issue #1005) (PR #1034)
  • Fixed issue #1036 (PR #1034)
  • Fixed validation of date ranges (issue #374) (PR #1034)
  • Function validateValue in fieldSettings config can now return object {error, fixedValue}, error can be {key, args} for i18n (PR #1034)
  • Added optimizeRenderWithInternals to settings, default is false (PR #1034)
  • Updated type RuleGroupExtProperties (issue #1021) (PR #1034)
  • Fixed typedef errors (issue #1016) (PR #1034)
  • Fixed issue with antd and date/time pickers (issue #1033) (PR #1034)
  • Added onInit prop to <Query>. Added 4th argument actions to onInit and onChange (PR #1034)
  • Now pnpm i requires Node 18+
react-awesome-query-builder - 6.4.3

Published by ukrbublik 5 months ago

  • Fixed the issue when using func with arg of type multiselect (PR #997)
  • Updated immutable from v3 to v4 (PR #997)
  • Fixed issue with "[object Object]" in MUI field autocomplete when item should be bold (PR #997)
  • Respect funcs in field/arg config during validation of function value (PR #997)
react-awesome-query-builder - 6.4.2 Latest Release

Published by ukrbublik 12 months ago

  • Allow override icons with renderIcon (issues #319, #872) (PR #962)
  • Support tooltips for MUI (issues #965, #684) (PR #973)
  • Fixed issue with FieldCascader (issue #969) (PR #973)
  • Fixed issue with date/time pickers for MUI 6 (issue #986) (PR #973)
  • Allow use of antd icons 5 (issue #992) (PR #973)
react-awesome-query-builder - 6.4.1

Published by ukrbublik about 1 year ago

  • Fixed import of rule_group in rule_group from SpEL (PR #959)
  • Updated type ItemBuilderProps (PR #959)
  • Fixed drag-n-drop to respect maxNesting when moving group into group (PR #959)
  • Fix: allow custom conjuction in JsonLogic (issue #317) (PR #959)
  • Fixed import of fields with dot from JsonLogic (issue #786) (PR #960)
  • Fixes export to SpEL to respect fieldSeparator (issue #958) (PR #960)
react-awesome-query-builder - 6.4.0

Published by ukrbublik about 1 year ago

  • Functions can be used in LHS with fieldSources: ["field", "func"] in settings
    Thanks @rhallerman1 (PR #900, #896) (issues #287, #250, #344, #336)
  • Support import/export of functions for SpEL (PR #900) (issue #754)
  • Fix issue with fieldName (PR #900) (issues #929, #609)
  • Support @mui/x-date-pickers v6 (PR #951) (issue #910)
  • Updated antd to 5.7.2 (PR #952) (issue #946)
  • Updated dev dependencies. Now pnpm i requires Node 16+
  • Updated @fluentui/react. Fixed date/time widgets
  • Autocomplete items now support groupTitle (PR #953) (issue #600)
  • Add more types in Utils.Autocomplete (PR #953) (issue #934)
  • Add settings fieldItemKeysForSearch and listKeysForSearch (PR #954) (issue #931)
  • Add settings defaultField and defaultOperator (PR #956) (issue #763)
react-awesome-query-builder - 6.3.0

Published by ukrbublik over 1 year ago

  • Allow saving and loading config from server (PR #866) (issue #817)
    • New utils: compressConfig(), decompressConfig()
    • New settings.useConfigCompress
    • Config now has ctx property
    • Added new test app sandbox_next to demonstrate new server-side features
  • Export utils (like mongoFormatOp1, mongoFormatOp2) in CoreConfig.ctx.utils (PR #866) (issue #890)
  • 2nd parameter of onChange callback now equals original config, not extended config (PR #866) (issue #364)
  • Fix totalQuery structure in mongodb (PR #916) (issue #915)
  • Fixed bug in loadTree() (PR #917) (issue #356)
  • Fixed bug on change group value (PR #944) (issue #923)
  • Fixed render of option titles in Autocomplete AntDesign (PR #947) (issues #930, #942)
  • Implemented allowCustomValues for MUI (PR #947) (issue #327)
  • Improved autocomplete for MUI and AntD. Mark custom values with coral color (PR #947)
  • Type fixes for strictNullChecks (PR #948) (issue #945)
react-awesome-query-builder - 6.2.0

Published by ukrbublik over 1 year ago

  • Fixed type Config: should have render settings like renderSize (PR #909) (issue #879)
  • Fixed type for renderBeforeWidget: RuleProps instead of wrong FieldProps (PR #909) (issue #879)
  • Breaking change in types: listValues renamed to treeValues in TreeSelectFieldSettings
    But old listValues is still supported in JS (PR #909)
  • Add support for ElasticSearch 7 term syntax (PR #906) (issue #904)
  • Fix mongodbFormat to work with mode = array (PR #908) (issue #907)
react-awesome-query-builder - 6.1.3

Published by ukrbublik over 1 year ago

  • Fix isNull roundtrip (PR #887) (issue #886)
  • Fix BootstrapFieldSelect for fields with 2+ level nesting (PR #898) (issue #868)
  • Fix UNSAFE_componentWillReceiveProps (PR #901) (issue #390)
  • Fix bugs with React.StrictMode (PR #902) (issue #789)
react-awesome-query-builder - 6.1.2

Published by ukrbublik over 1 year ago

  • Fix typings for children1: tuple -> array (PR #885) (issue #881)
  • Fix compare fields for case when type != widget.type (PR #875) (issue #758)
react-awesome-query-builder - 6.1.1

Published by ukrbublik almost 2 years ago

  • Fix CJS build (issue with antd/es and antd/lib) (PR #859) (issue #858)
  • Fix button labels (PR #856) (issue #824)
  • Fix whitespace in select (PR #855) (issue #845)
react-awesome-query-builder - 6.1.0

Published by ukrbublik almost 2 years ago

  • Improve styles (PR #848)
    • More flexible styles for low-width
    • styles.scss now has vars that can be overridden to change colos and sizes
    • Breaking: Now compact_styles.css replaces styles.css, don't use them together
    • Breaking: Removed icon in "Add sub rule" button
  • Added @react-awesome-query-builder/fluent package (PR #727)
  • Fix import of is_null and is_not_null ops from SpEL (PR #831) (issue #794)
  • Fix import of NOT from SpEL (PR #852) (issue #834)
    Also fixes export of aggregation expression w/o children filter like cars.size() == 2
  • Support antd 5 (PR #853) (issue #812)
react-awesome-query-builder - 6.0.0

Published by ukrbublik almost 2 years ago

  • Project has been divided into packages (monorepo) (PR #769)
  • Export ESM
react-awesome-query-builder - 5.4.0

Published by ukrbublik almost 2 years ago

  • Add multiselect_contains operator (PR #813) (issue #702)
react-awesome-query-builder - 5.3.2

Published by ukrbublik almost 2 years ago

  • Fix drag-n-drop issue in React 18 using ReactDOM.createRoot() (PR #815) (issue #792)
  • Type fix: add id for JsonRule (PR #799) (issue #791)
  • Type fix: Add typings for groupOperators (PR #798)
  • Fix: not operation at the root not detected when importing from SpEL (PR #767) (issue #766)
Package Rankings
Top 1.16% on Npmjs.org
Top 20.03% on Pypi.org
Badges
Extracted from project README
npm Smoke codecov antd mui bootstrap fluent demo sandbox TS sandbox JS Edit in codesandbox Open in GitHub Codespaces Screenshot