Skip to content

Releases: toeverything/AFFiNE

2025.11.29-canary.903

29 Nov 10:11
bcc892c

Choose a tag to compare

2025.11.29-canary.903 Pre-release
Pre-release
v2025.11.29-canary.903

fix(editor): one-time size mismatch during surface-block resize after…

2025.11.28-canary.904

28 Nov 10:06
bcc892c

Choose a tag to compare

2025.11.28-canary.904 Pre-release
Pre-release
v2025.11.28-canary.904

fix(editor): one-time size mismatch during surface-block resize after…

2025.11.27-canary.904

27 Nov 10:33
88a2e4a

Choose a tag to compare

2025.11.27-canary.904 Pre-release
Pre-release
fix: improved error description of proxy size limits (#14016)

**Summary:**
This PR improves the user feedback when encountering an HTTP 413
(_CONTENT_TOO_LARGE)_ error caused by a file size limit in the proxy /
ingress controller in a self-hosted environment.

**Example scenario:**
A self-hosted environment serves AFFiNE through an nginx proxy, and the
`client_max_body_size` variable in the configuration file is set to a
smaller size (e.g. 1MB) than AFFiNE's own file size limit (typically
100MB). Previously, the user would get an error saying the file is
larger than 100MB regardless of file size, as all of these cases
resulted in the same internal error. With this fix, the
_CONTENT_TOO_LARGE_ error is now handled separately and gives better
feedback to the user that the failing upload is caused by a fault in the
proxy configuration.

**Screenshot of new error message**

<img width="798" height="171" alt="1MB_now"
src="https://github.com/user-attachments/assets/07b00cd3-ce37-4049-8674-2f3dcb916ab5"
/>


**Affected files:**
  1. packages/common/nbstore/src/storage/errors/over-size.ts
  2. packages/common/nbstore/src/impls/cloud/blob.ts


I'm open to any suggestions in terms of the wording used in the message
to the user. The fix has been tested with an nginx proxy.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Improved user-facing error messages for file upload failures. When an
upload exceeds the file size limit, users now receive a clearer message
indicating that the upload was stopped by the network proxy due to the
size restriction, providing better understanding of why the upload was
rejected.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

2025.11.26-canary.904

26 Nov 10:07
1d9fe3b

Choose a tag to compare

2025.11.26-canary.904 Pre-release
Pre-release
v2025.11.26-canary.904

fix(core): pressing ENTER on database title now switches focus instea…

2025.11.25-canary.905

25 Nov 10:09
1d9fe3b

Choose a tag to compare

2025.11.25-canary.905 Pre-release
Pre-release
v2025.11.25-canary.905

fix(core): pressing ENTER on database title now switches focus instea…

2025.11.24-canary.905

24 Nov 10:19
1d9fe3b

Choose a tag to compare

2025.11.24-canary.905 Pre-release
Pre-release
v2025.11.24-canary.905

fix(core): pressing ENTER on database title now switches focus instea…

2025.11.21-canary.904

21 Nov 14:03
1d9fe3b

Choose a tag to compare

2025.11.21-canary.904 Pre-release
Pre-release
v2025.11.21-canary.904

fix(core): pressing ENTER on database title now switches focus instea…

2025.11.20-canary.904

20 Nov 10:25

Choose a tag to compare

2025.11.20-canary.904 Pre-release
Pre-release
v2025.11.20-canary.904

chore: ignore empty key

2025.11.19-canary.904

19 Nov 10:04

Choose a tag to compare

2025.11.19-canary.904 Pre-release
Pre-release
v2025.11.19-canary.904

chore: ignore empty key

2025.11.17-canary.905

17 Nov 10:02

Choose a tag to compare

2025.11.17-canary.905 Pre-release
Pre-release
v2025.11.17-canary.905

chore: cleanup logs