Skip to content

Commit be6358c

Browse files
committed
improvements changelog.md
1 parent 665e67e commit be6358c

File tree

1 file changed

+53
-14
lines changed

1 file changed

+53
-14
lines changed

CHANGELOG.md

Lines changed: 53 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,66 @@ however, insignificant breaking changes do not guarantee a major version bump, s
99
# v4.2.1
1010

1111
### Added
12+
13+
**New Configuration Options:**
1214
* `unsnooze_history_limit`: Limits the number of messages replayed when unsnoozing (genesis message and notes are always shown).
1315
* `snooze_behavior`: Choose between `delete` (legacy) or `move` behavior for snoozing.
1416
* `snoozed_category_id`: Target category for `move` snoozing; required when `snooze_behavior` is `move`.
15-
* Thread-creation menu: Adds an interactive select step before a thread channel is created.
16-
* Commands:
17-
* `threadmenu toggle`: Enable/disable the menu.
18-
* `threadmenu show`: List current top-level options.
19-
* `threadmenu option add`: Interactive wizard to create an option.
20-
* `threadmenu option edit/remove/show`: Manage or inspect an existing option.
21-
* `threadmenu submenu create/delete/list/show`: Manage submenus.
22-
* `threadmenu submenu option add/edit/remove`: Manage options inside a submenu.
23-
* Configuration / Behavior:
24-
* Per-option `category` targeting when creating a thread; falls back to `main_category_id` if invalid/missing.
25-
* Optional selection logging (`thread_creation_menu_selection_log`) posts the chosen option in the new thread.
26-
* Anonymous prompt support (`thread_creation_menu_anonymous_menu`).
17+
* `snooze_store_attachments`: When enabled, image attachments are stored as base64 when snoozing with delete behavior, allowing them to be re-uploaded on unsnooze.
18+
* `snooze_attachment_max_bytes`: Maximum size per attachment to store as base64 (default: 4 MiB).
19+
* `thread_creation_menu_enabled`: Enable/disable the thread-creation menu feature.
20+
* `thread_creation_menu_timeout`: Timeout duration for user interaction with the menu (default: 30 seconds).
21+
* `thread_creation_menu_close_on_timeout`: Silently abort thread creation if user doesn't select an option.
22+
* `thread_creation_menu_anonymous_menu`: Anonymize the initial menu prompt relayed to staff.
23+
* `thread_creation_menu_embed_text`: Text shown in the embed above the selection dropdown.
24+
* `thread_creation_menu_dropdown_placeholder`: Placeholder text in the dropdown before selection.
25+
* `thread_creation_menu_selection_log`: Log the chosen menu option in the newly created thread channel.
26+
* `thread_creation_menu_precreate_channel`: Create thread channel immediately upon first DM even if menu is enabled.
27+
* `thread_creation_menu_embed_title`: Optional title for the thread-creation menu embed.
28+
* `thread_creation_menu_embed_footer`: Optional footer text for the menu embed.
29+
* `thread_creation_menu_embed_footer_icon_url`: Optional URL for the footer icon.
30+
* `thread_creation_menu_embed_thumbnail_url`: Optional thumbnail image URL.
31+
* `thread_creation_menu_embed_image_url`: Optional large hero image URL for the menu embed.
32+
* `thread_creation_menu_embed_large_image`: Promote thumbnail to large hero image if no separate image URL is set.
33+
* `thread_creation_menu_embed_color`: Color for the menu embed's side strip.
34+
35+
**Thread-Creation Menu Feature:**
36+
* Full thread-creation menu system with interactive select menus:
37+
* `?threadmenu toggle`: Enable/disable the menu globally.
38+
* `?threadmenu show`: List current top-level options.
39+
* `?threadmenu option add`: Interactive wizard to create an option.
40+
* `?threadmenu option edit/remove/show`: Manage or inspect existing options.
41+
* `?threadmenu submenu create/delete/list/show`: Manage submenus (nested menu levels).
42+
* `?threadmenu submenu option add/edit/remove`: Manage options inside submenus.
43+
* `?threadmenu dump_config`: Export current configuration to a file.
44+
* `?threadmenu load_config`: Import configuration from a file.
45+
* `?threadmenu reset`: Reset all thread-creation menu settings to defaults.
46+
* Per-option category targeting: Each menu option can specify a target category where threads are created.
47+
* Submenu support: Create up to 25 main-level options, each with up to 24 nested options.
48+
* Optional selection logging: Log which menu option was chosen in the newly created thread channel.
49+
* Anonymous menu support: Hide original prompt author context from staff when menu is anonymized.
50+
* Category fallback: If an option's category is invalid/missing, creation falls back to `main_category_id`.
51+
52+
**Snooze Enhancements:**
53+
* Attachment persistence for delete-behavior snoozing: Image attachments can now be stored as base64 data.
54+
* Enhanced unsnooze functionality with configurable message replay limits.
55+
* Auto-unsnooze task continuously monitors and automatically unsnoozes threads when duration expires.
2756

2857
### Changed
29-
- Renamed `max_snooze_time` to `snooze_default_duration`. The old config will be invalidated.
58+
- Renamed `max_snooze_time` to `snooze_default_duration` (accepts seconds or human-readable time like "7 days").
3059
- When `snooze_behavior` is set to `move`, the snoozed category now has a hard limit of 49 channels. New snoozes are blocked once it’s full until space is freed.
3160
- When switching `snooze_behavior` to `move` via `?config set`, the bot reminds admins to set `snoozed_category_id` if it’s missing.
32-
- Thread-creation menu options & submenu options now support an optional per-option `category` target. The interactive wizards (`threadmenu option add` / `threadmenu submenu option add`) and edit commands allow specifying or updating a category. If the stored category is missing or invalid at selection time, channel creation automatically falls back to `main_category_id`.
61+
- Thread-creation menu options and submenu options now support per-option `category` targeting.
62+
- Category selection in menu option wizards allows specifying ID, name, or mention format.
63+
- Snoozed thread restoration now respects `unsnooze_history_limit` (if set) to replay only the last N messages.
64+
- Enhanced auto-unsnooze task monitors and automatically unsnoozes threads when their snooze duration expires.
65+
- Snoozed threads can now be moved to a dedicated category instead of being deleted (via `snooze_behavior: move`).
66+
67+
### Fixed
68+
69+
- Corrected behavior when snooze channel count reaches the 49-channel limit in move-based snoozing.
70+
- Improved category resolution in threadmenu wizards (handles ID, name, and mention formats reliably).
71+
- Enhanced thread state restoration after unsnoozing to properly re-add all recipients.
3372

3473

3574
# v4.2.0

0 commit comments

Comments
 (0)