Skip to content

6.5.0 - Improved validation API

Compare
Choose a tag to compare
@ukrbublik ukrbublik released this 14 May 17:03
· 52 commits to master since this release
7699dcc
  • 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+