# Prometheus v2.4.0 - Release & Upgrade Intelligence
- **Product:** Prometheus (https://prometheus.io)
- **Version:** v2.4.0
- **Released:** Sep 11, 2018
- **Impact Score:** 5/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/prometheus/updates/v2.4.0/

## Executive Summary (TL;DR)
Prometheus v2.4.0. Source highlight: This release includes multiple bugfixes and features. Further, the WAL implementation has been re-written so the storage is not forward compatible. Prometheus 2.3 storage will work on 2.4 but not vice-versa.

## New Features
- [FEATURE] Persist alert 'for' state across restarts #4061
- [FEATURE] Add API providing per target metric metadata #4183
- [FEATURE] Add API providing recording and alerting rules #4318 #4501
- [ENHANCEMENT] Remote read: Add Offset to hints #4226
- [ENHANCEMENT] `consul_sd`: Add support for ServiceMeta field #4280
- [ENHANCEMENT] `ec2_sd`: Add support for custom endpoint to support EC2 compliant APIs #4333

## Improvements
- [ENHANCEMENT] Brand new WAL implementation for TSDB. Forwards incompatible with previous WAL.
- [ENHANCEMENT] Show rule evaluation errors in UI #4457
- [ENHANCEMENT] Throttle resends of alerts to Alertmanager #4538
- [ENHANCEMENT] Send EndsAt along with the alert to Alertmanager #4550
- [ENHANCEMENT] Limit the samples returned by remote read endpoint #4532
- [ENHANCEMENT] Limit the data read in through remote read #4239

## Bug Fixes
- [ENHANCEMENT] `promtool`: Add new commands for debugging and querying #4247 #4308 #4346 #4454
- [BUGFIX] Wait for service discovery to stop before exiting #4508
- [BUGFIX] Render SD configs properly #4338
- [BUGFIX] Only add LookbackDelta to vector selectors #4399
- [BUGFIX] `ec2_sd`: Handle panic-ing nil pointer #4469
- [BUGFIX] `consul_sd`: Stop leaking connections #4443
