Skip to content

Commit a5b11c0

Browse files
committed
Release v3.31.2
1 parent 33d6d03 commit a5b11c0

5 files changed

Lines changed: 24 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ Format follows [Keep a Changelog](https://keepachangelog.com/). Haven uses [Sema
1111
1212
---
1313

14+
## [3.31.2] — 2026-07-11
15+
16+
### Fixed
17+
- **The manual "Download Backup" button now works on large servers (#5434).** Automatic backups were fixed in 3.31.0, but the manual download still built the entire zip to a temporary file before sending anything, so on a big server (30GB of files) it sat silent for minutes and a proxy in front of Haven returned a 502 before the download ever started. The download now streams the archive straight to the browser as it builds, so it starts immediately and stays alive for the whole transfer.
18+
1419
## [3.31.1] — 2026-07-10
1520

1621
### Fixed

docs/index.html

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1415,12 +1415,12 @@ <h2>Download Haven</h2>
14151415
</div>
14161416

14171417
<div class="download-card fade-in">
1418-
<h2>&#x2B21; Haven Server &mdash; v3.31.1</h2>
1418+
<h2>&#x2B21; Haven Server &mdash; v3.31.2</h2>
14191419
<p class="download-version">Latest stable release &middot; Windows, macOS &amp; Linux &middot; ~5 MB</p>
14201420

14211421
<div class="download-btn-group">
1422-
<a href="https://github.com/ancsemi/Haven/archive/refs/tags/v3.31.1.zip" class="btn btn-primary download-main">
1423-
<span class="icon">&#x2B07;</span> Download v3.31.1 (.zip)
1422+
<a href="https://github.com/ancsemi/Haven/archive/refs/tags/v3.31.2.zip" class="btn btn-primary download-main">
1423+
<span class="icon">&#x2B07;</span> Download v3.31.2 (.zip)
14241424
</a>
14251425
<div class="download-alt-links">
14261426
<a href="https://github.com/ancsemi/Haven" target="_blank">&#9965; View on GitHub</a>
@@ -1437,7 +1437,11 @@ <h2>&#x2B21; Haven Server &mdash; v3.31.1</h2>
14371437
<div class="version-list">
14381438
<div class="version-list-inner">
14391439
<div class="version-item">
1440-
<div><span class="v-name">v3.31.1</span><span class="v-tag latest">Latest</span> &mdash; <strong>Restoring a large backup works again.</strong> Restoring a full backup that included files used to fail after about 30 seconds with a &ldquo;failed to fetch&rdquo; error, because the server cut off long uploads, capped the upload at 4GB, and read the whole archive into memory at once. Restores now allow long uploads, accept large files, and stream straight to disk, so a 15GB or larger backup restores without crashing (#5436). The backup screen also now notes that only full backups, ones that include both Messages and Uploaded files, can be restored in place (#5435).</div>
1440+
<div><span class="v-name">v3.31.2</span><span class="v-tag latest">Latest</span> &mdash; <strong>The manual Download Backup button works on large servers again.</strong> Automatic backups were already fixed, but clicking Download Backup on a big server (tens of GB of files) built the whole archive before sending anything, so it sat silent long enough for a proxy in front of Haven to return a 502. The download now streams straight to your browser as it builds, so it starts right away (#5434).</div>
1441+
<a href="https://github.com/ancsemi/Haven/archive/refs/tags/v3.31.2.zip">Download &rarr;</a>
1442+
</div>
1443+
<div class="version-item">
1444+
<div><span class="v-name">v3.31.1</span> &mdash; <strong>Restoring a large backup works again.</strong> Restoring a full backup that included files used to fail after about 30 seconds with a &ldquo;failed to fetch&rdquo; error, because the server cut off long uploads, capped the upload at 4GB, and read the whole archive into memory at once. Restores now allow long uploads, accept large files, and stream straight to disk, so a 15GB or larger backup restores without crashing (#5436). The backup screen also now notes that only full backups, ones that include both Messages and Uploaded files, can be restored in place (#5435).</div>
14411445
<a href="https://github.com/ancsemi/Haven/archive/refs/tags/v3.31.1.zip">Download &rarr;</a>
14421446
</div>
14431447
<div class="version-item">

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "haven",
3-
"version": "3.31.1",
3+
"version": "3.31.2",
44
"description": "Haven - self-hosted private chat for your server, your rules",
55
"license": "AGPL-3.0",
66
"main": "server.js",

website/index.html

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1415,12 +1415,12 @@ <h2>Download Haven</h2>
14151415
</div>
14161416

14171417
<div class="download-card fade-in">
1418-
<h2>&#x2B21; Haven Server &mdash; v3.31.1</h2>
1418+
<h2>&#x2B21; Haven Server &mdash; v3.31.2</h2>
14191419
<p class="download-version">Latest stable release &middot; Windows, macOS &amp; Linux &middot; ~5 MB</p>
14201420

14211421
<div class="download-btn-group">
1422-
<a href="https://github.com/ancsemi/Haven/archive/refs/tags/v3.31.1.zip" class="btn btn-primary download-main">
1423-
<span class="icon">&#x2B07;</span> Download v3.31.1 (.zip)
1422+
<a href="https://github.com/ancsemi/Haven/archive/refs/tags/v3.31.2.zip" class="btn btn-primary download-main">
1423+
<span class="icon">&#x2B07;</span> Download v3.31.2 (.zip)
14241424
</a>
14251425
<div class="download-alt-links">
14261426
<a href="https://github.com/ancsemi/Haven" target="_blank">&#9965; View on GitHub</a>
@@ -1437,7 +1437,11 @@ <h2>&#x2B21; Haven Server &mdash; v3.31.1</h2>
14371437
<div class="version-list">
14381438
<div class="version-list-inner">
14391439
<div class="version-item">
1440-
<div><span class="v-name">v3.31.1</span><span class="v-tag latest">Latest</span> &mdash; <strong>Restoring a large backup works again.</strong> Restoring a full backup that included files used to fail after about 30 seconds with a &ldquo;failed to fetch&rdquo; error, because the server cut off long uploads, capped the upload at 4GB, and read the whole archive into memory at once. Restores now allow long uploads, accept large files, and stream straight to disk, so a 15GB or larger backup restores without crashing (#5436). The backup screen also now notes that only full backups, ones that include both Messages and Uploaded files, can be restored in place (#5435).</div>
1440+
<div><span class="v-name">v3.31.2</span><span class="v-tag latest">Latest</span> &mdash; <strong>The manual Download Backup button works on large servers again.</strong> Automatic backups were already fixed, but clicking Download Backup on a big server (tens of GB of files) built the whole archive before sending anything, so it sat silent long enough for a proxy in front of Haven to return a 502. The download now streams straight to your browser as it builds, so it starts right away (#5434).</div>
1441+
<a href="https://github.com/ancsemi/Haven/archive/refs/tags/v3.31.2.zip">Download &rarr;</a>
1442+
</div>
1443+
<div class="version-item">
1444+
<div><span class="v-name">v3.31.1</span> &mdash; <strong>Restoring a large backup works again.</strong> Restoring a full backup that included files used to fail after about 30 seconds with a &ldquo;failed to fetch&rdquo; error, because the server cut off long uploads, capped the upload at 4GB, and read the whole archive into memory at once. Restores now allow long uploads, accept large files, and stream straight to disk, so a 15GB or larger backup restores without crashing (#5436). The backup screen also now notes that only full backups, ones that include both Messages and Uploaded files, can be restored in place (#5435).</div>
14411445
<a href="https://github.com/ancsemi/Haven/archive/refs/tags/v3.31.1.zip">Download &rarr;</a>
14421446
</div>
14431447
<div class="version-item">

0 commit comments

Comments
 (0)