Fix changelog and bump version

This commit is contained in:
Zack Rauen 2023-03-01 16:45:04 -05:00
parent f3b26fbd4d
commit d1183633c0
4 changed files with 31 additions and 4 deletions

View File

@ -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

View File

@ -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": {

View File

@ -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)"
]
}
]

View File

@ -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");