Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Grafana Cloud Enterprise Open source

Release notes for Grafana 7.4.0

Features and enhancements

Bug fixes

Plugin development fixes & changes

  • Plugins: Fix failing plugin builds because of wrong internal import. #30439, @aocenas

7.4.0-beta1 (2021-01-20)

Features and enhancements

Bug fixes

  • API: Query database from /api/health endpoint. #28349, @ceh
  • Alerting: Return proper status code when trying to create alert notification channel with duplicate name or uid. #28043, @jgulick48
  • Auth: Fix default maximum lifetime an authenticated user can be logged in. #30030, @papagian
  • Backend: Fix IPv6 address parsing erroneous. #28585, @taciomcosta
  • CloudWatch: Make sure stats grow horizontally and not vertically in the Query Editor. #30106, @sunker
  • Cloudwatch: Fix issue with field calculation transform not working properly with Cloudwatch data. #28761, @torkelo
  • Dashboards: Hide playlist edit functionality from viewers and snapshots link from unauthenticated users. #28992, @jackw
  • Data source proxy: Convert 401 HTTP status code from data source to 400. #28962, @aknuds1
  • Decimals: Improving auto decimals logic for high numbers and scaled units. #30262, @torkelo
  • Elasticsearch: Fix date histogram auto interval handling for alert queries. #30049, @simianhacker
  • Elasticsearch: Fix index pattern not working with multiple base sections. #28348, @tomdaly
  • Explore: Clear errors after running a new query. #30367, @ivanahuckova
  • Graph: Fixes stacking issues like floating bars when data is not aligned. #29051, @torkelo
  • Graph: Staircase and null value=null calculates auto Y-Min incorrectly (fixed in new Time series panel). #12995
  • Graph: Staircase mode, do now draw line segment from zero when drawing null values as null (Fixed in new Time series panel). #17838
  • Image uploader: Fix uploading of images to GCS. #26493, @gastonqiu
  • Influx: Fixes issue with many queries being issued as you type in the variable query field. #29968, @dprokop
  • Logs Panel: Fix inconsistent highlighting. #28971, @ivanahuckova
  • Logs Panel: Fixes problem dragging scrollbar inside logs panel. #28974, @aocenas
  • Loki: Fix hiding of series in table if labels have number values. #30185, @ivanahuckova
  • Loki: Lower min step to 1ms. #30135, @ivanahuckova
  • Loki: Remove showing of unique labels with the empty string value. #30363, @ivanahuckova
  • Loki: Timeseries should not produce 0-values for missing data. #30116, @davkal
  • Plugins: Fix panic when using complex dynamic URLs in app plugin routes. #27977, @cinaglia
  • Prometheus: Fix link to Prometheus graph in dashboard. #29543, @ivanahuckova
  • Provisioning: Build paths in an os independent way. #29143, @amattheisen
  • Provisioning: Fixed problem with getting started panel being added to custom home dashboard. #28750, @torkelo
  • SAML: Fixes bug in processing SAML response with empty element by updating saml library (Enterprise). #29991, @alexanderzobnin
  • SQL: Define primary key for tables without it. #22255, @azhiltsov
  • Tracing: Fix issue showing more than 300 spans. #29377, @zoltanbedi
  • Units: Changes FLOP/s to FLOPS and some other rates per second units get /s suffix. #28825, @Berbe
  • Variables: Fixes Constant variable persistence confusion. #29407, @hugohaggmark
  • Variables: Fixes Textbox current value persistence. #29481, @hugohaggmark
  • Variables: Fixes loading with a custom all value in url. #28958, @hugohaggmark
  • Variables: Fixes so clicking on Selected in drop-down will exclude All value from selection. #29844, @hugohaggmark

Breaking changes

Constant variables

In order to minimize the confusion with Constant variable usage, we’ve removed the ability to make Constant variables visible. This change will also migrate all existing visible Constant variables to Textbox variables because which we think this is a more appropriate type of variable for this use case. Issue #29407

Plugin compatibility

We have upgraded AngularJS from version 1.6.6 to 1.8.2. Due to this upgrade some old angular plugins might stop working and will require a small update. This is due to the deprecation and removal of pre-assigned bindings. So if your custom angular controllers expect component bindings in the controller constructor you need to move this code to an $onInit function. For more details on how to migrate AngularJS code open the migration guide and search for pre-assigning bindings.

In order not to break all angular panel plugins and data sources we have some custom angular inject behavior that makes sure that bindings for these controllers are still set before constructor is called so many old angular panels and data source plugins will still work. Issue #28736


Query variable value group tags

This option to group query variable values into groups by tags has been an experimental feature since it was introduced. It was introduced to work around the lack of tags support in time series databases at the time. Now that tags (ie. labels) are the norm there is no longer any great need for this feature. This feature will be removed in Grafana v8 later this year. Issue #30160

Plugin development fixes & changes

  • AngularPlugins: Angular controller events emitter is now a separate emitter and not the same as PanelModel events emitter. #30379, @torkelo
  • FieldConfig API: Add ability to hide field option or disable it from the overrides. #29879, @dprokop
  • Select: Changes default menu placement for Select from auto to bottom. #29837, @hugohaggmark
  • Collapse: Allow component children to use height: 100% styling. #29776, @aocenas
  • DataSourceWithBackend: Throw error if health check fails in DataSourceWithBackend. #29743, @aocenas
  • NodeGraph: Add node graph visualization. #29706, @aocenas
  • FieldColor: Handling color changes when switching panel types. #28875, @dprokop
  • CodeEditor: Added support for javascript language. #28818, @ae3e
  • grafana/toolkit: Allow builds with lint warnings. #28810, @dprokop
  • grafana/toolkit: Drop console and debugger statements by default when building plugin. #28776, @dprokop
  • Card: Add new Card component. #28216, @Clarity-89
  • FieldConfig: Implementation slider editor (#27592). #28007, @isaozlerfm
  • MutableDataFrame: Remove unique field name constraint and values field index and unused/seldom used stuff. #27573, @torkelo