You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+67-6Lines changed: 67 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,75 @@
1
1
# Changelog
2
2
All notable changes to this project will be documented in this file.
3
3
4
-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
4
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
5
+
This project mostly adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html);
6
+
however, insignificant breaking changes does not guarantee a major version bump, see the reasoning [here](https://github.com/kyb3r/modmail/issues/319).
6
7
7
-
# [UNRELEASED]
8
8
9
-
### Changed
9
+
# v3.1.0
10
+
11
+
### Breaking
12
+
13
+
-`disable_recipient_thread_close` is removed, a new configuration variable `recipient_thread_close` replaces it which defaults to False.
14
+
- Truthy and falsy values for binary configuration variables are now interpreted respectfully.
15
+
-`LOG_URL_PREFIX` cannot be set to "NONE" to specify no additional path in the future, "/" is the new method.
16
+
17
+
### Added
10
18
19
+
-`?sfw`, mark a thread as "safe for work", undos `?nsfw`.
20
+
- New config variable, `thread_auto_close_silently`, when set to a truthy value, no message will be sent when thread is auto-closed.
21
+
- New configuration variable `thread_self_closable_creation_footer` — the footer when `recipient_thread_close` is enabled.
22
+
- Added a minimalistic version of requirements.txt (named requirements.min.txt) that contains only the absolute minimum of Modmail.
23
+
- For users having trouble with pipenv or any other reason.
24
+
- Multi-step alias, see `?help alias add`. Public beta testing, might be unstable.
25
+
- Misc commands without cogs are now displayed in `?help`.
26
+
-`?help` works for alias and snippets.
27
+
-`?config help <config-name>` shows a help embed for the configuration.
28
+
- Support setting permissions for sub commands.
29
+
- Support numbers (1-5) as substitutes for Permission Level REGULAR - OWNER in `?perms` sub commands.
30
+
31
+
### Changes
32
+
33
+
-`thread_auto_close_response` has a configurable variable `{timeout}`.
34
+
-`?snippet` is now the default command name instead of `?snippets` (`?snippets` is still usable). This is to make this consistent with `?alias`/`?aliases`.
35
+
-`colorama` is no longer a necessity, this is due to some unsupported OS.
11
36
- Changelog command can now take a version argument to jump straight to specified version.
37
+
-`?plugin enabled` results are now sorted alphabetically.
38
+
-`?plugin registry` results are now sorted alphabetically, helps user find plugins more easily.
39
+
-`?plugin registry page-number` plugin registry can specify a page number for quick access.
40
+
- A reworked interface for `?snippet` and `?alias`.
41
+
- Add an `?snippet raw <name>` command for viewing the raw content of a snippet (escaped markdown).
42
+
- Add an `?alias raw <name>` command for viewing the raw content of a alias (escaped markdown).
43
+
- The placeholder channel for the streaming status changed to https://www.twitch.tv/discordmodmail/.
44
+
- Removed unclear `rm` alias for some `remove` commands.
45
+
- Paginate `?config options`.
46
+
- All users configured with a permission level greater than REGULAR has access to the main Modmail category.
47
+
- Category overrides also changes when a level is removed or added to a user or role.
48
+
-`@everyone` is now accepted for `?perms add`.
49
+
50
+
### Fixes
51
+
52
+
-`?notify` no longer carries over to the next thread.
53
+
-`discord.NotFound` errors for `on_raw_reaction_add`.
54
+
-`mod_typing`~~and `user_typing`~~ (`user_typing` is now by-design to show) will no longer show when user is blocked.
55
+
- Better `?block` usage message.
56
+
- Resolves errors when message was sent by mods after thread is closed somehow.
57
+
- Recipient join/leave server messages are limited to only the guild set by `GUILD_ID`.
58
+
- When creating snippets and aliases, it now checks if another snippets/aliases with the same name exists.
59
+
- Was looking for `config.json` in the wrong directory.
60
+
61
+
### Internal
62
+
63
+
- Removed supporting code for GitHub interaction.
64
+
- All default config values moved to `core/config.py`.
65
+
-`config.cache` is no longer accessible, use `config['key']` for getting, `config['key'] = value` for setting, `config.remove('key')` for removing.
66
+
- Dynamic attribute for configs are removed, must use `config['key']` or `config.get('key')`.
67
+
- Removed helper functions `info()` and `error()` for formatting logging, it's formatted automatically now.
68
+
- Bumped discord.py version to 1.2.3.
69
+
- Use discord tasks for metadata loop.
70
+
- More debug based logging.
71
+
- Reduce redundancies in `?perms` sub commands.
72
+
- paginator been split into `EmbedPaginatorSession` and `MessagePaginatorSession`, both subclassing `PaginatorSession`.
12
73
13
74
# v3.0.3
14
75
@@ -171,7 +232,7 @@ Un-deprecated the `OWNERS` config variable to support discord developer team acc
171
232
### New Permissions System
172
233
173
234
- A brand new permission system! Replacing the old guild-based permissions (ie. manage channels, manage messages), the new system enables you to customize your desired permission level specific to a command or a group of commands for a role or user.
174
-
- There are five permission groups/levels:
235
+
- There are five permission levels:
175
236
- Owner [5]
176
237
- Administrator [4]
177
238
- Moderator [3]
@@ -193,7 +254,7 @@ The same applies to individual commands permissions:
193
254
194
255
To revoke permission, use `remove` instead of `add`.
195
256
196
-
To view all roles and users with permission for a permission group or command do:
257
+
To view all roles and users with permission for a permission level or command do:
0 commit comments