@react-querybuilder/bootstrap
Advanced tools
Changelog
[v8.3.1] - 2025-02-27
type-fest
library has been (partially) vendored into react-querybuilder
to avoid requiring it as a dependency.UseMergedContextProps
renamed to UseMergedContextParams
(technically a breaking change, but probably won't affect anyone).Parse*Options
types have been removed from the main export. They are now only available on their respective react-querybuilder/parse*
exports (another technically breaking change that probably won't affect anyone).Changelog
[v8.3.0] - 2025-02-21
generateIDs
for all parse*
methods. When true, the output query object will be processed through prepareRuleGroup
to add id
s.Changelog
[v8.2.0] - 2025-01-28
formatQuery
option operatorProcessor
. Currently only applies to "sql", "parameterized", "parameterized_named", and "natural_language" formats.formatQuery
option preserveValueOrder
. Preserves the order of values when exporting rules with "between"/"notBetween" operators, even if the larger value comes first.formatQuery
"elasticsearch" export format now includes the .value
property when outputting Painless scripts.formatQuery
handles combinator
and operator
values case-insensitively.convertQuery
, convertToIC
, and convertFromIC
now support the "xor" combinator, as does the "natural_language" export format.Changelog
[v8.1.1] - 2025-01-20
formatQuery
option parseNumbers
now aligns with the corresponding QueryBuilder
prop, as long as a fields
array is also provided.AntDValueSelector
now filters on the label
property and defines options with the options
prop instead of a children
array of <Select.OptGroup>
/<Select.Option>
.isFullOptionArray
, isFlexibleOptionArray
, isFullOptionGroupArray
, isFlexibleOptionGroupArray
) are now more strict: All leaf elements must conform to the operative type, not just the first element.formatQuery
preset now sets paramPrefix: '@'
.Changelog
[v8.1.0] - 2025-01-09
@react-querybuilder/datetime
package with enhanced functionality for managing date/time data. Includes rule/value processors for formatQuery
tailored to different database platforms and date/time libraries.formatQuery
will assume a format of "sql" if no format is provided as long as preset
matches one of the supported values.formatQuery
option wrapValueWith
, an array of two strings to act as a prefix and suffix for values (outside of any quotes).formatQuery
value processors now accept an optional context
parameter, which can be used to pass additional information to the processor.JSON.stringify
d version. The "mongodb" format is deprecated, but will not be removed.query-builder.scss
now uses @use
instead of the deprecated @import
.Changelog
[v8.0.0] - 2024-11-08
@react-querybuilder/chakra
now supports Chakra UI version 3 and no longer supports version 2. For Chakra UI version 2 support, use @react-querybuilder/chakra2
.ChakraDragHandle
has been removed. In Chakra UI version 3 environments, the default DragHandle
component works without augmentation."react-querybuilder"
imports to "react-querybuilder/debug"
.bootstrapClassnames
no longer includes value: "form-control form-control-sm"
. The classes are added by BootstrapValueEditor
only when necessary.@react-querybuilder/bulma
properly indicates compatibility with Bulma v1 in its peerDependencies
, and the website demo now uses Bulma v1.Changelog
[v7.7.1] - 2024-10-21
@react-querybuilder/material
package uses the TextField
component from @mui/material
(previous versions used Input
). Implementations that preload MUI components may need to be updated.extraProps
prop of MaterialValueEditor
works properly.FluentShiftActions
and TremorShiftActions
are now applied by default in their respective compatibility packages.