[PR #27] [MERGED] 0.1.5 final #906

Closed
opened 2026-05-06 12:33:53 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/maziggy/bambuddy/pull/27
Author: @maziggy
Created: 12/19/2025
Status: Merged
Merged: 12/19/2025
Merged by: @maziggy

Base: mainHead: 0.1.5-final


📝 Commits (10+)

  • b5df629 Updated version to 0.1.5
  • bc23db0 Fixed version number parsing in update module
  • adcefd3 Issue 1: Aborted prints showing "Unknown" in failure analysis
  • 3a8cdba Improve HMS error descriptions and wiki links
  • f22aced Update HMS error handling with comprehensive database and unknown filtering
  • 0bb7602 Fix printer card flicker when disconnecting
  • 99b5040 Fixed bug in archive card context menu
  • 5cd366c Fix browser tab crash on print completion (debounced invalidations)
  • c8b9a8e Summary of Changes
  • e248b41 Fixed bug where layer slider in gcode viewer was broken

📊 Changes

24 files changed (+2235 additions, -869 deletions)

View changed files

📝 .gitignore (+2 -0)
📝 CHANGELOG.md (+4 -3)
📝 backend/app/api/routes/archives.py (+46 -1)
📝 backend/app/api/routes/camera.py (+54 -42)
📝 backend/app/api/routes/printers.py (+94 -45)
📝 backend/app/api/routes/updates.py (+98 -15)
📝 backend/app/core/config.py (+1 -1)
📝 backend/app/main.py (+166 -146)
📝 backend/app/schemas/archive.py (+6 -0)
📝 backend/app/services/archive.py (+5 -2)
📝 backend/app/services/bambu_mqtt.py (+41 -1)
📝 backend/app/services/failure_analysis.py (+25 -36)
deploy/bambuddy.service (+31 -0)
📝 frontend/src/__tests__/hooks/useWebSocket.test.ts (+69 -44)
📝 frontend/src/api/client.ts (+2 -0)
📝 frontend/src/components/ContextMenu.tsx (+1 -0)
📝 frontend/src/components/EditArchiveModal.tsx (+49 -4)
📝 frontend/src/components/GcodeViewer.tsx (+63 -10)
📝 frontend/src/components/HMSErrorModal.tsx (+892 -54)
📝 frontend/src/components/ModelViewerModal.tsx (+3 -1)

...and 4 more files

📄 Description

Release Notes for 0.1.5

Highlights

This release focuses on stability improvements and bug fixes, with major fixes for browser freezing and UI responsiveness issues.

Bug Fixes

  • Browser freeze on print completion - Fixed a critical issue where the browser would freeze when a print completed with the camera stream open. The fix uses buffered camera frames instead of spawning duplicate ffmpeg processes.
  • Printer status "timelapse" effect - Fixed an issue where navigating to the printer page after a print completed showed metrics animating slowly from mid-print values to the final state. Printer status messages now bypass the throttled queue for immediate updates.
  • Timelapse auto-download - Complete rewrite with retry mechanism and support for multiple storage paths.
  • Timelapse detection for H2D - Fixed detection using the correct ipcam.timelapse field instead of xcam.timelapse.
  • Reprint from archive - Fixed bug where the print button sent the slicer source file instead of the sliced gcode.
  • Import shadowing bugs - Fixed ArchiveService import shadowing causing "cannot access local variable" errors.

New Features

  • Failure reason detection - Automatically detects failure reasons from HMS errors (filament runout, layer shift, clogged nozzle)
  • Hide failed prints filter - Toggle to hide failed/aborted prints with localStorage persistence
  • Docker test suite - Comprehensive tests for build, backend, frontend, and integration
  • Pre-commit hooks - Ruff linter and formatter for code quality
  • Code quality tests - Static analysis to catch import shadowing bugs automatically

Changes

  • Timelapse viewer default playback speed changed from 0.5x to 2x
  • Archive badges now show "cancelled" for aborted prints
  • WebSocket throttle reduced to 100ms for smoother updates
  • Added ffmpeg to Docker image

Upgrading

cd bambuddy && git pull && docker compose up -d --build

Or use the auto-update feature in Settings.


🔄 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/27 **Author:** [@maziggy](https://github.com/maziggy) **Created:** 12/19/2025 **Status:** ✅ Merged **Merged:** 12/19/2025 **Merged by:** [@maziggy](https://github.com/maziggy) **Base:** `main` ← **Head:** `0.1.5-final` --- ### 📝 Commits (10+) - [`b5df629`](https://github.com/maziggy/bambuddy/commit/b5df62922c318b8946aa37c45f9dccacc2cf145f) Updated version to 0.1.5 - [`bc23db0`](https://github.com/maziggy/bambuddy/commit/bc23db0149fdea4647a3aafdcadccdc84e7d1ce5) Fixed version number parsing in update module - [`adcefd3`](https://github.com/maziggy/bambuddy/commit/adcefd3a5bb0646b3da02d6d27a5c16310cae327) Issue 1: Aborted prints showing "Unknown" in failure analysis - [`3a8cdba`](https://github.com/maziggy/bambuddy/commit/3a8cdba1e3d23389c3c58ef8ce06f041e8887090) Improve HMS error descriptions and wiki links - [`f22aced`](https://github.com/maziggy/bambuddy/commit/f22acedc7dfc60b19ba5c41b283d6f16b73ad818) Update HMS error handling with comprehensive database and unknown filtering - [`0bb7602`](https://github.com/maziggy/bambuddy/commit/0bb76024fd6011ca867e6d29149044010c97b004) Fix printer card flicker when disconnecting - [`99b5040`](https://github.com/maziggy/bambuddy/commit/99b504079b0661da7c09961d94459930caeb450b) Fixed bug in archive card context menu - [`5cd366c`](https://github.com/maziggy/bambuddy/commit/5cd366ceac4761fdcd7363302fdb439a118a6040) Fix browser tab crash on print completion (debounced invalidations) - [`c8b9a8e`](https://github.com/maziggy/bambuddy/commit/c8b9a8e3d67101b2057a367e8ca334a6d8f0c67e) Summary of Changes - [`e248b41`](https://github.com/maziggy/bambuddy/commit/e248b41fad552d28b1f47c03f7f1e7d1be227423) Fixed bug where layer slider in gcode viewer was broken ### 📊 Changes **24 files changed** (+2235 additions, -869 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+2 -0) 📝 `CHANGELOG.md` (+4 -3) 📝 `backend/app/api/routes/archives.py` (+46 -1) 📝 `backend/app/api/routes/camera.py` (+54 -42) 📝 `backend/app/api/routes/printers.py` (+94 -45) 📝 `backend/app/api/routes/updates.py` (+98 -15) 📝 `backend/app/core/config.py` (+1 -1) 📝 `backend/app/main.py` (+166 -146) 📝 `backend/app/schemas/archive.py` (+6 -0) 📝 `backend/app/services/archive.py` (+5 -2) 📝 `backend/app/services/bambu_mqtt.py` (+41 -1) 📝 `backend/app/services/failure_analysis.py` (+25 -36) ➕ `deploy/bambuddy.service` (+31 -0) 📝 `frontend/src/__tests__/hooks/useWebSocket.test.ts` (+69 -44) 📝 `frontend/src/api/client.ts` (+2 -0) 📝 `frontend/src/components/ContextMenu.tsx` (+1 -0) 📝 `frontend/src/components/EditArchiveModal.tsx` (+49 -4) 📝 `frontend/src/components/GcodeViewer.tsx` (+63 -10) 📝 `frontend/src/components/HMSErrorModal.tsx` (+892 -54) 📝 `frontend/src/components/ModelViewerModal.tsx` (+3 -1) _...and 4 more files_ </details> ### 📄 Description Release Notes for 0.1.5 Highlights This release focuses on stability improvements and bug fixes, with major fixes for browser freezing and UI responsiveness issues. Bug Fixes - Browser freeze on print completion - Fixed a critical issue where the browser would freeze when a print completed with the camera stream open. The fix uses buffered camera frames instead of spawning duplicate ffmpeg processes. - Printer status "timelapse" effect - Fixed an issue where navigating to the printer page after a print completed showed metrics animating slowly from mid-print values to the final state. Printer status messages now bypass the throttled queue for immediate updates. - Timelapse auto-download - Complete rewrite with retry mechanism and support for multiple storage paths. - Timelapse detection for H2D - Fixed detection using the correct ipcam.timelapse field instead of xcam.timelapse. - Reprint from archive - Fixed bug where the print button sent the slicer source file instead of the sliced gcode. - Import shadowing bugs - Fixed ArchiveService import shadowing causing "cannot access local variable" errors. New Features - Failure reason detection - Automatically detects failure reasons from HMS errors (filament runout, layer shift, clogged nozzle) - Hide failed prints filter - Toggle to hide failed/aborted prints with localStorage persistence - Docker test suite - Comprehensive tests for build, backend, frontend, and integration - Pre-commit hooks - Ruff linter and formatter for code quality - Code quality tests - Static analysis to catch import shadowing bugs automatically Changes - Timelapse viewer default playback speed changed from 0.5x to 2x - Archive badges now show "cancelled" for aborted prints - WebSocket throttle reduced to 100ms for smoother updates - Added ffmpeg to Docker image Upgrading cd bambuddy && git pull && docker compose up -d --build Or use the auto-update feature in Settings. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 12:33:53 +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#906
No description provided.