From 3c2a38890d0c9f981726fcd630cd6a479d45c163 Mon Sep 17 00:00:00 2001 From: Stuart Date: Tue, 20 Oct 2026 00:07:57 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20bump=20draw.io=20to=2032.5.5=20and=20st?= =?UTF-8?q?art-sdk=20to=203.1.0;=2032.4.1:0=20=E2=86=92=2032.5.5:0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit draw.io 32.5.5 is published for amd64 and arm64. docker-drawio's entrypoint is unchanged since 32.4.1, so DRAWIO_SERVER_URL, DRAWIO_BASE_URL and DRAWIO_LIGHTBOX_URL configure the editor as before, and the embed page sends no new headers that would stop Nextcloud framing it. Upstream removed seven plugins in this range, which the release notes name. start-sdk 3.1.0 still targets StartOS 0.4.0.2 and needs no code change. .dockerignore follows the package template. Tested on StartOS 0.4.0.2 (x86_64). Updating from 32.4.1:0 kept a chosen primary URL and raised no task; updating an install with none chosen kept the important task and started on the .local address. A fresh install raises the task and starts without a choice; choosing an address clears it, and the choice survives a rebuild. Set Primary URL restarts the service with the new address in about 5 s, and three restarts during startup left one Tomcat running and healthy. The editor loads with no console errors. Co-Authored-By: Claude Opus 5.5 --- .dockerignore | 7 ++++++- package-lock.json | 26 ++++++++------------------ package.json | 2 +- startos/manifest/index.ts | 2 +- startos/versions/current.ts | 12 ++++++------ 5 files changed, 22 insertions(+), 27 deletions(-) diff --git a/.dockerignore b/.dockerignore index 0a17f46..297a1aa 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,2 +1,7 @@ .git -.gitmodules \ No newline at end of file +.gitmodules +node_modules +javascript +ncc-cache +docker-images +*.s9pk diff --git a/package-lock.json b/package-lock.json index 37ae9dd..0a8d6d1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "drawio-startos", "dependencies": { - "@start9labs/start-sdk": "3.0.4" + "@start9labs/start-sdk": "3.1.0" } }, "node_modules/@eslint-community/eslint-utils": { @@ -250,9 +250,9 @@ "license": "MIT" }, "node_modules/@start9labs/start-sdk": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@start9labs/start-sdk/-/start-sdk-3.0.4.tgz", - "integrity": "sha512-G02R4TlaLmTSisMpPnSAHB9KOSqJydjsKOeijwMkHp87ek6eNxg/FissID+AsheXmDcZSiyieos45lxud4kihA==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@start9labs/start-sdk/-/start-sdk-3.1.0.tgz", + "integrity": "sha512-JyTlm5S+eYg+hyh78N9buq9I091Wcp0Thg7Tm0CCfKJhCCz8KGVTa9OyS57YY/bsBNeEME4zTCQ5bybEpwyV6A==", "bundleDependencies": [ "@start9labs/start-core" ], @@ -275,8 +275,7 @@ "typescript": "^6.0.3", "typescript-eslint": "^8.61.0", "yaml": "^2.8.3", - "zod": "4.4.3", - "zod-deep-partial": "^1.2.0" + "zod": "4.6.7" } }, "node_modules/@types/estree": { @@ -1709,22 +1708,13 @@ } }, "node_modules/zod": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz", - "integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==", + "version": "4.6.7", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", + "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", "license": "MIT", "funding": { "url": "https://github.com/sponsors/colinhacks" } - }, - "node_modules/zod-deep-partial": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/zod-deep-partial/-/zod-deep-partial-1.4.4.tgz", - "integrity": "sha512-aWkPl7hVStgE01WzbbSxCgX4O+sSpgt8JOjvFUtMTF75VgL6MhWQbiZi+AWGN85SfSTtI9gsOtL1vInoqfDVaA==", - "license": "MIT", - "peerDependencies": { - "zod": "^4.1.13" - } } } } diff --git a/package.json b/package.json index f491529..6eb5796 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "drawio-startos", "dependencies": { - "@start9labs/start-sdk": "3.0.4" + "@start9labs/start-sdk": "3.1.0" }, "overrides": { "@start9labs/start-sdk": "$@start9labs/start-sdk" diff --git a/startos/manifest/index.ts b/startos/manifest/index.ts index 46a122c..f483c3c 100644 --- a/startos/manifest/index.ts +++ b/startos/manifest/index.ts @@ -13,7 +13,7 @@ export const manifest = setupManifest({ volumes: ['startos'], images: { drawio: { - source: { dockerTag: 'jgraph/drawio:32.4.1' }, + source: { dockerTag: 'jgraph/drawio:32.5.5' }, arch: ['x86_64', 'aarch64'], }, }, diff --git a/startos/versions/current.ts b/startos/versions/current.ts index c87d6e6..5a83d21 100644 --- a/startos/versions/current.ts +++ b/startos/versions/current.ts @@ -1,18 +1,18 @@ import { IMPOSSIBLE, VersionInfo } from '@start9labs/start-sdk' export const current = VersionInfo.of({ - version: '32.4.1:0', + version: '32.5.5:0', releaseNotes: { en_US: - "Updated draw.io to 32.4.1. While the primary URL is not one of draw.io's addresses, exports and share links use its public domain, or its .local address if it has none, and a task asks you to choose another. Full list of changes: https://github.com/jgraph/drawio/blob/v32.4.1/ChangeLog", + 'Updated draw.io to 32.5.5. Replace All now works across All Pages, and the SQL, animation, WebCola, Freemind import, F5 rack, flow and edge connection plugins are removed. Full list of changes: https://github.com/jgraph/drawio/blob/v32.5.5/ChangeLog', es_ES: - 'draw.io actualizado a 32.4.1. Mientras la URL principal no sea una de las direcciones de draw.io, las exportaciones y los enlaces compartidos usan su dominio público, o su dirección .local si no tiene ninguno, y una tarea te pide elegir otra. Lista completa de cambios: https://github.com/jgraph/drawio/blob/v32.4.1/ChangeLog', + 'draw.io actualizado a 32.5.5. Reemplazar todo ahora funciona en Todas las páginas, y se eliminan los complementos SQL, animación, WebCola, importación de Freemind, rack F5, flujo y conexión de aristas. Lista completa de cambios: https://github.com/jgraph/drawio/blob/v32.5.5/ChangeLog', de_DE: - 'draw.io auf 32.4.1 aktualisiert. Solange die primäre URL keine Adresse von draw.io ist, verwenden Exporte und geteilte Links seine öffentliche Domain oder, wenn es keine hat, seine .local-Adresse, und eine Aufgabe fordert dich auf, eine andere zu wählen. Vollständige Liste der Änderungen: https://github.com/jgraph/drawio/blob/v32.4.1/ChangeLog', + 'draw.io auf 32.5.5 aktualisiert. Alle ersetzen funktioniert jetzt über Alle Seiten, und die Plugins SQL, Animation, WebCola, Freemind-Import, F5-Rack, Flow und Kantenverbindung wurden entfernt. Vollständige Liste der Änderungen: https://github.com/jgraph/drawio/blob/v32.5.5/ChangeLog', pl_PL: - 'Zaktualizowano draw.io do 32.4.1. Dopóki główny adres URL nie jest jednym z adresów draw.io, eksporty i udostępniane linki używają jego domeny publicznej, a jeśli jej nie ma, adresu .local, a zadanie prosi o wybranie innego. Pełna lista zmian: https://github.com/jgraph/drawio/blob/v32.4.1/ChangeLog', + 'Zaktualizowano draw.io do 32.5.5. Zamień wszystkie działa teraz na Wszystkie strony, a wtyczki SQL, animacji, WebCola, importu Freemind, szafy F5, przepływu i połączeń krawędzi zostały usunięte. Pełna lista zmian: https://github.com/jgraph/drawio/blob/v32.5.5/ChangeLog', fr_FR: - "draw.io mis à jour vers la version 32.4.1. Tant que l'URL principale n'est pas l'une des adresses de draw.io, les exports et les liens de partage utilisent son domaine public, ou son adresse .local s'il n'en a pas, et une tâche vous demande d'en choisir une autre. Liste complète des changements : https://github.com/jgraph/drawio/blob/v32.4.1/ChangeLog", + 'draw.io mis à jour vers la version 32.5.5. Tout remplacer fonctionne désormais sur Toutes les pages, et les plugins SQL, animation, WebCola, import Freemind, baie F5, flux et connexion des liens sont supprimés. Liste complète des changements : https://github.com/jgraph/drawio/blob/v32.5.5/ChangeLog', }, migrations: { up: async ({ effects }) => {},