What's Changed
- added multi-language support to the web UI #1143
- supports Chinese, Japanese, French, German, Spanish, Portuguese, Russian, Turkish, Dutch, Italian, and Romanian
- translations are now managed through Weblate; please contribute translations there instead of opening pull requests
- if you want to include a new language, please reach out on GitHub or Discord to me so that I can add it in Weblate.
- added configurable quick links to the dashboard
- added Discord Components V2 link previews #1152
- added an experimental full-page upload dropzone
- this can be disabled completely on the settings page
- added GPS metadata removal for HEIC/HEIF images
- redesigned the text upload page
- redesigned code and text file previews to use the full page
- replaced syntax highlighting with Shiki
- uses GitHub Dark and GitHub Light themes
- improved language detection and aliases, including TSX
- expanded supported code file types and improved MIME-type detection when assuming types from extensions
- redesigned the initial setup page
- improved OAuth/OIDC login handling and added OIDC logout support
- fixed client-side errors related to logging in
- fixed shortened URL identifiers colliding with another user's link and redirecting visitors to the wrong destination
- fixed concurrent uploads being able to claim the same filename
- fixed uploads and file renames from using the reserved
.thumbnailprefix to overwrite generated thumbnails - fixed thumbnails remaining accessible after their parent file expired or reached its maximum view count
- fixed import endpoints accepting and parsing large request bodies before checking authentication and administrator permissions
- fixed GPS metadata removal leaving recoverable coordinate values in image files
- fixed chunked uploads skipping GPS removal when it was enabled
- fixed failed uploads leaving file records behind that consumed quota and reserved filenames
- fixed cleanup removing database records when deleting the corresponding stored files failed
- failed deletions now retain their records so cleanup can retry
- fixed files and shortened URLs with a maximum view limit of
0being deleted- zero continues to mean unlimited views
- fixed background task failures becoming unhandled promise rejections
- improved HTTP range request handling
- validates range syntax and bounds
- unsatisfiable ranges return
416with the correctContent-Rangeheader without sending the entire file
- fixed file-size requery operations leaving unused streams open
- fixed extensionless uploads returning incorrect URLs
- updated dependencies and fixed compatibility issues introduced by package updates
- updated the nix dev env
Pulls Merged
Thanks to the following for helping with translations:
@BlackHole1, @KeuqS, @Otte-S, @izgara, @Stef-DP, @lekrkoekje, @DGNVMusic, @HelpMePleasepls
- feat(i18n): add multi-language support to the web UI #1143
- feat(i18n): add Turkish locale #1145
- chore(i18n): update translations #1150
- chore(i18n): update translations #1151
- feat: add Discord Components V2 link previews #1152
Full Changelog: v4.8.0...trunk