# Prometheus v2.50.0 - Release & Upgrade Intelligence
- **Product:** Prometheus (https://prometheus.io)
- **Version:** v2.50.0
- **Released:** Feb 22, 2024
- **Impact Score:** 8/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/prometheus/updates/v2.50.0/

## Executive Summary (TL;DR)
Prometheus v2.50.0 introduces automatic memory limit handling (`auto-gomemlimit`), experimental zero-ingestion created timestamps, and overlapping TSDB compaction. It also improves performance for remote write error handling and PromQL execution efficiency.

## New Features
- Remote Write: Drop old inmemory samples via config entry `sample_age_limit`
- Experimental: Support for ingesting zeros as created timestamps enabled via `created-timestamp-zero-ingestion`
- Promtool: Add `analyze` histograms command
- TSDB/compaction: Add a way to enable overlapping compaction
- Add automatic memory limit handling activated using feature flag `auto-gomemlimit`

## Improvements
- Remote Write: Error `storage.ErrTooOldSample` now generates HTTP error 400 instead of 500
- Promtool: Allow specifying multiple matchers in `promtool tsdb dump` and improve visibility for `promtool test rules` with JSON colored formatting
- PromQL: Faster execution of metric functions like abs() and rate(), and use natural sort in `sort_by_label` and `sort_by_label_desc`
- Native Histograms: Support `native_histogram_min_bucket_factor` in scrape_config and issue warnings if histogramRate is applied incorrectly
- TSDB: Optimize label values with matchers, reduce transaction isolation structure sizes, and optimize merges using Loser Tree
- Agent: Performance improvement via smaller global hash lookup table
- Kubernetes SD: Check preconditions earlier and avoid unnecessary checks or iterations
- Consoles: Exclude iowait and steal from CPU Utilisation

## Bug Fixes
- Scraping: Fix quality value in HTTP Accept header
- UI: Fix usage of function `time()` that was crashing, and fix deep linking in stacked graphs
- Azure SD: Fix SD crashing when encountering a VM scale set and check for nil before accessing/dereferencing
