Breaking Changes¶
This guide tracks user-facing breaking changes and migrations between releases.
Use the CLI to access this guide from a local install:
kb-dashboard docs guide breaking-changes
0.2.7 -> 0.4.0¶
Important
Starting with 0.4.0, we only support compatibility from 0.2.7 directly to 0.4.0.
Compatibility behavior specific to intermediate 0.3.x releases is intentionally dropped.
Use kb-dashboard upgrade to rewrite legacy 0.2.7 YAML into the canonical 0.4.0 schema.
Migration Checklist¶
Run the upgrader first¶
Run the schema upgrader before compiling:
For CI validation (without writing files):
Datatable¶
- Remove
columnsandmetric_columnslists. Display settings (width, alignment, hidden, etc.) now live directly on each metric or breakdown underappearance. - Replace
color_mode(none/cell/text) withcolor.apply_toon each metric. - Rename
dimensionstobreakdownsanddimensions_bytometrics_split_by.
Metric¶
- The old chart-level
colorfield (palette name + assignments) is no longer supported. Color thresholds are now configured on the primary metric viaprimary.colorwiththresholds,range_type,range_min,range_max, andapply_to.
XY¶
- Rename
legend.sizetolegend.width. - Lowercase
appearance.missing_valuesandappearance.end_valuesenum values (e.g.,'Linear'becomes'linear').
Pie¶
- Rename
dimensionstobreakdowns.
Heatmap¶
- Rename
valuetometricon heatmap charts. Thevaluefield is nowmetricto align with other chart types.
Dimensions / Breakdowns¶
collapseis now only valid on breakdown fields. If you hadcollapseon a plain dimension (e.g., XYdimension), move it to a breakdown instead.- ES|QL:
collapsehas moved fromESQLDimensiontoESQLBreakdown. Movedimension.collapsetobreakdown.collapse. - Lens top values: rename
other_buckettoshow_other_bucketandmissing_buckettoinclude_missing_values. - Lens intervals: rename
empty_buckettoinclude_empty_intervals.