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

## Executive Summary (TL;DR)
Prometheus v2.40.0. Source highlight: This release introduces an experimental, native way of representing and storing histograms.

## New Features
- [FEATURE] Add **experimental** support for native histograms. Enable with the flag `--enable-feature=native-histograms`. #11447
- [FEATURE] SD: Add service discovery for OVHcloud. #10802
- [ENHANCEMENT] Consul SD: Add enterprise admin partitions. Adds `__meta_consul_partition` label. Adds `partition` config in `consul_sd_config`. #11482

## Improvements
- [ENHANCEMENT] Kubernetes SD: Use protobuf encoding. #11353
- [ENHANCEMENT] TSDB: Use golang.org/x/exp/slices for improved sorting speed. #11054 #11318 #11380

## Bug Fixes
- [BUGFIX] API: Fix API error codes for `/api/v1/labels` and `/api/v1/series`. #11356
