@grafana/viz-contract 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/viz-contract",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "description": "Contract between a Grafana query source, the host that shows the chart, and the Renderer",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -9,8 +9,8 @@
9
9
  {
10
10
  "code": "unit-unknown",
11
11
  "raisedBy": "renderer",
12
- "when": "panel.fieldConfig.defaults.unit is not a unit ID of @grafana/data",
13
- "message": "Unit <unit> is not a Grafana unit. The values show with no unit."
12
+ "when": "panel.fieldConfig.defaults.unit is not a key of getValueFormatterIndex() of @grafana/data, and it does not start with prefix:, suffix:, time:, si:, count:, currency: or bool:",
13
+ "message": "Unit <unit> is not a Grafana unit. The values show with <unit> as a suffix."
14
14
  },
15
15
  {
16
16
  "code": "series-truncated",