Skip to content

v0.8.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 15 Nov 19:18
· 1 commit to master since this release

Typst Version

  • The included Typst compiler version was upgraded to 0.12.0 (blog, release notes). Please note that some Universe packages used in your documents may show deprecation warnings and will need upgrading.

New Features

  • Document preview colors can be inverted (light to dark and vice-versa). This is independent of the editor's overall color scheme.
  • Compiler output pane was redesigned to show compiler diagnostics in a more structured way. It will also now show warnings encountered during PDF export.
  • Line directionality is now shown on the editor gutters - if the a line is right-to-left, the right gutter will be highlighted and vice-versa.
  • Added basic auto-completion. For now it needs to be manually triggered by using Ctrl+E (Cmd+E on macOS). Expected to be enhanced in the next few releases.
  • Added basic compiler-assisted tool tips.
  • Added configuration tab for compiler settings:
    • Use of Typst Universe packages in the @preview namespace can be disabled, which will also disable all internet access.
    • Shows the size of the package download cache directory.
  • Auto save interval is now configurable, and can be disabled entirely.
  • When finding text using regular expressions, capture groups back references can now be used in text replacements.
  • Compilation is much more incremental now, by syncing editor edits directly with the Typst compiler.
    • This will help unlock true instant previews in the near future, following some more UX work.
  • Line directionality heuristic was enhanced:
    • It now takes syntax into consideration - if a line consists of only closing brackets, its' directionality will be the same as the line with the relevant opening bracket; this is useful for content block parameters.
    • Isolated runs are now ignored.

Fixes

  • Preview is now more stable when following the editor cursor.
  • When jumping to preview of a source element that appears more than one time in the final document (e.g headings being both in the document body and in a generated TOC), the instance closest to the current preview page is targeted.
  • Fixed words being wrongly showed as misspelled when next to BiDi control characters.
  • Performance optimizations to the Typst syntax highlighting parser.
  • Fixed icons not being properly visible in dark mode on some platforms.

Packaging Changes

  • A windows installer is now available.

Heads Up

  • Support for displaying BiDi control characters in the editor was developed, using a specialized font designed with the very gracious help of Noam Sahar (LinkedIn). This requires Qt 6.9, which is not released yet, so still not available in the practical sense.