Here's a **cleaned-up and structured summary** of the **paperless-ngx v3.1.3** release notes, extracted from the provided content:

---

# 📦 paperless-ngx v3.1.3

> **Note**: This release includes a **security fix** (GHSA-2jhj-xqrq-rmrq) and is **recommended for all users**. Thank you to the community and their LLMs for reporting the issue.

---

## 🐛 Bug Fixes

- ✅ **Fix**: Use the header loading indicator on the tasks page  
  📌 *by @shamoon* (`#13949`)

- ✅ **Fix**: Fix sidebar size animation when loading  
  📌 *by @shamoon* (`#13947`)

- ✅ **Fix**: Wrap long words without spaces in dropdowns  
  📌 *by @shamoon* (`#13945`)

- ✅ **Fix**: Tweak tool calling localization prompt  
  📌 *by @shamoon* (`#13943`)

- ✅ **Fix**: Skip vector store document ID filter for unrestricted chat users  
  📌 *by @stumpylog* (`#13937`)

- ✅ **Fix**: Adopt request stream when pinning an outbound host  
  📌 *by @ThomasSteinbach* (`#13927`)

- ✅ **Fix**: Ensure apply AI suggestions runs after document creation  
  📌 *by @shamoon* (`#13940`)

- ✅ **Fix**: Handle failures when enqueuing files for consumption  
  📌 *by @stumpylog* (`#13935`)

- ✅ **Fix**: Handle Celery mail task chord errors  
  📌 *by @stumpylog* (`#13936`)

- ✅ **Fix/chore**: Refactor signal-backed conversion technical debt  
  📌 *by @shamoon* (`#13902`)

- ✅ **Fix**: Fix slim sidebar saved view dragging appearance  
  📌 *by @shamoon* (`#13906`)

- ✅ **Fix**: Use signal-backed queries input in CF dropdown to reflect changes immediately under zoneless  
  📌 *by @shamoon* (`#13901`)

- ✅ **Fix**: Use root document metadata for filename generation  
  📌 *by @shamoon* (`#13893`)

- ✅ **Fix**: Some CSS cleanup  
  📌 *by @shamoon* (`#13891`)

---

## 🔐 Security

- 🔒 **Security**: Validate remote OCR endpoint  
  📌 *by @stumpylog* (`#13897`)

- 🔒 **Security**: Minor additional hardening  
  📌 *by @stumpylog* (`#13898`)

---

## 🧰 Chores & Improvements

- 🧹 **Chore**: Consolidate pickle HMAC signing  
  📌 *by @shamoon* (`#13899`)

- 🧹 **Chore**: Update screenshots for v3+  
  📌 *by @shamoon* (`#13883`)

---

## 📦 Dependencies

### 🔄 Dependency Updates (via Dependabot)

- **uv group**: Bump 2 packages  
  📌 *by dependabot[bot]* (`#13958`)

- **docker-compose**:  
  - Bump `nginx` from `1.31.3-alpine` to `1.31.5-alpine`  
  - Bump `greenmail/standalone` from `2.1.11` to `2.1.13`  
  📌 *by dependabot[bot]* (`#13909`, `#13907`)

- **npm_and_yarn group**:  
  - Bump `postcss-selector-parser` from `6.1.2` to `6.1.4`  
  📌 *by dependabot[bot]* (`#13905`)

- **data-nlp-search group**:  
  - Bump `nltk` from `3.10.0` to `3.10.3`  
  📌 *by dependabot[bot]* (`#13917`)

- **frontend-angular-dependencies group**:  
  - Bump 14 packages  
  📌 *by dependabot[bot]* (`#13915`)

- **uv group**:  
  - Bump `djangorestframework` from `3.17.1` to `3.17.2`  
  📌 *by dependabot[bot]* (`#13904`)

---

## 📝 All App Changes (22 total)

1. 🔄 Bump uv group (2 updates) – `#13958`  
2. 🔄 Bump postcss-selector-parser – `#13905`  
3. 🔄 Bump nltk – `#13917`  
4. ✅ Use header loading indicator on tasks page – `#13949`  
5. 🔄 Bump frontend-angular-dependencies (14 updates) – `#13915`  
6. 🔄 Bump djangorestframework – `#13904`  
7. ✅ Fix sidebar size animation – `#13947`  
8. ✅ Wrap long words in dropdowns – `#13945`  
9. ✅ Tweak tool calling localization prompt – `#13943`  
10. ✅ Skip vector store filter for unrestricted chat users – `#13937`  
11. ✅ Adopt request stream when pinning host – `#13927`  
12. ✅ Ensure AI suggestions run after document creation – `#13940`  
13. ✅ Handle file enqueue failures – `#13935`  
14. ✅ Handle Celery mail task chord errors – `#13936`  
15. ✅ Refactor signal-backed conversion – `#13902`  
16. 🔒 Validate remote OCR endpoint – `#13897`  
17. ✅ Fix slim sidebar dragging – `#13906`  
18. 🔒 Additional hardening – `#13898`  
19. 🧹 Consolidate pickle HMAC signing – `#13899`  
20. ✅ Use signal-backed queries in CF dropdown – `#13901`  
21. ✅ Use root doc metadata for filename – `#13893`  
22. ✅ CSS cleanup – `#13891`

---

✅ **Summary**:  
**v3.1.3** is a **maintenance and security release** with **14 bug fixes**, **2 security improvements**, and **7 dependency updates**. Most changes are by **@shamoon**, with contributions from **@stumpylog** and **@ThomasSteinbach**.

---

📌 **Recommended for all users** due to the security fix.  
🔗 [GitHub Release](https://github.com/paperless-ngx/paperless-ngx/releases/tag/v3.1.3)  
🔍 [Security Advisory](https://github.com/paperless-ngx/paperless-ngx/security/advisories/GHSA-2jhj-xqrq-rmrq)

--- 

Let me know if you'd like a **changelog in Markdown**, **release notes for a blog**, or a **short summary for a tweet**!