diff --git a/CHANGELOG.md b/CHANGELOG.md index b9346be4..c4ce4b5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,46 @@ 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.8.0 + +### Added +- Proper updater system with UI. +- Tooltip component for plugins. +- Highly expanded plugin API. + +### Removed + +### Changed +- Reverted how internal webpack module searches are performed. +- New options for webpack searches. + +### Fixed +- Fixed many issues regarding memory leaks and out-of-memory errors! +- Fixed a major issue where webpack searches would iterate by default. +- Fixed an issue with `byStrings` and `combine` filters in the API. +- Fixed an issue where searching for multiple modules could yield the same module multiple times. +- Fixed an issue where misnamed addon files could prevent startup. +- Fixed an issue where the `request` module would not follow redirects. +- Fixed an issue where certain modals could crash the client. +- Fixed an issue where toasts would not show on the crash screen. + +## 1.7.0 + +### Added +- Polyfill for certain node modules. + +### Removed +- Proxy protection for certain modules. + +### Changed +- Changed how internal webpack module searches are performed. +- New location for public servers button. +- Switch to pnpm with workspaces. +- Improved startup errors. + +### Fixed +- Fixed several issues for Discord's internal changes. + ## 1.6.3 ### Added diff --git a/package.json b/package.json index 81b3f853..46f41493 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "betterdiscord", - "version": "1.7.0", + "version": "1.8.0", "description": "Enhances Discord by adding functionality and themes.", "main": "src/index.js", "scripts": { diff --git a/renderer/src/builtins/general/publicservers.js b/renderer/src/builtins/general/publicservers.js index 3f7c9ae1..7dc3dfe5 100644 --- a/renderer/src/builtins/general/publicservers.js +++ b/renderer/src/builtins/general/publicservers.js @@ -100,6 +100,7 @@ export default new class PublicServers extends Builtin { const avatarSlot = newButton.querySelector(`[class*="avatar-"]`); avatarSlot.replaceChildren(); ReactDOM.render(React.createElement(Globe, {color: "currentColor"}), avatarSlot); + DOMManager.onRemoved(avatarSlot, () => ReactDOM.unmountComponentAtNode(avatarSlot)); // Replace the existing name const nameSlot = newButton.querySelector(`[class*="name-"]`); diff --git a/renderer/src/data/changelog.js b/renderer/src/data/changelog.js index 8569a382..cec42bff 100644 --- a/renderer/src/data/changelog.js +++ b/renderer/src/data/changelog.js @@ -1,23 +1,31 @@ // fixed, improved, added, progress export default { - description: "BetterDiscord is alive! At least... _sorta_.", + description: "Big improvements have been made!", changes: [ { - title: "Known Issues", + title: "What's New?", type: "improved", items: [ - "**Many many plugins are either completely broken or missing functionality.** Please refer to the respective developers for ETAs.", - "The Twitch Emote system is completely broken, and there is no ETA on being fixed.", - "The Public Servers module is also broken with no ETA for a fix.", + "BetterDiscord now has a built-in update system to help update broken plugins and themes.", + "New API options for plugin developers.", + "`Patcher` now works with the configurable getters.", + "A new tooltip component for use in plugins.", + "The plugin API now includes context menu capabilties.", + "Public servers button has found a new home on your Discord homepage above the DM list." ] }, { - title: "Important News!", + title: "Bug Fixes", type: "fixed", items: [ - "Due to recent and upcoming changes, BetterDiscord is going to go through a rewrite.", - "There is no ETA or timeline for this rewrite.", - "We will continue to try and __maintain__ this version of BetterDiscord without adding new features." + "Fixed many issues regarding memory leaks and out-of-memory errors!", + "Fixed a major issue where webpack searches would iterate by default.", + "Fixed an issue with `byStrings` and `combine` filters in the API.", + "Fixed an issue where searching for multiple modules could yield the same module multiple times.", + "Fixed an issue where misnamed addon files could prevent startup.", + "Fixed an issue where the `request` module would not follow redirects.", + "Fixed an issue where certain modals could crash the client.", + "Fixed an issue where toasts would not show on the crash screen." ] } ]