Skip to content

Commit 21d8e08

Browse files
jordangarsideclaude
andcommitted
[release][grafana-react] v0.0.4
Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 922f732 commit 21d8e08

File tree

2 files changed

+33
-2
lines changed

2 files changed

+33
-2
lines changed

CHANGELOG.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.0.4] - 2026-01-16
11+
12+
### Added
13+
14+
- **Value Mappings**: Transform values to text/colors with `valueMappings` prop
15+
- Support for exact value, range, regex, and special value mappings
16+
- **Defaults System**: Apply consistent configuration across panels
17+
- `<Defaults>` component for scoped defaults
18+
- `defaults` prop on `<Dashboard>` for dashboard-wide defaults
19+
- `--defaults` CLI flag to load defaults from JSON file
20+
- Per-panel-type overrides with `panels` config
21+
- **Container Component**: Nested grid layouts within rows
22+
- Fixed width or fill remaining space
23+
- **FieldConfigProps**: Shared interface for common field configuration
24+
- Consolidates `unit`, `decimals`, `thresholds`, `baseColor`, `valueMappings`, `noValue`
25+
- **Extend Prop**: Escape hatch for unsupported Grafana features
26+
- Deep-merge raw JSON into panel output
27+
- **Table Enhancements**:
28+
- Data links on columns (`link` prop)
29+
- Cell display modes (`cellMode`: gauge, color-text, color-background)
30+
- Per-column thresholds, decimals, and display names
31+
- **Color Type Improvements**:
32+
- Discriminated union for `OverrideConfig` based on color mode
33+
- `FixedColorMode`, `ContinuousColorMode`, `PaletteColorMode` types
34+
- `ColorSeriesBy` for continuous color calculation
35+
- **Panel Improvements**:
36+
- `marginLeft` prop for spacing before panels
37+
- `min`/`max` props on Stat for sparkline Y-axis
38+
- Legend `width` prop for right-placed legends
39+
1040
## [0.0.1] - 2026-01-09
1141

1242
### Added
@@ -29,5 +59,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2959
- Tooltip configuration
3060
- Row padding support
3161

32-
[Unreleased]: https://github.com/kiwi-research/grafana-react/compare/v0.0.1...HEAD
62+
[Unreleased]: https://github.com/kiwi-research/grafana-react/compare/v0.0.4...HEAD
63+
[0.0.4]: https://github.com/kiwi-research/grafana-react/compare/v0.0.1...v0.0.4
3364
[0.0.1]: https://github.com/kiwi-research/grafana-react/releases/tag/v0.0.1

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "grafana-react",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"description": "React-based DSL for creating Grafana dashboards",
55
"type": "module",
66
"license": "MIT",

0 commit comments

Comments
 (0)