Releases: dabernathy89/vue-query-builder
Refactor to renderless (breaking changes)
This release was a major refactor, and a big step toward a stable release. The biggest new feature is the ability to completely replace the template of the query builder, to provide better support for folks who need to integrate with other CSS frameworks or just want more control over the display of the query builder.
Breaking changes:
selectedOperator
andselectedOperand
in the query input/output were changed tooperator
andoperand
.styled
prop was removed- default styling uses Bootstrap 4 classes, rather than Bootstrap 3
See the documentation for more information on providing a custom template.
Minor breaking changes
A couple of minor breaking changes:
-
Rather than just 2 match types, you can now add as many as you want and specify the label and key. The key will be used for the raw output. The
matchTypeAny
andmatchTypeAll
properties on thelabels
prop have been replaced withmatchTypes
; see the Configuration section of the docs for more details. -
All rules can now have operators, including multiple choice rules. You just need to provide an array of operators with the rule and they'll be included. If you only have one or zero operators, nothing will show.
v0.6.1
Added the name
property to the component
Migrate to v-model (*breaking change*)
This migrates the API for the component from using the initialQuery
prop and @query-updated
event to simply using v-model
.
Migrate to Vue CLI 3
v0.4.2