Skip to content

feat: bump draw.io to 32.4.1, move to start-sdk 3.0.4, adopt setupPrimaryUrl; 31.6.1:0 → 32.4.1:0 - #3

Merged
stupleb merged 1 commit into
masterfrom
update-v32.4.1
Oct 10, 2026
Merged

stupleb merged 1 commit into
masterfrom
update-v32.4.1

Conversation

@stupleb

@stupleb stupleb commented Oct 10, 2026

Copy link
Copy Markdown
Owner

Moves draw.io to 32.4.1 and the package to start-sdk 3.0.4.

  • draw.io 32.4.1, a feature release (ChangeLog). jgraph/drawio:32.4.1 is published for amd64 and arm64, and its entrypoint handles DRAWIO_SERVER_URL, DRAWIO_BASE_URL and DRAWIO_LIGHTBOX_URL as 31.6.1's did. No entry from 31.7 to 32.4.1 changes the diagram file format, and the package stores no diagrams.
  • Set Primary URL is built by sdk.setupPrimaryUrl, replacing the hand-rolled action and watcher. The stored choice is followed to its hostname's current port and scheme. While that hostname is gone, or nothing is chosen, draw.io runs on the preferred address (a public domain, HTTPS first, else .local) and the important task stays raised. Install no longer stores the .local address itself, so the task asks for a choice from the start. The action id and replay key are unchanged, so an existing install keeps its choice.
  • SDK 3 template. The SDK supplies the toolchain (.prettierrc replaces the prettier block, scripts and devDependencies), dependencies go through sdk.Dependencies.of(), the PR build no longer receives DEV_KEY, and AGENTS.md is the template's header. The package now requires StartOS 0.4.0.2.
  • README and instructions describe the new primary-URL behaviour, and prettier realigned two README tables.

Verified

  • tsc, the SDK lint and the format gate pass. Both s9pks pack as 32.4.1:0 with osVersion 0.4.0.2 and sdkVersion 3.0.4, accepting updates from <=32.4.1:0.
  • jgraph/drawio:32.4.1 (digest d2e7024e5e5a) in a container with the package's environment: the editor answers 200 in about 6 s, and PreConfig.js carries the three URLs. The viewer, viewer-static.min.js, the math4/es5 bundle, embed mode, the stencil bundle and plugins/nextcloud.js answer 200; /proxy answers 404, and /embed2.js?fetch= returns nothing for a private address.
  • The embed exchange the Nextcloud Diagramming app 4.3.9 drives (configure, init, load with a file descriptor, its remote calls, autosave after an edit) gives the same sequence on 31.6.1 and 32.4.1.
  • On an x86_64 StartOS 0.4.0.2 server, updating from 31.6.1:0 kept the stored LAN address and raised no task. The new form prefilled that address and pre-selected .local. draw.io started healthy serving the stored address, and Set Primary URL restarted it onto .local and back.

Not run: the fresh-install and address-gone paths, and a save into a real Nextcloud.

…maryUrl; 31.6.1:0 → 32.4.1:0

draw.io 32.4.1 is a feature release. Its image is published for amd64 and
arm64, and the entrypoint turns DRAWIO_SERVER_URL, DRAWIO_BASE_URL and
DRAWIO_LIGHTBOX_URL into the editor's configuration as it did in 31.6.1.

sdk.setupPrimaryUrl replaces the hand-rolled Set Primary URL action and
watcher. The stored choice is followed to its hostname's current port and
scheme. While that hostname is gone, or nothing is chosen, draw.io runs on
the preferred address (a public domain, HTTPS first, else .local) and the
important task stays raised. Install no longer stores the .local address
itself, so the task asks for a choice from the start. The action id and the
task's replay key are unchanged: an existing install keeps its choice, and
a task the old watcher raised clears once the address is back.

The rest follows the 3.0 package template. The SDK supplies the toolchain,
so .prettierrc replaces the prettier block, the scripts and the
devDependencies. Dependencies go through sdk.Dependencies.of() into
buildManifest and setupInit. The PR build no longer receives DEV_KEY, and
AGENTS.md is the template's header. store.json keeps z.object because the
package owns the whole file. main.ts drops a trailing-slash strip that no
address ever needed. The package now requires StartOS 0.4.0.2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@stupleb
stupleb merged commit 2f51b4a into master Oct 10, 2026
3 checks passed
@stupleb
stupleb deleted the update-v32.4.1 branch October 10, 2026 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant