Release Notes v5.2.x

Grafana v5.2 brings new features, many enhancements and bug fixes. This article will detail the major new features and enhancements.

Release Highlights

5.2.4 (2018-09-07)

  • GrafanaCli: Fixed issue with grafana-cli install plugin resulting in corrupt http response from source error. Fixes #13079

5.2.3 (2018-08-29)

Important fix for LDAP & OAuth login vulnerability

See security announcement for details.

5.2.2 (2018-07-25)

  • Prometheus: Fix graph panel bar width issue in aligned prometheus queries #12379
  • Dashboard: Dashboard links not updated when changing variables #12506
  • Postgres/MySQL/MSSQL: Fix connection leak #12636 #9827
  • Plugins: Fix loading of external plugins #12551
  • Dashboard: Remove unwanted scrollbars in embedded panels #12589
  • Prometheus: Prevent error using $__interval_ms in query #12533, thx @mtanda

5.2.1 (2018-06-29)

  • Auth Proxy: Important security fix for whitelist of IP address feature #12444
  • UI: Fix - Grafana footer overlapping page #12430
  • Logging: Errors should be reported before crashing #12438

5.2.0 (2018-06-27)

Minor

  • Plugins: Handle errors correctly when loading datasource plugin #12383 thx @rozetko
  • Render: Enhance error message if phantomjs executable is not found #11868
  • Dashboard: Set correct text in drop down when variable is present in url #11968

5.2.0-beta3 fixes

  • LDAP: Handle “dn” ldap attribute more gracefully #12385, reverts #10970

5.2.0-beta3 (2018-06-21)

  • Build: All rpm packages should be signed #12359

5.2.0-beta2 (2018-06-20)

  • Dashboard: Import dashboard to folder #10796

Minor

  • Permissions: Important security fix for API keys with viewer role #12343
  • Dashboard: Fix so panel titles doesn’t wrap #11074
  • Dashboard: Prevent double-click when saving dashboard #11963
  • Dashboard: AutoFocus the add-panel search filter #12189 thx @ryantxu
  • Units: W/m2 (energy), l/h (flow) and kPa (pressure) #11233, thx @flopp999
  • Units: Litre/min (flow) and milliLitre/min (flow) #12282, thx @flopp999
  • Alerting: Fix mobile notifications for Microsoft Teams alert notifier #11484, thx @manacker
  • Influxdb: Add support for mode function #12286
  • Cloudwatch: Fixes panic caused by bad timerange settings #12199
  • Auth Proxy: Whitelist proxy IP address instead of client IP address #10707
  • User Management: Make sure that a user always has a current org assigned #11076
  • Snapshots: Fix: annotations not properly extracted leading to incorrect rendering of annotations #12278
  • LDAP: Allow use of DN in group_search_filter_user_attribute and member_of #3132, thx @mmolnar
  • Graph: Fix legend decimals precision calculation #11792
  • Dashboard: Make sure to process panels in collapsed rows when exporting dashboard #12256

5.2.0-beta1 fixes

  • Dashboard: Dashboard link doesn’t work when “As dropdown” option is checked #12315
  • Dashboard: Fix regressions after save modal changes, including adhoc template issues #12240
  • Docker: Config keys ending with _FILE are not respected #170

5.2.0-beta1 (2018-06-05)

  • Elasticsearch: Alerting support #5893, thx @WPH95
  • Build: Crosscompile and packages Grafana on arm, windows, linux and darwin #11920, thx @fg2it
  • Login: Change admin password after first login #11882
  • Alert list panel: Updated to support filtering alerts by name, dashboard title, folder, tags #11500, #8168, #6541

Minor

  • Dashboard: Modified time range and variables are now not saved by default #10748, #8805
  • Graph: Show invisible highest value bucket in histogram #11498
  • Dashboard: Enable “Save As…” if user has edit permission #11625
  • Prometheus: Query dates are now step-aligned #10434
  • Prometheus: Table columns order now changes when rearrange queries #11690, thx @mtanda
  • Variables: Fix variable interpolation when using multiple formatting types #11800, thx @svenklemm
  • Dashboard: Fix date selector styling for dark/light theme in time picker control #11616
  • Discord: Alert notification channel type for Discord, #7964 thx @jereksel,
  • InfluxDB: Support SELECT queries in templating query, #5013
  • InfluxDB: Support count distinct aggregation #11645, thx @kichristensen
  • Dashboard: JSON Model under dashboard settings can now be updated & changes saved, #1429, thx @jereksel
  • Security: Fix XSS vulnerabilities in dashboard links #11813
  • Singlestat: Fix “time of last point” shows local time when dashboard timezone set to UTC #10338
  • Prometheus: Add support for passing timeout parameter to Prometheus #11788, thx @mtanda
  • Login: Add optional option sign out url for generic oauth #9847, thx @roidelapluie
  • Login: Use proxy server from environment variable if available #9703, thx @iyeonok
  • Invite users: Friendlier error message when smtp is not configured #12087, thx @thurt
  • Graphite: Don’t send distributed tracing headers when using direct/browser access mode #11494
  • Sidenav: Show create dashboard link for viewers if at least editor in one folder #11858
  • SQL: Second epochs are now correctly converted to ms. #12085
  • Singlestat: Fix singlestat threshold tooltip #11971
  • Dashboard: Hide grid controls in fullscreen/low-activity views #11771
  • Dashboard: Validate uid when importing dashboards #11515
  • Docker: Support for env variables ending with _FILE grafana-docker #166, thx @efrecon
  • Alert list panel: Show alerts for user with viewer role #11167
  • Provisioning: Verify checksum of dashboards before updating to reduce load on database #11670
  • Provisioning: Support symlinked files in dashboard provisioning config files #11958
  • Dashboard list panel: Search dashboards by folder #11525
  • Sidenav: Always show server admin link in sidenav if grafana admin #11657

Anyone having issues with the upgrade to 5.2.3 and Postgres? We have a situation where the “alter table “annotation” ADD COLUMN “updated” BIGINT NUL DEFAULT 0” just hangs.

Hey @dyanneo that sounds like a bug. Would suggest opening a bug report at https://github.com/grafana/grafana. Thanks

:slight_smile: Thanks!