From 2fbd3c60909a2bbddf84689abe4ffa7b263a77ec Mon Sep 17 00:00:00 2001 From: square Date: Sat, 25 Mar 2023 13:06:04 +0100 Subject: [PATCH] Bump to 1.9.1 --- CHANGELOG.md | 12 ++++++++++++ package.json | 2 +- renderer/src/data/changelog.js | 12 ++++-------- renderer/src/modules/webpackmodules.js | 3 ++- 4 files changed, 19 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ea1415a..5e6ddd54 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ This changelog starts with the restructured 1.0.0 release that happened after context isolation changes. The changelogs here should more-or-less mirror the ones that get shown in the client but probably with less formatting and pizzazz. +## 1.9.1 + +### Added +- SourceURL for the renderer + +### Removed + +### Changed + +### Fixed +- Fixed client crashes + ## 1.9.0 ### Added diff --git a/package.json b/package.json index 9b834fe3..cc07db68 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "betterdiscord", - "version": "1.9.0", + "version": "1.9.1", "description": "Enhances Discord by adding functionality and themes.", "main": "src/index.js", "scripts": { diff --git a/renderer/src/data/changelog.js b/renderer/src/data/changelog.js index 911ffabb..5429ed9d 100644 --- a/renderer/src/data/changelog.js +++ b/renderer/src/data/changelog.js @@ -1,24 +1,20 @@ // fixed, improved, added, progress export default { - description: "The first of the performance updates is here!", + description: "Hotfix!", changes: [ { title: "What's New?", type: "improved", items: [ - "**The entire BetterDiscord UI got a rewrite.** Things may _look_ mostly the same, but underneath they were completely redone with speed in mind.", - "Better version comparisons when checking for updates! You should no longer end up in update loops.", - "After polls on both Discord and Twitter, the __Public Servers module was removed__. For those that liked it, stay tuned for the official plugin!", - "For those using the **Remove Minimum Size** option, BetterDiscord will now remember your desired window size!" + "Added SourceURL for the renderer. This makes it easier for developers to identify BD in call stacks.", ] }, { title: "Bug Fixes", type: "fixed", items: [ - "Devtools shortcut now correctly uses `cmd` on Mac.", - "Plugin and theme pages now render properly.", + "Fixed immediate crashes.", ] } ] -}; \ No newline at end of file +}; diff --git a/renderer/src/modules/webpackmodules.js b/renderer/src/modules/webpackmodules.js index 6d6f0ff0..287c38a0 100644 --- a/renderer/src/modules/webpackmodules.js +++ b/renderer/src/modules/webpackmodules.js @@ -168,7 +168,8 @@ export default class WebpackModules { if (typeof(exports) === "object" && searchExports && exports[Symbol.toStringTag] !== "DOMTokenList") { for (const key in exports) { - let foundModule = null, wrappedExport = null; + let foundModule = null; + let wrappedExport = null; try {wrappedExport = exports[key];} catch {continue;} if (!wrappedExport) continue;