diff --git a/CHANGELOG.md b/CHANGELOG.md index c9912d6f..98acfad0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,21 @@ 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.5 + +### Added +- Ability to use a custom local version of React DevTools +- Experimental `BdApi.Components` for component access in plugins + +### Removed + +### Changed +- Title for settings sidebar now uses a custom component + +### Fixed +- Fixed ModalRoot and ConfirmationModal not being found in webpack +- Fixed context menus for internal changes + ## 1.8.4 ### Added diff --git a/package.json b/package.json index 401c6711..18eabfca 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "betterdiscord", - "version": "1.8.4", + "version": "1.8.5", "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 24c32cfb..67ceffb9 100644 --- a/renderer/src/data/changelog.js +++ b/renderer/src/data/changelog.js @@ -1,12 +1,24 @@ // fixed, improved, added, progress export default { - description: "More features are coming soon!", + description: "Discord changed a lot of things internally once again! Please have patience while plugins and even themes catch up!", changes: [ + { + title: "What's New?", + type: "improved", + items: [ + "Added support for a custom version of React DevTools. (Thanks @Zerthox)", + "We are now using a custom header component in settings to prevent future crashes.", + "Plugins now have a new experimental API for component access, `BdApi.Components`. Currently only `Tooltip` exists." + ] + }, { title: "Bug Fixes", type: "fixed", items: [ - "Fixed crashing on right click.", + "Fixed crashing when opening settings.", + "Fixed modals either not opening and/or crashing.", + "Fixed context menus not working and/or crashing.", + "Fixed coloring for `danger` context menus. (Thanks @samfundev)" ] } ] diff --git a/renderer/src/ui/modals.js b/renderer/src/ui/modals.js index c7999015..d03e5a76 100644 --- a/renderer/src/ui/modals.js +++ b/renderer/src/ui/modals.js @@ -228,7 +228,7 @@ export default class Modals { static showChangelogModal(options = {}) { const OriginalModalClasses = WebpackModules.getByProps("hideOnFullscreen", "root"); const ChangelogModalClasses = WebpackModules.getModule(m => m.modal && m.maxModalWidth); - const ChangelogClasses = WebpackModules.getByProps("fixed", "improved"); + const ChangelogClasses = WebpackModules.getByProps("fixed", "improved") ?? {maxModalWidth: "490px",video: "video-8B-TdZ",container: "container-3PVapX",image: "image-ZPv20Y",title: "title-2ftWWc",lead: "lead-2VtcIe",added: "added-mQcv9V title-2ftWWc",fixed: "fixed-cTX7Hp title-2ftWWc",improved: "improved-2SJXHz title-2ftWWc",progress: "progress-1DcfFh title-2ftWWc",marginTop: "marginTop-VGmU1T",footer: "footer-1gMODG",socialLink: "socialLink-1qjJIk",premiumBanner: "premiumBanner-FU1Urp",premiumIcon: "premiumIcon-rhwgnW",date: "date-2tmzZM"}; const TextElement = this.TextElement; const FlexChild = this.FlexElements; const MarkdownParser = WebpackModules.getByProps("defaultRules", "parse");