Versie 4.11.0 van Zettlr is uitgekomen. Zettlr is een op zettelkasten gebaseerde open source en crossplatform Markdown-editor, waarmee artikelen, e-boeken en content kunnen worden gecreëerd. Ook kan het orde scheppen in de chaos van notities en artikelen, bronvermelding genereren en interactieve vragenlijsten maken. Het is daarmee geschikt voor onder meer ontwikkelaars, onderzoekers, journalisten en bloggers. De changelogvoor deze uitgave kan hieronder worden gevonden.
GUI and FunctionalityUnder the Hood
- Feature: Zettlr now supports retrieving the accent color from the D-Bus system, meaning that on many Linux desktop environments, it should now pick up your personal accent color.
- Security (GHSA-qp9r-5xcv-35gx): Custom export commands now have an additional setting,
shell, which, if enabled, runs your commands in a shell. This was the case previously for all commands, but to reduce the attack surface and provide a more complete fix for the existing advisory, this setting has now changed to false by default. If a custom command requires a shell to function, you will need to explicitly allow this with the new parameter in your preferences -> Import/Export -> Custom Commands.- Security (GHSA-4c93-g77j-cx8w): When opening links, Zettlr now checks the protocol of the link, and asks you to confirm whether it should actually follow the link. This introduces transparency into links coming from external documents and allows you to open only links that you trust. By default, it only trusts http(s) links. This prevents potential data exfiltration (i.e., via protocols such as SMB) as well as tricking you into accidentally triggering actions in other apps via deep-links. You can permanently trust certain protocols, and remove trusted protocols from the advanced preferences similar to how iframe whitelisting works.
- Change: The keyboard shortcuts pertaining to inserting and toggling comments have been partially restored to previous Zettlr behavior, partially harmonized with the behavior in other editors (#6655). Now there are two explicit shortcuts: one inserts a comment at the cursor position, and one toggles commenting of entire lines. The shortcut to toggle commenting of entire lines has been kept at the common shortcut
Cmd/Ctrl-/, while the shortcut to insert comments has been moved. It no longer triggers withCmd/Ctrl-Shift-C, and instead now usesCmd/Ctrl-Alt-M, which is the default shortcut to insert comments in Google Docs and Word (only online, the Desktop app does not have a shortcut assigned, maybe because someone forgot to include it). The latter shortcut can be customized to either restore the previous shortcut, or maybe move it to how LibreOffice does it, which isCmd/Ctrl-Alt-C. But that would then conflict with copying the selection as HTML (which has precedence and as such would prevent the shortcut from ever triggering the comment insertion). Keyboards are fun!- Fixed image prerendering within table cells (#6672).
- The update dialog now includes explicit reference to Zettlr so that identifying the source of the update notification becomes easier (#6664).
- Fixed Mermaid charts defaulting to the light theme until the dark mode setting has been changed after the fact (#5763).
- Fixed an issue that prevented search inputs on macOS in the toolbar to not work.
- Improved the log window design and layout.
- GHSA-qp9r-5xcv-35gx: Completely address security advisory by using
shescapeto properly quote or escape all arguments passed to custom commands so that attacker-controlled shell injections are caught. Additionally, custom commands now do not run in a shell by default anymore, and the user is advised to only enable shell access for commands that require it.- GHSA-4c93-g77j-cx8w: Zettlr now applies link filtering and only opens such links with
shell.openExternalthat use known and trusted protocols. For any other links, the user is first prompted to avoid accidental behavior and information leakage.- Update chokidar to
v6.0.0.- Moved
get-system-colors.tsutility file into the appearance provider.- Replace the
md5package with native node.js functionality (#6658).- Replace the
uuidpackage with native node.js functionality (#6660).- Replace the
rimrafpackage with native node.js functionality (#6665).- Remove the
fseventsdependency, as it is no longer used by chokidar (#6661). For packagers, this also removes theBUNDLE_FSEVENTSbuild-time env-var.- Remove several unused development dependencies (#6659).
- Allow the protocol
safe-filein DOMPurify runs to facilitate Zettlr-internal image prerendering.- The logger now prints details for any level of event to the console during development.
- Replace the
Modkey representation in the shortcut controls withMeta, and appropriately expand/contract theModkey per platform.
/i/2006073678.png?f=imagenormal)