Skip to content

v4.1.0 Release

Latest
Compare
Choose a tag to compare
@Taaku18 Taaku18 released this 26 Nov 21:56
· 7 commits to master since this release
768d4da

Drops support for Python 3.9. Python 3.10 and Python 3.11 are now the only supported versions.

Fixed

  • GIF stickers no longer cause the bot to crash.
  • ?alias make/create as aliases to ?alias add. This improves continuity between the bot and its command structure. (PR #3195)
  • Loading the blocked list with the ?blocked command takes a long time when the list is large. (PR #3242)
  • Reply not being forwarded from DM. (PR #3239)
  • Cleanup imports after removing/unloading a plugin. (PR #3226)
  • Fixed a syntactic error in the close message when a thread is closed after a certain duration. (PR #3233)
  • Removed an extra space in the help command title when the command has no parameters. (PR #3271)
  • Corrected some incorrect config help descriptions. (PR #3277)
  • Rate limit issue when fetch the messages due to reaction linking. (PR #3306)
  • Update command fails when the plugin is invalid. (PR #3295)

Added

  • ?log key <key> to retrieve the log link and view a preview using a log key. (PR #3196)
  • REGISTRY_PLUGINS_ONLY, environment variable, when set, restricts to only allow adding registry plugins. (PR #3247)
  • DISCORD_LOG_LEVEL environment variable to set the log level of discord.py. (PR #3216)
  • STREAM_LOG_FORMAT and FILE_LOG_FORMAT environment variable to set the log format of the stream and file handlers respectively. Possible options are json and plain (default). (PR #3305)
  • LOG_EXPIRATION environment variable to set the expiration time of logs. (PR #3257)
  • New registry plugins: autoreact and rename.
  • Improved join/leave message for multiple servers.

Changed

  • Repo moved to https://github.com/modmail-dev/modmail.
  • Channel name no longer shows -0 if the user has migrated to the new username system.
  • ?note and ?reply now allows you to send a sticker without any message.
  • Guild icons in embed footers and author urls now have a fixed size of 128. (PR #3261)
  • Discord.py internal logging is now enabled by default. (PR #3216)
  • The confirm-thread-creation dialog now uses buttons instead of reactions. (PR #3273)
  • ?disable all no longer overrides ?disable new. (PR #3278)
  • Dropped root privileges for Modmail running under Docker. (PR #3284)

Internal

  • Renamed Bot.log_file_name to Bot.log_file_path. Log files are now created at temp/logs/modmail.log. (PR #3216)
  • ConfigManager.get no longer accepts two positional arguments: the convert argument is now keyword-only.
  • Various dependencies have been updated to their latest versions.