Update version and changelog

This commit is contained in:
Zack Rauen 2022-02-05 18:32:05 -05:00
parent fdd47f83e8
commit 67746d59ee
5 changed files with 31 additions and 17 deletions

View File

@ -2,6 +2,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.5.1
### Added
- `Number` settings component using builtin `input[type=number]`
- Settings for monaco editor: font size, line numbers, minimap, whitespace, quick suggestions, tooltips
### Removed
### Changed
### Fixed
- Fixed `GuildComponent` throwing errors
- Fixed public servers button disappearing when guilds list rerenders
- Fixed plugin compilation error not pointing to console
- Fixed plugins with no `@name` attempting to load
## 1.5.0
### Added

View File

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

View File

@ -1,30 +1,27 @@
export default {
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.",
description: "Just some minor updates to keep things running smoothly!",
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",
description: "Some basic preferences for the addon editor have been added including:",
items: [
"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)"
"Font size adjustment",
"Line numbers toggle",
"Minimap toggle",
"Whitespace preference",
"Reference tooltips",
"Quick suggestions"
]
},
{
title: "Fixes",
type: "fixed",
items: [
"`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."
"All those `GuildComponent` errors should now be gone!",
"Public servers button shows up again if things get reloaded.",
"Plugin compilation errors point to console for more info.",
"Plugins with no `@name` property will now properly error.",
]
}
]

View File

@ -143,6 +143,7 @@ export default class Modals {
const type = ChangelogClasses[entry.type] ? ChangelogClasses[entry.type] : ChangelogClasses.added;
const margin = c == 0 ? ChangelogClasses.marginTop : "";
changelogItems.push(ce("h1", {className: `${type} ${margin}`,}, entry.title));
if (entry.description) changelogItems.push(ce("p", null, MarkdownParser.parse(entry.description)));
const list = ce("ul", null, entry.items.map(i => ce("li", null, MarkdownParser.parse(i))));
changelogItems.push(list);
}

View File

@ -1,6 +1,6 @@
import {React} from "modules";
export default class Search extends React.Component {
export default class Number extends React.Component {
constructor(props) {
super(props);
this.state = {value: this.props.value};