github replugged-org/replugged v4.11.0

19 hours ago

What's Changed

⭐ Highlights

  • Added a new setting to toggle Quick CSS (2c86d71) (by @yofukashino in #737)
  • Added the ability to recall the last used custom slash command by pressing the up key (2c598e5) (by @yofukashino in #717)
  • Added a custom theme color for the Replugged's notices (d68b127) (by @yofukashino in #711)
  • Refreshed the UI of Replugged's settings:
  • Added a new coremod for decoding React error codes, showing the error message directly instead of a code (1bd34cf) (by @yofukashino in #733)
  • Added custom tray menu items; one to show the current version, one for updating Replugged (useful if the updater can't be opened), and another as a shortcut to developer tools (a53982c) (by @yofukashino in #740)
  • Added an advanced setting to toggle whether Discord hides the token in localStorage when developer tools are open; previously this was always enabled, but it is now configurable and disabled by default (58b8a0e) (by @fedeericodl)
  • Added support for theme presets, allowing themes to offer multiple built-in variations (d16dc24) (by @12944qwerty in #570)
  • Added a new setting for managing transparency of the window (3a4f0c5) (by @EastArctica in #540)
  • Added a new setting for disabling the minimum size restrictions of the window (c771d6f) (by @fedeericodl)
  • Added a patch to automatically keep Replugged plugged after Discord updates on Windows, with a new toggle available in settings (203d078) (by @yofukashino in #707)

✨ Enhancements

  • Added getBoundMethods in util to create an object with all prototype methods bound to a given instance (546b998) (by @fedeericodl)
  • Added info and verbose methods to the Logger (c3dd97e) (by @yofukashino in #727)
  • Added support for stream and supportFetchAPI on our protocol (088409c) (by @yofukashino in #732)
  • Added useValue on SettingsManager for accessing settings in React components with automatic updates when values change (6d1abfe) (by @yofukashino in #704)
  • Export wpRequire and sourceStrings for more advanced webpack module searches (347e97b) (by @yofukashino in #734)
  • Enabled more staff only features when the experiments setting is turned on:
    • Show the Mana playground embed (Discord's custom Storybook implementation for the new Mana design system) in chat (dev://mana/COMPONENT_NAME) when the experiments setting is turned on (c3ae426) (by @fedeericodl)
    • Show the Playgrounds and Build Overrides (when available) menu items in the User Settings cog menu, and add the Playgrounds tab in the Staff Help Popout when the experiments setting is turned on (7834bf4) (by @fedeericodl)
  • Download and use React DevTools from Chrome Web Store; the extension is now always updated to the latest version (ea67967) (by @fedeericodl)
  • Added support for \i and $exports placeholders in plaintext patches and filters (fc82ad3) (by @yofukashino in #706)
  • Added getComponentBySource to search modules for React components, including ones wrapped with React.memo and React.forwardRef (c7a56ee) (by @fedeericodl)
  • Added discord-client-types, centralized, always up-to-date type definitions for Discord modules, reducing the need for Replugged updates due to minor type changes (32b83d2) (by @fedeericodl in #736):
    • Remove all previously bundled component types;
    • Add new components: Anchor, Breadcrumbs, SearchBar and TabBar;
    • Replace legacy TextInput with the new TextInput from Mana;
    • Add marginStyles common module: replaced inline margins with standardized classes.
  • Added KeyRecorder component for recording keyboard combinations (d616afc) (by @yofukashino in #511)
  • Added data attributes for themes on the root element, messages, avatars, and TabBars (d3c50f6) (by @yofukashino in #719)
  • Added ColorPicker component for selecting colors (ecb7f0e) (by @yofukashino in #694)
  • Updated components and Replugged settings to be similar to the new Discord settings arrangement (57790be) (by @fedeericodl):
    • Add new components: FieldSet, FormControl and Stack;
    • Remove all components that have an "Item" variant: use the new label and description Discord added to the base components;
    • Replace legacy TextArea with the new TextArea from Mana.

🐞 Bug Fixes

  • Fixed an issue with virtualMerge failing when ownKeys needs to return duplicate keys (5429962) (by @yofukashino in #730)
  • Fixed an issue with custom slash command attachments being undefined (5da33b5) (by @yofukashino in #716)
  • Fixed an issue with images not appearing when using ephemeral custom slash commands (5d03adf) (by @yofukashino in #715)
  • Log a warning if the plaintext patch had no effect; can be silenced by setting the warn flag of a plaintext patch to false (06d1013) (by @yofukashino in #729)
  • Fixed an issue with our custom version in settings not being shown (63c83ac) (by @fedeericodl)
  • Wrap setting pages with ErrorBoundary to avoid crashing the whole client if an error occurs (0064dd6) (by @fedeericodl)
  • Fixed an issue with the FormText component being undefined (fe5d21d) (by @fedeericodl)
  • Fixed an issue with the language coremod's plaintext patches (893701e) (by @fedeericodl)
  • Fixed an issue where user profile modals opened from an addon author were showing incomplete profile data (05bee34) (by @fedeericodl)

📰 Other Changes

Full Changelog: v4.10.2...v4.11.0

Don't miss a new replugged release

NewReleases is sending notifications on new releases.