diff --git a/CHANGELOG.md b/CHANGELOG.md index ff1cfdd1..e60b1124 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,25 @@ 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.2.0 + +### Added +- `openDialog` function added to `BdApi` to enable save/load of files. + +### Removed + +### Changed +- Emote menu now more seamlessly integrates with Discord. +- Support for other chrome profiles added when using React DevTools. (Thanks [CrizGames](https://github.com/CrizGames)) +- Console errors from plugins should now properly map to the local file. + +### Fixed +- Fixed several crashing issues related to voice and video chats. +- Fixed the incompatibility with Canary/PTB +- Fixed missing class names on guild elements. +- Fixed minimal mode for new Discovery tab. (Thanks [dav1312](https://github.com/dav1312)) + + ## 1.1.1 ### Added diff --git a/package.json b/package.json index adc2494b..03e04388 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "betterdiscord", - "version": "1.1.1", + "version": "1.2.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 63b140be..107d9a6c 100644 --- a/renderer/src/data/changelog.js +++ b/renderer/src/data/changelog.js @@ -1,21 +1,24 @@ export default { - description: "This version is a hotfix mainly to fix the settings issue.", + description: "Most of these fixes in this update come from Strencher (https://github.com/Strencher).", changes: [ { title: "Fixes", type: "fixed", items: [ - "Fixed an issue with the settings patch failing", - "Fixed an issue with hiding GIF and Gift buttons", - "Fixed certain plugin patches not returning values", - "Updated links to new website" + "Fixed several crashing issues related to voice and video chats.", + "Fixed the incompatibility with Canary/PTB", + "Fixed missing class names on guild elements.", + "Fixed minimal mode for new Discovery tab. Thanks, dav1312 (https://github.com/dav1312)." ] }, { title: "Power Users & Developers", type: "improved", items: [ - "Certain patches done using `monkeyPatch` instead of `Patcher` now properly return values." + "Console errors from plugins should now properly map to the local file.", + "Support for other chrome profiles added when using React DevTools. Thanks, CrizGames (https://github.com/CrizGames).", + "Emote menu handling is improved.", + "`openDialog` added to `BdApi`." ] } ] diff --git a/renderer/src/modules/componentpatcher.js b/renderer/src/modules/componentpatcher.js index 5da26a7d..50295cd0 100644 --- a/renderer/src/modules/componentpatcher.js +++ b/renderer/src/modules/componentpatcher.js @@ -18,7 +18,7 @@ const Developers = [ const DeveloperBadge = function DeveloperBadge({type, size = 16}) { return React.createElement(Tooltip, {color: "primary", position: "top", text: "BetterDiscord Developer"}, - props => React.createElement(Anchor, Object.assign({className: `bd-${type}-badge`, href: "https://github.com/rauenzi/BetterDiscordApp", title: "BetterDiscord", target: "_blank"}, props), + props => React.createElement(Anchor, Object.assign({className: `bd-${type}-badge`, href: "https://github.com/BetterDiscord/BetterDiscord", title: "BetterDiscord", target: "_blank"}, props), React.createElement(BDLogo, {size, className: "bd-logo"}) ) ); diff --git a/renderer/src/modules/core.js b/renderer/src/modules/core.js index a198b2d9..ad8f2502 100644 --- a/renderer/src/modules/core.js +++ b/renderer/src/modules/core.js @@ -104,7 +104,7 @@ export default new class Core { } async checkForUpdate() { - const resp = await fetch(`https://api.github.com/repos/rauenzi/BetterDiscordApp/releases/latest`,{ + const resp = await fetch(`https://api.github.com/repos/BetterDiscord/BetterDiscord/releases/latest`,{ method: "GET", headers: { "Accept": "application/json", diff --git a/renderer/src/modules/patcher.js b/renderer/src/modules/patcher.js index 99691813..2efe8b1b 100644 --- a/renderer/src/modules/patcher.js +++ b/renderer/src/modules/patcher.js @@ -2,7 +2,7 @@ * Patcher that can patch other functions allowing you to run code before, after or * instead of the original function. Can also alter arguments and return values. * - * This is from Zerebos' library {@link https://github.com/JsSucks/BetterDiscordApp/blob/master/client/src/modules/patcher.js} + * This is from Zerebos' library {@link https://github.com/rauenzi/BDPluginLibrary} * * @module Patcher * @version 0.0.2 diff --git a/renderer/src/modules/pluginapi.js b/renderer/src/modules/pluginapi.js index 4356a2f3..9a3ddfd4 100644 --- a/renderer/src/modules/pluginapi.js +++ b/renderer/src/modules/pluginapi.js @@ -27,10 +27,10 @@ const BdApi = { if (!group) return undefined; return new Proxy(group, { get(cat, emote) {return group[emote];}, - set() {Logger.warn("BdApi.emotes", "Addon policy for plugins #5 https://github.com/rauenzi/BetterDiscordApp/wiki/Addon-Policies#plugins");} + set() {Logger.warn("BdApi.emotes", "Addon policy for plugins #5 https://github.com/BetterDiscord/BetterDiscord/wiki/Addon-Policies#plugins");} }); }, - set() {Logger.warn("BdApi.emotes", "Addon policy for plugins #5 https://github.com/rauenzi/BetterDiscordApp/wiki/Addon-Policies#plugins");} + set() {Logger.warn("BdApi.emotes", "Addon policy for plugins #5 https://github.com/BetterDiscord/BetterDiscord/wiki/Addon-Policies#plugins");} }); }, get version() {return Config.version;} diff --git a/renderer/src/modules/utilities.js b/renderer/src/modules/utilities.js index fdaf600f..9cb57785 100644 --- a/renderer/src/modules/utilities.js +++ b/renderer/src/modules/utilities.js @@ -5,7 +5,7 @@ import DOM from "./domtools"; export default class Utilities { static repoUrl(path) { - return `https://cdn.staticaly.com/gh/rauenzi/BetterDiscordApp/${Config.hash}/${path}`; + return `https://cdn.staticaly.com/gh/BetterDiscord/BetterDiscord/${Config.hash}/${path}`; } /** @@ -156,7 +156,7 @@ export default class Utilities { const descriptor = descriptors[name]; descriptor.configurable = false; descriptor.enumerable = false; - if (Object.prototype.hasOwnProperty.call(descriptor, "get")) descriptor.set = () => Logger.warn("protectPrototype", "Addon policy for plugins #5 https://github.com/rauenzi/BetterDiscordApp/wiki/Addon-Policies#plugins"); + if (Object.prototype.hasOwnProperty.call(descriptor, "get")) descriptor.set = () => Logger.warn("protectPrototype", "Addon policy for plugins #5 https://github.com/BetterDiscord/BetterDiscord/wiki/Addon-Policies#plugins"); if (Object.prototype.hasOwnProperty.call(descriptor, "value") && typeof(descriptor.value) === "function") descriptor.value.bind(Component.prototype); if (Object.prototype.hasOwnProperty.call(descriptor, "writable")) descriptor.writable = false; } diff --git a/renderer/src/ui/errorboundary.jsx b/renderer/src/ui/errorboundary.jsx index e33efc93..5b696bb5 100644 --- a/renderer/src/ui/errorboundary.jsx +++ b/renderer/src/ui/errorboundary.jsx @@ -21,6 +21,6 @@ const originalRender = ErrorBoundary.prototype.render; Object.defineProperty(ErrorBoundary.prototype, "render", { enumerable: false, configurable: false, - set: function() {Logger.warn("ErrorBoundary", "Addon policy for plugins #5 https://github.com/rauenzi/BetterDiscordApp/wiki/Addon-Policies#plugins");}, + set: function() {Logger.warn("ErrorBoundary", "Addon policy for plugins #5 https://github.com/BetterDiscord/BetterDiscord/wiki/Addon-Policies#plugins");}, get: () => originalRender }); \ No newline at end of file diff --git a/renderer/src/ui/settings/addoncard.jsx b/renderer/src/ui/settings/addoncard.jsx index a95e9def..9f3edcf6 100644 --- a/renderer/src/ui/settings/addoncard.jsx +++ b/renderer/src/ui/settings/addoncard.jsx @@ -178,6 +178,6 @@ const originalRender = AddonCard.prototype.render; Object.defineProperty(AddonCard.prototype, "render", { enumerable: false, configurable: false, - set: function() {Logger.warn("AddonCard", "Addon policy for plugins #5 https://github.com/rauenzi/BetterDiscordApp/wiki/Addon-Policies#plugins");}, + set: function() {Logger.warn("AddonCard", "Addon policy for plugins #5 https://github.com/BetterDiscord/BetterDiscord/wiki/Addon-Policies#plugins");}, get: () => originalRender }); \ No newline at end of file diff --git a/renderer/src/ui/settings/addonlist.jsx b/renderer/src/ui/settings/addonlist.jsx index 97bd7e59..097458d9 100644 --- a/renderer/src/ui/settings/addonlist.jsx +++ b/renderer/src/ui/settings/addonlist.jsx @@ -209,6 +209,6 @@ const originalRender = AddonList.prototype.render; Object.defineProperty(AddonList.prototype, "render", { enumerable: false, configurable: false, - set: function() {Logger.warn("AddonList", "Addon policy for plugins #5 https://github.com/rauenzi/BetterDiscordApp/wiki/Addon-Policies#plugins");}, + set: function() {Logger.warn("AddonList", "Addon policy for plugins #5 https://github.com/BetterDiscord/BetterDiscord/wiki/Addon-Policies#plugins");}, get: () => originalRender }); \ No newline at end of file diff --git a/renderer/src/ui/settings/group.jsx b/renderer/src/ui/settings/group.jsx index 79cbfef7..a10a30f5 100644 --- a/renderer/src/ui/settings/group.jsx +++ b/renderer/src/ui/settings/group.jsx @@ -75,6 +75,6 @@ const originalRender = Group.prototype.render; Object.defineProperty(Group.prototype, "render", { enumerable: false, configurable: false, - set: function() {Logger.warn("Group", "Addon policy for plugins #5 https://github.com/rauenzi/BetterDiscordApp/wiki/Addon-Policies#plugins");}, + set: function() {Logger.warn("Group", "Addon policy for plugins #5 https://github.com/BetterDiscord/BetterDiscord/wiki/Addon-Policies#plugins");}, get: () => originalRender }); \ No newline at end of file