Explorar o código

Changelog: 1.3.2 entries for the cherry-picked fixes

- Copies the dev entries of the commits from #3519 to #3561 into
  the 1.3.2 section: 3 Added, 2 Changed, 15 Fixed
maziggy hai 5 días
pai
achega
d9f0b9e1e2
Modificáronse 1 ficheiros con 20 adicións e 0 borrados
  1. 20 0
      CHANGELOG.md

+ 20 - 0
CHANGELOG.md

@@ -5,10 +5,30 @@ All notable changes to Bambuddy will be documented in this file.
 ## [1.3.2] - Unreleased
 
 ### Added
+- **The MQTT relay's printer status has the door, extruder, filament and HMS errors, and the broker gets a Last Will (#3401, requested by @Tomat0r; #1850, requested by @DingoPD, contributed by @Keybored02 in #3541)** — Home Assistant had to poll REST for these. `bambuddy/printers/{serial}/status` now carries `door_open`, `active_extruder` (which nozzle prints on a dual-nozzle printer), `tray_now`, `ams`, `vt_tray` (the loaded filaments, with their type and colour) and `hms_errors`, in the shape the REST status has. The relay also tells the broker to publish `{"status": "offline"}` on `bambuddy/status` if the connection drops without a clean disconnect, so a crash or a killed container no longer leaves the retained `online` standing, and a printer dropping is published even when a regular update went out less than a second before.
+- **The profile editor offers the material types of the preferred slicer (#2928, requested by @doncaruana, contributed by @Keybored02 in #3544)** — The **Filament Type** dropdown of a filament profile was one list kept in Bambuddy, with types a slicer does not know (and without ones it does), so a profile could be valid here and not in the slicer. It now offers the types of the slicer chosen under Settings → Slicer: Bambu Studio's or OrcaSlicer's, which differ (Orca has SBS and the PA11/PA12 families, Bambu Studio has TPU-AMS). A profile keeps the type it has, imported or cloud-synced, even if the list does not have it, and changing the preferred slicer changes no existing profile.
+- **The slicer sidecars can be published on one address only (suggested by @pleasantone)** — The sidecar compose file published the slicer ports on every network interface, and the sidecars have no login. The new `SIDECAR_BIND` setting in `slicer-api/.env` limits them to one address: `127.0.0.1` when Bambuddy runs on the same host with its default `network_mode: host`. Left unset, nothing changes, so Bambuddy in bridge mode or on another host still reaches the sidecars
 
 ### Changed
+- **A slice sent again from the slicer adds a print to its archive (#1634, requested by @d3nn3s08, contributed by @Keybored02 in #3508)** — A print from the File Manager or the queue already joined the archive of its file, but a print sent from Bambu Studio or OrcaSlicer, or started on the printer, always got a new archive: the slicer writes a new 3MF each time it sends, so the file never matched, and the archive's print count stayed at one. Bambuddy now also keeps the hash of each archive's G-code, and a print whose G-code matches an archive nobody owns, in no project and not from a File Manager file adds a run to that archive. The archive takes the new 3MF in place of its old one and keeps its photos, timelapses, notes, tags and earlier runs; a name set by hand stays, and a name taken from the file follows the new file. While another print of it is running, the archive keeps its file and only gets the run. A model sliced again with other settings gets an archive of its own. OrcaSlicer writes the slicing time into the G-code, so with it only the same slice sent again matches. Archives made before are read once in the background after the update. Wiki updated.
+- **Choose which printer an "Any model" job takes (#2915, requested by @bryanmahin, contributed by @Keybored02 in #3547)** — Several printers of a model can take an "Any model" job, and the one with the fewest print hours always got it. **Settings > Workflow > Printer Order for Any-Model Jobs** now chooses: the fewest print hours (the default, as before), the most (use up the machines near replacement first), the printer idle the longest (by its last finished print; one that never printed goes first), or the printers' own priority, a number in **Edit Printer** (lowest first, none last). The order only ranks printers that can take the job: a busy, offline or filament-short printer is still passed over, and preferred colours still come first. Powering a printer on with an Auto Power On plug follows the same order.
 
 ### Fixed
+- **Spoolman mode reads the subtype and colour from a filament named after its product (#3561, reported by @ARGACE)** — Spoolman has no subtype or colour-name field, so Bambuddy reads both from the filament's name, and it only understood names it writes itself ("PLA Matte"). A filament named "Matte Scarlet Red", "Silk+ Baby Blue" or "Gold - Basic PLA" got its whole name as the subtype and no colour, so the spool form left the colour blank. The finish words (Basic, Matte, Silk, HF, ...) are now the subtype and the rest of the name is the colour, wherever the material stands in it. Saving a spool also renamed its Spoolman filament to "material subtype" on every save; the name is now only rebuilt when the material or subtype is changed.
+- **Spool labels print Chinese, Japanese and Korean (#3560, reported by @mohan456-wqs)** — Since labels embed Liberation Sans (#3553), every character was drawn in that font, which has no Chinese, Japanese or Korean, so names in those languages came out as empty boxes in the PDF and in the preview. Installing fonts in the container could not help, because labels only use the fonts Bambuddy embeds. A character Liberation Sans lacks is now drawn in Droid Sans Fallback (Chinese and Japanese) or Noto Sans KR (Korean), and only the characters a label uses are embedded. Long names are shortened by their real printed width. These fonts have no bold or italic, so CJK text on a bold or italic line prints in regular weight.
+- **A slot set to a support filament is a support slot (#3559)** — BambuStudio puts a support filament into an AMS slot as **PLA-S** (or **PA-S**), and a plate sliced with one asks for that type. Bambuddy wrote plain **PLA** instead, whether the slot was set with **Configure**, by assigning a spool or by linking a Spoolman spool, so a slot holding Support For PLA was offered to every PLA part and to nothing that needed support. Support W and Support For PLA/PETG came out as PLA and PETG. Bambu's support filaments now get Bambu's type, and a third-party or user preset whose name says "Support" gets PLA-S or PA-S over PLA or PA. Slots set up before this keep PLA until they are configured again. The spool form's built-in list, shown when no other preset source is available, also had wrong filament ids for most entries (Bambu PLA-CF was filed under Support W); they now match Bambu's.
+- **A group of weighed spools no longer shows a false weight mismatch** — With **Group** on, the collapsed row of a group compared the first spool's scale reading with the weight of the whole group, so a group of two or more weighed spools always showed a mismatch, and its **Sync** button re-synced only the first spool. The group row now shows no weight check; each spool in the expanded group keeps its own.
+- **"Any model" queue jobs only go to a printer whose nozzle fits (#3536, reported and fixed by @Eifel-Joe in #3554)** — A job queued for any printer of a model went to the first free one without looking at its nozzle, and the nozzle check before the start then failed it, even when another printer of the model had the right nozzle. With two A1s (0.4 mm and 0.6 mm), a file sliced for 0.6 mm could fail on the 0.4 mm one. Now a printer whose nozzles, including the nozzle rack on an H2C, don't fit the file is passed over. If no printer of the model fits, the job waits with "No A1 has a 0.6mm nozzle: ..." instead of failing, and starts by itself once a matching nozzle is fitted. A file or printer without a known nozzle size counts as fitting, as before. Waking a printer with its smart plug, moving a job held for low filament and auto-drying use the same check. A job for one specific printer is unchanged.
+- **Spool labels print Polish, Czech, Cyrillic and Greek letters (#3553, reported by @wsciekly83)** — Label PDFs used the PDF base font Helvetica, which only has Western European characters, so letters like ą, ę, ł, ś or ż and any Cyrillic or Greek text came out as empty boxes, although the inventory showed them correctly. Labels now embed Liberation Sans, which has the same letter widths, so the layout is unchanged. Chinese and Japanese characters are not covered yet
+- **The spool CSV import reads files saved by Excel with European regional settings (#3523, reported and fixed by @jayhemnani9910 in #3529)** — Excel in a comma-decimal locale (German, French, Dutch, Italian, ...) saves CSV with `;` between the fields and `,` as the decimal mark. The import only read commas, so the whole header became one unknown column and nothing was imported ("Required column 'material' is missing"). The separator is now taken from the header line, and in a `;` file a decimal comma in `cost_per_kg` and `weight_used` is read as a decimal point, so `24,99` imports as 24.99. Comma-separated files are read as before. Wiki updated.
+- **Long uploads to an A1 no longer end in a failed or unreadable print (#3538, reported by @SaadShaya7)** — Two problems at the handoff from a slow upload to the print command, seen with a 19 MB file that took three minutes. When the printer didn't confirm the upload, Bambuddy read the file size back, logged that the file was incomplete, and sent the print command anyway: the printer was still writing the file and either stayed idle or reported that it could not parse it. Bambuddy now keeps reading the size for up to two minutes, sends the print command once the file is complete, and otherwise retries the upload. And because the A1 sends no status while it receives a file, Bambuddy took the silence for a dead connection and reconnected just before the print command, which then failed the job. Silence during an upload, and in the minute after it, no longer counts as a dead connection; this also applies to firmware uploads.
+- **A failed slice for another printer is reported as failed (#3535, reported by @Jesse-Cachai)** — When the slicer failed on a 3MF with the picked printer, process and filament profiles, Bambuddy retried with the settings saved in the file and reported the slice as completed. Those settings are for the printer the file was made for, so a P1S project sliced for another printer came back as P1S G-code, with a believable print time and filament estimate. The retry now runs only when the file was made for the picked printer. For any other printer, or when either printer can't be told from the file or the profile, the slice fails with the slicer's error.
+- **A user moved out of Administrators is no longer an admin (#3533)** — Users carry an older admin role next to their groups, and either one made them an admin. The account created during setup has both, so moving it from Administrators to Operators left it with every admin right, still showing the Admin badge, and the user settings had no way to remove the role. The groups now decide: the role follows them wherever they change, in the user settings, on the groups, through the API and at LDAP or OIDC sign-in. Removing the last admin from Administrators is refused, as deactivating them already was. On the first start after the update, users who are not in Administrators lose the old admin role. If they are the only admins, they are added to Administrators instead.
+- **Spool assignments survive a printer reconnecting mid-print (#3526, reported by @SaadShaya7)** — After a short network drop, the first report of a reconnecting printer can show a slot with no filament type and colour `00000000`. Bambuddy only recognised an empty colour as a blank slot, so it read this as a different spool and removed the inventory assignment, even during a print. All four assignments on an A1 mini's AMS lite and an A2L's external spool were lost that way and had to be made again. A slot reporting `00000000` with no type now counts as blank: during a print the assignment is kept as a possible runout, otherwise it is unlinked only if the slot stays blank for two minutes. A clear filament, which also reports `00000000` but with its type, is not affected. The support package also no longer contains a virtual printer's serial number: for the A2L, P2S, H2 series and X2D models it appeared in full in the certificate log lines.
+- **The slicer sidecars run as a non-root user again (#3524, reported by @cubic3d)** — Since 1.3.1, both the Bambu Studio and the OrcaSlicer sidecar failed to slice when the container runs as another user than root, as in a Kubernetes pod with `runAsNonRoot`: the log showed `bambu-studio: Permission denied`. The new slicer releases unpack with folders only root can open; the images now open them to every user, and the image build stops if any folder stays closed. Needs the updated sidecar images.
+- **The H2 series' and the H3C's exhaust fan is labelled Exhaust (#3521, reported by @Spegeli)** — The printer card called fan 3 "Chamber Fan" on the H2D, H2D Pro, H2C, H2S and H3C. On these printers it is the exhaust fan in the back wall, which Bambu Studio names "Exhaust", as on the P2S and X2D. Only the X1 series and P1S call it the chamber fan. The badge is still always shown on these printers, since the fan is built in, and the confirmation after setting the fan names it the exhaust fan too.
+- **Spools keep their ids when the inventory moves by CSV (#3520, reported by @hurr1k4ne)** — The CSV export had no id column, so importing it on another instance numbered the spools anew, in the order of the file, and every printed label, whose QR code carries the spool's id, found the wrong spool or none. The export now writes each spool's id, and the import keeps it when that instance has never used it, which on a fresh instance is every id. An id already used there, also by a deleted spool, or named twice in the file gets a new one, and the preview says how many. The preview shows the id each spool keeps. A CSV without the column imports as before.
+- **A spool with a custom cloud preset gets it from a SpoolBuddy client too (#3519, reported by @pleasantone)** — With login on, each user signs in to Bambu Cloud separately. Assigning a spool from an API key, as a SpoolBuddy client does, had no signed-in user, so its custom preset (PFUS or PFCN) could not be looked up and the slot got Generic PLA, while the same assign from the web UI got the preset's own filament. Configuring a pre-assigned slot when the spool is inserted had the same problem, even for assignments made in the web UI. Both now use a user's sign-in: the API key's owner, and whoever made the assignment. A custom preset that still can't be looked up is now named in the log.
 
 
 ## [1.3.1] - 2026-11-11