Co-authored-by: grafanabot <bot@grafana.com>
92 KiB
10.0.1 (2023-06-22)
Features and enhancements
- Schema: Improve Dashboard kind docs and remove deprecated props. #69652, @ivanortegaalba
- Alerting: Update alerting module to 20230524181453-a8e75e4dfdda. #69011, @yuri-tceretian
- Caching: Update labels for cache insertions counter. (Enterprise)
Bug fixes
- Auth: Fixed CVE-2023-3128. #70581, @zerok
- Command palette: Include help links. #70322, @ashharrison90
- Tempo: Use pipe in TraceQL by default for multi-value variables. #70321, @joey-grafana
- XYChart/Trend: Fix min/max and units/decimals X field overrides. #70261, @leeoniya
- Explore: Improve logs volume panel empty state. #70255, @Elfo404
- Plugins: Wrap original check health error. #70227, @kousikmitra
- XYChart: Fix variable interpolation in datalinks/toggletip. #70210, @leeoniya
- XYChart: Fix formatting of axis ticks (units, decimals). #70193, @leeoniya
- Auth: Show invite button if disable login form is set to false. #70155, @IevaVasiljeva
- TextPanel: Fix
styling missing the disclosure triangle. #70138, @joshhunt - Alerting: Fix email template for text/plain emails. #70111, @grobinson-grafana
- Explore: Fixed Starred query history tab to show all starred queries. #70092, @harisrozajac
- CodeEditor: Ensure suggestions only apply to the instance of the edit…. #70067, @ashharrison90
- Command Palette: Links opened in a new tab now route correctly when Grafana is served under a subpath. #69925, @ashharrison90
- Heatmap: Sort fields by numeric names when single frame. #69880, @leeoniya
- CloudMonitoring: Improve parsing of GCM labels. #69812, @aangelisc
- NestedFolders: Fix select all in folder view selecting items out of folder. #69783, @joshhunt
- Alerting: Fix notification policies inheritance algorithm (#69304). #69782, @gillesdemey
- Templating: Fix updating of definition to empty string. #69767, @ivanahuckova
- Alerting: Support newer http_config struct. #69719, @gillesdemey
- Loki: Fix including of template variables in variable query editor. #69709, @ivanahuckova
- Azure: Fix Kusto auto-completion for Azure datasources (#69685). #69695, @aangelisc
- Alerting: Fix broken UI because of query being optional for some ExpressionQuer…. #69683, @soniaAguilarPeiron
- Explore: Run remaining queries when one is removed from a pane. #69670, @Elfo404
- Dashboards: Variables - Improve slow template variable loading due same variable loaded multiple times on time range change. #69641, @axelavargas
- Loki: Fix error when empty template variables response. #69559, @ivanahuckova
- Alerting: Add heuristics back to datasource healthchecks. #69541, @grobinson-grafana
- Util: Fix panic when generating UIDs concurrently. #69538, @JohnnyQQQQ
- Alerting: Fix provisioned templates being ignored by alertmanager. #69488, @JacobsonMT
- Log Context: Fix split view button using the wrong query. #69416, @svennergr
- Pyroscope: Fix wrong defaults when importing query from different datasource. #69366, @aocenas
- InfluxDB: Interpolate retention policies. #69300, @itsmylife
- SQLStore: Align SQLite IsUniqueConstraintViolation() with other backend implementations. #69227, @papagian
- Dashboards: Remove Explore option from panel menu when panel's datasource uid is "-- Dashboard --". #69173, @harisrozajac
- Alerting: Fix "show all instances". #67837, @gillesdemey
- Usage Insights: Fix last viewed date. (Enterprise)
- Caching: Fix issue in which caching can cause HTTP resource response bodies to be written twice. (Enterprise)
10.0.0 (2023-06-12)
Features and enhancements
- Themes: Unify secondary button and ToolbarButton. #69049, @torkelo
- PublicDashboards: Email sharing users with active sessions added in Users list . (Enterprise)
- Caching: Ensure context-canceled are not reported as errors . (Enterprise)
- SAML: Configuration UI. (Enterprise)
Bug fixes
- Query Editor: Ensure dropdown menus position correctly. #69131, @grafanabot
- Drawer: Fixes closeOnMaskClick false issue. #69103, @grafanabot
- SAML: Fix IdP metadata caching so that invalid metadata doesn't get cached. (Enterprise)
10.0.0-preview (2023-05-31)
Features and enhancements
- Alerting: Migrate unknown NoData\Error settings to the default. #69010, @grafanabot
- Drawer: Position under nav & minor redesign . #68396, @grafanabot
- Navigation: Add keyboard shortcut to navigate directly to Dashboards. #68374, @grafanabot
- Explore: Promote exploreMixedDatasource to Stable & enable by default. #68353, @Elfo404
- Tempo: Escape regex-sensitive characters in span name before building promql query. #68313, @grafanabot
- Drawer: Introduce a size property that set's width percentage and minWidth . #68128, @grafanabot
- AngularDeprecation: Show warnings in panel edit for angular panels. #68083, @grafanabot
- Dashboard: Change add panel button to fill to remove outline border. #68017, @grafanabot
- Query History: Remove migration. #67470, @Elfo404
- Alerting: Implement template testing endpoint. #67450, @JacobsonMT
- Trace View: Export trace button . #67368, @adrapereira
- Alerting: Update grafana/alerting to 4f09f51. #67329, @grobinson-grafana
- Cloudwatch: Add FraudDetector namespace with metrics and dimensions. #67318, @ffje
- Timeseries: Migrate legend hideFrom. #67305, @adela-almasan
- CloudWatch: Deprecate dynamic labels feature toggle, remove support for Alias in frontend. #67222, @fridgepoet
- Docs: Create documentation for enterprise caching HTTP API. #67169, @mmandrus
- Cloudwatch Logs: Update Cheatsheet. #67161, @sarahzinger
- Alerting: Add alert instance picker. #67138, @VikaCep
- Loki: Enable dataplane-compliant metric data by default. #67137, @gabor
- Loki: Enable new log context query editor. #67131, @ivanahuckova
- Elasticsearch: Deprecate index setting for annotation queries. #67046, @ivanahuckova
- Search: Preserves search filters when navigating to another page. #67021, @khushijain21
- PanelContext: Add functionality to update data from panel. #66993, @torkelo
- Phlare: Support both Phlare and Pyroscope backends and rename to Grafana Pyroscope. #66989, @aocenas
- Packaging: Added deprecation warnings when running
grafana-cli
orgrafana-server
; thegrafana
command should be used instead. #66976, @kminehart - Elasticsearch: Update required database version to 7.16. #66928, @gabor
- Alert: Redesign with tinted background . #66918, @torkelo
- Auth: Make GitHub auth's allowed_organizations be case insensitive. #66879, @consideRatio
- Elasticsearch: Deprecate the usage of the database field in provisioning. #66828, @gwdawson
- CSRF middleware: Add flag to skip login cookie check. #66806, @PoorlyDefinedBehaviour
- Alerting: Use URLs in image annotations. #66804, @santihernandezc
- AppRootPage: Reduce flickering while loading plugin. #66799, @torkelo
- Alerting: Make Loki & Prometheus instant vector by default. #66797, @gillesdemey
- Log Context: Add button to open the context query in a split view. #66777, @svennergr
- APIkeys: Add metrics for apikey endpoints. #66732, @eleijonmarck
- ServeFromSubPath: Redirect to URL with subpath when subpath missing. #66724, @torkelo
- RBAC: Remove the option to disable RBAC and add automated permission migrations for instances that had RBAC disabled. #66652, @IevaVasiljeva
- Plugins: Remove secure socks proxy feature toggle. #66611, @stephaniehingtgen
- Alerting: Loki-based alert state history modal. #66595, @konrad147
- Explore: Promote exploreMixedDatasource feature toggle to beta. #66552, @ifrost
- Chore: Clean up NavModel interface. #66548, @ashharrison90
- Alerting: Scheduler use rule fingerprint instead of version. #66531, @yuri-tceretian
- CloudWatch: Deprecate dynamic labels feature toggle, remove support for Alias in backend. #66494, @fridgepoet
- RBAC: Make access control metadata for folders work with nested folders. #66464, @IevaVasiljeva
- Tracing: Add links to documentation in config pages. #66442, @joey-grafana
- Loki: Always display log context toggle. #66379, @matyax
- Datagrid Panel: Edit data within your dashboards. #66353, @mdvictor
- Annotations: Support filtering the target panels. #66325, @ryantxu
- Alerting: Use default page size of 5000 when querying Loki for state history. #66315, @alexweav
- GrafanaData: Remove obsolete logs exports. #66271, @gabor
- Alerting: Update legacy alerting warning. #66269, @armandgrillet
- GrafanaUI: Remove obsolete logs exports. #66268, @gabor
- Explore: Remove deprecated DataSourceWithLogsVolumeSupport. #66266, @ivanahuckova
- Chore: Upgrade Go to 1.20.3. #66264, @sakjur
- Design System: Set TextArea to display: block in order to remove spacing below. #66262, @L-M-K-B
- Elasticsearch: Add feature toggle to disable running queries trough backend. #66260, @ivanahuckova
- Correlations: Add transformation editor. #66217, @gelicia
- Logs Navigation: Scroll to first log when using pagination. #66214, @matyax
- Search: Add clear search button to the input bar. #66204, @khushijain21
- Visualizations: Choose color based on series name. #66197, @lukepalmer
- FieldValues: Use plain arrays instead of Vector (part 1 of 2). #66187, @ryantxu
- Users: Enable case insensitive login by default. #66134, @Jguer
- Loki Query Editor: Increase autocomplete suggestions window with to 50%. #66041, @matyax
- Instrumentation: Add support for instrumenting database queries. #66022, @bergquist
- Loki: Add feature flag to enable dataplane-compliant metric frames. #66017, @gabor
- Tempo: Encode IDs as hexadecimal when downloading traces. #66001, @kousikmitra
- Cloudwatch: Add missing AWS/IVS namespace metrics. #65985, @idastambuk
- Alerting: Remove and revert flag alertingBigTransactions. #65976, @JacobsonMT
- Alerting: Attach hash of instance labels to state history log lines. #65968, @alexweav
- API keys: Add deprecation to api keys. #65948, @eleijonmarck
- Logs: Redesign and improve LogContext. #65939, @svennergr
- Loki: Remove alpha feature toggle lokiDataframeApi. #65918, @gabor
- Packaging: Remove chkconfig dependency. #65887, @DanCech
- Explore: Run test datasource default selection when mounted. #65864, @gelicia
- Service Accounts: Allow unsetting token expiry date. #65862, @kousikmitra
- SQL Datasources: Update Max Connection and Max Idle Connection Defaults to 100 and add auto mode. #65834, @codeincarnate
- DashlistPanel: Add options to include time range and variable values. #65757, @VictorColomb
- Alerting: Add endpoint to revert to a previous alertmanager configuration. #65751, @JacobsonMT
- Alerting: Document state history config options in default and sample configuration files. #65748, @alexweav
- Alerting: Choose a previous valid AM configuration in case of error. #65746, @VikaCep
- Traces: Span filtering. #65725, @joey-grafana
- Caching: Refactor enterprise query caching middleware to a wire service. #65616, @mmandrus
- Alerting: Implement template preview for Grafana AlertManager. #65530, @soniaAguilarPeiron
- Dropdown: Stop Dropdown accepting a function as children. #65467, @ashharrison90
- GrafanaDS: Add support for annotation time regions. #65462, @leeoniya
- Alerting: Add support for running HA using Redis. #65267, @JohnnyQQQQ
- Tempo: Add kind to TraceQL intrinsics. #65111, @adrapereira
- Feature: Trusted Types support. #64975, @KristianGrafana
- AzureMonitor: Application Insights Traces. #64859, @aangelisc
- Chore: Remove deprecated dashboardId from panel query runner. #64786, @ryantxu
- DataFrame: Handle nanosecond-precision timestamp fields. #64529, @gabor
- EditDataSources: Add EditDataSourceActions to EditDataSourcePages. #64487, @mikkancso
- Chore: Upgrade to react 18. #64428, @ashharrison90
- Canvas: Connection properties based on data. #64360, @adela-almasan
- Explore: Align multiple log volumes. #64356, @ifrost
- Explore: Clear live logs. #64237, @abdulhdr1
- TimeSeries: Explicitly add transformer when timeseries-long exists. #64092, @ryantxu
- SAML: Configuration UI. #64054, @alexanderzobnin
- Alerting: Use configured headers for external alertmanager. #63819, @JohnnyQQQQ
- Prometheus: Incremental querying option for
to: now
dashboards. #62932, @leeoniya - Dashboard: Add series color shades. #61300, @jkraml-staffbase
Bug fixes
- ResourcePicker: Fix missing border bug on cancel button. #69113, @nmarrs
- TimeSeries: Fix centeredZero y axis ranging when all values are 0. #69112, @grafanabot
- StatusHistory: Fix rendering of value-mapped null. #69108, @grafanabot
- Alerting: Fix provenance guard checks for Alertmanager configuration to not cause panic when compared nested objects. #69094, @grafanabot
- Alerting: Add support for Alert State History Loki primary. #69077, @grafanabot
- Dashboards: Fix undefined aria labels in Annotation Checkboxes for Programmatic Access. #68873, @grafanabot
- Alerting: Fix stale query preview error. #68836, @grafanabot
- AnonymousAuth: Fix concurrent read-write crash. #68803, @grafanabot
- AzureMonitor: Ensure legacy properties containing template variables are correctly migrated. #68792, @grafanabot
- Alerting: Add additional contact points for external AM. #68778, @grafanabot
- RBAC: Remove legacy AC editor and admin role on new dashboard route. #68777, @grafanabot
- Azure Monitor: Fix bug with top value so more than 10 resources can be shown . #68725, @grafanabot
- NodeGraph: Fix overlaps preventing opening an edge context menu when nodes were too close. #68628, @grafanabot
- Plugins: Correct the usage of mutex for gRPC plugin implementation. #68609, @grafanabot
- Azure Monitor: Fix bug that did not show alert rule preview. #68581, @grafanabot
- FlameGraph: Fix table sort being reset when search changes. #68454, @grafanabot
- Command Palette: Prevent stale search results from overwriting newer results. #68392, @grafanabot
- Search: Fix Search returning results out of order. #68387, @joshhunt
- Explore: Remove data source onboarding page. #68381, @grafanabot
- Flamegraph: Fix tooltip positioning. #68312, @grafanabot
- Pyroscope: Add authentication when calling backendType resource API. #68311, @grafanabot
- Histogram: Respect min/max panel settings for x-axis. #68245, @grafanabot
- QueryRow: Make toggle actions screen-readers accessible. #68210, @grafanabot
- Heatmap: Fix color rendering for value ranges < 1. #68164, @grafanabot
- Heatmap: Handle unsorted timestamps in calculate mode. #68151, @grafanabot
- Alerting: Fixes Alert list panel "ungrouped" regression. #68090, @grafanabot
- Alerting: Show export button for org admins. #67995, @grafanabot
- Navigation: Fix 'Page not found' when sending or going back from 'Invitate user' page. #67972, @grafanabot
- InspectDrawer: Fixes issue with double scrollbars. #67888, @grafanabot
- Connections: Show core datasource plugins as well. #67886, @grafanabot
- Gauge: Set min and max for percent unit. #67719, @grafanabot
- TimeSeries: Fix leading null-fill for missing intervals. #67570, @leeoniya
- Pyroscope: Fix autodetection in case of using Phlare backend. #67536, @aocenas
- Dashboard: Revert fixed header shown on mobile devices in the new panel header. #67510, @axelavargas
- PostgreSQL: Fix tls certificate issue by downgrading lib/pq. #67372, @zoltanbedi
- Alerting: Fix misleading status code in provisioning API. #67331, @usommerl
- Explore: Update table min height . #67321, @adrapereira
- Provisioning: Fix provisioning issues with legacy alerting and data source permissions. #67308, @IevaVasiljeva
- Proxy: Improve header handling for reverse proxy. #67279, @sakjur
- Loki: Fix log samples using
instant
queries. #67271, @svennergr - Alerting: Fix panic when reparenting receivers to groups following an attempted rename via Provisioning. #67167, @alexweav
- Loki: Fix incorrect evaluation of real and extracted labels in context. #67112, @ivanahuckova
- Cloudwatch Logs: Clarify Cloudwatch Logs Limits. #67072, @sarahzinger
- Rendering: Fix panel rendered count on error. #67027, @AgnesToulet
- Elasticsearch: Fix processing of duplicated metric types and field. #66973, @ivanahuckova
- Plugins: Fix width for README pages with tables. #66872, @andresmgot
- Tempo: TraceQL query builder QoL improvements. #66865, @adrapereira
- Expressions/threshold: Fix incorrect thresholds args length. #66859, @gillesdemey
- Panel Header Fix: Implement new Panel Header on Angular Panels . #66826, @axelavargas
- Elasticsearch: Handle multiple annotation structures. #66762, @gabor
- Alerting: Fix share URL for Prometheus rules on subpath. #66752, @gillesdemey
- Alerting: Fix DatasourceUID and RefID missing for DatasourceNoData alerts. #66733, @grobinson-grafana
- Plugins: Fix plugin catalog filtering. #66663, @leventebalogh
- Navigation: Redirect to root page when switching organization. #66655, @ashharrison90
- Trace View: Update the queryType to traceql for checking if same trace when clicking span link. #66645, @ericmustin
- Explore: Fix using data source line limit when opening logs sample in split view. #66601, @ivanahuckova
- Loki: Fix ad hoc filters when used with number and > and < operators. #66579, @ivanahuckova
- Dashboards: Fix broken internal data links. #66567, @ifrost
- Google Cloud Monitoring: Fix project variable. #66524, @asimpson
- Azure Monitor: Fix bug that was not showing resources for certain locations. #66502, @alyssabull
- Plugins: Fs: Add option to access unallowed files in dev mode. #66492, @xnyo
- Dashboard: New panel in a dashboard is not deleted after "Discard"-ing changes in Panel Edit. #66476, @polibb
- InfluxDB: Fix querying with hardcoded retention policy. #66466, @itsmylife
- Alerting: Hide mute timing actions when dealing with vanilla prometheus. #66457, @gillesdemey
- Alerting: Fix creating a recording rule when having multiple datasources. #66415, @VikaCep
- AccessControl: Allow editors to access GET /api/datasources. #66343, @mgyongyosi
- Table Panel: Fix panel migration for options cell type. #66305, @ryantxu
- Navigation: Scrolled hamburger menu links now navigate correctly in Safari. #66261, @ashharrison90
- Cloudwatch: Fix ui bug in template variable editor. #66207, @iSatVeerSingh
- Annotations: Improve get tags query performance. #66182, @papagian
- Query Splitting: Fix for handling queries with no requestId. #66161, @domasx2
- Cloudwatch: Pass refId from query for expression queries. #66147, @idastambuk
- Alerting: Fix explore link in alert detail view. #66106, @gillesdemey
- Plugins: Skip instrumenting plugin build info for core and bundled plugins. #66105, @wbrowne
- Alerting: Fix silences preview. #66000, @konrad147
- Fix: DataLinks from data sources override user defined data link. #65996, @axelavargas
- Auth: Remove the session cookie only if it's invalid or revoked. #65984, @mgyongyosi
- Transformations: Improve UX and fix refId issues. #65982, @torkelo
- SQL Datasources: Fix variable throwing error if query returns no data. #65937, @mdvictor
- Annotations: Ignore unique constraint violations for tags. #65935, @sakjur
- PluginExtensions: Fixed issue with incorrect type being exposed when configuring an extension. #65910, @mckn
- Annotation List: Fix panel not updating when variable is changed. #65899, @JoaoSilvaGrafana
- Table: Fix migrations from old angular table for cell color modes . #65760, @torkelo
- PieChart: Show long labels properly. #65699, @mdvictor
- Library panels: Ensure pagination controls are always correctly displayed. #65283, @ashharrison90
- Catalog: Show install error with incompatible version. #65059, @andresmgot
- XYChart: Add all dataset columns in tooltip. #65027, @mdvictor
- Alerting: Use a completely isolated context for state history writes. #64989, @alexweav
- Utils: Reimplement util.GetRandomString to avoid modulo bias. #64481, @DanCech
- Reports: Add empty UID to not found dashboard. (Enterprise)
Breaking changes
The deprecated plugin:build
command in the Grafana Toolkit have been removed in this release. The replacement create-plugin
tool is recommended for plugin development. Issue #67485
The deprecated package:build
, node-version-check
and toolkit:build
commands in the Grafana Toolkit have been removed in this release. Issue #67475
The deprecated plugin:github-publish
command in the Grafana Toolkit have been removed in this release. Issue #67471
The /query-history/migrate
endpoint has been removed and query history entries will not be automatically migrated when switching from local storage to remote storage. Issue #67470
The deprecated plugin:ci-build
, plugin:ci-package
, plugin:ci-report
, plugin:update-circleci
and plugin:bundle-managed
commands in the Grafana Toolkit have been removed in this release. Issue #67212
The data-format used by the Loki data source for metric (graph producing) queries was changed to be compliant with the recommended Grafana format. The change is very small, we do not expect it to cause problems: for instant-queries the dataframe-type changed from timeseries-multi
to numeric-multi
, the dataframe-name attribute is not used anymore. If you are affected by this, you can revert back to the old format by setting the feature flag lokiMetricDataplane
to false
. We recommend migrating to the new format, because the feature-flag will be removed at some point in the future. Issue #67137
The deprecated plugin:sign
command in the Grafana Toolkit have been removed in this release. The replacement sign-plugin
tool is recommended for plugin signing. Issue #67130
The deprecated plugin:test
and plugin:dev
commands in the Grafana Toolkit have been removed in this release. Issue #67125
The type signature of the testDatasource()
method on the DataSourceWithBackend
class has changed, the returned Promise is now typed stricter, which is probably going to cause type-errors while building plugins against the latest Grafana versions.
// Before
abstract testDatasource(): Promise<any>;
// After
abstract testDatasource(): Promise<TestDataSourceResponse>;
Issue #67014
Grafana requires an Elasticsearch version of 7.16 or newer. If you use an older Elasticsearch version, you will get warnings in the query editor and on the datasource configuration page. Issue #66928
The deprecated plugin:create
and component:create
commands in the Grafana Toolkit have been removed in this release. The replacement create-plugin
tool is recommended for scaffolding new plugins and a migration guide for moving from the toolkit is available here. Issue #66729
We've removed some now unused properties from the NavModel
interface. Issue #66548
default
named retention policies won't be used to query. Users who have a default
named retention policy in their influxdb
database, have to rename it to something else. Having default
named retention policy is not breaking anything. We will make sure to use the actual default retention policy under the hood. To change the hardcoded retention policy in the dashboard.json
, users must they select the right retention policy from dropdown and save the panel/dashboard. Issue #66466
We removed previously deprecated components from @grafana/data
: getLogLevel
, getLogLevelFromKey
, addLogLevelToSeries
, LogsParser
, LogsParsers
, calculateFieldStats
, calculateLogsLabelStats
, calculateStats
, getParser
, sortInAscendingOrder
, sortInDescendingOrder
, sortLogsResult
, sortLogRows
, checkLogsError
, escapeUnescapedString
. Issue #66271
We removed previously deprecated components from @grafana/ui
: LogLabels
, LogMessageAnsi
, LogRows
, getLogRowStyles
. Issue #66268
We removed previously deprecated DataSourceWithLogsVolumeSupport
that was replaced with DataSourceWithSupplementaryQueriesSupport
. Both APIs are for internal use only. Issue #66266
Additional functions (map/filter/forEach/iterator) have been added to the root Vector interface. Any code using vectors will continue to work unchanged, but in the rare case that you have implemented Vector directly, it be missing these functions. The easiest fix is to extend FunctionalVector.
The ArrayVector
class now extends the native JavaScript Array
and gains all of its prototype/instance methods as a result. Issue #66187
We've removed the ability for functions to be passed as children to the Dropdown
component. Previously, this was used to access the isOpen
state of the dropdown. This can be now be achieved with the onVisibleChange
prop.
Before:
return (
<Dropdown overlay={MenuActions} placement="bottom-end">
{(isOpen) =>
<ToolbarButton iconOnly icon="plus" isOpen={isOpen} aria-label="New" />
}
</Dropdown>
);
After:
const [isOpen, setIsOpen] = useState(false);
...
return (
<Dropdown overlay={MenuActions} placement="bottom-end" onVisibleChange={setIsOpen}>
<ToolbarButton iconOnly icon="plus" isOpen={isOpen} aria-label="New" />
</Dropdown>
);
Issue #65467
(relevant for plugin developers) The deprecated internal dashboardId
is now removed from the request context. For usage tracking use the dashboardUid
Issue #64786
Grafana has been upgraded to React 18 and now leverages the new React client rendering API. Plugin authors in particular should be aware, as there could be unintended side effects due to the changes around automatic batching of state updates and consistent useEffect
timings. Be sure to test your plugins and reference the React 18 upgrade docs here: https://react.dev/blog/2022/03/08/react-18-upgrade-guide Issue #64428
Deprecations
For Elasticsearch annotation queries we are deprecating index field. Possibility to customise index for newly created annotations has already been removed in version 2.6.0 and since then we supported updating of index only for queries that customised index before 2.6.0. For users who would like to specify index for annotation queries we recommend to create a new Elasticsearch data source with specified index, and use that data source for annotations. Issue #67046
Scripts, systemd unit files and etc should stop using the grafana-cli
and grafana-server
programs, and instead use the grafana
program. Uses of grafana-server
should become grafana server
, and uses of grafana-cli
should become grafana cli
. Issue #66976
The database
field has been deprecated in the Elasticsearch datasource provisioning files, please use the index
field in jsonData
instead. Issue #66828
Plugin development fixes & changes
- Toolkit: Remove deprecated
plugin:build
. #67485, @academo - Toolkit: Remove deprecated
package:build
,node-version-check
andtoolkit:build
commands. #67475, @academo - Toolkit: Remove deprecated
plugin:github-publish
command. #67471, @academo - GrafanaUI: Add indeterminate state to Checkbox. #67312, @JoaoSilvaGrafana
- Toolkit: Remove
plugin:ci-build
plugin:ci-package
plugin:ci-report
and related files. #67212, @academo - Toolkit: Remove deprecated
plugin:sign
command. #67130, @academo - Toolkit: Remove
plugin:dev
andplugin:test
. #67125, @academo - Datasource: Overhaul plugin error handling and action buttons. #67014, @sasklacz
- Toolkit: Remove plugin:create and component:create commands. #66729, @academo
- InteractiveTable: Updated design and minor tweak to Correlactions page. #66443, @torkelo
9.5.5 (2023-06-22)
Bug fixes
- Auth: Fixed CVE-2023-3128. #70580, @zerok
- Auth: Show invite button if disable login form is set to false. #70154, @IevaVasiljeva
- Azure: Fix Kusto auto-completion for Azure datasources (#69685). #69694, @aangelisc
- RBAC: Remove legacy AC editor and admin role on new dashboard route. #68776, @eleijonmarck
- Revert: Allow editors to access GET /datasources. #68654, @eleijonmarck
- Settings: Add ability to override
skip_org_role_sync
with Env variables. #68375, @eleijonmarck
9.5.3 (2023-06-06)
Bug fixes
- Query: Prevent crash while executing concurrent mixed queries
- Alerting: Require alert.notifications:write permissions to test receivers and templates
9.5.2 (2023-05-03)
Features and enhancements
- Chore: Upgrade Go to 1.20.4. #67757, @papagian
- Alerting: Scheduler use rule fingerprint instead of version. #67516, @grafanabot
Bug fixes
- TimeSeries: Fix leading null-fill for missing intervals. #67571, @leeoniya
- Dashboard: Revert fixed header shown on mobile devices in the new panel header. #67514, @grafanabot
- PostgreSQL: Fix tls certificate issue by downgrading lib/pq. #67393, @grafanabot
- Provisioning: Fix provisioning issues with legacy alerting and data source permissions. #67377, @grafanabot
- Alerting: Fix misleading status code in provisioning API. #67358, @grafanabot
- Explore: Update table min height (#67321). #67332, @adrapereira
- DataLinks: Encoded URL fixed. #67291, @juanicabanas
- Loki: Fix log samples using
instant
queries (#67271). #67275, @svennergr - Panel Header Fix: Implement new Panel Header on Angular Panels . #67228, @grafanabot
- Azure Monitor: Fix bug that was not showing resources for certain locations. #67216, @grafanabot
- Alerting: Fix panic when reparenting receivers to groups following an attempted rename via Provisioning. #67175, @grafanabot
- Cloudwatch Logs: Clarify Cloudwatch Logs Limits. #67101, @grafanabot
- SAML: Fix IdP metadata caching so that invalid metadata doesn't get cached. (Enterprise)
9.5.1 (2023-04-26)
Features and enhancements
9.5.0 (2023-04-04)
Features and enhancements
- API keys: Add deprecation to api keys. #65948, @eleijonmarck
- API: Enable serving Swagger UI by default and add docs and guidelines. #63489, @papagian
- API: Permit Cache-Control (browser caching) for datasource resources. #62033, @kylebrandt
- Accessibility: Make row actions keyboard accessible. #63367, @ashharrison90
- Admin/Plugins: Set category filter in connections link. #64393, @mikkancso
- Alerting: Add CustomDetails field in PagerDuty contact point. #64860, @santihernandezc
- Alerting: Add dashboard and panel links to rule and instance annotations. #63243, @konrad147
- Alerting: Add filter and remove funcs for custom labels and annotations. #63437, @grobinson-grafana
- Alerting: Add fuzzy search to alert list view. #63931, @konrad147
- Alerting: Add metrics for active receiver and integrations. #64050, @gotjosh
- Alerting: Better printing of labels. #63348, @grobinson-grafana
- Alerting: Create new state history "fanout" backend that dispatches to multiple other backends at once. #64774, @alexweav
- Alerting: Enable preview for recording rules. #63260, @VikaCep
- Alerting: Fetch all applied alerting configurations. #65728, @santihernandezc
- Alerting: Introduce proper feature toggles for common state history backend combinations. #65497, @alexweav
- Alerting: Make time range query parameters not required when querying Loki. #62985, @alexweav
- Alerting: New notification policies view. #61952, @gillesdemey
- Alerting: No longer index state history log streams by instance labels. #65474, @alexweav
- Alerting: Respect "For" Duration for NoData alerts. #65574, @JacobsonMT
- Alerting: Support filtering rules by multiple datasources. #64355, @VikaCep
- Alerting: Switch to snappy-compressed-protobuf for outgoing push requests to Loki. #65077, @alexweav
- Angular: Prevent angular from loading when disabled. #65755, @torkelo
- Auth: Add Generic oauth skip org role sync setting. #62418, @eleijonmarck
- Auth: Add feature flag to move token rotation to client. #65060, @kalleep
- Auth: Show user sync external Authentication status. #62721, @lokeswaran-aj
- Backend: Use sdk version 0.148.0. #62822, @kylebrandt
- Chore: Add stat for remote cache config. #64276, @DanCech
- Chore: Replace short UID generation with more standard UUIDs. #62731, @ryantxu
- Chore: Use DOMPurify to sanitize strings rather than js-xss. #62787, @KristianGrafana
- CloudMonitoring: Add possibility to use path for private key. #65252, @zoltanbedi
- CloudWatch Logs: Update default timeout to 30m. #63155, @ashnove
- CloudWatch: Add AWS/IotSiteWise namespace and metrics. #63534, @iwysiu
- CloudWatch: Add account support to variable queries. #63822, @iwysiu
- CloudWatch: Make deeplinks work for us-gov and china regions. #64080, @iwysiu
- Cloudwatch: Add MeteredIOBytes metric for EFS. #64793, @xlagg5
- Command Palette: Display dashboard location. #63807, @ashharrison90
- Command palette: Enable folder searching. #62663, @ashharrison90
- Connections: Turn on feature toggle by default. #64885, @mikkancso
- Cookies: Provide a mechanism for per user control over cookies. #61566, @sakjur
- Dashboard Datasource: Update Query List & Improve UX. #64429, @codeincarnate
- Dashboard: Add a feature that creates a table panel when a spreadsheet file is dropped on the dashboard. #62688, @oscarkilhed
- Dashboard: Add new visualization/row/library panel/pasted panel is now a dropdown menu. #65361, @polibb
- Dashboard: Add value format for requests per minute. #62258, @dwradcliffe
- Dashboard: Empty/No Panels dashboard with a new design. #65161, @polibb
- Dashboard: When dashboard is not found show message instead of empty page. #65508, @polibb
- Dashboards: Enable feature flag
newPanelChromeUI
by default. #65593, @axelavargas - Dataplane: Support timeSeriesLong without transform. #62732, @bohandley
- Datasources: Add user_agent header customization for outgoing HTTP requests. #63769, @zhichli
- Datasources: Use getDefaultQuery in annotations editors. #61870, @idastambuk
- Docs: Add documentation on how to debug backend plugins. #64814, @xnyo
- Docs: Deprecate dashboard previews. #65698, @ArturWierzbicki
- Elasticsearch: Detect Elasticsearch version. #63341, @gabor
- Elasticsearch: Run Explore queries trough data source backend. #65339, @ivanahuckova
- Explore: Add range option to internal data links. #64063, @connorlindsey
- Explore: Add transformations to correlation data links. #61799, @gelicia
- Explore: Support mixed data sources for supplementary query. #63036, @ifrost
- Extensions: Expose an enum for available placements. #64586, @leventebalogh
- Feat: Changing link destination for get more plugins. #63517, @tolzhabayev
- Feat: Linking to plugin details page rather than externally for new datasources. #63499, @tolzhabayev
- FieldMatchers: Add match by value (reducer). #64477, @leeoniya
- Flame graph: Add context menu. #62705, @joey-grafana
- Flame graph: Add metadata above flame graph. #61921, @joey-grafana
- Geomap: Improve tooltip url for photos layer. #63487, @adela-almasan
- Geomap: Release night / day layer. #63435, @adela-almasan
- InfluxDB: Move database information into jsondata. #62308, @itsmylife
- Jaeger and Zipkin: Config & docs upgrade. #64250, @joey-grafana
- LDAP: Allow setting minimum TLS version and accepted ciphers. #63646, @Jguer
- Licensing: Allow server admin user to log in even if the active user limit is reached. (Enterprise)
- Live: Remove (alpha) ability to configure live pipelines. #65138, @ryantxu
- Logger: Add feature toggle for errors in HTTP request logs. #64425, @sakjur
- Login: Allow custom name and icon for social providers. #63297, @jkroepke
- Logs Panel: Refactor style generation to improve rendering performance. #62599, @matyax
- Logs: Add millisecond to timestamp in log line. #64372, @svennergr
- Logs: Rename dedup to deduplicate. #62944, @gwdawson
- Loki Query Editor: Make Monaco the default editor. #62247, @matyax
- Loki: Add
unpack
query builder hint. #65608, @svennergr - Loki: Add descriptions to query builder operations. #64046, @gwdawson
- Loki: Add placeholder to the loki query editor. #62773, @gwdawson
- Loki: Always fetch for new label keys in the QueryBuilder. #64597, @svennergr
- Loki: Display error with label filter conflicts. #63109, @gwdawson
- Loki: Improve the display of loki query stats. #63623, @gwdawson
- MSSQL/Postgres: List views in table dropdown as well. #62867, @zoltanbedi
- MSSQL: Update forked go-mssqldb dependency. #65658, @stephaniehingtgen
- Metrics: Update comment to mention folders instead of dashboards. #63312, @monteiro-renato
- Navigation: Enable new navigation by default. #65335, @ashharrison90
- NodeGraph: Support icons for nodes. #60989, @aocenas
- Notifications: Enable display of trace ID by default. #64884, @ashharrison90
- Packaging: Start Grafana service after InfluxDB. #64090, @MichaIng
- Panel Header: Add CancelQuery option to panel header. #64796, @axelavargas
- Panel: Show multiple errors info in the inspector. #64340, @andresmgot
- PanelChrome: Add option to show actions on the right side (actions = leftItems). #65762, @torkelo
- Phlare: Allow variables in labelSelector (in query). #64324, @joey-grafana
- Plugin: Skip preloading disabled app plugins. #63083, @mckn
- Plugins: Add optional logger for plugin requests sent to backend plugins. #62981, @bergquist
- Plugins: Extend panel menu with commands from plugins. #63802, @mckn
- Plugins: Extend panel menu with links from plugins. #63089, @jackw
- Plugins: Improve instrumentation by adding metrics and tracing. #61035, @xnyo
- Plugins: Support for distributed tracing in backend plugins SDK. #63714, @xnyo
- Plugins: Support for link extensions. #61663, @mckn
- Profiling: Enable flame graph & Phlare/Parca data sources for all users. #63488, @joey-grafana
- Prometheus Datasource: Improve Prom query variable editor. #58292, @bohandley
- Prometheus Metrics: Add missing stat_total_teams metric. #65133, @gamab
- Prometheus/Loki: Run query explicitly instead of onblur in panel edit. #64815, @torkelo
- Prometheus: Browser resource caching. #60711, @gtk-grafana
- Prometheus: Improve prometheus query variable editor. #63529, @bohandley
- Prometheus: Use $__rate_interval for rate queries generated by metric browser. #65386, @ivanahuckova
- Pubdash: Email sharing handle dashboard deleted. #64247, @owensmallwood
- Pubdash: Email sharing handle dashboard deleted. (Enterprise)
- PublicDashboards: Backfills share column with default value. #63407, @owensmallwood
- PublicDashboards: Configuration modal redesign. #63211, @juanicabanas
- PublicDashboards: Email sharing. #63762, @juanicabanas
- PublicDashboards: Email sharing. (Enterprise)
- PublicDashboards: Enable creation when dashboard has template variables. #64560, @juanicabanas
- PublicDashboards: Paused or deleted public dashboard screen. #63970, @juanicabanas
- PublicDashboards: Viewer can request and claim magic link. (Enterprise)
- QueryHistory: Improve handling of mixed datasource entries. #62214, @Elfo404
- Rendering: Experimental support to use JWTs as auth method. #60841, @joanlopez
- Reports: Improve the UI for the new navigation. (Enterprise)
- SQL Datasources: Add back help content. #65383, @zoltanbedi
- Schema: Remove exclusion for timeseries and update imports. #65242, @ryantxu
- Search: Improvements for starred dashboard search. #64758, @IevaVasiljeva
- Select: Show icon in the grafana/ui Select component. #63827, @ryantxu
- Service accounts: Creation logic simplification. #63884, @IevaVasiljeva
- Service accounts: Remove Add API keys buttons and remove one state of migrating for API keys tab. #63411, @eleijonmarck
- SplitOpen: Update API to accept multiple queries. #62245, @ivanahuckova
- Stat Panel: Add an option for a non-gradient/solid background. #65052, @baldm0mma
- Stat: Add ability to remove default single-color background gradient. #64353, @baldm0mma
- SupportBundles: Add OAuth bundle collectors. #64810, @Jguer
- Table Panel: Add ability to use text color for value or hide value in gauge cell. #61477, @torkelo
- Table: Introduce sparkline cell type. #63182, @domasx2
- Tempo: Config and doc updates. #64017, @joey-grafana
- Tempo: Update service graph view and docs. #64875, @joey-grafana
- TraceView: Add key and url escaping of json tag values. #64331, @aocenas
- TraceView: Reworked header. #63105, @joey-grafana
- Tracing: Add more detail to HTTP Outgoing Request. #64757, @bboreham
- Tracing: Docs and config improvements for Tempo/Jaeger/Zipkin. #65255, @joey-grafana
- Tracing: Support multiple OTel propagators. #61199, @hairyhenderson
- Transformations: Support time format when converting time to strings. #63826, @ryantxu
- Transformers: Support adding the row index using calculate field transformer. #65148, @ryantxu
- Units: Format currency with negative before the symbol. #65152, @ryantxu
Bug fixes
- API: Fix "Updated by" Column in dashboard versions table. #65351, @papagian
- AccessControl: Allow editors to access GET /api/datasources. #66343, @mgyongyosi
- Alerting: Add "backend" label to state history writes metrics. #65395, @alexweav
- Alerting: Add alert instance labels to Loki log lines in addition to stream labels. #65403, @alexweav
- Alerting: Elide requests to Loki if nothing should be recorded. #65011, @alexweav
- Alerting: Fix DatasourceUID and RefID missing for DatasourceNoData alerts. #66733, @grobinson-grafana
- Alerting: Fix ambiguous handling of equals in labels when bucketing Loki state history streams. #65013, @alexweav
- Alerting: Fix attachment of external labels to Loki state history log streams. #65140, @alexweav
- Alerting: Fix creating a recording rule when having multiple datasources. #66415, @VikaCep
- Alerting: Fix explore link in alert detail view. #66106, @gillesdemey
- Alerting: Fix share URL for Prometheus rules on subpath. #66752, @gillesdemey
- Alerting: Fix stats that display alert count when using unified alerting. #64852, @gotjosh
- Alerting: Hide mute timing actions when dealing with vanilla prometheus. #66457, @gillesdemey
- Alerting: Paginate result previews. #65257, @gillesdemey
- Alerting: Prometheus-compatible Alertmanager timings editor. #64526, @konrad147
- Alerting: Update scheduler to get updates only from database. #64635, @yuri-tceretian
- Alerting: Use a completely isolated context for state history writes. #64989, @alexweav
- Alerting: Use displayNameFromDS if available in preview. #65342, @gillesdemey
- Annotation List: Fix panel not updating when variable is changed. #65899, @JoaoSilvaGrafana
- Annotations: Ignore unique constraint violations for tags. #65935, @sakjur
- Auth: Fix orgrole picker disabled if isSynced user. #64033, @eleijonmarck
- AzureMonitor: Fix Log Analytics portal links. #65482, @aangelisc
- BrowseDashboards: Fix move to General folder not working. #65653, @joshhunt
- Catalog: Show install error with incompatible version. #65059, @andresmgot
- Chore: Update Grafana to use Alertmanager v0.25.1-0.20230308154952-78fedf89728b. #64778, @yuri-tceretian
- CloudMonitoring: Add project selector for MQL editor[fix]. #65567, @alyssabull
- CloudWatch Logs: Fix running logs queries with expressions. #65306, @iwysiu
- CloudWatch Logs: Fix to make log queries use a relative time if available. #65236, @kevinwcyu
- CloudWatch Logs: Revert "Queries in an expression should run synchronously (#64443)". #65036, @fridgepoet
- CloudWatch: Fix cachedQueries insights not being updated for metric queries. #65495, @kevinwcyu
- Cloudwatch: Pass refId from query for expression queries. #66147, @idastambuk
- Dashboards: Evaluate provisioned dashboard titles in a backwards compatible way. #65184, @sakjur
- Dashboards: Fix Mobile support dashboard issues on new iOS 16.3. #65542, @axelavargas
- Dashboards: Fix broken internal data links. #66567, @ifrost
- Database: Don't sleep 10ms before every request. #64832, @bboreham
- Elasticsearch: Fix processing of response with multiple group by for alerting. #65165, @ivanahuckova
- Elasticsearch: Handle multiple annotation structures. #66762, @gabor
- Email: Mark HTML comments as "safe" in email templates. #64546, @gillesdemey
- Emails: Preserve HTML comments. (Enterprise)
- ErrorHandling: Fixes issues with bad error messages. #63775, @torkelo
- ErrorView: Better detection of no-data responses. #65477, @leeoniya
- Explore: Make
DataSourcePicker
visible on small screens. #65149, @abdulhdr1 - Fix: DataLinks from data sources override user defined data link. #65996, @axelavargas
- Fix: Top table rendering and update docs. #64497, @joey-grafana
- Frontend: Fix broken links in /plugins when pathname has a trailing slash. #64348, @gassiss
- Geomap: Fix route layer zoom behavior. #63409, @drew08t
- Google Cloud Monitoring: Fix project variable. #66524, @asimpson
- HeatMap: Sort y buckets when all bucket names are numeric. #65322, @leeoniya
- InfluxDB: Fix querying with hardcoded retention policy. #66466, @itsmylife
- InfluxDB: Fix sending retention policy with InfluxQL queries. #63820, @itsmylife
- KVStore: Include database field in migration. #62790, @zoltanbedi
- LDAP: Always synchronize Server Admin role through role sync if role sync is enabled. #58820, @IevaVasiljeva
- Library panels: Ensure pagination controls are always correctly displayed. #65283, @ashharrison90
- Loki: Fix autocomplete situations with multiple escaped quotes. #65520, @svennergr
- MegaMenu: Fixes mega menu showing scroll indicator when it shouldn't. #65452, @torkelo
- Navigation: Redirect to root page when switching organization. #66655, @ashharrison90
- Navigation: Scrolled hamburger menu links now navigate correctly in Safari. #66261, @ashharrison90
- NestedFolders: Fix nested folder deletion. #63572, @ying-jeanne
- New Panel Header: Fix when clicking submenu item the parent menu item onClick get's triggered. #65691, @axelavargas
- Phlare: Fix error when there are no profileTypes to send from backend. #65455, @aocenas
- PieChart: Show long labels properly. #65699, @mdvictor
- PluginExtensions: Fixed issue with incorrect type being exposed when configuring an extension. #65910, @mckn
- Plugins: Ensure proxy route bodies are valid JSON. #61771, @wbrowne
- Plugins: Fix width for README pages with tables. #66872, @andresmgot
- Plugins: Markdown fetch retry with lowercase. #65384, @wbrowne
- Plugins: Skip instrumenting plugin build info for core and bundled plugins. #66105, @wbrowne
- PublicDashboards: Query collapsed panels inside rows. #64779, @evictorero
- Query Splitting: Fix for handling queries with no requestId. #66161, @domasx2
- SQL Datasources: Fix variable throwing error if query returns no data. #65937, @mdvictor
- SQL Datasources: Prevent Call Stack Overflows with Large Numbers of Values for Variable. #64937, @codeincarnate
- SQLStore: Fix SQLite error propagation if query retries are disabled. #64904, @papagian
- Stat Panel: Fix issue with clipping text values. #64300, @JoaoSilvaGrafana
- Table Panel: Fix panel migration for options cell type. #66305, @ryantxu
- Table: Fix migrations from old angular table for cell color modes. #65760, @torkelo
- Table: Fixes issue with pagination summary causing scrollbar. #65189, @torkelo
- Table: Fixes table panel gauge alignment. #64994, @torkelo
- TablePanel: Fix table cells overflowing when there are multiple data links. #65711, @oscarkilhed
- TablePanel: fix footer bug; no footer calculated values after "hidden" column override. #64269, @baldm0mma
- Team sync: Fix apply query string instead of param. (Enterprise)
- Templating: Allow percent encoding of variable with custom all. #65266, @dprokop
- Tempo: Set default limit if none is provided for traceql queries. #65039, @domasx2
- TimeSeries: Don't extend stepped interpolation to graph edges. #65657, @leeoniya
- TimeSeries: Improve stacking direction heuristic. #65499, @leeoniya
- Trace View: Update the queryType to traceql for checking if same trace when clicking span link. #66645, @ericmustin
- TraceView: Don't require preferredVisualisationType to render. #64920, @aocenas
- Utils: Reimplement util.GetRandomString to avoid modulo bias. #64481, @DanCech
- XYChart: Add all dataset columns in tooltip. #65027, @mdvictor
Breaking changes
default
named retention policies won't be used to query. Users who have a default
named retention policy in their influxdb
database, have to rename it to something else. Having default
named retention policy is not breaking anything. We will make sure to use the actual default retention policy under the hood. To change the hardcoded retention policy in the dashboard.json
, users must they select the right retention policy from dropdown and save the panel/dashboard. Issue #66466
Grafana Alerting rules with NoDataState
configuration set to Alerting
will now respect "For" duration. Issue #65574
Users who use LDAP role sync to only sync Viewer, Editor and Admin roles, but grant Grafana Server Admin role manually will not be able to do that anymore. After this change, LDAP role sync will override any manual changes to Grafana Server Admin role assignments. If grafana_admin
is left unset in LDAP role mapping configuration, it will default to false. Issue #58820
Plugin development fixes & changes
- DateTimePicker: Can now select time correctly. #65428, @eledobleefe
- Grafana UI: Fix tooltip prop of button component. #64765, @suleymanbariseser
- DateTimePicker: Add min date support to calendar. #64632, @nevermind89x
- GrafanaUI: Implement new component Toggletip. #64459, @yduartep
- ContextMenu: Fix padding and show border based on items. #63948, @aocenas