Releases: replugged-org/replugged
Releases · replugged-org/replugged
v4.10.0
What's Changed
✨ Enhancements
- Add nested settings support to the
useSetting
hook (eb68553) (by @yofukashino in #487) - Add the
byPrototype
filter and its dedicated functions to find modules by prototype (767e2a0) (by @yofukashino in #507) - Add the
byStoreName
filter andwaitForStore
to wait for a module containing a store (cdfedc5) (by @yofukashino in #626) - Add
localStorage
in common modules (a4a6b87) (by @yofukashino in #669) - Add
classNames
in common modules (https://github.com/JedWatson/classnames) (8b992bd) (by @yofukashino in #702) - Enable media permission for content requiring audio/video access (allows to use functions such as
getUserMedia
andgetDisplayMedia
) (aff0c62) (by @yofukashino in #699) - Enable more developer/staff only settings when the experiments setting is turned on; added a new advanced option in settings to control whether to show internal developer tools (e3ca6d9) (by @fedeericodl)
- Show the experiment embed in chat (
dev://experiment/EXP_NAME
) when the experiments setting is turned on (c2784b4) (by @fedeericodl)
🐞 Bug Fixes
- Fixed an issue with the
guilds
common module not having all methods from theGuildsStore
; also expands themessages
common module with all methods from theMessagesStore
(38f04c0) (by @fedeericodl) - Fixed an issue with the
Button
component being undefined (e19f372) (by @fedeericodl) - Fixed an issue with the
TextInput
component being undefined (f3e8904) (by @fedeericodl) - Fixed an issue with our settings not rendering correctly due to recent Discord's CSS variables changes (9e00945) (by @fedeericodl)
- Fixed an issue with our preload script injection which would've tried to load in OpenAsar settings (f3e3f9f) (by @fedeericodl in #698)
- Fixed an issue with new versions of React DevTools where the source link button wouldn't work with patched modules (98dbe34) (by @yofukashino in #696)
📰 Other Changes
- Updated build config to emit PNGs as files instead of data URL (70435a0) (by @yofukashino in #695)
- Use the new
classNames
common module for managing conditionally class names (318e573) (by @fedeericodl) - Dependencies updates (98f456c) (by @fedeericodl)
Full Changelog: v4.9.2...v4.10.0
v4.9.2
What's Changed
✨ Enhancements
- Add a new option in general settings to enable Discord's custom title bar for Linux (e860094) (by @yofukashino in #644)
- Apply themes and Quick CSS to popout windows and overlay (22bb37a) (by @yofukashino in #683)
- Add a list of addons or coremods applying plaintext patches to each patched webpack module for better debugging (6019e9c) (by @yofukashino in #639)
- Export
runtimeHashMessageKey
with thei18n
common module, helpful to use hashed message keys (6ac1e24) (by @yofukashino in #668)
🐞 Bug Fixes
- Fixed an issue with webpack chunk patching due to the new wasm loader entry script that has been added (ec3f73a) (by @yofukashino)
- Fixed an issue with how the webpack patch is loaded by ignoring all other entry scripts and only accept the main one (web) (c8264ea) (by @fedeericodl)
- Fixed an issue with
fluxHooks
being undefined due to theshallow-equal
module getting updated (b28d6d4) (by @fedeericodl) - Fixed an issue with custom slash commands not executing (244d556) (by @yofukashino in #684)
- Fixed an issue with the Quick CSS editor overflowing the settings page on Windows (6fc7c17) (by @Leo40Git in #687)
- Fixed an issue with some i18n strings that had incorrect syntax and improve consistency with Discord's strings (39a293f) (by @fedeericodl in #690)
📰 Other Changes
- Move patched modules scripts to the
/assets/patched/
directory (35fbc4d) (by @yofukashino in #693) - Dependencies updates (31ffdf7) (by @fedeericodl)
Full Changelog: v4.9.1...v4.9.2
v4.9.1
What's Changed
✨ Enhancements
- Adds the ability to reply to a message with a custom slash command (417edf4) (by @yofukashino in #633)
🐞 Bug Fixes
- Fixed an issue with the bin file importing the wrong build plugin (2e5be53) (by @fedeericodl in #681)
- Fixed an issue with the updater showing an available update for Replugged every time (1b1053a) (by @fedeericodl in #682)
Full Changelog: v4.9.0...v4.9.1
v4.9.0
What's Changed
🌟 Highlights
- Fixed a long-standing bug in the client mod ignition process by refactoring parts to run synchronously and improve performance (more details on the pull request): (c31e8a9) (by @fedeericodl in #678)
- Settings API is now synchronous.
- Fixed the
i18n
common module being undefined. - Fixed the
notrack
coremod plaintext patches. - Update
HelpMessageTypes
from theNotice
component to use string values.
✨ Enhancements
- Automatically close the Discord client and open it back on plug/unplug/replug (9b6f8d1) (by @yofukashino in #517)
- Updated styles to be consistent with the Desktop Visual Refresh update: (985ba0a) (by @fedeericodl in #680)
- Styles now use the new spacing variables to be more consistent with everything else. This also adds support for UI density, specifically how much space there is between each addon in the list. Addon cards now have a subtle border, again for consistency and for greater distinction when in light or onyx theme.
- Handle style changes if the mod's notices are present; class names are added to the outer frame to add rounded edges or not.
- Update duration formatting in updater settings to use localized strings.
🐞 Bug Fixes
- Fixed the
rpc
coremod using an undefined module (4a24f5f) (by @yofukashino in #666) - Fixed an issue with menu patches not being applied to some variants (189b760) (by @yofukashino in #670)
- Fixed plaintext patches of
badges
,experiments
,language
,noDevtoolsWarning
,notices
coremods and change toast types from numbers to strings (d984457) (by @fedeericodl in #675) - Fixed the
messagePopover
coremod using an undefined module (3476be2) (by @fedeericodl in #676)
📰 Other Changes
- Update
ESLint
to v9, more control on its configuration and update all outdated dependencies (8aa1254) (by @fedeericodl in #672)
Full Changelog: v4.8.4...v4.9.0
v4.8.4
What's Changed
✨ Enhancements
- Completely disable Sentry (tracking) and avoid client mod detection (1ba4d93) (by @yofukashino in #663)
🐞 Bug Fixes
- Fixed multiple components being undefined and crash the app (5ebd1fb) (by @yofukashino in #664)
- Fixed custom notices not being shown (2f33065) (by @fedeericodl in #665)
- Fixed various coremods: (01a09ab) (by @yofukashino in #661)
- Fixed the
badges
plaintext patch. - Fixed an issue with
notrack
preventing from changing some user settings.
- Fixed the
- Fixed an issue with viewing the source of an injected React component from React DevTools not showing the correct render function (71930e4) (by @yofukashino in #660)
Full Changelog: v4.8.3...v4.8.4
v4.8.3
What's Changed
🌟 Highlights
- Fixed the app crashing after Discord switched to their new i18n system: (3f1c9a7) (by @fedeericodl in #654)
- Refactored Replugged’s i18n system to align with
discord-intl
, utilizing new esbuild-compatible tools to load and transform i18n messages. Added a types generator for accurate i18n string typing. - Added support for the
es-419
language (Español, LATAM) and corrected the NaN value in the language user settings.
- Refactored Replugged’s i18n system to align with
- Refactored major portions of the Context Menu API (coremod) for improved readability and reduced type casting: (66f4216) (by @fedeericodl in #651)
- Fixed the app crashing when using
useState
React hook on menu items (e.g.MenuCheckboxItem
). - Added support for dynamic
sectionId
andindexInSection
values in menu items, allowing functions to determine their values based on the menu's props. - Updated menu component types to align with the latest app build.
- Fixed the app crashing when using
🐞 Bug Fixes
- Fixed an issue with toasts not being displayed in case an addon fails to enable or disable, due to missing strings or non existent variables (44bbe58) (by @fedeericodl in #654)
- Fixed an issue with the watching mode of an addon which would've showed both success and failed toasts in case the reload failed (d92bf84) (by @fedeericodl in #654)
- Fixed an issue with the utility function
virtualMerge
to properly handle prototype objects when using the.all()
method, and filter out common Store keys (initialize
andconstructor
) (5afc587) (by @yofukashino in #641) - Fixed an issue after a Discord app update on Linux (1df7737) (by @yofukashino in #650)
📰 Other Changes
- Removed
node-fetch
and@octokit/rest
dependencies, reducing the size of the built main.js by ~60% (~650kb to ~250kb) (8f02573) (by @fedeericodl in #654) - Dependencies updates (d92bf84) (by @fedeericodl in #654)
Full Changelog: v4.8.2...v4.8.3
v4.8.2
What's Changed
🐞 Bug Fixes
- Fixed various coremods: (e0b9ed3) (by @fedeericodl in #648)
- Fixed the
messagePopover
plaintext patch. - Fixed the app crashing while trying to type after a bot mention.
- Fixed the custom slash commands not showing in the mod's category.
- Fixed the
notice
plaintext patch. - Fixed Sentry from erroring in console.
- Fixed an issue with the language settings page that duplicated elements within select inputs.
- Fixed the
- Fixed the
constants
common module: (3835e26) (by @fedeericodl in #649)- Fixed the
Scopes
property being undefined. - Correct the
CSSVariables
module.
- Fixed the
- Fixed the
i18n
common module not being found correctly; fix the mod not loading (f731e09) (by @fedeericodl in #647) - Fixed badge colors not being applied correctly (c890d46) (by @fedeericodl in #642)
- Fixed splash themes not applying due to incorrect key usage in addon manifest (26acb64) (by @yofukashino in #638)
- Fixed websocket crash when clicking on the "fake" user of custom slash commands (706d241) (by @yofukashino in #614)
📰 Other Changes
- Support Windows machines for
prepublishOnly
andpostpublish
scripts (d5dfc36) (by @yofukashino in #643)
Full Changelog: v4.8.1...v4.8.2
v4.8.1
What's Changed
✨ Enhancements
🐞 Bug Fixes
- Fixed crashes and improve mod stability (92a4fd4) (by @colin273 in #636)
- Fixed badges not loading on the new profile designs (9763356) (by @fedeericodl in #637)
- Fixed scripts not catching and exiting if the mod or addon building fails (40eb0a4) (by @fedeericodl in #634)
📰 Other Changes
- Dependencies updates (914e2e0) (by @fedeericodl in #630)
New Contributors
Full Changelog: v4.8.0...v4.8.1
v4.8.0
v4.7.13
4.7.13