Skip to content

Releases: Myriad-Dreamin/tinymist

v0.12.12

16 Dec 17:46
d3269f5
Compare
Choose a tag to compare

Editor

  • Configuring word separator and pattern specific for typst in #990 and #1002
    • Previously some-ident is split to |some-|ident| from left to right or |some|-ident| from right to left. Now VS Code identifies it as a single word.
  • Checking affiliated column for a hidden typst source document by @Myriad-Dreamin in #1003

Preview

Code Analysis

  • (Fix) Simplified types of variables for hover tooltip by @Eric-Song-Nop and @Myriad-Dreamin in #959
  • (Fix) Corrected two wrong usages of analyze_import which prevents code analysis across modules in #967
  • Checking type of labels with tolerating syntax error in #975
    • For example, the non-closed label in #cite(<label) will not stop type checking and be inferred as a label from bibliography files.

Completion

  • (Fix) Fixed many bugs about completing import item, introduced since typst v0.12.0, by @Eric-Song-Nop and @Myriad-Dreamin in #962
  • Checking surrounding syntax when performing type completion in #965 and #968, and #972
    • For example, when inside of some string, it won't complete invalid results.
  • Converting prefix snippets to static data in #982
    • This is a preparation for the future feature of customizing and context-aware snippets. For example, removing some not-useful snippets by user preference or never showing invalid snippets in markup or code mode.
  • Prefetching package index for completion in #983
    • The server will start to fetch package index when the client first requests completion. This will reduce the latency of showing list of packages in completion.
  • Explicitly triggering suggest after completed import/include snippets in #984
  • Added in postfix snippet by @Eric-Song-Nop in #963
    • expanding $expr.in| to | in $expr.

Full Changelog: v0.12.10...v0.12.12

0.12.12-rc3

16 Dec 16:26
80d9106
Compare
Choose a tag to compare
0.12.12-rc3 Pre-release
Pre-release

Fixed issues found in the integrated typstyle.

v0.12.12-rc2

15 Dec 10:51
3cdd9f2
Compare
Choose a tag to compare
v0.12.12-rc2 Pre-release
Pre-release

v0.12.12 - [2024-12-15]

Editor

  • Configuring word separator and pattern specific for typst in #990 and #1002
    • Previously some-ident is split to |some-|ident| from left to right or |some|-ident| from right to left. Now VS Code identifies it as a single word.
  • Checking affiliated column for a hidden typst source document by @Myriad-Dreamin in #1003

Preview

Code Analysis

  • (Fix) Simplified types of variables for hover tooltip by @Eric-Song-Nop and @Myriad-Dreamin in #959
  • (Fix) Corrected two wrong usages of analyze_import which prevents code analysis across modules in #967
  • Checking type of labels with tolerating syntax error in #975
    • For example, the non-closed label in #cite(<label) will not stop type checking and be inferred as a label from bibliography files.

Completion

  • (Fix) Fixed many bugs about completing import item, introduced since typst v0.12.0, by @Eric-Song-Nop and @Myriad-Dreamin in #962
  • Checking surrounding syntax when performing type completion in #965 and #968, and #972
    • For example, when inside of some string, it won't complete invalid results.
  • Converting prefix snippets to static data in #982
    • This is a preparation for the future feature of customizing and context-aware snippets. For example, removing some not-useful snippets by user preference or never showing invalid snippets in markup or code mode.
  • Prefetching package index for completion in #983
    • The server will start to fetch package index when the client first requests completion. This will reduce the latency of showing list of packages in completion.
  • Explicitly triggering suggest after completed import/include snippets in #984
  • Added in postfix snippet by @Eric-Song-Nop in #963
    • expanding $expr.in| to | in $expr.

Full Changelog: v0.12.10...v0.12.12-rc2

v0.12.10

07 Dec 07:41
4a236e8
Compare
Choose a tag to compare

Editor

  • (Fix) Binding this context to showLog function in #951
    • Otherwise, an undefined reference exception is thrown when showing logs.

Code Analysis

  • (Fix) Warning well-formed named parameters in docstring in #948
    • There are potential bugs so there might be ill-formed named parameters and cause panics. We haven't fixed them but turn the panics into warnings.

Completion

  • Completing on import item paths by @Eric-Song-Nop and @Myriad-Dreamin in #949
    • The syntax was introduced in typst v0.12.0 which prevented all effective completions on import items.
  • (Fix) Only completing import items on the same line of the associated module import in #952
    • Otherwise, it completes import items when the cursor is at, for example, #import "some.typ":\n|.

Full Changelog: v0.12.8...v0.12.10

v0.12.10-rc1

07 Dec 04:35
5dd9bad
Compare
Choose a tag to compare
v0.12.10-rc1 Pre-release
Pre-release

Editor

  • (Fix) Binding this context to showLog function in #951
    • Otherwise, an undefined reference exception is thrown when showing logs.

Code Analysis

  • (Fix) Warning well-formed named parameters in docstring in #948
    • There are potential bugs so there might be ill-formed named parameters and cause panics. We haven't fixed them but turn the panics into warnings.

Completion

  • Completing on import item paths by @Eric-Song-Nop and @Myriad-Dreamin in #949
    • The syntax was introduced in typst v0.12.0 which prevented all effective completions on import items.
  • (Fix) Only completing import items on the same line of the associated module import in #952
    • Otherwise, it completes import items when the cursor is at, for example, #import "some.typ":\n|.

Full Changelog: v0.12.8...v0.12.10-rc1

v0.12.8

03 Dec 14:29
27460a9
Compare
Choose a tag to compare

v0.12.6 was wrongly released as v0.12.6-rc3. This release is to fix the version number.

Compiler

  • Added package related arguments to typstExtraArgs in #923

Editor

Code Analysis

  • Improved definition finder of builtin values and field accesses in #919 and #920
    • Previously, tinymist cannot resolve definitions of items such as math.equation and list.item, so some functions did not work on them, like signature help or hover. Here, math is a builtin value. list is a element as well as a scope owning a item field (element).
  • Resolving constant references in import at syntax level in #933
    • To solve wildcard imports like: import cetz.draw: *.
  • Dynamically analyzing import source for wildcard imports in #935
    • To solve more static imports like: let draw = cetz.draw; import draw: *.
    • To solve more static imports like: import ("draw" + ".typ"): *.
  • (Fix) Replaced two touched panics with log::warn in signature checker in #934

Preview

  • (Fix) Corrected function references in HTML in #896
    • which broke functionality that opens preview after restarting the VS Code.

Completion

  • (Fix) Detecting surrounding syntax of argument lists in show rule in #914

Syntax/Semantic Highlighting

  • (Fix) Removed buggy term list parsing in #897
  • (Fix) Matching braces in math mode as content in #901
  • (Fix) Stopping import-as clause parsing before colon in #908
  • (Fix) Parsing atomic func/method call expression in markup mode in #909
  • (Fix) Parsing show transformer until new line or code terminator in #910
  • Recursively parsing markup link according to typst syntax in #911

Misc

Full Changelog: v0.12.4...v0.12.6

v0.12.6

03 Dec 11:26
7efbaf3
Compare
Choose a tag to compare

Compiler

  • Added package related arguments to typstExtraArgs in #923

Editor

Code Analysis

  • Improved definition finder of builtin values and field accesses in #919 and #920
    • Previously, tinymist cannot resolve definitions of items such as math.equation and list.item, so some functions did not work on them, like signature help or hover. Here, math is a builtin value. list is a element as well as a scope owning a item field (element).
  • Resolving constant references in import at syntax level in #933
    • To solve wildcard imports like: import cetz.draw: *.
  • Dynamically analyzing import source for wildcard imports in #935
    • To solve more static imports like: let draw = cetz.draw; import draw: *.
    • To solve more static imports like: import ("draw" + ".typ"): *.
  • (Fix) Replaced two touched panics with log::warn in signature checker in #934

Preview

  • (Fix) Corrected function references in HTML in #896
    • which broke functionality that opens preview after restarting the VS Code.

Completion

  • (Fix) Detecting surrounding syntax of argument lists in show rule in #914

Syntax/Semantic Highlighting

  • (Fix) Removed buggy term list parsing in #897
  • (Fix) Matching braces in math mode as content in #901
  • (Fix) Stopping import-as clause parsing before colon in #908
  • (Fix) Parsing atomic func/method call expression in markup mode in #909
  • (Fix) Parsing show transformer until new line or code terminator in #910
  • Recursively parsing markup link according to typst syntax in #911

Misc

Full Changelog: v0.12.4...v0.12.6

v0.12.6-rc3

03 Dec 09:32
7efbaf3
Compare
Choose a tag to compare
v0.12.6-rc3 Pre-release
Pre-release

Some fixes found in rc1 and rc2 were added.

Changes for fixes and improvements

New features

Full Changelog: v0.12.6-rc1...v0.12.6-rc3

v0.12.6-rc1

30 Nov 08:32
1a41dfe
Compare
Choose a tag to compare
v0.12.6-rc1 Pre-release
Pre-release

Editor

Preview

  • (Fix) Corrected function references in HTML in #896

Completion

  • (Fix) Detecting surrounding syntax of argument lists in show rule in #914

Syntax/Semantic Highlighting

  • (Fix) Removed buggy term list parsing in #897
  • (Fix) Matching braces in math mode as content in #901
  • (Fix) Stopping import-as clause parsing before colon in #908
  • (Fix) Parsing atomic func/method call expression in markup mode in #909
  • (Fix) Parsing show transformer until new line or code terminator in #910
  • Recursively parsing markup link according to typst syntax in #911

Misc

Full Changelog: v0.12.4...v0.12.6-rc1

v0.12.4

23 Nov 08:05
ce125a2
Compare
Choose a tag to compare
  • Updated roadmap (typst v0.13.0+) in #876

Announcement: New Maintainers

We have added maintainers to GitHub since 2024-11-22:

  • @ParaN3xus has become a maintainer of the "Nightly Releases" feature in #783
  • @max397574 has become a maintainer of the "Editor integration" feature in #784
  • @Eric-Song-Nop has become a maintainer of the "Language Service" feature in #796
  • @alerque has become a maintainer of the "Neovim integration" feature in #810

Compiler

  • Added package related arguments to typstExtraArgs in #832 and #833
    • (Help Wanted) Reverted because of the OpenSSL problem. See #885.
  • Taking configuration items from tinymist section in #835
    • Some editors, e.g. Emacs, use a shared configuration object for all language servers, so it would be better to allow wrapping all configuration items in a single object.

Editor

  • Statically registering formatting and semantic tokens capabilities by @MrLego8-9 in #814
    • Some editors, e.g. Kate, support neither to dynamic register formatting and semantic tokens capabilities nor pass configuration when initialization, which causes problem.
  • Opening exported files using rust's open crate in #838 and #855
    • Check #837 for more information.

Completion

  • Added more completion tests in #845

  • Completing bracket if the function accepts an only content argument in #848, #860, #867, and #870

    2024-11-22.16-46-24.mp4
  • Providing UFCS-style completion on content types in #849

    2024-11-22.16-47-47.mp4
  • Providing postfix completion on values in #850 and #880

    2024-11-22.16-49-34.mp4
  • Improved and filtered completion in show/set syntax in #858 and #859

  • (Fix) Using correct base directory for path completion by @Eric-Song-Nop in #854

  • Preferring to guide coding by signature help than completion list in #874

  • (Fix) Skipping code completion when editing length in #882

Docstring

  • Checking union type annotation in #842

Syntax/Semantic Highlighting

  • (Fix) match brackets in content block recursively in #856

Rename

  • Added search index to quickly filter unrelated files in #864
  • Added support to rename resource paths in files in #869

References

  • Added search index to quickly filter unrelated files in #864

Code Action

  • Added code action to wrap content blocks in #881

Misc

  • Caching link expressions in #866
  • Improved caches of calls and module exports type checking in #847

Full Changelog: v0.12.2...v0.12.4