Update version and repo links

This commit is contained in:
Zack Rauen 2021-07-09 02:05:58 -04:00
parent f35b82c69e
commit 65dc214ffe
12 changed files with 40 additions and 18 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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