Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Releases: Enter-tainer/typst-preview

v0.11.14

07 Jul 12:49
v0.11.14
Compare
Choose a tag to compare

v0.11.7

07 Jul 12:23
v0.11.7
Compare
Choose a tag to compare

Change Log

All notable changes to the "typst-preview" extension will be documented in this file.

Check Keep a Changelog for recommendations on how to structure this file.

v0.11.7 - [2024-06-09]

Thanks @7sDream for this release!

  • Add supports for setting sys.inputs in configuration
  • Add support for ignoring system fonts.

v0.11.6 - [2024-05-19]

  • Add extension icon designed by Zoknatwrd and QuarticCat🔮

v0.11.5 - [2024-05-19]

  • Bump to typst v0.11.1
  • Show activity bar icon only when current file is a typst file

v0.11.4 - [2024-04-09]

  • Fix version in nix build
  • Fix desync in firefox

v0.11.3 - [2024-03-25]

  • Bump to typst.ts 0.5.0-rc1

v0.11.2 - [2024-03-21]

  • Fix:
    • #254 Zoom regression in 0.10.8 is now fixed
    • #270 Wrong webview panel location when using 2-row layout
    • Fix preview button being slow when using tinymist

v0.11.1 - [2024-03-18]

  • Fix:
    • remove windows-ia32. It is not supported by vscode anymore.

v0.11.0 - [2024-03-18]

  • Features:
    • Upgrade to typst v0.11.0
    • typst-preview is available on crate.io now. You can install it by running cargo install typst-preview. You can also use it as a library in your project by adding typst-preview to your Cargo.toml.

v0.10.10 - [2024-03-13]

  • Features:
    • Upgrade to typst v0.11.0-rc1(master, 48820fe69b8061bd949847afc343bf160d05c924)
  • Bug fixes:
    • Fix gradient color being rendered incorrectly

v0.10.9 - [2024-03-10]

  • Features:
    • Upgrade to typst v0.11.0-rc1
  • Bug fixes:
    • May fix a bug when typst preview cannot launch on some windows machines
    • Fix jumping view while zooming
    • Fix cannot use relative path in typst-preview.fontPaths

v0.11.0-rc1 - [2024-03-10]

  • Features:
    • Upgrade to typst v0.11.0-rc1
  • Bug fixes:
    • May fix a bug when typst preview cannot launch on some windows machines
    • Fix jumping view while zooming
    • Fix cannot use relative path in typst-preview.fontPaths

v0.10.8 - [2024-02-19]

  • Features:
    • Add favicon when opening the preview in browser (#239)
    • Add drag to scroll. You can now drag the preview panel to scroll.
  • Bug fixes:
    • fix sensitive scale on touchpad (#244)
    • The vscode extension will check the server version before starting.
  • Misc:
    • Add async tracing and add a new command typst-preview.showAwaitTree to pop a message and copy the async tree to clipboard. This is useful for debugging.
    • Add split debug symbol for the server.

v0.10.7 - [2024-01-25]

  • Features:
    • Jump to source is more accurate now.
    • Add a config to invert color in preview panel. See typst-preview.invertColors.
    • Allow config scroll sync mode. See typst-preview.scrollSync
    • (Experimental) Improve cursor indicator.

v0.10.6 - [2024-01-17]

  • Bug fixes:
    • fix a bug which cause the preview panel no longer updates as you type

v0.10.5 - [2024-01-14]

  • Bug fixes:

    • fix a bug that fails to incrementally rendering pages with transformed content
    • fix #141: glyph data desync problem, corrupting state of webview typically after your editor hibernating and coming back.
  • Features:

    • performance is now improved even further. We now use a more efficient way to render the document.

v0.10.4 - [2024-01-05]

  • Bug fixes:

    • Fix open in browser. It's broken in v0.10.3.
  • Features:

    • Improve incremental rendering performance.

v0.10.3 - [2024-01-01]

  • Bug fixes:

    • Thanks to new rendering technique, scrolling in no longer laggy on long document.
  • Features:

    • We now automatically declare the previewing file as entrypoint when typst-preview.pinPreviewFile is set to true. This is like the eye icon in webapp. This should improve diagnostic messages for typst lsp. You can enable this by setting typst-preview.pinPreviewFile to true.

v0.10.2 - [2023-12-18]

  • Bug fixes:
    • fix scrollbar hiding

v0.10.1 - [2023-12-17]

  • Features:

    • Improve thumbnail side panel and outline. Now it is clickable and you can jump to the corresponding page.
  • Bug fixes:

    • Improve performance for outline generation.

v0.10.0 - [2023-12-05]

  • Features:
    • Bump to typst v0.10.0

v0.9.2 - [2023-11-23]

  • Features:

    • You can now enable a preview panel in the sidebar. See typst-preview.showInActivityBar.
    • A new keybinding is added. You can trigger preview by using Ctrl/Cmd + k v now.
  • Bug fix:

    • Scroll to cursor on 2-column documents is now improved.

v0.9.1 - [2023-11-17]

  • Features:

    • #160: Slides mode is available now! You can enable use typst-preview.preview-slide command.
    • Allow adjust the status bar item
  • Bug fixes:

    • Previously the Compiling status is never sent to the status bar item. This is now fixed.
    • #183 #128 Various rendering fix.

v0.9.0 - [2023-10-31]

  • Features:

    • Update to typst v0.9.0
    • Add a status indicator in status bar. When compile fails, it becomes red. Clicking on it will show the error message.
  • Bug fixes:

    • #143 Scrolling is not that laggy now
    • #159 Fix a clip path bug

v0.8.3 - [2023-10-28]

  • Bug fixes:

    • #152 Do not pop up error message when the preview window is closed
    • #156 Fix shaking scrollbar/border
    • #161 #151 Should not panic when the file is not exist
  • Features:

    • #157 Add a rough indicator for the current cursor position in the preview panel. You may enable this in configuration.

v0.8.2 - [2023-10-20]

  • Features:

    • #142 The scroll position of the preview panel is now preserved when you switch between tabs.
    • #133 We now provide a button to show log when the server crashes. This should make debugging easier. You may also use the command typst-preview.showLog to show the log.
    • #129 A --version flag is now provided in the cli
  • Bug fixes:

    • #137 Previously preview page might go blank when saving the file
    • #130 Previously you cannot watch a file in /tmp
    • #118 Previously the preview page might flash when you save the file

v0.8.1 - [2023-09-24]

  • Bug fixes:
    • #121: Disable darkreader for preview panel. This should fix the problem where the preview panel is invisible when darkreader is installed in the browser.
    • #123: Fix a VDOM bug which may cause color/clip-path desync.
    • #124: Fix a race condition which may cause the webview process messages out of order, resulting in blank screen.
    • #125: Resizing the preview panel is not that laggy now.
  • Features:
    • #120: We now show page breaks and center pages horizontally. By default we will choose the vscode-sideBar-background color as the page break color. If it is not distinguishable from white, we will use rgb(82, 86, 89) instead.

v0.8.0 - [2023-09-17]

v0.7.5 - [2023-09-01]

  • Fix #107: now VSCode variables like ${workspaceFolder} can be used in typst-preview.fontPaths.
  • Fix cannot open multiple preview tabs at the same time.

v0.7.4 - [2023-08-29]

  • Typst Preview Book is now available at https://enter-tainer.github.io/typst-preview/ ! You can find the documentation of Typst Preview there.
  • Improved standalone usage: Use typst-preview without VSCode now becomes easier. All you need is typst-preview --partial-rendering cool-doc.typ. Take a look at https://enter-tainer.github.io/typst-preview/standalone.html
  • Upgrade to typst.ts 0.4.0-rc2. This fixes a subtle incremental parsing bug.
  • Partial rendering is now enabled by default. This should improve performance on long document. You can disable it by setting typst-preview.partialRendering to false.

v0.7.3 - [2023-08-20]

v0.7.2 - [2023-08-20]

  • Bug fixes:
    • #79: We now put typst compiler and renderer in a dedicate thread. Therefore we should get more stable performance.
    • #78: Currently only the latest compile/render request is processed. This should fix the problem where the preview request will queue up when you type too fast and the doc takes a lot of time to compile.
    • #81: We now use a more robust way to detect the whether to kill stale server process. This should fix the problem where the when preview tab will become blank when it becomes inactive for a while.
    • #87: Add enum description for typst-preview.scrollSync. Previously the description is missing.

v0.7.1 - [2023-08-16]

  • Bug fixes:
    • fix #41. It is now possible to use Typst Preview in VSCode Remote.
    • fix #82. You can have preview button even when typst-lsp is not installed.
  • Misc: We downgrade the ci image for Linux to Ubuntu 20.04. This should fix the problem where the extension cannot be installed on some old Linux distros.

v0.7.0 - [2023-08-09]

  • Upgrade to typst v0.7.0
  • Bug fixes
    • #77 #75: Previously arm64 devices will see a blank preview. This is now fixed.
    • #74: Previously when you open a file without opening in folder, the preview will not work. This is now fixed.

v0.6.4 - [2023-08-06]

  • Rename to Typst Preview.
  • Add page level partial rendering. This should improve performance on long document. This is an experimental feature and is disabled by default. You can enable it by setting typst-preview.partialRendering to true.
  • The binary typst-preview now can be used as a standalone typst server. You can use it to preview your document in browser. For example: typst-preview ./assets/demo/main.typ --open-in-browser --partial-rendering
  • Fix #70: now you can launch ...
Read more

v0.11.6

18 May 19:07
v0.11.6
Compare
Choose a tag to compare

Change Log

All notable changes to the "typst-preview" extension will be documented in this file.

Check Keep a Changelog for recommendations on how to structure this file.

v0.11.6 - [2024-05-19]

  • Add extension icon designed by Zoknatwrd

v0.11.5 - [2024-05-19]

  • Bump to typst v0.11.1
  • Show activity bar icon only when current file is a typst file

v0.11.4 - [2024-04-09]

  • Fix version in nix build
  • Fix desync in firefox

v0.11.3 - [2024-03-25]

  • Bump to typst.ts 0.5.0-rc1

v0.11.2 - [2024-03-21]

  • Fix:
    • #254 Zoom regression in 0.10.8 is now fixed
    • #270 Wrong webview panel location when using 2-row layout
    • Fix preview button being slow when using tinymist

v0.11.1 - [2024-03-18]

  • Fix:
    • remove windows-ia32. It is not supported by vscode anymore.

v0.11.0 - [2024-03-18]

  • Features:
    • Upgrade to typst v0.11.0
    • typst-preview is available on crate.io now. You can install it by running cargo install typst-preview. You can also use it as a library in your project by adding typst-preview to your Cargo.toml.

v0.10.10 - [2024-03-13]

  • Features:
    • Upgrade to typst v0.11.0-rc1(master, 48820fe69b8061bd949847afc343bf160d05c924)
  • Bug fixes:
    • Fix gradient color being rendered incorrectly

v0.10.9 - [2024-03-10]

  • Features:
    • Upgrade to typst v0.11.0-rc1
  • Bug fixes:
    • May fix a bug when typst preview cannot launch on some windows machines
    • Fix jumping view while zooming
    • Fix cannot use relative path in typst-preview.fontPaths

v0.11.0-rc1 - [2024-03-10]

  • Features:
    • Upgrade to typst v0.11.0-rc1
  • Bug fixes:
    • May fix a bug when typst preview cannot launch on some windows machines
    • Fix jumping view while zooming
    • Fix cannot use relative path in typst-preview.fontPaths

v0.10.8 - [2024-02-19]

  • Features:
    • Add favicon when opening the preview in browser (#239)
    • Add drag to scroll. You can now drag the preview panel to scroll.
  • Bug fixes:
    • fix sensitive scale on touchpad (#244)
    • The vscode extension will check the server version before starting.
  • Misc:
    • Add async tracing and add a new command typst-preview.showAwaitTree to pop a message and copy the async tree to clipboard. This is useful for debugging.
    • Add split debug symbol for the server.

v0.10.7 - [2024-01-25]

  • Features:
    • Jump to source is more accurate now.
    • Add a config to invert color in preview panel. See typst-preview.invertColors.
    • Allow config scroll sync mode. See typst-preview.scrollSync
    • (Experimental) Improve cursor indicator.

v0.10.6 - [2024-01-17]

  • Bug fixes:
    • fix a bug which cause the preview panel no longer updates as you type

v0.10.5 - [2024-01-14]

  • Bug fixes:

    • fix a bug that fails to incrementally rendering pages with transformed content
    • fix #141: glyph data desync problem, corrupting state of webview typically after your editor hibernating and coming back.
  • Features:

    • performance is now improved even further. We now use a more efficient way to render the document.

v0.10.4 - [2024-01-05]

  • Bug fixes:

    • Fix open in browser. It's broken in v0.10.3.
  • Features:

    • Improve incremental rendering performance.

v0.10.3 - [2024-01-01]

  • Bug fixes:

    • Thanks to new rendering technique, scrolling in no longer laggy on long document.
  • Features:

    • We now automatically declare the previewing file as entrypoint when typst-preview.pinPreviewFile is set to true. This is like the eye icon in webapp. This should improve diagnostic messages for typst lsp. You can enable this by setting typst-preview.pinPreviewFile to true.

v0.10.2 - [2023-12-18]

  • Bug fixes:
    • fix scrollbar hiding

v0.10.1 - [2023-12-17]

  • Features:

    • Improve thumbnail side panel and outline. Now it is clickable and you can jump to the corresponding page.
  • Bug fixes:

    • Improve performance for outline generation.

v0.10.0 - [2023-12-05]

  • Features:
    • Bump to typst v0.10.0

v0.9.2 - [2023-11-23]

  • Features:

    • You can now enable a preview panel in the sidebar. See typst-preview.showInActivityBar.
    • A new keybinding is added. You can trigger preview by using Ctrl/Cmd + k v now.
  • Bug fix:

    • Scroll to cursor on 2-column documents is now improved.

v0.9.1 - [2023-11-17]

  • Features:

    • #160: Slides mode is available now! You can enable use typst-preview.preview-slide command.
    • Allow adjust the status bar item
  • Bug fixes:

    • Previously the Compiling status is never sent to the status bar item. This is now fixed.
    • #183 #128 Various rendering fix.

v0.9.0 - [2023-10-31]

  • Features:

    • Update to typst v0.9.0
    • Add a status indicator in status bar. When compile fails, it becomes red. Clicking on it will show the error message.
  • Bug fixes:

    • #143 Scrolling is not that laggy now
    • #159 Fix a clip path bug

v0.8.3 - [2023-10-28]

  • Bug fixes:

    • #152 Do not pop up error message when the preview window is closed
    • #156 Fix shaking scrollbar/border
    • #161 #151 Should not panic when the file is not exist
  • Features:

    • #157 Add a rough indicator for the current cursor position in the preview panel. You may enable this in configuration.

v0.8.2 - [2023-10-20]

  • Features:

    • #142 The scroll position of the preview panel is now preserved when you switch between tabs.
    • #133 We now provide a button to show log when the server crashes. This should make debugging easier. You may also use the command typst-preview.showLog to show the log.
    • #129 A --version flag is now provided in the cli
  • Bug fixes:

    • #137 Previously preview page might go blank when saving the file
    • #130 Previously you cannot watch a file in /tmp
    • #118 Previously the preview page might flash when you save the file

v0.8.1 - [2023-09-24]

  • Bug fixes:
    • #121: Disable darkreader for preview panel. This should fix the problem where the preview panel is invisible when darkreader is installed in the browser.
    • #123: Fix a VDOM bug which may cause color/clip-path desync.
    • #124: Fix a race condition which may cause the webview process messages out of order, resulting in blank screen.
    • #125: Resizing the preview panel is not that laggy now.
  • Features:
    • #120: We now show page breaks and center pages horizontally. By default we will choose the vscode-sideBar-background color as the page break color. If it is not distinguishable from white, we will use rgb(82, 86, 89) instead.

v0.8.0 - [2023-09-17]

v0.7.5 - [2023-09-01]

  • Fix #107: now VSCode variables like ${workspaceFolder} can be used in typst-preview.fontPaths.
  • Fix cannot open multiple preview tabs at the same time.

v0.7.4 - [2023-08-29]

  • Typst Preview Book is now available at https://enter-tainer.github.io/typst-preview/ ! You can find the documentation of Typst Preview there.
  • Improved standalone usage: Use typst-preview without VSCode now becomes easier. All you need is typst-preview --partial-rendering cool-doc.typ. Take a look at https://enter-tainer.github.io/typst-preview/standalone.html
  • Upgrade to typst.ts 0.4.0-rc2. This fixes a subtle incremental parsing bug.
  • Partial rendering is now enabled by default. This should improve performance on long document. You can disable it by setting typst-preview.partialRendering to false.

v0.7.3 - [2023-08-20]

v0.7.2 - [2023-08-20]

  • Bug fixes:
    • #79: We now put typst compiler and renderer in a dedicate thread. Therefore we should get more stable performance.
    • #78: Currently only the latest compile/render request is processed. This should fix the problem where the preview request will queue up when you type too fast and the doc takes a lot of time to compile.
    • #81: We now use a more robust way to detect the whether to kill stale server process. This should fix the problem where the when preview tab will become blank when it becomes inactive for a while.
    • #87: Add enum description for typst-preview.scrollSync. Previously the description is missing.

v0.7.1 - [2023-08-16]

  • Bug fixes:
    • fix #41. It is now possible to use Typst Preview in VSCode Remote.
    • fix #82. You can have preview button even when typst-lsp is not installed.
  • Misc: We downgrade the ci image for Linux to Ubuntu 20.04. This should fix the problem where the extension cannot be installed on some old Linux distros.

v0.7.0 - [2023-08-09]

  • Upgrade to typst v0.7.0
  • Bug fixes
    • #77 #75: Previously arm64 devices will see a blank preview. This is now fixed.
    • #74: Previously when you open a file without opening in folder, the preview will not work. This is now fixed.

v0.6.4 - [2023-08-06]

  • Rename to Typst Preview.
  • Add page level partial rendering. This should improve performance on long document. This is an experimental feature and is disabled by default. You can enable it by setting typst-preview.partialRendering to true.
  • The binary typst-preview now can be used as a standalone typst server. You can use it to preview your document in browser. For example: typst-preview ./assets/demo/main.typ --open-in-browser --partial-rendering
  • Fix #70: now you can launch many preview instances at the same time.

v0.6.3 - [2023-07-29]

  • Fix #13, #63: Now ctrl+wheel zoom should zoom the content to the cursor position. And when the cursor is not w...
Read more

v0.11.5

18 May 18:04
v0.11.5
Compare
Choose a tag to compare

Change Log

All notable changes to the "typst-preview" extension will be documented in this file.

Check Keep a Changelog for recommendations on how to structure this file.

v0.11.5 - [2024-05-19]

  • Bump to typst v0.11.1
  • Show activity bar icon only when current file is a typst file

v0.11.4 - [2024-04-09]

  • Fix version in nix build
  • Fix desync in firefox

v0.11.3 - [2024-03-25]

  • Bump to typst.ts 0.5.0-rc1

v0.11.2 - [2024-03-21]

  • Fix:
    • #254 Zoom regression in 0.10.8 is now fixed
    • #270 Wrong webview panel location when using 2-row layout
    • Fix preview button being slow when using tinymist

v0.11.1 - [2024-03-18]

  • Fix:
    • remove windows-ia32. It is not supported by vscode anymore.

v0.11.0 - [2024-03-18]

  • Features:
    • Upgrade to typst v0.11.0
    • typst-preview is available on crate.io now. You can install it by running cargo install typst-preview. You can also use it as a library in your project by adding typst-preview to your Cargo.toml.

v0.10.10 - [2024-03-13]

  • Features:
    • Upgrade to typst v0.11.0-rc1(master, 48820fe69b8061bd949847afc343bf160d05c924)
  • Bug fixes:
    • Fix gradient color being rendered incorrectly

v0.10.9 - [2024-03-10]

  • Features:
    • Upgrade to typst v0.11.0-rc1
  • Bug fixes:
    • May fix a bug when typst preview cannot launch on some windows machines
    • Fix jumping view while zooming
    • Fix cannot use relative path in typst-preview.fontPaths

v0.11.0-rc1 - [2024-03-10]

  • Features:
    • Upgrade to typst v0.11.0-rc1
  • Bug fixes:
    • May fix a bug when typst preview cannot launch on some windows machines
    • Fix jumping view while zooming
    • Fix cannot use relative path in typst-preview.fontPaths

v0.10.8 - [2024-02-19]

  • Features:
    • Add favicon when opening the preview in browser (#239)
    • Add drag to scroll. You can now drag the preview panel to scroll.
  • Bug fixes:
    • fix sensitive scale on touchpad (#244)
    • The vscode extension will check the server version before starting.
  • Misc:
    • Add async tracing and add a new command typst-preview.showAwaitTree to pop a message and copy the async tree to clipboard. This is useful for debugging.
    • Add split debug symbol for the server.

v0.10.7 - [2024-01-25]

  • Features:
    • Jump to source is more accurate now.
    • Add a config to invert color in preview panel. See typst-preview.invertColors.
    • Allow config scroll sync mode. See typst-preview.scrollSync
    • (Experimental) Improve cursor indicator.

v0.10.6 - [2024-01-17]

  • Bug fixes:
    • fix a bug which cause the preview panel no longer updates as you type

v0.10.5 - [2024-01-14]

  • Bug fixes:

    • fix a bug that fails to incrementally rendering pages with transformed content
    • fix #141: glyph data desync problem, corrupting state of webview typically after your editor hibernating and coming back.
  • Features:

    • performance is now improved even further. We now use a more efficient way to render the document.

v0.10.4 - [2024-01-05]

  • Bug fixes:

    • Fix open in browser. It's broken in v0.10.3.
  • Features:

    • Improve incremental rendering performance.

v0.10.3 - [2024-01-01]

  • Bug fixes:

    • Thanks to new rendering technique, scrolling in no longer laggy on long document.
  • Features:

    • We now automatically declare the previewing file as entrypoint when typst-preview.pinPreviewFile is set to true. This is like the eye icon in webapp. This should improve diagnostic messages for typst lsp. You can enable this by setting typst-preview.pinPreviewFile to true.

v0.10.2 - [2023-12-18]

  • Bug fixes:
    • fix scrollbar hiding

v0.10.1 - [2023-12-17]

  • Features:

    • Improve thumbnail side panel and outline. Now it is clickable and you can jump to the corresponding page.
  • Bug fixes:

    • Improve performance for outline generation.

v0.10.0 - [2023-12-05]

  • Features:
    • Bump to typst v0.10.0

v0.9.2 - [2023-11-23]

  • Features:

    • You can now enable a preview panel in the sidebar. See typst-preview.showInActivityBar.
    • A new keybinding is added. You can trigger preview by using Ctrl/Cmd + k v now.
  • Bug fix:

    • Scroll to cursor on 2-column documents is now improved.

v0.9.1 - [2023-11-17]

  • Features:

    • #160: Slides mode is available now! You can enable use typst-preview.preview-slide command.
    • Allow adjust the status bar item
  • Bug fixes:

    • Previously the Compiling status is never sent to the status bar item. This is now fixed.
    • #183 #128 Various rendering fix.

v0.9.0 - [2023-10-31]

  • Features:

    • Update to typst v0.9.0
    • Add a status indicator in status bar. When compile fails, it becomes red. Clicking on it will show the error message.
  • Bug fixes:

    • #143 Scrolling is not that laggy now
    • #159 Fix a clip path bug

v0.8.3 - [2023-10-28]

  • Bug fixes:

    • #152 Do not pop up error message when the preview window is closed
    • #156 Fix shaking scrollbar/border
    • #161 #151 Should not panic when the file is not exist
  • Features:

    • #157 Add a rough indicator for the current cursor position in the preview panel. You may enable this in configuration.

v0.8.2 - [2023-10-20]

  • Features:

    • #142 The scroll position of the preview panel is now preserved when you switch between tabs.
    • #133 We now provide a button to show log when the server crashes. This should make debugging easier. You may also use the command typst-preview.showLog to show the log.
    • #129 A --version flag is now provided in the cli
  • Bug fixes:

    • #137 Previously preview page might go blank when saving the file
    • #130 Previously you cannot watch a file in /tmp
    • #118 Previously the preview page might flash when you save the file

v0.8.1 - [2023-09-24]

  • Bug fixes:
    • #121: Disable darkreader for preview panel. This should fix the problem where the preview panel is invisible when darkreader is installed in the browser.
    • #123: Fix a VDOM bug which may cause color/clip-path desync.
    • #124: Fix a race condition which may cause the webview process messages out of order, resulting in blank screen.
    • #125: Resizing the preview panel is not that laggy now.
  • Features:
    • #120: We now show page breaks and center pages horizontally. By default we will choose the vscode-sideBar-background color as the page break color. If it is not distinguishable from white, we will use rgb(82, 86, 89) instead.

v0.8.0 - [2023-09-17]

v0.7.5 - [2023-09-01]

  • Fix #107: now VSCode variables like ${workspaceFolder} can be used in typst-preview.fontPaths.
  • Fix cannot open multiple preview tabs at the same time.

v0.7.4 - [2023-08-29]

  • Typst Preview Book is now available at https://enter-tainer.github.io/typst-preview/ ! You can find the documentation of Typst Preview there.
  • Improved standalone usage: Use typst-preview without VSCode now becomes easier. All you need is typst-preview --partial-rendering cool-doc.typ. Take a look at https://enter-tainer.github.io/typst-preview/standalone.html
  • Upgrade to typst.ts 0.4.0-rc2. This fixes a subtle incremental parsing bug.
  • Partial rendering is now enabled by default. This should improve performance on long document. You can disable it by setting typst-preview.partialRendering to false.

v0.7.3 - [2023-08-20]

v0.7.2 - [2023-08-20]

  • Bug fixes:
    • #79: We now put typst compiler and renderer in a dedicate thread. Therefore we should get more stable performance.
    • #78: Currently only the latest compile/render request is processed. This should fix the problem where the preview request will queue up when you type too fast and the doc takes a lot of time to compile.
    • #81: We now use a more robust way to detect the whether to kill stale server process. This should fix the problem where the when preview tab will become blank when it becomes inactive for a while.
    • #87: Add enum description for typst-preview.scrollSync. Previously the description is missing.

v0.7.1 - [2023-08-16]

  • Bug fixes:
    • fix #41. It is now possible to use Typst Preview in VSCode Remote.
    • fix #82. You can have preview button even when typst-lsp is not installed.
  • Misc: We downgrade the ci image for Linux to Ubuntu 20.04. This should fix the problem where the extension cannot be installed on some old Linux distros.

v0.7.0 - [2023-08-09]

  • Upgrade to typst v0.7.0
  • Bug fixes
    • #77 #75: Previously arm64 devices will see a blank preview. This is now fixed.
    • #74: Previously when you open a file without opening in folder, the preview will not work. This is now fixed.

v0.6.4 - [2023-08-06]

  • Rename to Typst Preview.
  • Add page level partial rendering. This should improve performance on long document. This is an experimental feature and is disabled by default. You can enable it by setting typst-preview.partialRendering to true.
  • The binary typst-preview now can be used as a standalone typst server. You can use it to preview your document in browser. For example: typst-preview ./assets/demo/main.typ --open-in-browser --partial-rendering
  • Fix #70: now you can launch many preview instances at the same time.

v0.6.3 - [2023-07-29]

  • Fix #13, #63: Now ctrl+wheel zoom should zoom the content to the cursor position. And when the cursor is not within the document, the zoom sill works.

v0.6.2 - [2023-07-25]

  • F...
Read more

v0.11.4

09 Apr 14:40
v0.11.4
5686af4
Compare
Choose a tag to compare

Change Log

All notable changes to the "typst-preview" extension will be documented in this file.

Check Keep a Changelog for recommendations on how to structure this file.

v0.11.4 - [2024-04-09]

  • Fix version in nix build
  • Fix desync in firefox

v0.11.3 - [2024-03-25]

  • Bump to typst.ts 0.5.0-rc1

v0.11.2 - [2024-03-21]

  • Fix:
    • #254 Zoom regression in 0.10.8 is now fixed
    • #270 Wrong webview panel location when using 2-row layout
    • Fix preview button being slow when using tinymist

v0.11.1 - [2024-03-18]

  • Fix:
    • remove windows-ia32. It is not supported by vscode anymore.

v0.11.0 - [2024-03-18]

  • Features:
    • Upgrade to typst v0.11.0
    • typst-preview is available on crate.io now. You can install it by running cargo install typst-preview. You can also use it as a library in your project by adding typst-preview to your Cargo.toml.

v0.10.10 - [2024-03-13]

  • Features:
    • Upgrade to typst v0.11.0-rc1(master, 48820fe69b8061bd949847afc343bf160d05c924)
  • Bug fixes:
    • Fix gradient color being rendered incorrectly

v0.10.9 - [2024-03-10]

  • Features:
    • Upgrade to typst v0.11.0-rc1
  • Bug fixes:
    • May fix a bug when typst preview cannot launch on some windows machines
    • Fix jumping view while zooming
    • Fix cannot use relative path in typst-preview.fontPaths

v0.11.0-rc1 - [2024-03-10]

  • Features:
    • Upgrade to typst v0.11.0-rc1
  • Bug fixes:
    • May fix a bug when typst preview cannot launch on some windows machines
    • Fix jumping view while zooming
    • Fix cannot use relative path in typst-preview.fontPaths

v0.10.8 - [2024-02-19]

  • Features:
    • Add favicon when opening the preview in browser (#239)
    • Add drag to scroll. You can now drag the preview panel to scroll.
  • Bug fixes:
    • fix sensitive scale on touchpad (#244)
    • The vscode extension will check the server version before starting.
  • Misc:
    • Add async tracing and add a new command typst-preview.showAwaitTree to pop a message and copy the async tree to clipboard. This is useful for debugging.
    • Add split debug symbol for the server.

v0.10.7 - [2024-01-25]

  • Features:
    • Jump to source is more accurate now.
    • Add a config to invert color in preview panel. See typst-preview.invertColors.
    • Allow config scroll sync mode. See typst-preview.scrollSync
    • (Experimental) Improve cursor indicator.

v0.10.6 - [2024-01-17]

  • Bug fixes:
    • fix a bug which cause the preview panel no longer updates as you type

v0.10.5 - [2024-01-14]

  • Bug fixes:

    • fix a bug that fails to incrementally rendering pages with transformed content
    • fix #141: glyph data desync problem, corrupting state of webview typically after your editor hibernating and coming back.
  • Features:

    • performance is now improved even further. We now use a more efficient way to render the document.

v0.10.4 - [2024-01-05]

  • Bug fixes:

    • Fix open in browser. It's broken in v0.10.3.
  • Features:

    • Improve incremental rendering performance.

v0.10.3 - [2024-01-01]

  • Bug fixes:

    • Thanks to new rendering technique, scrolling in no longer laggy on long document.
  • Features:

    • We now automatically declare the previewing file as entrypoint when typst-preview.pinPreviewFile is set to true. This is like the eye icon in webapp. This should improve diagnostic messages for typst lsp. You can enable this by setting typst-preview.pinPreviewFile to true.

v0.10.2 - [2023-12-18]

  • Bug fixes:
    • fix scrollbar hiding

v0.10.1 - [2023-12-17]

  • Features:

    • Improve thumbnail side panel and outline. Now it is clickable and you can jump to the corresponding page.
  • Bug fixes:

    • Improve performance for outline generation.

v0.10.0 - [2023-12-05]

  • Features:
    • Bump to typst v0.10.0

v0.9.2 - [2023-11-23]

  • Features:

    • You can now enable a preview panel in the sidebar. See typst-preview.showInActivityBar.
    • A new keybinding is added. You can trigger preview by using Ctrl/Cmd + k v now.
  • Bug fix:

    • Scroll to cursor on 2-column documents is now improved.

v0.9.1 - [2023-11-17]

  • Features:

    • #160: Slides mode is available now! You can enable use typst-preview.preview-slide command.
    • Allow adjust the status bar item
  • Bug fixes:

    • Previously the Compiling status is never sent to the status bar item. This is now fixed.
    • #183 #128 Various rendering fix.

v0.9.0 - [2023-10-31]

  • Features:

    • Update to typst v0.9.0
    • Add a status indicator in status bar. When compile fails, it becomes red. Clicking on it will show the error message.
  • Bug fixes:

    • #143 Scrolling is not that laggy now
    • #159 Fix a clip path bug

v0.8.3 - [2023-10-28]

  • Bug fixes:

    • #152 Do not pop up error message when the preview window is closed
    • #156 Fix shaking scrollbar/border
    • #161 #151 Should not panic when the file is not exist
  • Features:

    • #157 Add a rough indicator for the current cursor position in the preview panel. You may enable this in configuration.

v0.8.2 - [2023-10-20]

  • Features:

    • #142 The scroll position of the preview panel is now preserved when you switch between tabs.
    • #133 We now provide a button to show log when the server crashes. This should make debugging easier. You may also use the command typst-preview.showLog to show the log.
    • #129 A --version flag is now provided in the cli
  • Bug fixes:

    • #137 Previously preview page might go blank when saving the file
    • #130 Previously you cannot watch a file in /tmp
    • #118 Previously the preview page might flash when you save the file

v0.8.1 - [2023-09-24]

  • Bug fixes:
    • #121: Disable darkreader for preview panel. This should fix the problem where the preview panel is invisible when darkreader is installed in the browser.
    • #123: Fix a VDOM bug which may cause color/clip-path desync.
    • #124: Fix a race condition which may cause the webview process messages out of order, resulting in blank screen.
    • #125: Resizing the preview panel is not that laggy now.
  • Features:
    • #120: We now show page breaks and center pages horizontally. By default we will choose the vscode-sideBar-background color as the page break color. If it is not distinguishable from white, we will use rgb(82, 86, 89) instead.

v0.8.0 - [2023-09-17]

v0.7.5 - [2023-09-01]

  • Fix #107: now VSCode variables like ${workspaceFolder} can be used in typst-preview.fontPaths.
  • Fix cannot open multiple preview tabs at the same time.

v0.7.4 - [2023-08-29]

  • Typst Preview Book is now available at https://enter-tainer.github.io/typst-preview/ ! You can find the documentation of Typst Preview there.
  • Improved standalone usage: Use typst-preview without VSCode now becomes easier. All you need is typst-preview --partial-rendering cool-doc.typ. Take a look at https://enter-tainer.github.io/typst-preview/standalone.html
  • Upgrade to typst.ts 0.4.0-rc2. This fixes a subtle incremental parsing bug.
  • Partial rendering is now enabled by default. This should improve performance on long document. You can disable it by setting typst-preview.partialRendering to false.

v0.7.3 - [2023-08-20]

v0.7.2 - [2023-08-20]

  • Bug fixes:
    • #79: We now put typst compiler and renderer in a dedicate thread. Therefore we should get more stable performance.
    • #78: Currently only the latest compile/render request is processed. This should fix the problem where the preview request will queue up when you type too fast and the doc takes a lot of time to compile.
    • #81: We now use a more robust way to detect the whether to kill stale server process. This should fix the problem where the when preview tab will become blank when it becomes inactive for a while.
    • #87: Add enum description for typst-preview.scrollSync. Previously the description is missing.

v0.7.1 - [2023-08-16]

  • Bug fixes:
    • fix #41. It is now possible to use Typst Preview in VSCode Remote.
    • fix #82. You can have preview button even when typst-lsp is not installed.
  • Misc: We downgrade the ci image for Linux to Ubuntu 20.04. This should fix the problem where the extension cannot be installed on some old Linux distros.

v0.7.0 - [2023-08-09]

  • Upgrade to typst v0.7.0
  • Bug fixes
    • #77 #75: Previously arm64 devices will see a blank preview. This is now fixed.
    • #74: Previously when you open a file without opening in folder, the preview will not work. This is now fixed.

v0.6.4 - [2023-08-06]

  • Rename to Typst Preview.
  • Add page level partial rendering. This should improve performance on long document. This is an experimental feature and is disabled by default. You can enable it by setting typst-preview.partialRendering to true.
  • The binary typst-preview now can be used as a standalone typst server. You can use it to preview your document in browser. For example: typst-preview ./assets/demo/main.typ --open-in-browser --partial-rendering
  • Fix #70: now you can launch many preview instances at the same time.

v0.6.3 - [2023-07-29]

  • Fix #13, #63: Now ctrl+wheel zoom should zoom the content to the cursor position. And when the cursor is not within the document, the zoom sill works.

v0.6.2 - [2023-07-25]

  • Fix #60 and #24. Now we watch dirty files in memory therefore no shadow file is needed. Due to the removal of disk read/wr...
Read more

v0.11.3

25 Mar 14:04
c623b76
Compare
Choose a tag to compare
chore: bump to 0.11.3 and fix vscode build script (#279)

* chore: bump to 0.11.3 and fix vscode build script

* bump ts to 0.5.0-rc2

v0.11.2

21 Mar 14:26
Compare
Choose a tag to compare
chore: bump to v0.11.2

v0.11.1

18 Mar 14:25
Compare
Choose a tag to compare

v0.11.1 - [2024-03-18]

  • Fix:
    • remove windows-ia32. It is not supported by vscode anymore.

v0.11.0

18 Mar 13:57
fad7eaa
Compare
Choose a tag to compare

v0.11.0 - [2024-03-18]

  • Features:
    • Upgrade to typst v0.11.0
    • typst-preview is available on crate.io now. You can install it by running cargo install typst-preview. You can also use it as a library in your project by adding typst-preview to your Cargo.toml.

v0.10.10

13 Mar 13:39
Compare
Choose a tag to compare

v0.10.10 - [2024-03-13]

  • Features:
    • Upgrade to typst v0.11.0-rc1(master, 48820fe69b8061bd949847afc343bf160d05c924)
  • Bug fixes:
    • Fix gradient color being rendered incorrectly