Repository navigation
v3.11.0
Security
- WaveJSON is now evaluated in a sandbox. The editor no longer runs WaveJSON in the page
(web) or in a Node.js-enabled frame (desktop app). Source is evaluated and rendered in a
Web Worker inside a sandboxed iframe (opaque origin, no network, no Node.js / NW.js APIs).
Opening a shared link or a diagram file from someone else can no longer access your
browser storage or, in the desktop app, your file system. - Infinite-loop protection. Evaluation is limited to 3 s; a runaway program
(while(true){}) is stopped, reported in the preview pane, and the editor stays responsive. - Safe rendering. The rendered SVG is rebuilt from an allowlist — no event handlers,
scripts, remote URLs or CSS imports, even from rich-text labels. - Upstream fixes:
onml2.5.0 (escaping instringify),wavedrom3.11.0 (output sanitizer, DOM-freeevaSource). - Desktop build script verifies NW.js runtime downloads against the official SHA-256 checksums.
Editor
- Shared
editor.html?…links no longer overwrite your saved diagram; the URL is cleared on the first edit. - Draggable / rotatable split divider; removed the redundant Rotate Layout and Proportions menu items.
- Dragging the divider no longer re-renders the diagram (keeps the dark skin, smoother).
- WaveJSON programs can use
_, a small set of lodash data helpers
(_.range,_.times,_.repeat,_.chunk,_.zip, …).
window,documentandWaveDromare not available; results must be pure data.
Breaking changes
- The desktop app command line (
… source in.json svg|png out) was removed.
Use thewavedromnpm package CLI instead:npx wavedrom -i in.json5 > out.svg. - WaveJSON that uses
window,documentorWaveDrom, or returns functions, now shows an error.
Site
- Redesigned wavedrom.com, WaveJSON schema v0.5.0, mobile rendering fixes, donate button.
Desktop app
- NW.js v0.121.0 (Chromium 158).
- New: Linux arm64 package.
Downloads
Desktop app packages for Windows (x64), macOS (Intel / Apple Silicon) and Linux (x64 / arm64) are attached below.
macOS: the app is not signed by Apple, so after downloading macOS reports
"wavedrom-editor is damaged and can't be opened". Unzip, move the app to
/Applications, then remove the download quarantine flag once in Terminal:
xattr -dr com.apple.quarantine /Applications/wavedrom-editor.appWindows: SmartScreen may warn about an unrecognized app — choose
More info → Run anyway.