Grafana v9.0.0-beta3 Release Notes
Release Date: 2022-06-06 // almost 2 years ago-
๐ Features and enhancements
- Alerting: Add provenance guard to config api. #50147, @JohnnyQQQQ
- Alerting: Make folder filter clearable in Alert list panel. #50093, @peterholmberg
- Alerting: Provisioning API - Alert rules. #47930, @JohnnyQQQQ
- Alerting: Remove Image Upload code from Slack notifier. #50062, @joeblubaugh
- Alerting: Remove double quotes from matchers. #50038, @gotjosh
- Cloudwatch: Dynamic labels autocomplete. #49794, @sunker
- Datasource: Remove deprecated max_idle_connections_per_host setting. #49948, @marefr
- Datasource: Remove support for unencrypted passwords. #49987, @marefr
- Dependencies: Update to Golang version
1.17.11
. #50253, @dsotirakis - Loki: Run query when pressing Enter on line-filters. #49913, @svennergr
- Metrics: Remove support for using summaries instead of histogram for HTTP instrumentation. #49985, @bergquist
- ๐ Plugins: Remove deprecated /api/tsdb/query metrics endpoint. #49916, @wbrowne
- ๐ Plugins: Support headers field for check health. #49930, @marefr
- Prometheus/Loki: Add raw query and syntax highlight in explain mode. #50070, @aocenas
- Prometheus: Migrate metadata queries to use resource calls. #49921, @srclosson
- RBAC: Make RBAC action names more consistent. #49730, @IevaVasiljeva
- RBAC: Make RBAC action names more consistent. (Enterprise)
- Settings: Sunset non-duration based login lifetime config. #49944, @sakjur
- [9.0.x] Alerting: Update alert rule diff to not see difference between nil and empty map. #50198, @yuri-tceretian
๐ Bug fixes
- Alerting: Fix alert list panel showing firing alerts with no instances. #50069, @gillesdemey
- Alerting: Fix notification policy "Override grouping" form save. #50031, @JacobsonMT
- Alerting: Remove double quotes from matchers. #50046, @alexweav
- Alerting: Use correct permission scope for external AM updates. #50159, @gillesdemey
- Datasource: Fix allowed cookies to be forwarded as header to backend datasources. #49541, @marefr
- Licensing: Fix trial expiration warning. (Enterprise)
- Loki: Fix uncaught errors if
labelKey
contains special characters. #49887, @svennergr - Prometheus: Fix aligning of labels of exemplars after backend migration. #49924, @aocenas
- SharePDF: Fix repeated datasource variables in PDF. (Enterprise)
- State Timeline: Fix Null Value Filling and Value Transformation. #50054, @codeincarnate
- Usage stats: Divide collection into multiple functions to isolate failures. #49928, @sakjur
๐ฅ Breaking changes
โ Removes support for storing/using datasource
password
andbasicAuthPassword
unencrypted which was deprecated in Grafana v8.1.0. Please usesecureJsonData.password
andsecureJsonData.basicAuthPassword
. Issue #49987โ Removes the option to instrument HTTP request in Grafana using summaries instead of histograms. Issue #49985
Removes support for deprecated dataproxy.max_idle_connections_per_host setting. Please use max_idle_connections instead. Issue #49948
โ Removes the deprecated
getFormStyles
function from grafana-ui. ๐ Prefer usingGrafanaTheme2
and theuseStyles2
hook. Issue #49945The configuration options
auth.login_maximum_inactive_lifetime_days
andauth.login_maximum_lifetime_days
were deprecated in Grafana v7.2.0 and have now been removed. Uselogin_maximum_inactive_lifetime_duration
andlogin_maximum_lifetime_duration
to customize the maximum lifetime of a login session. Issue #49944โ Removed the deprecated
isFocused
andisInvalid
props from theInlineLabel
component. These props haven't done anything for a while, so migration is just a matter of removing the props. Issue #49929โ Removed the deprecated
onColorChange
prop fromColorPicker
. Moving forward theonChange
prop should be used. Issue #49923/api/tsdb/query
API has been removed. Use /api/ds/query instead. Issue #49916onClipboardCopy
andonClipboardError
APIs have been changed such that the callback's argument is just the text that's been copied rather than the oldClipboardEvent
interface. Migration should just be a matter of going from<ClipboardButton {/*other props... */} onClipboardCopy={(e) => { console.log(`Text "${e.text}" was copied!`); }} />
to
<ClipboardButton {/* other props... */} onClipboardCopy={(copiedText) => { console.log(`Text "${copiedText}" was copied!`); }} /> ``` Issue [#49847](https://github.com/grafana/grafana/issues/49847) The following RBAC action renames have been carried out: * โก๏ธ `users.authtoken:update` -> `users.authtoken:write`; * โก๏ธ `users.password:update` -> `users.password:write`; * โก๏ธ `users.permissions:update` -> `users.permissions:write`; * โก๏ธ `users.quotas:update` -> `users.quotas:write`; * โก๏ธ `org.users.role:update` -> `org.users:write`; * โก๏ธ `alert.instances:update` -> `alert.instances:write`; * โก๏ธ `alert.rules:update` -> `alert.rules:write`; * `users.authtoken:list` -> `users.authtoken:read`; * `users.quotas:list` -> `users.quotas:read`; * `users.teams:read` -> replaced by `users.read` + `teams:read` ๐ We've added a migration from the old action names to the new names and have updated our documentation. But you will have to update any scripts and provisioning files that are using the old action names. Issue [#49730](https://github.com/grafana/grafana/issues/49730) The following RBAC action renames have been carried out: * `reports.admin:write` -> `reports:write`; * `reports.admin:create` -> `reports:create`; * โก๏ธ `licensing:update` -> `licensing:write`; * `roles:list` -> `roles:read`; * `teams.roles:list` -> `teams.roles:read`; * `users.roles:list` -> `users.roles:read`; * `users.permissions:list` -> `users.permissions:read` ๐ We've added a migration from the old action names to the new names and have updated our documentation. But you will have to update any scripts and provisioning files that are using the old action names. Issue [#3372](https://github.com/grafana/grafana/issues/3372) ### ๐ Plugin development fixes & changes - ๐ป **UI:** Remove deprecated getFormStyles function. [#49945](https://github.com/grafana/grafana/pull/49945), [@kaydelaney](https://github.com/kaydelaney) - **InlineLabel:** Remove deprecated props. [#49929](https://github.com/grafana/grafana/pull/49929), [@kaydelaney](https://github.com/kaydelaney) - **ColorPicker:** Remove deprecated onColorChange prop. [#49923](https://github.com/grafana/grafana/pull/49923), [@kaydelaney](https://github.com/kaydelaney) - **ClipboardButton:** Simplify callbacks. [#49847](https://github.com/grafana/grafana/pull/49847), [@kaydelaney](https://github.com/kaydelaney) <!-- 9.0.0-beta3 END --> <!-- 9.0.0-beta2 START -->