Repository navigation
Releases
Releases · Rdiger-36/HaspelSync
v1.4.2
What's Changed
Fixes
- fix: hold at most one MQTT client per printer by @zsiddique in #290
Maintenance
- chore: version 1.4.2 by @Rdiger-36 in #291
New Contributors
- @zsiddique made their first contribution in #290
Full Changelog: v1.4.1...v1.4.2
Contributors
Thanks to @Rdiger-36 @zsiddique.
Docker
docker pull ghcr.io/rdiger-36/haspelsync:1.4.2
docker pull ghcr.io/rdiger-36/haspelsync:latest
docker pull ghcr.io/rdiger-36/bambulab-ams-spoolman-filamentstatus:1.4.2
docker pull ghcr.io/rdiger-36/bambulab-ams-spoolman-filamentstatus:latestDetailed changes
- Fixes:
- A printer is held on one MQTT connection. The service checked port 8883 of a connected printer on every pass, and a P1S with few free client slots failed that check while the live connection kept working. The printer was then reported as unreachable and got a second connection beside the first, then a third on the next miss, until the printer accepted no one else: Bambu Studio, OrcaSlicer and Home Assistant could not connect while the service ran, and stopping the container freed the port within seconds (issues #15 and #64). A connected printer is no longer checked, a new connection first closes the one the printer still holds, and a dropped connection is no longer revived in the background by the MQTT library. Thanks to @zsiddique (PR #290)
v1.4.1
What's Changed
New Features
- feat: show where the sliced file came from on the print card by @Rdiger-36 in #286
Fixes
- fix: read a cloud print from its cloud link when the printer has no copy by @Rdiger-36 in #284
Documentation
- docs: a USB stick is needed for LAN prints only by @Rdiger-36 in #288
Maintenance
- chore: version 1.4.1-dev.1 by @Rdiger-36 in #285
- chore: version 1.4.1-dev.2 by @Rdiger-36 in #287
- chore: version 1.4.1 by @Rdiger-36 in #289
Full Changelog: v1.4.0...v1.4.1
Contributors
Thanks to @Rdiger-36.
Docker
docker pull ghcr.io/rdiger-36/haspelsync:1.4.1
docker pull ghcr.io/rdiger-36/haspelsync:latest
docker pull ghcr.io/rdiger-36/bambulab-ams-spoolman-filamentstatus:1.4.1
docker pull ghcr.io/rdiger-36/bambulab-ams-spoolman-filamentstatus:latestDetailed changes
- New Features:
- The print card says where the sliced file came from, as one more entry next to the times: "Sliced file from the printer" with a USB stick icon or "from the cloud" with a cloud icon, and "not found" in red once the last attempt came up empty. The print's report keeps it, so a booking that looks wrong can be traced back to its file afterwards. `/api/print` carries it as `sliceSource`, `printer` or `cloud`, and the report as the same field (issue #281)
- Fixes:
- A cloud print sent from Bambu Studio 2.9.2 or newer is booked again. Bambu Studio 2.9.2 sends a print to a printer bound to the cloud through the cloud first, and the printer then keeps the file in its internal storage, where FTPS cannot see it; the X1 series is affected as well, which kept every cloud print on its SD card before. The printer announces the job with the link it downloads it from, and when the file is not on the printer the service downloads it from that link, checked against the md5 Bambu Studio sent. The link is valid for an hour after the start and kept in printers/printstate.json, so a restart of the service within that hour still finds the file. When it cannot be used, the log says why after the usual "No sliced file on the printer" (issue #281)
- A printer without a USB stick or SD card no longer reads as "nothing will be booked": a cloud print is booked from its link without one. The print card, its help and the log say that only a cloud print can be booked until a stick is in (issue #281)
v1.4.0
What's Changed
Breaking Changes
- Run the image as the unprivileged node user by @Rdiger-36 in #268
New Features
- Support Spoolman Native RFID Tags for AMS Spool Matching and Creation by @saileshkotha in #254
- Support the H3C and its AMS 3H, show running dryers in a card of their own by @Rdiger-36 in #263
Fixes
- fix: a linked slot reports no merge candidate by @Rdiger-36 in #255
- fix: read the newest copy of a sliced file reprinted under the same name by @Rdiger-36 in #259
- fix: release the assignment of a spool a refill ran empty, offer to correct its weight by @Rdiger-36 in #260
- Answer a slot action without a target with a code instead of a TypeError by @Rdiger-36 in #264
- Mask chip numbers, hotend serials and integer addresses in the anonymised trace by @Rdiger-36 in #265
- Say the chown for the data directories is for a Linux host by @Rdiger-36 in #271
- Book a printer named slot on its own spool only by @Rdiger-36 in #274
- fix: split an AMS refill on an A1 or a P1 at the slot change by @Rdiger-36 in #276
- fix: keep an opaque spool off a translucent catalogue entry by @Rdiger-36 in #279
Deprecations
- Name 1.5.0 as the end of the old image name by @Rdiger-36 in #269
Documentation
- docs: native Spoolman tags, the migration and the cleanup by @Rdiger-36 in #256
- Plan the end of the old image name with 1.5.0 by @Rdiger-36 in #272
- docs: document 1.4.0 by @Rdiger-36 in #282
Maintenance
- chore: version 1.3.8-dev.1 by @Rdiger-36 in #257
- chore: bump the npm-minor-and-patch group across 1 directory with 3 updates by @dependabot[bot] in #258
- chore: version 1.3.8-dev.2 by @Rdiger-36 in #261
- chore: version 1.3.8-dev.3 by @Rdiger-36 in #266
- chore: version 1.4.0-dev.1 by @Rdiger-36 in #270
- chore: version 1.4.0-dev.2 by @Rdiger-36 in #275
- chore: version 1.4.0-dev.3 by @Rdiger-36 in #277
- chore: version 1.4.0-dev.4 by @Rdiger-36 in #280
- chore: version 1.4.0 by @Rdiger-36 in #283
New Contributors
- @saileshkotha made their first contribution in #254
Full Changelog: v1.3.7...v1.4.0
Contributors
Thanks to @Rdiger-36 @dependabot @saileshkotha.
Docker
docker pull ghcr.io/rdiger-36/haspelsync:1.4.0
docker pull ghcr.io/rdiger-36/haspelsync:latest
docker pull ghcr.io/rdiger-36/bambulab-ams-spoolman-filamentstatus:1.4.0
docker pull ghcr.io/rdiger-36/bambulab-ams-spoolman-filamentstatus:latestDetailed changes
- Breaking:
- The image runs as the unprivileged user `node`, uid and gid 1000, instead of root, and nothing in the container runs as root any more, `docker exec` and `debug-printers` included. A compromised service can no longer act as root inside the container (issue #267)
- An installation on a Linux host or a NAS with bind mounted `printers/` and `logs/` directories has to hand them to that user once, because everything the earlier images wrote there belongs to root: `sudo chown -R 1000:1000 <printers directory> <logs directory>` on the host. Until then the container stops on start and its log names the directories and this command, instead of failing on the first save
- Docker Desktop on macOS and Windows needs nothing, a folder shared from the host is writable for every user in the container. Only a folder inside the WSL file system follows Linux permissions, and the same command is run in the WSL shell there
- A named volume needs nothing. Another user is set with `user:` in the Compose file or `--user` on `docker run`, and the directories then belong to that user
- Deprecated:
- The old image name ghcr.io/rdiger-36/bambulab-ams-spoolman-filamentstatus receives its last release before 1.5.0. From 1.5.0 on, every version is published as ghcr.io/rdiger-36/haspelsync only. A container that runs from the old name says so with this version in its log, in the dialog on the dashboard and under System on the settings page, where it said "for a transition period" before. `/api/notices` carries the version as `stopsAt` in `legacy-image`, `/api/system` as `imageStopsAt`
- New Features:
- An original Bambu Lab spool is linked through Spoolman's own tags. Spoolman 0.27.0 and newer hold the tag of a spool natively, and a spool created or merged against such a Spoolman gets the serial number of its RFID chip as a native tag. A native tag belongs to one spool only, so two records can no longer claim the same physical spool the way two equal extra fields could. The extra field `tag` is still read, a spool linked before is recognised exactly as it was, and an older Spoolman is linked through the extra field as before. Based on the proposal in PR #254
- Spools linked before can be migrated. The "Spool tags" card in the Spoolman section of the settings says how many spools carry their tag only in the extra field, and "Migrate now" gives each of them the native tag, archived spools included. The extra field stays in place, so the migration can be repeated and nothing that reads the field stops working. A spool that shares its tag with another one is listed with the spool that holds it rather than migrated. The dashboard offers the same migration once, the first time it finds spools to migrate
- "Also write extra.tag" in the advanced part of the Synchronisation card, on by default (`WRITE_EXTRA_TAG`). Switched off, a new or merged spool is linked through the native tag alone, for an installation where nothing else reads the extra field. It changes what is written, never what is read
- A tag another tool put on a spool is left alone. An NFC sticker, an OpenPrintTag or the chip number of a Bambu Lab spool does not make the spool count as linked: it can still be merged, and "Never merge a tagged spool" looks only at the link this service writes
- "Clear extra fields" on the same card empties the extra field on the spools that carry the same tag natively. It is offered only once every spool is migrated and "Also write extra.tag" is off, it asks first, and a spool that could not be migrated keeps its field. Nothing needs it: the field can stay for good
- `GET /api/spoolman/tags`, `POST /api/spoolman/tags/migrate` and `POST /api/spoolman/tags/cleanup` report and run both over the API
- The header of the AMS 3H shows humidity and temperature of its two compartments the way Bambu Studio does: the seven ordinary slots together, the drying slots 6 and 8 (`E6`, `E8`) on their own. The unit itself reports no reading, only its zones, and the dryer is the zone of two slots, which is how Bambu Studio tells it apart (issue #262)
- Running dryers get a card of their own above the slot tables, one row per unit, on the AMS 2 Pro, the AMS HT and the AMS 3H alike: what the dryer is doing, the temperature and filament it was set to, a progress bar where the setting says how long it runs, and the time left in hours and minutes. The state is read the way Bambu Studio reads it, so a dryer cooling down after its cycle or stopped by an error says so instead of disappearing. The card folds like a unit and keeps a count per kind while folded (8× drying, 1× cooling, 2× error), the header of a drying unit carries a mark, and the card is gone while nothing dries. `/api/status` carries the state as `status` and `phase` in `drying`
- Fixes:
- A spool archived by hand in Spoolman while it still sits in its slot is recognised by its native tag, also with "Archive empty spools" off. It reads "Loaded (archived)" instead of being offered as a new spool
- A slot that is linked to a spool no longer names a spool it could be merged with. After an automatic merge the API reported the spool the slot had just been linked to as `mergeableSpool` as well, until something else changed the slot, and a slot with an assigned spool kept its merge candidate
- A print of a file that was changed and sent again under the same name is weighed from the new file. The printer can keep both copies, one in its cache and one on the storage root, and the service read whichever name it tried first, which could be the old file. It now asks the printer when each copy was written and reads the newest (issue #252)
- A spool that an AMS refill ran empty no longer keeps its slot's assignment. The assignment is what links a spool without an RFID tag to its slot, and it stayed after the spool ran out, so the next spool of the same filament put into that slot was booked on the empty one. It is released at the end of the print, and only after a refill: a spool taken out by hand, to be dried for example, keeps its slot as before (issue #225)
- The report of such a print says when Spoolman still lists weight on the spool that ran out,...
v1.3.7
What's Changed
New Features
- feat: configurable Spoolman location format by @Rdiger-36 in #249
Maintenance
- chore: version 1.3.7 by @Rdiger-36 in #250
Full Changelog: v1.3.6...v1.3.7
Contributors
Thanks to @Rdiger-36.
Docker
docker pull ghcr.io/rdiger-36/haspelsync:1.3.7
docker pull ghcr.io/rdiger-36/haspelsync:latest
docker pull ghcr.io/rdiger-36/bambulab-ams-spoolman-filamentstatus:1.3.7
docker pull ghcr.io/rdiger-36/bambulab-ams-spoolman-filamentstatus:latestDetailed changes
- New Features:
- The Spoolman location written for a spool in a slot follows a template, "Location format" in the Synchronisation card. `{printer}` stands for the printer name and is required, `{unit}` for the AMS unit (`A`, `HT-A`), `{number}` for the position in it (`3`, and `1` for a unit with a single slot) and `{slot}` for the slot (`A3`). The default `{printer} - {slot}` writes what was written before, `{printer} AMS {unit}` gives the four spools of a unit one location, and `{printer}` alone stores the printer name. Changing the template rewrites the locations of the spools that are loaded, and a location written with the old default is still cleared when its spool is taken out. The create spool dialog suggests the location from the same template (issue #248)
- Fixes:
- Switching "Write slot as location" on writes the location of every spool that is already loaded. Until now a spool only got one once something about its slot changed, so a shelf of spools nobody touched stayed without one
v1.3.6
What's Changed
Fixes
- fix: parse request bodies behind auth and update vulnerable dependencies by @Rdiger-36 in #246
Maintenance
- chore: version 1.3.6 by @Rdiger-36 in #247
Full Changelog: v1.3.5...v1.3.6
Contributors
Thanks to @Rdiger-36.
Docker
docker pull ghcr.io/rdiger-36/haspelsync:1.3.6
docker pull ghcr.io/rdiger-36/haspelsync:latest
docker pull ghcr.io/rdiger-36/bambulab-ams-spoolman-filamentstatus:1.3.6
docker pull ghcr.io/rdiger-36/bambulab-ams-spoolman-filamentstatus:latestDetailed changes
- Fixes:
- The image is built on Node.js 22.23.4, which fixes Node2Shell (CVE-2026-111497): the Brotli decoder bundled with Node.js could be made to run code by a crafted compressed request body. Images up to 1.3.5 were built before the fix and should be replaced
- The service reads the body of a request only once the request is allowed in, after the password, the API key or the Web UI check. A request turned away there is no longer decompressed or parsed at all
- Two dependencies with known security vulnerabilities are updated:
- body-parser, which reads the request body for Express (high)
- ip-address, which comes with the MQTT client (moderate)
v1.3.5
What's Changed
New Features
- feat: book filaments swapped on the external holder per filament by @Rdiger-36 in #235
Fixes
- fix: unescape MakerWorld model titles escaped twice by @Rdiger-36 in #238
- fix: answer unreadable requests as JSON and log them through the logger by @Rdiger-36 in #241
Maintenance
- chore: version 1.3.5-dev.1 by @Rdiger-36 in #236
- chore: version 1.3.5-dev.2 by @Rdiger-36 in #239
- chore: bump the npm-minor-and-patch group with 4 updates by @dependabot[bot] in #240
- chore: version 1.3.5-dev.3 by @Rdiger-36 in #242
- chore: version 1.3.5 by @Rdiger-36 in #244
Full Changelog: v1.3.4...v1.3.5
Contributors
Thanks to @Rdiger-36 @dependabot.
Docker
docker pull ghcr.io/rdiger-36/haspelsync:1.3.5
docker pull ghcr.io/rdiger-36/haspelsync:latest
docker pull ghcr.io/rdiger-36/bambulab-ams-spoolman-filamentstatus:1.3.5
docker pull ghcr.io/rdiger-36/bambulab-ams-spoolman-filamentstatus:latestDetailed changes
- New Features:
- A print sliced with "Use Multicolor with External" books each of its filaments on the spool it really came from. Bambu Studio sends every filament to the external holder and the printer stops at each change for the spool to be swapped by hand, but it goes on reporting the first spool for the whole print, so until now every filament was booked on the spool assigned to the holder. The dashboard now lists the filaments of such a print under the External row, each with a "Choose spool" button, and books each one on the spool chosen for it. A filament nobody chose a spool for by the end of the print waits instead of being booked on the wrong spool: the print card says how many do, the report marks them, and choosing a spool there books it straight away (issue #233)
- Fixes:
- The report of a print no longer names a prompt the printer showed and cleared again while the print went on. A spool swapped by hand on the external holder brings up "check the nozzle" and similar prompts at every change, and the report of a print that finished cleanly said the last of them was what happened to it
- The name of a MakerWorld model on the dashboard and in the print report shows quotes, ampersands and umlauts as they are. MakerWorld hands out its titles HTML escaped and Bambu Studio escapes them once more, so a title read "Maritimes "MOIN" Schild" or "Switch & 100%" (issue #237)
- A request the API cannot read, a body that is not valid JSON for example, is answered like every other failed request, with a JSON error and a code the Web UI translates. Express answered it with its own HTML page and wrote the error into the log where the device name belongs, and an unexpected error inside a route did the same
v1.3.4
What's Changed
New Features
- Weigh each layer from the G-code for partial bookings by @Rdiger-36 in #226
- Split the booking at an AMS refill by @Rdiger-36 in #228
Documentation
- docs: translation guide asks for the language name and the print error catalogue by @Rdiger-36 in #224
Maintenance
- Fix two dependency security alerts and add Dependabot version updates by @Rdiger-36 in #230
- chore: bump dotenv from 17.4.2 to 18.0.5 by @dependabot[bot] in #232
- chore: version 1.3.4 by @Rdiger-36 in #234
Full Changelog: v1.3.3...v1.3.4
Contributors
Thanks to @Rdiger-36 @dependabot.
Docker
docker pull ghcr.io/rdiger-36/haspelsync:1.3.4
docker pull ghcr.io/rdiger-36/haspelsync:latest
docker pull ghcr.io/rdiger-36/bambulab-ams-spoolman-filamentstatus:1.3.4
docker pull ghcr.io/rdiger-36/bambulab-ams-spoolman-filamentstatus:latestDetailed changes
- New Features:
- A print that runs a spool empty and carries on from the AMS backup slot (auto refill) books each spool what came out of it. Until now the whole print went onto the backup spool, because the printer reports the backup slot as the one the print runs from once it has switched. The spool that ran out now gets the layers up to the switch and the backup spool the rest, weighed from the G-code like a cancelled print, and the print report marks the split rows with a ⚠ and says where the filament was split (issue #225). A restart of the service during such a print keeps it: the slots, the switch and the spool that ran out are kept in printers/printstate.json, and a switch that happened while the service was down is split at the first layer seen afterwards
- A slot that runs empty during a print stays on the dashboard with a ⚠ "Ran out during this print", the spool it held and what the print takes from it. The filament left in the tube still prints after the AMS reports the slot empty, and until now the dashboard, and a booking at the end of such a print, put those grams on a spool of the same colour in another slot
- A cancelled or failed print books what its layers really used. The service reads the G-code in the sliced file and weighs every layer, where it used to give each layer the same share. A cube cancelled after 8 of its 11 layers booked 1.41 g before and 1.12 g now, because its middle layers are sparse infill. A filament whose G-code does not add up to what the slicer says keeps the even share. A finished print books exactly what it did before
- Fixes:
- Three dependencies with known security vulnerabilities are updated:
- proxy-addr, which Express uses to work out the client address behind a proxy (critical)
- http-cache-semantics, which comes with the HTTP client (high)
- dotenv
v1.3.3
What's Changed
New Features
- feat: Polish print error catalogue by @Rdiger-36 in #222
Maintenance
- chore: version 1.3.3 by @Rdiger-36 in #223
Full Changelog: v1.3.2...v1.3.3
Contributors
Thanks to @Rdiger-36.
Docker
docker pull ghcr.io/rdiger-36/haspelsync:1.3.3
docker pull ghcr.io/rdiger-36/haspelsync:latest
docker pull ghcr.io/rdiger-36/bambulab-ams-spoolman-filamentstatus:1.3.3
docker pull ghcr.io/rdiger-36/bambulab-ams-spoolman-filamentstatus:latestDetailed changes
- New Features:
- The reason a print failed is shown in Polish too, from Bambu Lab's Polish error catalogue. Until now the Polish Web UI showed it in English
v1.3.2
What's Changed
New Features
Documentation
- docs: Polish translation in changelog and README by @Rdiger-36 in #220
Maintenance
- chore: version 1.3.2 by @Rdiger-36 in #221
New Contributors
Full Changelog: v1.3.1...v1.3.2
Contributors
Thanks to @Rdiger-36 @tomeko12.
Docker
docker pull ghcr.io/rdiger-36/haspelsync:1.3.2
docker pull ghcr.io/rdiger-36/haspelsync:latest
docker pull ghcr.io/rdiger-36/bambulab-ams-spoolman-filamentstatus:1.3.2
docker pull ghcr.io/rdiger-36/bambulab-ams-spoolman-filamentstatus:latestDetailed changes
- New Features:
- The Web UI speaks Polish. Pick it in the Web UI section of the settings page or on the login page. Thanks to @tomeko12 (PR #219)
v1.3.1
What's Changed
Fixes
- Ask the printer for a full report on connect by @Rdiger-36 in #216
Maintenance
- chore: version 1.3.1-dev.1 by @Rdiger-36 in #217
- chore: version 1.3.1 by @Rdiger-36 in #218
Full Changelog: v1.3.0...v1.3.1
Contributors
Thanks to @Rdiger-36.
Docker
docker pull ghcr.io/rdiger-36/haspelsync:1.3.1
docker pull ghcr.io/rdiger-36/haspelsync:latest
docker pull ghcr.io/rdiger-36/bambulab-ams-spoolman-filamentstatus:1.3.1
docker pull ghcr.io/rdiger-36/bambulab-ams-spoolman-filamentstatus:latestDetailed changes
- Fixes:
- The service asks the printer for a full report as soon as it connects. Until now it waited for the printer to send one by itself, which an A1 mini does only about every five minutes, so after a restart the slots, the external holder and a running print showed up minutes late (issue #212)