Note
This is a hotfix release to v4.13.1 that resolves an Electron Forge bug that causes lack of assets from CI and bumps the lockfile.
Below will be a changelog from v4.13.1, and the release itself will be compared against v4.13.0.
๐ ๏ธ Fixes:
-
7c529e3: Re-enable audio sharing on Wayland, after testing it can be used in way it won't cause crashes or bugs.
- 69cf4c5: There's a known bug in Chromium that in case of cancelling the audio sharing (e.g. on wlroots by pressing ESC key), screen sharing request will not be resolved correctly and Discord / Electron will end up in unclean state, where re-trying audio share will not work at this state or even might crash the application. WebCord will log out when there is a probability this bug occurs. As there's no way to sensibly recover from this on JS side of code, only restarting application to clear Electron state might help with mitigating this bug.
-
4b1d144: For Arch Linux and Arch-based distribution users, this also resolves a bug due to v41 Electron version, as we move to v42.
๐งน๏ธ Chore:
- 4b1d144: Bump numerous dependencies to their latest version, including Electron to v42.
- c8a9aae: Code refactoring due to linter errors, mostly related to types and their comparison, to more accurately express the types in specific places than before.
- b263fa1: Better logging where WebCord logs out errors as implementation for their handling logic. It will now include kind of error, and for unknown class instances (being very unusual anyway in promise rejections but still handles as JS allows to throw anything) it will also try to log out the object's name and value, using standard class-defined method to format the unknown objects to string.
Full Changelog: v4.13.0...v4.13.2