Releases: Enter-tainer/typst-preview
v0.11.14
v0.11.7
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:
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 addingtypst-preview
to yourCargo.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.
- Add async tracing and add a new command
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 totrue
. This is like the eye icon in webapp. This should improve diagnostic messages for typst lsp. You can enable this by settingtypst-preview.pinPreviewFile
totrue
.
- We now automatically declare the previewing file as entrypoint when
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.
- You can now enable a preview panel in the sidebar. See
-
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
- #160: Slides mode is available now! You can enable use
-
Bug fixes:
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:
v0.8.3 - [2023-10-28]
-
Bug fixes:
-
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:
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.
- #120: We now show page breaks and center pages horizontally. By default we will choose the
v0.8.0 - [2023-09-17]
- Upgrade to typst v0.8.0
- Fix #111: Previously stroke related attributes are not rendered correctly. This is now fixed.
- Fix #105: The compiler will panic randomly. This is now fixed.
- Upstream bug fixes: https://github.com/Myriad-Dreamin/typst.ts/releases/tag/v0.4.0-rc3
v0.7.5 - [2023-09-01]
- Fix #107: now VSCode variables like
${workspaceFolder}
can be used intypst-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 istypst-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
tofalse
.
v0.7.3 - [2023-08-20]
- Bugfix: fix a subtle rendering issue, typst.ts#306.
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:
- 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
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
totrue
. - 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 ...
v0.11.6
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:
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 addingtypst-preview
to yourCargo.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.
- Add async tracing and add a new command
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 totrue
. This is like the eye icon in webapp. This should improve diagnostic messages for typst lsp. You can enable this by settingtypst-preview.pinPreviewFile
totrue
.
- We now automatically declare the previewing file as entrypoint when
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.
- You can now enable a preview panel in the sidebar. See
-
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
- #160: Slides mode is available now! You can enable use
-
Bug fixes:
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:
v0.8.3 - [2023-10-28]
-
Bug fixes:
-
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:
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.
- #120: We now show page breaks and center pages horizontally. By default we will choose the
v0.8.0 - [2023-09-17]
- Upgrade to typst v0.8.0
- Fix #111: Previously stroke related attributes are not rendered correctly. This is now fixed.
- Fix #105: The compiler will panic randomly. This is now fixed.
- Upstream bug fixes: https://github.com/Myriad-Dreamin/typst.ts/releases/tag/v0.4.0-rc3
v0.7.5 - [2023-09-01]
- Fix #107: now VSCode variables like
${workspaceFolder}
can be used intypst-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 istypst-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
tofalse
.
v0.7.3 - [2023-08-20]
- Bugfix: fix a subtle rendering issue, typst.ts#306.
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:
- 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
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
totrue
. - 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]
v0.11.5
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:
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 addingtypst-preview
to yourCargo.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.
- Add async tracing and add a new command
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 totrue
. This is like the eye icon in webapp. This should improve diagnostic messages for typst lsp. You can enable this by settingtypst-preview.pinPreviewFile
totrue
.
- We now automatically declare the previewing file as entrypoint when
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.
- You can now enable a preview panel in the sidebar. See
-
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
- #160: Slides mode is available now! You can enable use
-
Bug fixes:
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:
v0.8.3 - [2023-10-28]
-
Bug fixes:
-
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:
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.
- #120: We now show page breaks and center pages horizontally. By default we will choose the
v0.8.0 - [2023-09-17]
- Upgrade to typst v0.8.0
- Fix #111: Previously stroke related attributes are not rendered correctly. This is now fixed.
- Fix #105: The compiler will panic randomly. This is now fixed.
- Upstream bug fixes: https://github.com/Myriad-Dreamin/typst.ts/releases/tag/v0.4.0-rc3
v0.7.5 - [2023-09-01]
- Fix #107: now VSCode variables like
${workspaceFolder}
can be used intypst-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 istypst-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
tofalse
.
v0.7.3 - [2023-08-20]
- Bugfix: fix a subtle rendering issue, typst.ts#306.
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:
- 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
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
totrue
. - 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...
v0.11.4
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:
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 addingtypst-preview
to yourCargo.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.
- Add async tracing and add a new command
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 totrue
. This is like the eye icon in webapp. This should improve diagnostic messages for typst lsp. You can enable this by settingtypst-preview.pinPreviewFile
totrue
.
- We now automatically declare the previewing file as entrypoint when
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.
- You can now enable a preview panel in the sidebar. See
-
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
- #160: Slides mode is available now! You can enable use
-
Bug fixes:
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:
v0.8.3 - [2023-10-28]
-
Bug fixes:
-
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:
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.
- #120: We now show page breaks and center pages horizontally. By default we will choose the
v0.8.0 - [2023-09-17]
- Upgrade to typst v0.8.0
- Fix #111: Previously stroke related attributes are not rendered correctly. This is now fixed.
- Fix #105: The compiler will panic randomly. This is now fixed.
- Upstream bug fixes: https://github.com/Myriad-Dreamin/typst.ts/releases/tag/v0.4.0-rc3
v0.7.5 - [2023-09-01]
- Fix #107: now VSCode variables like
${workspaceFolder}
can be used intypst-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 istypst-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
tofalse
.
v0.7.3 - [2023-08-20]
- Bugfix: fix a subtle rendering issue, typst.ts#306.
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:
- 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
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
totrue
. - 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]
v0.11.3
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
chore: bump to v0.11.2
v0.11.1
v0.11.1 - [2024-03-18]
- Fix:
- remove windows-ia32. It is not supported by vscode anymore.
v0.11.0
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 addingtypst-preview
to yourCargo.toml
.
v0.10.10
v0.10.10 - [2024-03-13]
- Features:
- Upgrade to typst v0.11.0-rc1(master, 48820fe69b8061bd949847afc343bf160d05c924)
- Bug fixes:
- Fix gradient color being rendered incorrectly