Here's a **cleaned and structured summary** of the **ntfy v2.31.0 to v2.34.0** release notes, grouped by version and categorized for clarity:

---

## 📦 **v2.34.0** – *October 24, 2026*

### ✅ **Features**
- **Load Balancer Support**:
  - Allow multiple comma-separated addresses in `listen-http`, enabling load balancers to handle more than ~63k connections per node.
- **Cluster Node Draining (Experimental)**:
  - Nodes now drain gracefully on shutdown: they withdraw (stop being ready), go read-only, and close subscriber connections gradually.
  - Prevents reconnect storms during upgrades or restarts.
  - Configurable via `experimental-cluster-drain-delay` and `experimental-cluster-drain-duration`.

### 🔐 **Security**
- **Access Revocation Fix**:
  - When a user’s access to a topic is revoked or the user is deleted, **all subscriptions** are ended (previously only the first was terminated).
- **Cluster Access Sync (Experimental)**:
  - When access changes (e.g., reservations, permissions), other cluster nodes are notified to reload their access cache.
  - Cache reload now runs every **67 seconds** (down from 87).

### 🐛 **Bug Fixes & Maintenance**
- **Deadlock Fix**:
  - Fixed a deadlock when ending subscriptions (e.g., reserving a topic, revoking access, deleting a user) while debug logging or `log-level-overrides` is active.
- **Data Race Fix**:
  - Fixed a race condition when `log-level-overrides` changes (e.g., via SIGHUP) while the server logs.

---

## 📦 **v2.33.1** – *October 23, 2026*

### 🛠️ **Features**
- **Cluster Monitoring**:
  - Added per-peer and database connection pool metrics.
  - Show each node’s view of its peers via `ntfy cluster status` and `/v1/cluster/status`.
- **PostgreSQL Metrics**:
  - Export metrics (`ntfy_db_pool_*`) for connection usage and query wait times.

### 🔐 **Security**
- **Go 1.27.3 Upgrade**:
  - Includes security fixes for `crypto/tls`, `net/http`, `html/template`, and `crypto/x509` (rejects compromised eMudhra intermediate CAs).
- **Twilio Verification**:
  - Only accept phone verification codes if Twilio confirms them (no longer accept any successful response).
- **Subscription Limits**:
  - Ignore duplicate topics in subscriptions and limit to **150 topics** per subscription to prevent cache replay attacks.

### 🐛 **Bug Fixes & Maintenance**
- **Crash Fix**:
  - Fixed "Illegal instruction" crash on older CPUs without x86-64-v3 (AVX2/BMI2) by rebuilding on Ubuntu 24.04.
- **Message Counting Fix**:
  - Each cluster node now adds its own publish count to the total (previously the leader overwrote it).

---

## 📦 **v2.33.0** – *October 23, 2026*

### 📝 **Release Notes**
- Moved unreleased notes to v2.33.0.
- Updated install docs to v2.33.0.

---

## 📦 **v2.32.0** – *October 18, 2026*

### ✅ **Features**
- **Streaming Subscriptions**:
  - Set `Incremental: ?1` header (RFC 10036) so proxies forward messages without buffering.
- **Passive Cluster Node Prep**:
  - Shared database jobs (e.g., pruning, token cleanup) now run **only on the cluster leader**.
  - Each database store now records the **oldest schema version** it supports to prevent incompatible startups.

### 🐛 **Bug Fixes & Maintenance**
- **Template Priority Fix**:
  - Template files (`?tpl=<name>`) now respect the priority sent in the request, even if the template has no `priority` key.
- **User Provisioning Fix**:
  - Return HTTP 409 (Conflict) instead of 500 when deleting or changing passwords of users provisioned via `auth-users`.
- **Database Housekeeping**:
  - Run shared database cleanup tasks (e.g., pruning, writing published message totals) **only on the leader** to avoid conflicts in clusters.

---

## 📦 **v2.31.1** – *October 17, 2026*

### 🐛 **Bug Fixes & Maintenance**
- **Database Reconnect Optimization**:
  - Fixed `since=<message ID>` reconnects from reading **every message** in a topic, which overloaded the database.
  - Added a new index: `(topic, published, id)` on PostgreSQL, `(topic, published, time)` on SQLite.
- **Schema Rollback Warning**:
  - Start with a **warning** (not failure) if the database schema is newer than the current ntfy version, enabling easier rollbacks.
- **Web App Fixes**:
  - Fixed wrong topic opening when subscribed to the same topic on two different servers.
  - Fixed "Upgrade to ntfy Pro" banner covering the bottom of long topic lists.
  - Added ability to close "Notifications are disabled/blocking" warnings.
  - Fixed crash when opening the subscribe dialog before the topic list loads.

### ⚠️ **Upgrade Notes**
- **Schema Change**:
  - Database schema updated from **v16 to v17** (index for `since=<message ID>` reconnects).
  - Downgrading to v2.31.0 or earlier requires manually setting the schema version back:
    - **PostgreSQL**: `UPDATE schema_version SET version = 16 WHERE store = 'message'`
    - **SQLite**: `UPDATE schemaVersion SET version = 16 WHERE id = 1`

---

## 📦 **v2.31.0** – *October 17, 2026*

### 📝 **Release Notes**
- **Rollback Due to Database Load**:
  - This version was rolled back due to high database load caused by inefficient `since=<message ID>` reconnects.
  - v2.31.1 was released immediately to fix the issue.

---

## 📌 Summary of Key Improvements

| Area | Highlights |
|------|----------|
| **Cluster Support** | Draining nodes, access sync, monitoring, passive nodes |
| **Performance** | Optimized database queries, reduced load, better indexing |
| **Security** | Go 1.27.3, Twilio verification, subscription limits |
| **Stability** | Fixed deadlocks, data races, crashes, and rollback issues |
| **User Experience** | Web app fixes, better error handling, subscription limits |

---

Let me know if you'd like a **changelog in Markdown**, **release notes for documentation**, or a **comparison table** between versions!