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.
- New css variable
--os-accent-color
- Temporary
Buffer
polyfill
BdApi.Net.fetch
now has an optionaltimeout
parameter
- Fixes not being able to use
http
forBdApi.Net.fetch
. - Bad URLs and other early errors in
BdApi.Net.fetch
now handled better.
- Multiple shorthand functions under
BdApi.Webpack
- New
getStore
filter
- Updated translations
- Fixed header color in light mode.
- Fixed window size retention for users of remove minimum size option.
- Fixed a toast saying an addon was loaded when it was unloaded.
- Fixed context menu patching API for plugins.
- Fixed context menu crash & api
- SourceURL for the renderer
- Fixed client crashes
- Remove minimum window size now remembers desired size
- Basic semver comparison
- Public Servers
- Old DataStore functions that are no longer used
- All main react components are now functional with hooks
- Mac now uses cmd instead of ctrl
- Fixed dropdowns
- Fixed markdown parser
- Ability to use a custom local version of React DevTools
- Experimental
BdApi.Components
for component access in plugins
- Title for settings sidebar now uses a custom component
- Fixed ModalRoot and ConfirmationModal not being found in webpack
- Fixed context menus for internal changes
- Fixed more bugs with context menu api
- Checking for old installs and deleting them
- All references to Emotes, this will become a separate plugin
- Moved to the more permissive Apache 2.0 license
- Now check for discord.asar for electron17+
- Handle setting module exports internally rather than maintaining getter references
- Fixed
inject
for electron17+ - Updater checking
>
which does not work for open versions - Fixed a startup bug with the context menu api
- Fixed modals not working
- Fixed downloading binary files
- Fixed public server invites
- A script to automatically grab the new translations from POEditor
- Several new translations
- Moved some hardcoded strings to be part of the translation system
- Several updated translations
- Fixed context menu patcher not patching consistently
- Fixed context menu toggle item UI not updating
- Fixed an issue with the bound API checking the wrong arguments
- Fixed
getOwnerInstance
calling the wrong functions internally
- Proper updater system with UI.
- Tooltip component for plugins.
- Highly expanded plugin API.
- Reverted how internal webpack module searches are performed.
- New options for webpack searches.
- Fixed many issues regarding memory leaks and out-of-memory errors!
- Fixed a major issue where webpack searches would iterate by default.
- Fixed an issue with
byStrings
andcombine
filters in the API. - Fixed an issue where searching for multiple modules could yield the same module multiple times.
- Fixed an issue where misnamed addon files could prevent startup.
- Fixed an issue where the
request
module would not follow redirects. - Fixed an issue where certain modals could crash the client.
- Fixed an issue where toasts would not show on the crash screen.
- Polyfill for certain node modules.
- Proxy protection for certain modules.
- Changed how internal webpack module searches are performed.
- New location for public servers button.
- Switch to pnpm with workspaces.
- Improved startup errors.
- Fixed several issues for Discord's internal changes.
- Plugin startup errors should be more descriptive for developers.
- Fixed an issue where custom css crashed Discord.
- Fixed an issue where
waitForModule
returned a boolean instead of a module.
- Fixed non-loading issue due to changed UserSettingsStore
- Fixed an issue where
waitForModule
would not return the found module. - Fixed an issue where broken addon METAs could prevent BD from fully loading.
- Fixed an issue where developer badges stopped rendering.
- Better handling and fallback when the editor fails to load. (Thanks Qb)
- Now able to sort addons by whether they're enabled. (Thanks TheGreenPig)
- New
Webpack
API added for plugin developers to take advantage of.
- Addon loading no longer uses
require
- Addon error modal updated (Thanks Qb)
- Fixed plugin error display on the modal
- Fixed dispatcher changes by Discord
- Fixed Canary crashing immediately
- Fixed being unable to inject into settings, thanks @Strencher
Number
settings component using builtininput[type=number]
- Settings for monaco editor: font size, line numbers, minimap, whitespace, quick suggestions, tooltips
- 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
appSettings
override and corresponding toggle to enable DevTools (Thanks Kyza)bd-transparency
class is added todocument.body
when window transparency is enabled (Thanks Strencher)
- Removed all appearance related
Builtin
s including: 24 Hour Timestamps, Colored Text, Hide GIF/Gift Button, and MinimalMode
- Fixed
DebugLogs
throwing errors or not writingnull
,undefined
, and circular objects - Fixed guild utility classes not being added
- Fixed toast location
- Notices API (Thanks Strencher)
- Fixed outdates styles and classnames (Thanks Strencher)
- Fixed guild list classes being overwritten causing the public server button to not show
- Fixed finding the wrong module for
ActionTypes
in custom css module - Fixed not removing customcss upon disable
- Fixed media keys commandline switch not being applied
- Startup now waits for current user to be populated or for CONNECTION_OPEN event
- Fixed emote menu causing crashes
- Fixed loading sequence using wrong classes
- Fixed translations not falling back to English
- Fixed waiting for guilds due to class name changes
- Added Czech translation
- Added Spanish translation
- Added Hindi (partial) translation
- Added Italian translation
- Added Dutch translation
- Added Norwegian translation
- Added Portuguese (PT) translation
- Added Romanian translation
- Added Russian translation
- Added Turkish translation
window.webpackJsonp
is temporarily polyfilled for Canary but will be disappearing- Updated French translation
- Updated Germand translation
- Added
getPatchesByCaller
toBdApi.Patcher
- Internal react keys updated for new version in Discord (Thanks Strencher)
- Monaco editor now loads for all cases rather than just for custom css (Thanks Qb)
- MacOS on Discord non-canary will use the default
process
object
- Fixed failed plugin loads being permanently cached (Thanks Strencher)
- Fixed duplicate file renaming sometimes causing crashed (Thanks Strencher)
- Fixed plugin data retrieval when using falsey values
- Fixed plugin data being overwritten if a read did not occur first
- Fixed react dev tools time of installation to comply with linux injection. (Thanks Qb)
openDialog
function added toBdApi
to enable save/load of files.
- Emote menu now more seamlessly integrates with Discord.
- Support for other chrome profiles added when using React DevTools. (Thanks CrizGames)
- Console errors from plugins should now properly map to the local file.
- 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)
- Plugin loader now removes the used
script
tags - URLs reflect new website
- Fixed an issue with hiding GIF and Gift buttons
- Fixed certain plugin patches not returning values
- Fixed an issue with the settings patch failing
- Added an option to prevent Discord from hijacking the media keys.
- Added command line flag to launch a vanilla version of Discord
--vanilla
- Added an option for app-wide
ctrl+shift+c
shortcut for inspect element. - Added emote blocklist to
BdApi
viaBdApi.Emotes.blocklist
. - Added the ability to remove Discord's forced minimum window size.
- Added a basic core updater to hopefully prevent the need for future installs.
- Added an option to log out all console logs to file for developers.
- Added an option to disable Discord's console warning.
- Added translations for the following languages: French, Slovak, Polish, Portuguese (BR), Chinese (Traditional), Chinese (Simplified)
- Class normalizer was removed as it does more harm than good.
- Addon error modals got a makeover thanks to Strencher and Tropical
- Emotes are now downloaded as a single asar bundle as opposed to individual JSON files.
- Strings are now bundles with the main payload, but may move to a separate asar like the emotes.
BdApi
functions related to window preferences no longer work and are deprecated.- Guild classes are obtained later from webpack in case it's not loaded in fast enough.
- DataStore now has additional protections (
try..catch
).
- Fixed an issue with old METAs used in themes cause the css to render invalid.
- Fixed crashing issues with plugins using
Buffer
. - Fixed a bug for manual and 3rd party installations that don't create the BD folder.
- Fixed incorrect path usage for some Mac devices.
- Fixed colored text not doing anything.
- Fixed detached css window not loading saved css.
- Fixed an issue where toggling settings collections would remove incorrect panels.
- Fixed the file watchers not properly matching duplicate files.
- Fixed Hide GIF and Hide Gift options for Discord's changes
- Fixed public servers button not showing.
- Fixed multiple error modals showing on startup if multiple plugins had errors.
- Fixed incorrect styling on emotes.
- Fixed system editor edit buttons using an old Electron API (
openItem
vsopenPath
) - Fixed an issue for those using exclusively server folders
- Everything is entirely rewritten, for better or worse.
- Emotes and Custom CSS can be completely turned off for those not interested. It saves on memory too by not loading those components.
- Floating editors for both custom css and plugins/themes are now available.
- Monaco is now used as the main CSS editor, in place of Ace.
- Settings panels are completely new and sleek. They are also highly extensible for potential future features 👀
- Translations are now integrated starting with only a couple languages, but feel free to contribute your own!
- Public servers got a new makeover thanks to some design help from Tropical and Gibbu! We added settings to hide the Gif Picker and the Nitro Gift buttons in the textarea.
- Patcher API was added to
BdApi
underBdApi.Patcher
. The oldBdApi.monkeyPatch
was patched to use the Patcher as well. This allows plugins and patches to play nice with one another. - jQuery was removed from dependencies.
- General performance improvements throughout the app, from startup to emotes to addons.
- Exporting by plugins is now highly encouraged over trying to match your meta name and class name.
- Plugins and Themes pages have more options for sorting, views and more. The entire panel got a facelift!
- Blankslates have been added all over for that added UX.
- Several unused UI features have been removed for a more performant and usable experience.
- Debugger Hotkey is now a built-in feature!
- Minimal mode has been redesigned from the ground up and now works as intended.
- Emote menus are fixed and now use React Patching to properly integrate into the new Emoji Picker. (Thanks Strencher#1044!)