# Prometheus v3.1.0 - Release & Upgrade Intelligence
- **Product:** Prometheus (https://prometheus.io)
- **Version:** v3.1.0
- **Released:** Jan 02, 2025
- **Impact Score:** 8/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/prometheus/updates/v3.1.0/

## Executive Summary (TL;DR)
Prometheus v3.1.0 introduces significant performance optimizations for TSDB and PromQL, alongside critical security updates and breaking API schema adjustments. Users must update integrations consuming the rules API due to a breaking field name change in the response payload.

## New Features
- New metric rule_group_last_rule_duration_sum_seconds for monitoring rule execution performance
- Export of go_sync_mutex_wait_total_seconds_total metric for enhanced observability
- DNS resolver option for remote-write to support random IP selection

## Improvements
- Significant TSDB performance optimizations including reduced memory allocations and improved symbol caching
- Paginated rule groups with infinite scroll in the UI
- Optimized PromQL regex matching and string manipulation
- Improved calculation of space used by labels

## Bug Fixes
- Fixed data corruption issues in experimental native histograms
- Resolved various PromQL bugs concerning histogram aggregations and quoting
- Fixed potential segfault at exit and nil panics in scrape loop
- Addressed CVE-2024-45337 via golang.org/x/crypto upgrade
