Ircus

Bardzo aktywny
Ekspert
Dołączył
26 Maj 2010
Posty
23763
Reakcje/Polubienia
72510

draw.io 31.3.2​

  • Fixes the save dialog reopening endlessly without ever saving when saving a new or imported shape library [
    Zaloguj lub Zarejestruj się aby zobaczyć!
    ]
  • Stops saving changes to a library opened from file asking for a save location on every save [
    Zaloguj lub Zarejestruj się aby zobaczyć!
    ]
  • Fixes saving a library disabling external change detection for the open diagram
  • Updates to
    Zaloguj lub Zarejestruj się aby zobaczyć!
    .
Zaloguj lub Zarejestruj się aby zobaczyć!
 

Ircus

Bardzo aktywny
Ekspert
Dołączył
26 Maj 2010
Posty
23763
Reakcje/Polubienia
72510

draw.io 32.6.10​

Release Notes for 32.6.10​

Zaloguj lub Zarejestruj się aby zobaczyć!

Zaloguj lub Zarejestruj się aby zobaczyć!

Zaloguj lub Zarejestruj się aby zobaczyć!

Linux -
Zaloguj lub Zarejestruj się aby zobaczyć!
,
Zaloguj lub Zarejestruj się aby zobaczyć!
or
Zaloguj lub Zarejestruj się aby zobaczyć!


ChangeLog:

  • Uses electron 44.10.2
  • Exports all pages as one SVG with --all-pages -f svg, with a view for each page, so that file.svg#Page-2 in an image shows the second page [
    Zaloguj lub Zarejestruj się aby zobaczyć!
    ]
  • Stops the command line export from hanging on malformed PNG files
  • Updates to
    Zaloguj lub Zarejestruj się aby zobaczyć!
    . All changes from 32.6.1 to 32.6.10 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 and reopen, insert, rename and delete pages, and zoom
  • Export to PNG and PDF from the app, and to PNG, JPEG, SVG, PDF, XML and HTML from the command line, covering scale, border, transparency, cropping, page selection with -p and --size page
  • Diagram round trip in an exported PDF, including reopening the exported PDF and recovering both pages
  • Mermaid and CSV import, and the --layout and --normalize options from the command line
  • Shape search, stencils and shape libraries, and the export, print and Page Setup dialogs
  • Settings and the window position and size survive a restart
  • The Quick Look extension is registered for this build, sandboxed and separately signed
  • The macOS bundle is signed with a Developer ID certificate under the hardened runtime, is notarised and stapled
  • The Electron security fuses are applied
  • 296 unit tests pass
All pages as one SVG

  • A file with 2 pages exports one SVG with a view for the name and the ID of each page, and in a browser the views show the second page and no view shows the first page
  • A file with 3000 pages exports in about 6 seconds with all of its views
  • A page with math, a page with a traced image and the page after them all arrive in the SVG
  • The Alt Text of each page is written as its title with markup escaped, and pages without one have none
Malformed PNG files

  • Five crafted PNG files, each in a folder export and as a listed file with -f html, end without hanging, and the good diagram next to them is still exported. Three of them hung the previous release on both paths
  • A PNG with an embedded diagram is still found by a folder export, and a PNG without one is skipped
Checks around the changes

  • Edges with the outline perimeter end on the outline of an image in SVG and PDF exports, also for the PDF export of a .drawio.svg file
  • Relative links in SVG exports are written without the install path, and javascript: links lose their scheme
  • A .mmd file with a title and description opens with them as the Alt Text of the page, and SVG exports write them as the title
  • Opening a diagram with a data source makes no request, and file URLs are refused as data sources
  • Alt+Shift+D describes the selection and Alt+Shift+U opens the text outline
  • Three library saves without a dialog each reach the file, and drafts are written next to the file and read back
  • Reads, stats and writes of paths the user has not authorised are still refused [
    Zaloguj lub Zarejestruj się aby zobaczyć!
    ]
  • file: and javascript: links are not opened externally
  • The File menu and the Export as menu have the same entries as 32.6.1
  • All 5 update manifests name this version, with matching sizes
Zaloguj lub Zarejestruj się aby zobaczyć!
 

Ircus

Bardzo aktywny
Ekspert
Dołączył
26 Maj 2010
Posty
23763
Reakcje/Polubienia
72510
draw.io 32.8.0
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 [
    Zaloguj lub Zarejestruj się aby zobaczyć!
    ]
  • 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 [
    Zaloguj lub Zarejestruj się aby zobaczyć!
    ]
  • 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 [
    Zaloguj lub Zarejestruj się aby zobaczyć!
    ]
  • Opens a diagram file dropped onto the window without an error [
    Zaloguj lub Zarejestruj się aby zobaczyć!
    ]
  • 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
    Zaloguj lub Zarejestruj się aby zobaczyć!
    . 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 [
    Zaloguj lub Zarejestruj się aby zobaczyć!
    ]
  • --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) [
    Zaloguj lub Zarejestruj się aby zobaczyć!
    ]
  • 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 [
    Zaloguj lub Zarejestruj się aby zobaczyć!
    ]
  • 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
Zaloguj lub Zarejestruj się aby zobaczyć!
 
Do góry