Browse Source

Merge branch '0.2.1b2' into feature/cost_tracker

MartinNYHC 3 months ago
parent
commit
5cda70a62c
4 changed files with 4 additions and 3 deletions
  1. 1 0
      .github/FUNDING.yml
  2. 1 1
      CHANGELOG.md
  3. 1 1
      backend/app/core/config.py
  4. 1 1
      docker-publish.sh

+ 1 - 0
.github/FUNDING.yml

@@ -1 +1,2 @@
 github: maziggy
+ko_fi: maziggy

+ 1 - 1
CHANGELOG.md

@@ -2,7 +2,7 @@
 
 All notable changes to Bambuddy will be documented in this file.
 
-## [0.2.1] - Unreleased
+## [0.2.1b2] - Unreleased
 
 ### Fixed
 - **Queue Stuck on "Busy" for "Any Model" Jobs** ([#435](https://github.com/maziggy/bambuddy/issues/435)) — When a print was queued with "Any [Model]" (e.g., "Any P1S"), it was created with `printer_id=NULL` and `target_model="P1S"`. After the assigned printer finished, the queue widget queried only for items matching `printer_id=X`, missing the next pending model-based item (`printer_id IS NULL`). With no next item found, the "Clear Plate & Start Next" button never appeared, leaving the scheduler stuck reporting "Busy". The queue API now accepts an optional `target_model` parameter; when combined with `printer_id`, it uses OR logic to also return unassigned items whose `target_model` matches the printer's model. The frontend passes the printer's model through to this query.

+ 1 - 1
backend/app/core/config.py

@@ -5,7 +5,7 @@ from pathlib import Path
 from pydantic_settings import BaseSettings
 
 # Application version - single source of truth
-APP_VERSION = "0.2.1"
+APP_VERSION = "0.2.1b2"
 GITHUB_REPO = "maziggy/bambuddy"
 
 # App directory - where the application is installed (for static files)

+ 1 - 1
docker-publish.sh

@@ -145,7 +145,7 @@ fi
 
 # Only tag as 'latest' for stable releases (not beta versions ending in 'b')
 TAG_LATEST=true
-if [[ "$VERSION" =~ b$ ]]; then
+if [[ "$VERSION" =~ b[0-9]*$ ]]; then
     TAG_LATEST=false
     echo -e "${YELLOW}Beta version detected — skipping 'latest' tag${NC}"
 fi