- Serial Connector supports printer firmware that does not send 'File selected' after 'File opened' messages, such as Prusa Buddy Firmware
- Empty print job progress is now handled properly, which can happen when the printer's job cannot be found
- Fixed stored XSS via a specially crafted default port or baudrate setting on the bundled Serial Connector plugin supplied through the API during a connect request
From OctoPrint
⚠️ Important note on release candidates
This is a Release Candidate of OctoPrint. It is not a stable release: severe bugs can occur, and they can be bad enough that they make a manual downgrade to an earlier version necessary - maybe even from the command line.
You should be comfortable with and capable of possibly having to do this before installing an RC.
🔁 Feedback on this RC
Please provide general feedback on this RC in this ticket. An "All is working fine" is valuable feedback as well because it tells me people are actually testing this RC and just not finding problems with it.
If you run into any obvious bugs, please follow "How to file a bug report" - I need logs and reproduction steps to fix issues, not just the information that something doesn't work.
Thanks!
Things to take a closer look at
For this RC, these things should get a closer look while testing, if possible:
- proper behaviour when using the included web interface as well as any third party clients at your disposal
- printing via a serial connection
- managing files on your printer's storage via a serial connection
- blocklisted serial ports and/or baud rates are properly migrated to the serial connector (one per line, not comma-separated)
- if your printer's disconnected state happens to be "after error", please report back on which connector you used and what the reported error is
- if you have a Klipper/Moonraker based printer available: can you use it through OctoPrint when you install the Moonraker Connector?
- if you have a Bambu based printer available: can you use it through OctoPrint when you install the Bambu Connector?
[!NOTE] As I'm still seeing a lot of so far unexplained "error" states, please take special note of item 5!
✋ Heads-ups
The heads-ups from 2.0.0rc1 still apply!
🔒 Security fixes
-
Stored XSS via saved connection parameters, severity Low (2.4): OctoPrint versions 2.0.0rc1 up until version 2.0.0rc6 are susceptible to cross-site scripting via a specially crafted default
portorbaudratesetting on the bundled Serial Connector plugin, supplied via the API as new defaults during aconnectrequest.See also the GitHub Security Advisory. A CVE has been requested but not yet been assigned by GitHub.
✨ Improvements
Serial Connector
- #5469: Support printer firmware that doesn't send
File selectedafterFile openedmessages (e.g. Prusa Buddy Firmware).
Docs
- Explain special handling of multipart requests.
🐛 Bug fixes
Core
- #5469: Properly handle empty print job
progress. Can happen if for some reason the printer's job cannot be found.
🎉 Special thanks to all the contributors!
Special thanks to everyone who contributed to this RC and provided full, analyzable bug reports!
Also a big thank you to @mahn-don for responsibly disclosing the security vulnerability fixed in this release.