New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@react-querybuilder/antd

Package Overview
Dependencies
Maintainers
0
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-querybuilder/antd - npm Package Versions

1
13

7.4.3

Diff

Changelog

Source

[v7.4.3] - 2024-06-06

Fixed

  • Compatibility packages now specify the correct react-querybuilder dependency version.
jakeboone02
published 7.4.2 •

Changelog

Source

[v7.4.2] - 2024-06-06

Added

  • [#713] insert utility method to insert a new rule or group anywhere in the query hierarchy. insert is similar to add except that the new rule or group can be inserted at any path (add can only append a rule or group to the end of a group's rules array). The option replace: true will replace the rule or group at the specified path.

Fixed

  • [#713] @react-querybuilder/dnd now supports dragging and dropping rules and groups across separate query builders. As with drag-and-drop within a single query builder, holding the modifier key (Alt on Windows/Linux, Option ⌥ on Mac) when dropping the rule/group will copy it instead of move it.
  • [#713] debugMode now logs the query builder's qbId.
  • [#714] parseJsonLogic can now override group operations ("and", "or", "!", and "!!") with the jsonLogicOperations option.
jakeboone02
published 7.4.1 •

Changelog

Source

[v7.4.1] - 2024-06-04

Fixed

  • [#706] parseJsonLogic no longer nests negated groups unnecessarily.
jakeboone02
published 7.4.0 •

Changelog

Source

[v7.4.0] - 2024-05-27

Changed

  • [#703] The independentCombinators property has been removed from the InlineCombinatorProps interface. The value can be still be retrieved from the schema prop.
  • [#703] Distributed CSS files are compressed (comments and unnecessary whitespace removed).

Added

  • [#699] Most properties of the controlElements prop can be set to null. Properties set to null will be rendered as () => null.

Fixed

  • [#700] parseCEL no longer creates a rule group with not: true when parsing a single rule in a negated parenthetical group. Instead, the rule operator is inverted.
  • [#703] When enableDragAndDrop is true and a rule or group is dragged over an inline combinator (such as generated when showCombinatorsBetweenRules is enabled or the query uses independent combinators), the "drop location" indicator (a dashed, purple line by default) will appear above the inline combinator. Previously the styles placed the indicator line below the inline combinator, which could be misleading, particularly for independent combinators.
jakeboone02
published 7.3.0 •

Changelog

Source

[v7.3.0] - 2024-05-13

Changed

  • displayName is no longer explicitly declared for any components.

Added

  • [#696] baseField, baseOperator, baseCombinator props. Properties defined in these props will be applied to each option in the fields, operators, and combinators lists, respectively. Corresponding properties defined for individual options will override the "base" properties.
  • [#688] parseJSONata, an experimental JSONata parser.
  • [#697] quoteValuesWith option for formatQuery (applicable to "sql" format only). Values will be bracketed by the provided string, e.g. double quotes ('"'), instead of the default single quotes.
jakeboone02
published 7.2.1 •

Changelog

Source

[v7.2.1] - 2024-05-06

Fixed

  • [#682] parseCEL processes "like" operators ("contains"/"startsWith"/"endsWith") that are negated without parentheses, like !f1.contains(f2).
  • [#692] formatQuery updates (these are probably technically breaking changes, but the logic itself is equivalent to the previous version so we're considering them bug fixes):
    • For the "jsonlogic" export format, the entire group structure is retained even if only one top-level child object exists.
    • For the "jsonlogic", "mongodb", and "cel" formats, rules where the operator is "in" or "notIn" and the value evaluates to an empty array are retained.
    • The "jsonata" format now respects the quoteFieldNamesWith option.
  • [#692] Custom field selectors can set their rule's field property to an arbitrary value without throwing an error, even if the value is not included in the fields prop list.
jakeboone02
published 7.2.0 •

Changelog

Source

[v7.2.0] - 2024-04-15

Added

Fixed

  • [#677] A bug in the default SpEL and CEL rule processors for formatQuery caused rules to be ignored when the operator was "between" or "notBetween" and one of the values was falsey without being null or undefined (e.g, 0 or "").
jakeboone02
published 7.1.0 •

Changelog

Source

[v7.1.0] - 2024-04-01

Changed

  • To avoid confusion with the recommended query selector and update methods (useQueryBuilderSelector, props.schema.getQuery(), and props.schema.dispatchQuery()), the hooks useQueryBuilderDispatch and useQueryBuilderStore are no longer exported.

Added

  • New "bulk add" controlClassnames properties. These classnames augment—rather than replace—the classnames defined for specific controls.
    • actionElement: Applied to all action elements like addRuleAction, addGroupAction, etc.
    • valueSelector: Applied to all selection elements like combinatorSelector, fieldSelector, etc.
  • New numberedParams option for formatQuery. When the format is "parameterized", parameter placeholders within the generated SQL string will begin with the configured paramPrefix (default ":") followed by a numbered index beginning with 1 instead of using "?" as the placeholder for all parameters. This option was added primarily to reduce the code necessary for generating PostgreSQL-compatible SQL.
    • formatQuery now passes a third parameter to custom ruleProcessor functions when the format is "parameterized" or "parameterized_named". Currently the parameter is an object with a single property, processedParams, which represents the current state of the params array (for the "parameterized" format) or object (for the "parameterized_named" format) at the point the rule processor is invoked during query processing. The default ruleProcessor for the parameterized formats uses this parameter when the numberedParams option is true.

Fixed

  • Improved performance of generateID when crypto.randomUUID is not available. This led to performance improvements in initial <QueryBuilder /> rendering and query update functions.
jakeboone02
published 7.0.2 •

Changelog

Source

[v7.0.2] - 2024-03-12

Changed

  • @react-querybuilder/antd uses AntD's InputNumber in AntDValueEditor when valueEditorType === "number".

Added

  • [#671] formatQuery now respects the ruleProcessor option for "parameterized" and "parameterized_named" export formats.

Fixed

  • Mantine and Tremor versions are no longer pinned to a specific patch version.
  • start:* scripts for compatibility packages now correctly load their particular dependencies (does not affect execution).
jakeboone02
published 7.0.1 •

Changelog

Source

[v7.0.1] - 2024-03-07

Fixed

  • Corrected node10/node16 module resolution for react-querybuilder/parseSpEL.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc