# Grafana v5.4.0 — Release & Upgrade Intelligence
- **Product:** Grafana (https://grafana.com)
- **Version:** v5.4.0
- **Released:** Dec 03, 2018
- **Impact Score:** 7/10
- **Breaking Changes:** Source flagged
- **Canonical Analysis:** https://changelogs.us/grafana/updates/v5.4.0/

## Executive Summary (TL;DR)
Grafana v5.4.0. Source highlight: Download Page

## Breaking Changes & Deprecations
- Breaking changes * Postgres/MySQL/MSSQL datasources now per default uses `max open connections` = `unlimited` (earlier 10), `max idle connections` = `2` (earlier 10) and `connection max lifetime` = `4` hours (earlier unlimited).

## New Features
- **Alerting**: Introduce alert debouncing with the `FOR` setting. #7886 & #6202
- **Alerting**: Option to disable OK alert notifications #12330 & #6696, thx @davewat
- **Postgres/MySQL/MSSQL**: Adds support for configuration of max open/idle connections and connection max lifetime. Also, panels with multiple SQL queries will now be executed concurrently #11711, thx @connection-reset
- **MySQL**: Graphical query builder #13762, thx svenklemm
- **MySQL**: Support connecting thru Unix socket for MySQL datasource #12342, thx @Yukinoshita-Yukino
- **MSSQL**: Add encrypt setting to allow configuration of how data sent between client and server are encrypted #13629, thx @ramiro

## Bug Fixes
- **Cloudwatch**: Fix invalid time range causes segmentation fault #14150
- **MySQL**: Fix `$__timeFrom()` and `$__timeTo()` should respect local time zone #14228
- **Graph**: Fix legend always visible even if configured to be hidden #14144
- **Elasticsearch**: Fix regression when using datasource version 6.0+ and alerting #14175
- **Security**: Upgrade macaron session package to fix security issue. #14043
- **Elasticsearch**: Fix switching to/from es raw document metric query #6367
