Repository navigation
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
Merged
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves draw.io to 32.4.1 and the package to start-sdk 3.0.4.
jgraph/drawio:32.4.1is published for amd64 and arm64, and its entrypoint handlesDRAWIO_SERVER_URL,DRAWIO_BASE_URLandDRAWIO_LIGHTBOX_URLas 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.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 theimportanttask stays raised. Install no longer stores the.localaddress 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..prettierrcreplaces the prettier block, scripts and devDependencies), dependencies go throughsdk.Dependencies.of(), the PR build no longer receivesDEV_KEY, andAGENTS.mdis the template's header. The package now requires StartOS 0.4.0.2.Verified
tsc, the SDK lint and the format gate pass. Both s9pks pack as32.4.1:0withosVersion0.4.0.2 andsdkVersion3.0.4, accepting updates from<=32.4.1:0.jgraph/drawio:32.4.1(digestd2e7024e5e5a) in a container with the package's environment: the editor answers 200 in about 6 s, andPreConfig.jscarries the three URLs. The viewer,viewer-static.min.js, themath4/es5bundle, embed mode, the stencil bundle andplugins/nextcloud.jsanswer 200;/proxyanswers 404, and/embed2.js?fetch=returns nothing for a private address..local. draw.io started healthy serving the stored address, and Set Primary URL restarted it onto.localand back.Not run: the fresh-install and address-gone paths, and a save into a real Nextcloud.