Important
This release was mostly forced by security vulnerability in Electron. It still doesn't resolve #452, although it seems Electron devs are somewhat aware of it. Some people also suggest that it is reproducible in Electron 27 as well. Officially, I haven't been able to reproduce this on my desktop running X11 with AMD CPU (withamd-ucode.img
loaded withinitrd=
) and NVIDIA GPU (both Nouveau and NVIDIA drivers). Electron devs also seemed to be unable to reproduce this in clean VM enviroment.
πΊοΈ Localization updates (#454)
- Update πͺπΈοΈ Spanish localization files by @gallegonovato.
- Update π¦πͺοΈ Arabic localization files by @Ali-x98.
π οΈ New features
- Implement safe mode in WebCord, as an approach to workaround the renderer crashes (including #452).
- In safe mode, WebCord tries to run itself fully in software mode, to eliminate that GPU or driver could cause renderer crashes.
- WebCord enters safe mode automatically after it detects that renderer is constantly crashing.
- Before entering safe mode, WebCord will try to refresh the page a few times (I believe official Discord client is doing that when handling renderer crashes).
- Safe mode also disables a few configuration options, such as GPU optimizations and features that are messing with Chromium command-line. However, you're still able to append switches to Chromium command-line by adding them as arguments to WebCord.
- Implement a way in locale files to add
title=
element forlabels
, as a way for additional description whenlabels
are not enough.- This was added for CSP: Thirdparty β Google Storage API, as a few people didn't understand the consequences of disabling it and reported quite a lot of issues for it.
- I've also added a non-translatable description for GIF provides, listing the service providers this option currently includes.
π§ΉοΈ Maintenance updates
- Refactor WebSocket server to launch it in separate process, using
UtilityProcess
API. - Update stylesheets for built-in pages, so
<kbd>
element (e.g. ALT) is animated when pressed (with mouse click) and scrollbar is larger by 1px. - Update client optimizations logic for new Chromium engine versions and that unix-specific optimization won't be used on other platforms. This could potentially cause issues with Electron on Windows and macOS in the past.
- Update Electron to
26.2.1
. - Bump
marked
to9.0.0
.
Full Changelog: v4.4.0...v4.4.1