Skip to content

Prepare 1.10.0 release#454

Merged
jacopotediosi merged 40 commits into
masterfrom
devel
Sep 18, 2025
Merged

Prepare 1.10.0 release#454
jacopotediosi merged 40 commits into
masterfrom
devel

Conversation

@jacopotediosi

Copy link
Copy Markdown
Owner

No description provided.

This commit fixes multiple issues with navigating menus using inline buttons.
If two menus were opened in the same chat, navigating the first would update the message of the second.
In some cases, inline buttons kept blinking due to missing callback answers (e.g., when downloading a file via /files).

It now simplifies message updates during menu navigation: each command receives the ID of the message whose buttons were pressed, allowing it to update the correct one.
It also ensures that every button press always receives a callback answer.
Uses my_chat_member instead of left_chat_member, because left_chat_member is only triggered in groups with a limited number of participants (and not in channels or private chats).
It doesn't do anything, but it's a Telegram convention. Adding the command prevents the bot from responding that it doesn't know it.
Display more information in a clearer layout, specifically showing both chat-enabled commands and individually enabled commands
This notification handles the case when the user runs the /status command while the printer is disconnected.
Previously, this notification existed but was not part of telegramMsgDict and was added manually at the bottom of the Notification messages tab.
This commit standardizes it with the other notifications.
This commit introduces a complete rewrite of the /files command:
- Improved logic and code readability
- Increased robustness against errors
- Copy and move operations can now navigate through folders
- Fixed files sorting by name (previously broken by emojis)
- More detailed error messages (e.g. when a path no longer exists)
- Ensured there are no edge cases causing crashes
Improve performance by creating command buttons only for the current page instead of generating all buttons and then paginating.
- Fixed broken implementations of filamentmanager and SpoolManager plugins
- Added ability to select which filament manager plugin to use when multiple are installed
- Implemented pagination for spool listings shown as command buttons
- Added a details sub-operation to display full spool information
- Updated the select operation to allow choosing the target tool for spool selection
- Performed a general refactor to improve code logic and readability
I talked to foosel, who plans to remove the API Key in OctoPrint 1.13.0. She said there will be a new way for plugins to obtain an API Key. Until then, the only solution for us is to retrieve the Global API Key from OctoPrint’s configuration.
Replaced f-strings with lazy %-style formatting in all logging statements.
This ensures string interpolation happens only if the log level is active, improving performance and consistency.
When emojis are disabled, adjacent spaces are now removed too, except when this would merge words. Previously, placeholders were stripped but surrounding spaces remained, leading to extra gaps in the text. Now spacing is normalized consistently.
Close #58.

- Allow uploading model files
- Allow viewing model files and their details, and slicing them via the /files command
- Add setting to hide models in /files
- Update command descriptions
- Add 'model' and 'slice' emojis
@jacopotediosi jacopotediosi merged commit 122b4ef into master Sep 18, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant