Release v4.2.1
- Make Zettlr more resilient when CSL JSON library files are malformed by checking each item for required keys and skipping problematic entries
- Upgrade Electron to v40.8.0
- Upgrade Pandoc to v3.9.0
- Upgrade ESLint to v10.0.3
- Properly parse and check returned results from the BetterBibTex JSON RPC API when querying PDF attachments
- Handle Pandoc reader and writer extensions correctly instead of removing them during import and export
- Fix indenting and tab insertion behavior
- Improve error handling when opening PDF attachments
Bug Fixes | Updated Dependencies
This update only brings minor things to the table. Most notably, this update fixes the logic of Zettlr to handle extensions to Pandoc readers and writers. Previously, extensions were always removed from readers and writers whenever you imported or exported a file. Now, if you specify an extension, this will work again. This means, previously, if you specified a writer in your defaults files disabling the “smart” extension (e.g., writer: docx-smart), Zettlr would strip the extension away. Now, these extensions are retained correctly on each import or export.
In addition, this update fixes a few oddities after the Zotero 8 update, and updates all dependencies to the newest available versions.
Changelog
Fixed Pandoc Extension Parsing
If you ever used Pandoc extensions with Zettlr, you may have wondered why they sometimes appeared not to work. After a report by a user, we have found out that Zettlr never actually parsed these correctly. We decided to make this a bit more visible in the changelog since your exports may have been broken without you realizing. This way you can verify any of your exports.
GUI and Functionality
- Fix indenting and tab insertion behavior (#6196).
- Fix Zettlr not correctly parsing Pandoc extensions (#6212).
- Improved error handling when opening PDF attachments.
- Make Zettlr more resilient when CSL JSON library files are malformed.
Under the Hood
- Add unit tests for
parseReaderWriterutility function. - Upgrade Electron to
v40.8.0. - Upgrade Pandoc to
v3.9.0. - Upgrade ESLint to
v10.0.3. - Properly parse and check the returned results from the BetterBibTex JSON RPC API when querying PDF attachments.
- Zettlr no longer assumes CSL JSON files are well-formed. Instead, each item is checked for the presence of required keys, and is skipped if there is an issue. This ensures library files can also be loaded partially.
Full Changelog: https://github.com/Zettlr/Zettlr/compare/v4.2.0...v4.2.1