From a244863157d9134aacab37e191d50b389fa9a935 Mon Sep 17 00:00:00 2001 From: Zack Rauen Date: Mon, 24 Jan 2022 02:03:41 -0500 Subject: [PATCH] Update version and changelog - Fixes #854 - Fixes #1104 - Fixes #1102 - Fixes #1087 --- CHANGELOG.md | 16 ++++++++++++++++ package.json | 2 +- renderer/src/data/changelog.js | 12 ++++++++---- renderer/src/modules/core.js | 4 ++-- 4 files changed, 27 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 58bb0fb2..129a755a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,22 @@ 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.4.0 + +### Added +- Notices API (Thanks [Strencher](https://github.com/Strencher)) + +### Removed + +### Changed + +### Fixed +- Fixed outdates styles and classnames (Thanks [Strencher](https://github.com/Strencher)) +- Fixed guild list classes being overwritten causing the public server button to not show +- Fixed finding the wrong module for `ActionTypes` in custom css module +- Fixed not removing customcss upon disable +- Fixed media keys commandline switch not being applied + ## 1.3.0 ### Added diff --git a/package.json b/package.json index 29aa8304..ceb4dde2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "betterdiscord", - "version": "1.3.0", + "version": "1.4.0", "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 0e123d74..c4153a9d 100644 --- a/renderer/src/data/changelog.js +++ b/renderer/src/data/changelog.js @@ -2,17 +2,21 @@ export default { description: "Expect more soon!", changes: [ { - title: "Changes", - type: "improved", + title: "What's new?", + type: "added", items: [ - "Startup no longer relies on Guild classes so it should be more stable." + "New notices API for developers available via `BdApi.showNotice`! Docs coming soon." ] }, { title: "Fixes", type: "fixed", items: [ - "Emote menu no longer crashes Discord." + "Outdated styles and classnames have been fixed.", + "Public servers button shows again.", + "Disable Media Keys option actually prevents Discord from hijacking media keys again.", + "CustomCSS is removed if you disable the system.", + "CSS editor popout no longer turns the screen gray." ] } ] diff --git a/renderer/src/modules/core.js b/renderer/src/modules/core.js index 0372e93a..de3140dd 100644 --- a/renderer/src/modules/core.js +++ b/renderer/src/modules/core.js @@ -127,8 +127,8 @@ export default new class Core { if (!hasUpdate) return; // TODO: move to strings file when updater is complete. - Modals.showConfirmationModal("Update Available", `BetterDiscord (${Config.version}) has an available update available (${remoteVersion}). Would you like to update now?`, { - confirmText: "Update", + Modals.showConfirmationModal("Update Available", `BetterDiscord (v${Config.version}) has an update available (v${remoteVersion}). Would you like to update now?`, { + confirmText: "Update Now!", cancelText: "Skip", onConfirm: () => this.update(data) });