Skip to content

32.8.0

Latest

Choose a tag to compare

@drawio-desktop-publisher drawio-desktop-publisher released this 03 Dec 10:50

Release Notes for 32.8.0

Windows Installer
Windows No Installer (zip)
macOS - Universal
Linux - deb, AppImage or rpm

ChangeLog:

  • Uses electron 44.12.0
  • Ships the new Fusion interface: new installs start with it, existing installs keep their interface and are offered to try it without a restart, and the way back to the Classic interface is in the ... menu
  • Shows the menus of the editor in the macOS menu bar as well [#2551]
  • Adds -f json to the command line export, with the same output as File > Export as > JSON; an unknown export format now fails instead of writing a PDF [#2591]
  • Adds --optimize-svg to the command line export for smaller SVG files
  • Adds --all-layers-bounds to the command line export, so images of single layers have the same size and line up [hediet/vscode-drawio#559]
  • Opens a diagram file dropped onto the window without an error [jgraph/drawio#5863]
  • Exports diagrams whose file name contains a percent sign, which failed with an error before
  • Each export now gets its own diagram when several exports run at the same time, so a PDF file can no longer get the diagram of another window
  • Says why files inside the app's own program folder cannot be opened or saved, instead of only "path not authorised" [jgraph/drawio#5631]
  • Files on mapped and subst drives that version 31.5.2 or older remembered open again from Open Recent without being reopened through the file dialog
  • The macOS Quick Look preview can no longer load remote content or run script from a previewed diagram, and draws stencil shapes and formulas without the network
  • Updates to draw.io core 32.8.0. All changes from 32.7.4 to 32.8.0 are added in this build.

Testing:

Verified against the packaged, signed macOS build. Windows and Linux packages were verified from the produced release artifacts, their sizes and update manifests, rather than by running them.

Base checks

  • Launch, open a file passed on the command line, add and edit shapes, change styles, undo and redo, copy and paste, save without a dialog, reopen, insert and remove pages, and zoom
  • Export to PNG, JPEG, SVG, PDF, XML and HTML from the command line, covering scale, border, transparency, cropping, page selection with -p and --size page, and to PNG and PDF from the app
  • Diagram round trip in an exported PNG and PDF, including reopening the exported PDF and recovering both pages and their contents
  • Mermaid and CSV import, and the --layout and --normalize options from the command line
  • Shape search, stencils and shape bundles, and the export dialogs
  • Settings survive a restart, drafts of unsaved changes are offered when the file is opened again, and a local library saves three times in a row
  • The macOS bundle is signed with a Developer ID certificate under the hardened runtime, is notarised and stapled, and the Quick Look app extension is sandboxed, separately signed and registered
  • The Electron security fuses are applied
  • The update manifests of all five platforms name this version and files that exist
  • 434 unit tests pass

The Fusion interface

  • A new install starts in Fusion with the hint to use the Classic interface instead, and Help > About shows the version
  • An install that started before keeps the Classic interface after the upgrade and is offered Fusion; Try it switches without a restart

Command line exports

  • -f json with all pages and an embedded diagram gives both pages, -p 2 gives only the second page, and CSV input exports as JSON; -f gif fails with exit code 1 and writes no file [#2591]
  • --optimize-svg makes a 20.7 KB SVG 3.9 KB with its labels, keeps the embedded diagram with -e, and other formats ignore it with one warning
  • --layers 1 with --all-layers-bounds gives an image the size of all layers (444 by 304 instead of 84 by 44) [hediet/vscode-drawio#559]
  • PNG exports of thin strokes at four zoom levels are identical to the previous release

Exports and files in the app

  • Three PDF exports started at the same time each contain their own diagram
  • PDF exports of files named "100% plan" and "50%20off" complete and keep those names as their titles
  • A PNG export carries the requested 300 DPI
  • .drawio.png and .drawio.pdf files save without a dialog, stay PNG and PDF, and keep a hidden layer hidden
  • A diagram file dropped onto the window opens with both pages [jgraph/drawio#5863]
  • Templates open in the new template dialog with their previews

Checks around the changes

  • A file inside the app's program folder is refused with the new message, and a remembered path stored in other letter case is readable after the upgrade
  • Reads, writes and file checks of paths the user has not authorised are refused, also through a symbolic link in an authorised folder and into the settings folder, and file and javascript links are not opened externally
  • The editor hands its menus to the macOS menu bar, holds them while a dialog is open, and runs Select All and Duplicate when the menu bar asks for them
  • The Quick Look preview allows only scripts from its own files and carries the stencil and formula scripts it needs
  • Starting with DRAWIO_ENV=dev loads the packaged editor without errors