Skip to content

v4.4.1-ls28

Compare
Choose a tag to compare
@LinuxServer-CI LinuxServer-CI released this 05 Oct 03:54
· 105 commits to master since this release

LinuxServer Changes:

Add fonts-noto-cjk for shrug support.

WebCord Changes:

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 (with amd-ucode.img loaded with initrd=) 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 for labels, as a way for additional description when labels are not enough.
    • This was added for CSP: Thirdparty → Google Storage API, as 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 to 9.0.0.

Full Changelog: SpacingBat3/WebCord@v4.4.0...v4.4.1