1
0
Fork 0
mirror of https://github.com/maziggy/bambuddy.git synced 2026-05-09 08:25:54 +02:00

[PR #288] [MERGED] v0.1.8.1 #994

Closed
opened 2026-05-07 00:15:22 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/maziggy/bambuddy/pull/288
Author: @maziggy
Created: 2/7/2026
Status: Merged
Merged: 2/7/2026
Merged by: @maziggy

Base: mainHead: 0.1.8.1


📝 Commits (9)

  • dccf85d Bumped version
  • 5803c8c Added missing toast messages to Spoolman settings
  • 0d0ed0e Updated README
  • 92308a8 Updated CONTRIBUTING.md
  • aa3482e Add printer_model to 18 FTP call sites for A1/A1 Mini, PS1 compatibility
  • 8e9d252 Housekeeping
  • 4b46e44 Fix critical FTP upload failure and revert dangerous exception narrowing
  • c77c9c3 Fix critical FTP upload failure and revert dangerous exception narrowing
  • e87a417 Merge branch 'main' into 0.1.8.1

📊 Changes

19 files changed (+412 additions, -198 deletions)

View changed files

📝 CHANGELOG.md (+10 -0)
DOCKERHUB.md (+113 -0)
📝 backend/app/api/routes/archives.py (+17 -13)
📝 backend/app/api/routes/library.py (+11 -11)
📝 backend/app/api/routes/print_queue.py (+2 -2)
📝 backend/app/api/routes/printers.py (+17 -10)
📝 backend/app/api/routes/updates.py (+18 -16)
📝 backend/app/core/config.py (+1 -1)
📝 backend/app/main.py (+13 -3)
📝 backend/app/services/archive.py (+11 -12)
📝 backend/app/services/bambu_ftp.py (+17 -28)
📝 backend/app/services/firmware_check.py (+3 -3)
📝 backend/app/services/firmware_update.py (+1 -0)
📝 backend/app/services/homeassistant.py (+6 -6)
📝 backend/app/utils/threemf_tools.py (+3 -4)
📝 docker-publish.sh (+120 -37)
📝 frontend/src/components/SpoolmanSettings.tsx (+3 -6)
📝 static/assets/index-BZQD54OI.js (+45 -45)
📝 static/index.html (+1 -1)

📄 Description

v0.1.8.1

🚨 Hotfix Release — v0.1.8.1

This is a critical hotfix for a bug introduced in v0.1.8 that broke printing on all printer models.

What happened

The security hardening in v0.1.8 included narrowing exception handlers across the codebase. One of these changes in the FTP module caused all file uploads to fail with a "550 Failed to change directory" error — meaning no prints could be started from any printer model (X1C, P1S, P1P, A1, A1 Mini, H2D, etc.).

What's fixed

  • FTP uploads work again — Removed a diagnostic routine that was crashing the upload path before the file transfer even started, and fixed exception handling across all FTP operations
  • HTTP 500 errors on print/reprint resolved — The 500 errors reported on /api/v1/archives/{id}/reprint and /api/v1/library/files/{id}/print were caused by the FTP failure above
  • Exception handling restored — Reverted overly-narrow exception handling in archive parsing, 3MF processing, Home Assistant integration, and firmware checks that could have caused additional uncaught errors
  • Patch version support — Version system now supports 4-segment versions (e.g. 0.1.8.1) for hotfix releases

Who should upgrade

All users — printing is completely broken without this fix.

Upgrading

Update as usual — Docker users: pull the latest image. Bare metal users: pull the latest code.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/maziggy/bambuddy/pull/288 **Author:** [@maziggy](https://github.com/maziggy) **Created:** 2/7/2026 **Status:** ✅ Merged **Merged:** 2/7/2026 **Merged by:** [@maziggy](https://github.com/maziggy) **Base:** `main` ← **Head:** `0.1.8.1` --- ### 📝 Commits (9) - [`dccf85d`](https://github.com/maziggy/bambuddy/commit/dccf85de7413263686fba5921b80c2e45162a1a4) Bumped version - [`5803c8c`](https://github.com/maziggy/bambuddy/commit/5803c8ceb11621b7f16a20711c150484cb44de1d) Added missing toast messages to Spoolman settings - [`0d0ed0e`](https://github.com/maziggy/bambuddy/commit/0d0ed0e4c18a66e23a679dc1c9f1fd8e77c4b3c7) Updated README - [`92308a8`](https://github.com/maziggy/bambuddy/commit/92308a8afa41f183108ffa90f9a33f4db2763fe5) Updated CONTRIBUTING.md - [`aa3482e`](https://github.com/maziggy/bambuddy/commit/aa3482e48b5de6891b86d7271a76d5cdafec38c5) Add printer_model to 18 FTP call sites for A1/A1 Mini, PS1 compatibility - [`8e9d252`](https://github.com/maziggy/bambuddy/commit/8e9d252ad3f87eba5037dcc2e470d2727ed417ca) Housekeeping - [`4b46e44`](https://github.com/maziggy/bambuddy/commit/4b46e443dc5ba41cf1c36701435df555f26839ba) Fix critical FTP upload failure and revert dangerous exception narrowing - [`c77c9c3`](https://github.com/maziggy/bambuddy/commit/c77c9c38fd2548c1228353afddcd01d776958ab4) Fix critical FTP upload failure and revert dangerous exception narrowing - [`e87a417`](https://github.com/maziggy/bambuddy/commit/e87a41795c2878dc25c131efe87faba47469e10f) Merge branch 'main' into 0.1.8.1 ### 📊 Changes **19 files changed** (+412 additions, -198 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+10 -0) ➕ `DOCKERHUB.md` (+113 -0) 📝 `backend/app/api/routes/archives.py` (+17 -13) 📝 `backend/app/api/routes/library.py` (+11 -11) 📝 `backend/app/api/routes/print_queue.py` (+2 -2) 📝 `backend/app/api/routes/printers.py` (+17 -10) 📝 `backend/app/api/routes/updates.py` (+18 -16) 📝 `backend/app/core/config.py` (+1 -1) 📝 `backend/app/main.py` (+13 -3) 📝 `backend/app/services/archive.py` (+11 -12) 📝 `backend/app/services/bambu_ftp.py` (+17 -28) 📝 `backend/app/services/firmware_check.py` (+3 -3) 📝 `backend/app/services/firmware_update.py` (+1 -0) 📝 `backend/app/services/homeassistant.py` (+6 -6) 📝 `backend/app/utils/threemf_tools.py` (+3 -4) 📝 `docker-publish.sh` (+120 -37) 📝 `frontend/src/components/SpoolmanSettings.tsx` (+3 -6) 📝 `static/assets/index-BZQD54OI.js` (+45 -45) 📝 `static/index.html` (+1 -1) </details> ### 📄 Description v0.1.8.1 🚨 Hotfix Release — v0.1.8.1 This is a critical hotfix for a bug introduced in v0.1.8 that broke printing on all printer models. What happened The security hardening in v0.1.8 included narrowing exception handlers across the codebase. One of these changes in the FTP module caused all file uploads to fail with a "550 Failed to change directory" error — meaning no prints could be started from any printer model (X1C, P1S, P1P, A1, A1 Mini, H2D, etc.). What's fixed - FTP uploads work again — Removed a diagnostic routine that was crashing the upload path before the file transfer even started, and fixed exception handling across all FTP operations - HTTP 500 errors on print/reprint resolved — The 500 errors reported on /api/v1/archives/{id}/reprint and /api/v1/library/files/{id}/print were caused by the FTP failure above - Exception handling restored — Reverted overly-narrow exception handling in archive parsing, 3MF processing, Home Assistant integration, and firmware checks that could have caused additional uncaught errors - Patch version support — Version system now supports 4-segment versions (e.g. 0.1.8.1) for hotfix releases Who should upgrade All users — printing is completely broken without this fix. Upgrading Update as usual — Docker users: pull the latest image. Bare metal users: pull the latest code. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 00:15:22 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bambuddy-maziggy-1#994
No description provided.