Repository navigation
Release Notes for 32.7.4
Windows Installer
Windows No Installer (zip)
macOS - Universal
Linux - deb, AppImage or rpm
ChangeLog:
- Uses electron 44.11.3
- Fixes HTML export from the command line failing or hanging on very large diagrams
- Stops reading a diagram embedded in a PNG or PDF file once it is longer than the longest text the app can hold, instead of decompressing all of it first
- Command line PDF exports with --width or --height now contain the diagram, fitted to that size, instead of an empty page [#2162]
- Command line PDF and SVG exports fill in %pagecount% [#2601]
- Command line exports no longer wait forever for an image whose server never answers: an image that makes no progress for 15 seconds is left out and the export completes
- Links in exported SVG and PDF files keep only safe link types, and PDF exports no longer contain links to the install folder
- The Grid option of the advanced export dialog now works in the desktop app
- Removes data sources from the desktop app, where they could never load
- The public repository now carries the Linux source of each release; the Windows and macOS packaging files are no longer published there
- Updates to draw.io core 32.7.4. All changes from 32.6.10 to 32.7.4 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, rename and delete 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, the export dialogs and the print dialog
- Settings survive a restart
- 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
- Reads, writes and file checks of paths the user has not authorised are refused, and file and javascript links are not opened externally
- The update manifests of all five platforms name this version and files that exist
- 348 unit tests pass
Command line exports
- %pagecount% resolves in PDF exports of all pages, of a single page and in SVG exports, and page variables work for files without pages [#2601]
- A 3000 by 97 shape exported with --width 500 gives a page 500 units wide that the diagram fills edge to edge, --height gives the requested height, and --width with all pages gives each page that width [#2162]
- With an image server that accepts the connection and never answers, PNG, PDF and SVG with embedded images complete in 16 to 18 seconds with the rest of the diagram
- HTML export of a PNG or PDF with an embedded diagram recovers all three pages, and a PNG without a diagram is reported and skipped in a folder export
Links in exports
- An SVG export keeps https and relative links and drops ms-msdt, vbscript, search-ms and data links; a PDF export keeps only the https link and no link to the install folder
- Links of a page used as a background are not active in PDF exports
Checks around the changes
- The Grid option changes PNG and PDF exports from the advanced export dialog
- Copy as Image places a PNG image on the system clipboard
- Data sources are absent from the menus and from Page Setup
- Starting with DRAWIO_ENV=dev loads the packaged editor without errors