mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Updating migration docs to include most relevant breaking changes (#50356)
This commit is contained in:
parent
840a442796
commit
cd01eb541a
@ -216,6 +216,25 @@ In the InfluxDB data source, browser access mode was deprecated in grafana 8.0.0
|
||||
|
||||
The rename by regex transformation has been improved to allow global patterns of the form `/<stringToReplace>/g`. Depending on the regex match used, this may cause some transformations to behave slightly differently. You can guarantee the same behavior as before by wrapping the match string in forward slashes (/), for example, (._) would become /(._)/. ([Github Issue #48179](https://github.com/grafana/grafana/pull/48179))
|
||||
|
||||
### Clock Panel
|
||||
|
||||
We have updated [clock panel](https://grafana.com/grafana/plugins/grafana-clock-panel/) to version `2.0.0` to make it Compatible with Grafana 9. The previous version `1.3.1` will cause the Grafana 9 to [crash](https://github.com/grafana/clock-panel/issues/106) when being used in a dashboard, we encourage you to update the panel before migrating to Grafana 9.
|
||||
|
||||
### Plugins: Most relevant breaking changes
|
||||
|
||||
- `getColorForTheme` was removed, use `theme.visualization.getColorByName` instead [PR #49519](https://github.com/grafana/grafana/pull/49519)
|
||||
- `TextDisplayOptions` was removed, use `VizTextDisplayOptions` instead [PR #49705](https://github.com/grafana/grafana/pull/49705)
|
||||
- We have changed the internals of `backendSrv.fetch()` to throw an error when the response is an incorrect JSON. Make sure to handle possible errors on the callsite where using `backendSrv.fetch()` (or any other `backendSrv` methods) [PR #47493](https://github.com/grafana/grafana/pull/47493)
|
||||
- We have removed the deprecated `getFormStyles` function from [grafana-ui](https://www.npmjs.com/package/@grafana/ui). Use `GrafanaTheme2` and the `useStyles2` hook instead [PR #49945](https://github.com/grafana/grafana/pull/49945)
|
||||
- We have removed the deprecated `/api/tsdb/query` metrics endpoint. Use `/api/ds/query` instead [PR #49916](https://github.com/grafana/grafana/pull/49916)
|
||||
|
||||
You can find the complete list of breaking changes in the links below. Please check them out for more details and see if there is anything affecting your plugin
|
||||
|
||||
- https://grafana.com/docs/grafana/next/release-notes/release-notes-9-0-0-beta1/
|
||||
- https://grafana.com/docs/grafana/next/release-notes/release-notes-9-0-0-beta2/
|
||||
- https://grafana.com/docs/grafana/next/release-notes/release-notes-9-0-0-beta3/
|
||||
- https://grafana.com/docs/grafana/next/release-notes/release-notes-9-0-0
|
||||
|
||||
## A note on Grafana Enterprise licensing
|
||||
|
||||
When we release Grafana 9.0 on June 14th, Grafana will no longer enforce viewers and editor-admins differently. That means that regardless of whether your Grafana Enterprise license is tiered or combined, instead of seeing this on the Stats & Licensing page:
|
||||
|
Loading…
Reference in New Issue
Block a user