Update version and changelog

This commit is contained in:
Zack Rauen 2022-01-31 22:21:39 -05:00
parent f5f1220ecc
commit 42486f4bd7
9 changed files with 1828 additions and 5412 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.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

View File

@ -1,6 +1,6 @@
{
"name": "betterdiscord",
"version": "1.4.0",
"version": "1.5.0",
"description": "Enhances Discord by adding functionality and themes.",
"main": "src/index.js",
"scripts": {

View File

@ -1,12 +1,14 @@
{
"presets": [[
"@babel/env",
"presets": [
"@babel/react",
["@babel/env",
{
"targets": {
"node": "12.14.1"
"node": "14.16.0",
"chrome": "91"
}
}
]],
}]
],
"plugins": [[
"module-resolver",
{

File diff suppressed because it is too large Load Diff

View File

@ -4,9 +4,9 @@
"private": true,
"main": "src/index.js",
"scripts": {
"build": "webpack --progress --colors",
"watch": "webpack --progress --colors --watch",
"build-prod": "webpack --display errors-only --mode production --devtool none",
"build": "webpack --progress --color",
"watch": "webpack --progress --color --watch",
"build-prod": "webpack --mode production --no-devtool",
"lint-js": "eslint --ext .jsx,.js src/",
"build-css": "postcss src/styles/index.css -o dist/style.css",
"watch-css": "postcss src/styles/index.css -o dist/style.css -w",
@ -16,24 +16,24 @@
"test-prod": "npm run test -- --reporter min"
},
"devDependencies": {
"@babel/core": "^7.14.3",
"@babel/preset-env": "^7.14.2",
"@babel/preset-react": "^7.13.13",
"@babel/register": "^7.13.16",
"babel-loader": "^8.2.2",
"@babel/core": "^7.16.12",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@babel/register": "^7.16.9",
"babel-loader": "^8.2.3",
"babel-plugin-module-resolver": "^4.1.0",
"circular-dependency-plugin": "^5.2.2",
"css-loader": "^5.2.5",
"eslint": "^7.27.0",
"eslint-plugin-react": "^7.23.2",
"postcss": "^8.3.0",
"postcss-cli": "^8.3.1",
"postcss-csso": "^4.0.0",
"css-loader": "^6.5.1",
"eslint": "^8.8.0",
"eslint-plugin-react": "^7.28.0",
"postcss": "^8.4.5",
"postcss-cli": "^9.1.0",
"postcss-csso": "^6.0.0",
"postcss-easy-import": "^3.0.0",
"postcss-loader": "^4.3.0",
"stylelint": "^13.13.1",
"stylelint-config-standard": "^20.0.0",
"webpack": "^4.46.0",
"webpack-cli": "^3.3.12"
"postcss-loader": "^6.2.1",
"stylelint": "^14.3.0",
"stylelint-config-standard": "^24.0.0",
"webpack": "^5.67.0",
"webpack-cli": "^4.9.2"
}
}

View File

@ -1,22 +1,30 @@
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: [
{
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?",
type: "added",
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",
type: "fixed",
items: [
"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."
"`DebugLogs` no longer freak out for `null`, `undefined`, or circular objects.",
"Utility classes should appear on the guilds list once more.",
"Toasts should now show in the right location."
]
}
]

View File

@ -250,22 +250,22 @@ export default class WebpackModules {
static get require() {
if (this._require) return this._require;
const id = "bd-webpackmodules";
let __webpack_require__;
let __discord_webpack_require__;
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]]]);
}
else if (typeof(window[this.chunkName]) !== "undefined") {
window[this.chunkName].push([[id],
{},
__internal_require__ => __webpack_require__ = __internal_require__
__internal_require__ => __discord_webpack_require__ = __internal_require__
]);
}
delete __webpack_require__.m[id];
delete __webpack_require__.c[id];
return this._require = __webpack_require__;
delete __discord_webpack_require__.m[id];
delete __discord_webpack_require__.c[id];
return this._require = __discord_webpack_require__;
}
/**

View File

@ -134,7 +134,7 @@ export default class Modals {
const MarkdownParser = WebpackModules.getByProps("defaultRules", "parse");
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 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)));

View File

@ -7,7 +7,7 @@ const basePkg = require("../package.json");
module.exports = {
mode: "development",
target: "node",
devtool: "eval-source-map",
devtool: false,
entry: "./src/index.js",
output: {
filename: "renderer.js",
@ -37,20 +37,12 @@ module.exports = {
rules: [
{
test: /.jsx?$/,
loader: "babel-loader",
exclude: /node_modules/,
query: {
presets: [["@babel/env", {
targets: {
node: "12.14.1",
chrome: "83"
}
}], "@babel/react"]
}
use: ["babel-loader"]
},
{
test: /\.css$/i,
use: ["css-loader", "postcss-loader"],
use: [{loader: "css-loader", options: {"url": false, "import": false}}, "postcss-loader"],
}
]
},