v2.7.0 #351
johaven
announced in
Announcements
v2.7.0
#351
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
⭐ Highlights
Resumable chunked uploads
Large files now use resumable upload sessions from the web interface and desktop synchronization client. The first chunk initializes the session, subsequent chunks are sent sequentially, and the client can resume from the last offset actually persisted by the server after an interruption. (#348)
In the web client, files smaller than or equal to
maxChunkSizecontinue to use multipart uploads, while larger files use the new upload-session API. Size, quota, and permissions are validated before the staged file is published to its final destination.Desktop synchronization also supports a secure mode using SHA-512/256 digests to validate transferred chunks. Older clients remain compatible with the legacy single-stream upload route.
Keep both files on conflicts
Upload and copy conflicts now provide a Keep both option. The incoming file is automatically renamed with a numbered suffix, preserving both versions without manual intervention. (#350) @Stephan-P
Folder sizes in synchronization workflows
Folder sizes are now displayed when selecting and configuring synchronization paths.
Expired notification cleanup
The scheduler now automatically removes expired notifications to prevent obsolete entries from accumulating in the database.
⚙️ Transfer configuration
Upload settings are now grouped under a new
transferssection inenvironment.yaml:Both values accept a byte count or text units such as
KB,MB, andGB.maxUploadSizeremains the maximum file size accepted by the backend. Its default value is 5 GB.maxChunkSizedefines the multipart/chunked-upload threshold and target chunk size. Its default value is 95 MB, leaving headroom below common 100 MB proxy limits.maxChunkSizetonull, an empty value, or0disables chunking in the bundled clients.maxChunkSizeis a client-side transfer hint, not a backend-enforced request limit. Reverse-proxy and infrastructure limits still apply.The previous configuration key remains supported but is now deprecated:
The corresponding environment variable has also moved from:
to:
The chunk size can be configured with:
🐞 Bug fixes
Isolation of retained user data
Data retained after deleting a user is now moved outside the active login namespace:
Creating a new account with the same login can therefore no longer expose files retained from the previous account.
Reliable quota updates
Quota cache updates are now completed before file, share, space, and user operations return, preventing subsequent operations from temporarily observing stale quota information.
New backend build pipeline
The backend is now compiled with Rspack. Runtime path resolution and asset handling, including MIME resources used in development, have been adapted to the new build pipeline.
Permission enforcement for links added to existing shares
Fixed high-severity vulnerability GHSA-8rmv-4f4p-v9jg.
When updating an existing share, the permissions of a newly added public link were not restricted to those the caller was allowed to delegate. A member authorized to share content externally could therefore create an anonymous link with add, modify, and delete permissions that the member did not hold. New links now use the same permission intersection as links created together with the share.
Overwrite permission enforcement
Fixed moderate-severity vulnerability GHSA-wfx5-p4q9-x8pj.
Copy and desktop synchronization operations now enforce the permissions required to overwrite existing content. Modifying an existing file requires
MODIFY, while structurally replacing a resource requires bothADDandDELETE.Hardened OIDC identity binding
Fixed moderate-severity vulnerability GHSA-r53r-qpv5-9p7g.
Before binding a new OIDC identity to an existing local account, the server now performs a Unicode caseless comparison while preserving accent and compatibility distinctions. Migration 0009 also updates identifier collations and checks for historical collisions before modifying the database schema.
Special thanks to @jpabeem for privately reporting these vulnerabilities and providing detailed reproductions.
All reactions