The provided text appears to be a **changelog or release notes** for **Prometheus**, specifically for versions **v0.316.0**, **3.16.0-rc.4**, and earlier releases like **3.15.1** and **3.13.5**. It includes a mix of:

- **Bug fixes** (e.g., TSDB, scrape, rules, UI, web)
- **Security updates** (e.g., Go version upgrades, CA certificate distrust, HTTP/2 fixes)
- **Feature improvements** (e.g., search API, templates, promtool)
- **Release metadata** (timestamps, contributors, GitHub tags)

However, the formatting is **corrupted or malformed**, likely due to:
- **HTML tags** (like `<li>`, `<a>`, `<ul>`) being rendered as plain text
- **GitHub issue links** that are not properly rendered
- **Mixed content** from different sources (e.g., changelog entries, bot comments, version tags)

---

### ✅ **Cleaned & Structured Summary**

Here's a **cleaned and organized version** of the changelog content:

---

## 📦 Prometheus v0.316.0 (2026-11-05)

### 🐛 Bug Fixes
- **Rules**: Restore firing alerts with `for` durations shorter than `--rules.alert.for-grace-period` after a restart. ([#19882](https://github.com/prometheus/prometheus/pull/19882))
- **Scrape**: Fix failing scrape when float histograms are emitted over protobuf with count, zero count, and all buckets zero (e.g., from `rate(x[1m])` on constant histograms). ([#19682](https://github.com/prometheus/prometheus/pull/19682))
- **Search API**: Return lexically smallest label values when `limit` is set on `/api/v1/search/label_values`, instead of arbitrary subset. ([#19694](https://github.com/prometheus/prometheus/pull/19694))
- **TSDB**:
  - Fix WAL watcher skipping checkpoint series garbage collection when lagging behind head truncation. ([#20041](https://github.com/prometheus/prometheus/pull/20041))
  - Fix race in selected-series and stale-series compaction where samples committed after block write but before series eviction could be lost. Fix no longer depends on isolation. ([#19666](https://github.com/prometheus/prometheus/pull/19666))
  - Fix rare case where a sample could be lost during compaction if unrelated write erased evidence needed to protect it. ([#19672](https://github.com/prometheus/prometheus/pull/19672))
  - Fix spurious "unknown series references" warnings during WAL replay after restart, when only blocks were from selected/stale compaction. ([#19734](https://github.com/prometheus/prometheus/pull/19734))
  - Increment `prometheus_tsdb_wal_corruptions_total` when WAL corruption is detected during checkpoint creation (now reflects compaction-time corruption). ([#19858](https://github.com/prometheus/prometheus/pull/19858))
  - Preserve series identities needed to recover exemplars after compaction and restart. ([#19940](https://github.com/prometheus/prometheus/pull/19940))
  - Reject native histograms whose span offsets overflow int32 bucket index (avoid storing corrupted buckets). ([#20034](https://github.com/prometheus/prometheus/pull/20034))
  - Fix missing metadata-wal-records passed to TSDB from main feature flag. ([#19678](https://github.com/prometheus/prometheus/pull/19678))
- **Templates**: Preserve IPv6 addresses with dotted zone identifiers in `stripDomain`. ([#19908](https://github.com/prometheus/prometheus/pull/19908))
- **UI**: Don't automatically open autocomplete dropdown after closing function call or aggregation with `)`. ([#19825](https://github.com/prometheus/prometheus/pull/19825))
- **Web**: Fix HTTP/2 negotiation silently falling back to HTTP/1.1 under Go 1.27+ with TLS enabled (`http2: true`). Server now advertises `h2` via ALPN and multiplexes requests. ([#19848](https://github.com/prometheus/prometheus/pull/19848))
- **mixin**: Fix double-counting of failed samples in `PrometheusRemoteStorageFailures` alert denominator. ([#19877](https://github.com/prometheus/prometheus/pull/19877))
- **promtool**: Honor `--enable-feature` when evaluating rules in `test rules`. ([#20046](https://github.com/prometheus/prometheus/pull/20046))
- **Scrape**:
  - Ensure UTF-8 works with experimental OpenMetrics 2.0. ([#19902](https://github.com/prometheus/prometheus/pull/19902))
  - Reject sum-only classic histograms during NHCB conversion. ([#19315](https://github.com/prometheus/prometheus/pull/19315))

---

## 📦 Prometheus 3.16.0-rc.4 (2026-11-03)

> (No specific changes listed in the provided text.)

---

## 📦 Prometheus 3.15.1 (2026-10-21)

### 🔒 Security Fixes
- **Container images**: Update CA certificates to distrust:
  - `"emSign ECC Root CA - G3"`
  - `"Comodo AAA Services root"`
  > Due to compromise of eMudhra intermediate CA private keys.
- **Go 1.27.3**: Fixed vulnerabilities in:
  - `net/http`
  - `net/textproto`
  - `crypto/tls`
  - `html/template`
- **golang.org/x/net v0.60.0**: Fixed HTTP/2 vulnerabilities (GO-2026-6603, GO-2026-6610, GO-2026-6611, GO-2026-6612, GO-2026-6617)

---

## 📦 Prometheus 3.13.5 (2026-10-21)

### 🔒 Security Fixes
- **Container images**: Update CA certificates to distrust:
  - `"emSign ECC Root CA - G3"`
  - `"Comodo AAA Services root"`
  > Due to compromise of eMudhra intermediate CA private keys.
- **Go 1.26.10**: Fixed vulnerabilities in:
  - `net/http`
  - `net/textproto`
  - `crypto/tls`
  - `html/template`
- **golang.org/x/net v0.60.0**: Fixed HTTP/2 vulnerabilities (GO-2026-6603, GO-2026-6610, GO-2026-6611, GO-2026-6612, GO-2026-6617)
- **OpenTelemetry v1.45.0**: Fixed exporter endpoint URLs leaking into info logs (GO-2026-6505)

### 🔄 Changes
- **Build requirement**: Prometheus now requires **Go 1.26 or later**.

---

## 📦 Prometheus v0.315.1 (2026-10-21)

> (No specific changes listed in the provided text.)

---

### 📌 Notes
- The **`v0.316.0`** and **`3.16.0-rc.4`** tags suggest a **versioning shift** from `v0.x` to `3.x`, likely indicating a **major release** or **rebranding**.
- The **`github-actions[bot]`** and **`ywwg`** tags indicate automated and human contributors.
- The **`tag:github.com,2008:Repository/6838921/...`** entries are **GitHub internal identifiers** and not part of the actual changelog.

---

### ✅ How to Use This
If you're a **developer or operator**, this changelog helps you:
- Understand **what’s fixed** in the latest release
- Assess **security implications**
- Plan **upgrades** or **patch deployments**

Let me know if you'd like:
- A **Markdown-formatted changelog**
- A **summary for release notes**
- A **comparison between versions**
- Or **explanation of specific fixes** (e.g., TSDB, HTTP/2, etc.)