Update version and changelog
This commit is contained in:
parent
f5f1220ecc
commit
42486f4bd7
15
CHANGELOG.md
15
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.
|
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.5.0
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- `appSettings` override and corresponding toggle to enable DevTools (Thanks [Kyza](https://github.com/Kyza))
|
||||||
|
- `bd-transparency` class is added to `document.body` when window transparency is enabled (Thanks [Strencher](https://github.com/Strencher))
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
- Removed all appearance related `Builtin`s including: 24 Hour Timestamps, Colored Text, Hide GIF/Gift Button, and MinimalMode
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- Fixed `DebugLogs` throwing errors or not writing `null`, `undefined`, and circular objects
|
||||||
|
- Fixed guild utility classes not being added
|
||||||
|
- Fixed toast location
|
||||||
|
|
||||||
## 1.4.0
|
## 1.4.0
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "betterdiscord",
|
"name": "betterdiscord",
|
||||||
"version": "1.4.0",
|
"version": "1.5.0",
|
||||||
"description": "Enhances Discord by adding functionality and themes.",
|
"description": "Enhances Discord by adding functionality and themes.",
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
{
|
{
|
||||||
"presets": [[
|
"presets": [
|
||||||
"@babel/env",
|
"@babel/react",
|
||||||
|
["@babel/env",
|
||||||
{
|
{
|
||||||
"targets": {
|
"targets": {
|
||||||
"node": "12.14.1"
|
"node": "14.16.0",
|
||||||
|
"chrome": "91"
|
||||||
}
|
}
|
||||||
}
|
}]
|
||||||
]],
|
],
|
||||||
"plugins": [[
|
"plugins": [[
|
||||||
"module-resolver",
|
"module-resolver",
|
||||||
{
|
{
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -4,9 +4,9 @@
|
||||||
"private": true,
|
"private": true,
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "webpack --progress --colors",
|
"build": "webpack --progress --color",
|
||||||
"watch": "webpack --progress --colors --watch",
|
"watch": "webpack --progress --color --watch",
|
||||||
"build-prod": "webpack --display errors-only --mode production --devtool none",
|
"build-prod": "webpack --mode production --no-devtool",
|
||||||
"lint-js": "eslint --ext .jsx,.js src/",
|
"lint-js": "eslint --ext .jsx,.js src/",
|
||||||
"build-css": "postcss src/styles/index.css -o dist/style.css",
|
"build-css": "postcss src/styles/index.css -o dist/style.css",
|
||||||
"watch-css": "postcss src/styles/index.css -o dist/style.css -w",
|
"watch-css": "postcss src/styles/index.css -o dist/style.css -w",
|
||||||
|
@ -16,24 +16,24 @@
|
||||||
"test-prod": "npm run test -- --reporter min"
|
"test-prod": "npm run test -- --reporter min"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.14.3",
|
"@babel/core": "^7.16.12",
|
||||||
"@babel/preset-env": "^7.14.2",
|
"@babel/preset-env": "^7.16.11",
|
||||||
"@babel/preset-react": "^7.13.13",
|
"@babel/preset-react": "^7.16.7",
|
||||||
"@babel/register": "^7.13.16",
|
"@babel/register": "^7.16.9",
|
||||||
"babel-loader": "^8.2.2",
|
"babel-loader": "^8.2.3",
|
||||||
"babel-plugin-module-resolver": "^4.1.0",
|
"babel-plugin-module-resolver": "^4.1.0",
|
||||||
"circular-dependency-plugin": "^5.2.2",
|
"circular-dependency-plugin": "^5.2.2",
|
||||||
"css-loader": "^5.2.5",
|
"css-loader": "^6.5.1",
|
||||||
"eslint": "^7.27.0",
|
"eslint": "^8.8.0",
|
||||||
"eslint-plugin-react": "^7.23.2",
|
"eslint-plugin-react": "^7.28.0",
|
||||||
"postcss": "^8.3.0",
|
"postcss": "^8.4.5",
|
||||||
"postcss-cli": "^8.3.1",
|
"postcss-cli": "^9.1.0",
|
||||||
"postcss-csso": "^4.0.0",
|
"postcss-csso": "^6.0.0",
|
||||||
"postcss-easy-import": "^3.0.0",
|
"postcss-easy-import": "^3.0.0",
|
||||||
"postcss-loader": "^4.3.0",
|
"postcss-loader": "^6.2.1",
|
||||||
"stylelint": "^13.13.1",
|
"stylelint": "^14.3.0",
|
||||||
"stylelint-config-standard": "^20.0.0",
|
"stylelint-config-standard": "^24.0.0",
|
||||||
"webpack": "^4.46.0",
|
"webpack": "^5.67.0",
|
||||||
"webpack-cli": "^3.3.12"
|
"webpack-cli": "^4.9.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,22 +1,30 @@
|
||||||
export default {
|
export default {
|
||||||
description: "Expect more soon!",
|
description: "All of the appearance settings were removed due to the frequency of them breaking. The functionality of each one can be replicated by an existing plugin. See the section below for more information.",
|
||||||
changes: [
|
changes: [
|
||||||
|
{
|
||||||
|
title: "Appearance Settings Removed",
|
||||||
|
type: "progress",
|
||||||
|
items: [
|
||||||
|
"24-hour timestamps were removed in favor of `CompleteTimestamps` by DevilBro https://betterdiscord.app/plugin/CompleteTimestamps",
|
||||||
|
"ColoredText functionality was absorbed into `BetterRoleColors` by Zerebos https://betterdiscord.app/plugin/BetterRoleColors",
|
||||||
|
"Hide GIF/Gift Buttons can be replicated by `RemoveChatButtons` by Qb https://betterdiscord.app/plugin/RemoveChatButtons",
|
||||||
|
"MinimalMode has been redone by SmolAlli https://betterdiscord.app/theme/MinimalMode",
|
||||||
|
]},
|
||||||
{
|
{
|
||||||
title: "What's new?",
|
title: "What's new?",
|
||||||
type: "added",
|
type: "added",
|
||||||
items: [
|
items: [
|
||||||
"New notices API for developers available via `BdApi.showNotice`! Docs coming soon."
|
"DevTools can be opened again after enabling it in settings! (Thanks Kyza)",
|
||||||
|
"BD now adds a `bd-transparency` class to the document body when enabled. (Thanks Strencher)"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Fixes",
|
title: "Fixes",
|
||||||
type: "fixed",
|
type: "fixed",
|
||||||
items: [
|
items: [
|
||||||
"Outdated styles and classnames have been fixed.",
|
"`DebugLogs` no longer freak out for `null`, `undefined`, or circular objects.",
|
||||||
"Public servers button shows again.",
|
"Utility classes should appear on the guilds list once more.",
|
||||||
"Disable Media Keys option actually prevents Discord from hijacking media keys again.",
|
"Toasts should now show in the right location."
|
||||||
"CustomCSS is removed if you disable the system.",
|
|
||||||
"CSS editor popout no longer turns the screen gray."
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -250,22 +250,22 @@ export default class WebpackModules {
|
||||||
static get require() {
|
static get require() {
|
||||||
if (this._require) return this._require;
|
if (this._require) return this._require;
|
||||||
const id = "bd-webpackmodules";
|
const id = "bd-webpackmodules";
|
||||||
let __webpack_require__;
|
let __discord_webpack_require__;
|
||||||
if (typeof(webpackJsonp) !== "undefined") {
|
if (typeof(webpackJsonp) !== "undefined") {
|
||||||
__webpack_require__ = window.webpackJsonp.push([[], {
|
__discord_webpack_require__ = window.webpackJsonp.push([[], {
|
||||||
[id]: (module, exports, __internal_require__) => module.exports = __internal_require__
|
[id]: (module, exports, __internal_require__) => module.exports = __internal_require__
|
||||||
}, [[id]]]);
|
}, [[id]]]);
|
||||||
}
|
}
|
||||||
else if (typeof(window[this.chunkName]) !== "undefined") {
|
else if (typeof(window[this.chunkName]) !== "undefined") {
|
||||||
window[this.chunkName].push([[id],
|
window[this.chunkName].push([[id],
|
||||||
{},
|
{},
|
||||||
__internal_require__ => __webpack_require__ = __internal_require__
|
__internal_require__ => __discord_webpack_require__ = __internal_require__
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
delete __webpack_require__.m[id];
|
delete __discord_webpack_require__.m[id];
|
||||||
delete __webpack_require__.c[id];
|
delete __discord_webpack_require__.c[id];
|
||||||
return this._require = __webpack_require__;
|
return this._require = __discord_webpack_require__;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -134,7 +134,7 @@ export default class Modals {
|
||||||
const MarkdownParser = WebpackModules.getByProps("defaultRules", "parse");
|
const MarkdownParser = WebpackModules.getByProps("defaultRules", "parse");
|
||||||
if (!Changelog || !ModalStack || !ChangelogClasses || !TextElement || !FlexChild || !Titles || !MarkdownParser) return Logger.warn("Modals", "showChangelogModal missing modules");
|
if (!Changelog || !ModalStack || !ChangelogClasses || !TextElement || !FlexChild || !Titles || !MarkdownParser) return Logger.warn("Modals", "showChangelogModal missing modules");
|
||||||
|
|
||||||
const {image = "https://i.imgur.com/8sctUVV.png", description = "", changes = [], title = "BetterDiscord", subtitle = `v${Config.version}`, footer} = options;
|
const {image = "https://i.imgur.com/wuh5yMK.png", description = "", changes = [], title = "BetterDiscord", subtitle = `v${Config.version}`, footer} = options;
|
||||||
const ce = React.createElement;
|
const ce = React.createElement;
|
||||||
const changelogItems = [options.video ? ce("video", {src: options.video, poster: options.poster, controls: true, className: ChangelogClasses.video}) : ce("img", {src: image})];
|
const changelogItems = [options.video ? ce("video", {src: options.video, poster: options.poster, controls: true, className: ChangelogClasses.video}) : ce("img", {src: image})];
|
||||||
if (description) changelogItems.push(ce("p", null, MarkdownParser.parse(description)));
|
if (description) changelogItems.push(ce("p", null, MarkdownParser.parse(description)));
|
||||||
|
|
|
@ -7,7 +7,7 @@ const basePkg = require("../package.json");
|
||||||
module.exports = {
|
module.exports = {
|
||||||
mode: "development",
|
mode: "development",
|
||||||
target: "node",
|
target: "node",
|
||||||
devtool: "eval-source-map",
|
devtool: false,
|
||||||
entry: "./src/index.js",
|
entry: "./src/index.js",
|
||||||
output: {
|
output: {
|
||||||
filename: "renderer.js",
|
filename: "renderer.js",
|
||||||
|
@ -37,20 +37,12 @@ module.exports = {
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
test: /.jsx?$/,
|
test: /.jsx?$/,
|
||||||
loader: "babel-loader",
|
|
||||||
exclude: /node_modules/,
|
exclude: /node_modules/,
|
||||||
query: {
|
use: ["babel-loader"]
|
||||||
presets: [["@babel/env", {
|
|
||||||
targets: {
|
|
||||||
node: "12.14.1",
|
|
||||||
chrome: "83"
|
|
||||||
}
|
|
||||||
}], "@babel/react"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.css$/i,
|
test: /\.css$/i,
|
||||||
use: ["css-loader", "postcss-loader"],
|
use: [{loader: "css-loader", options: {"url": false, "import": false}}, "postcss-loader"],
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue