Releases: Myriad-Dreamin/tinymist
v0.12.12
- Bumped typstyle from v0.12.6 to v0.12.12 by @Enter-tainer in #987 and #1010
- This version includes massive update on comment formatting and binary operator chain formatting. For details, see https://enter-tainer.github.io/typstyle/changelog/#v01211---2024-12-16
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.
- Previously
- Checking affiliated column for a hidden typst source document by @Myriad-Dreamin in #1003
Preview
- (Fix) Rewrote some code for compatibility to some old chromium core by @Parsifa1 in #995
- Jumping to nearest position in preview from cursor by @Eric-Song-Nop and @Myriad-Dreamin in #997 and #1004
- Partially fix issues/626, it doesn't quite work but this is the first step.
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.
- For example, the non-closed label in
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
.
- expanding
Full Changelog: v0.12.10...v0.12.12
0.12.12-rc3
Fixed issues found in the integrated typstyle.
- Bumped typstyle from v0.12.6 to v0.12.12 by @Enter-tainer in #987 and #1010
- This version includes massive update on comment formatting and binary operator chain formatting. For details, see https://enter-tainer.github.io/typstyle/changelog/#v01211---2024-12-16
v0.12.12-rc2
v0.12.12 - [2024-12-15]
- Bumped typstyle from v0.12.6 to v0.12.10 by @Enter-tainer in #987
- This version includes massive update on comment formatting and binary operator chain formatting. For details, see https://enter-tainer.github.io/typstyle/changelog/#v01210---2024-12-12
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.
- Previously
- Checking affiliated column for a hidden typst source document by @Myriad-Dreamin in #1003
Preview
- (Fix) Rewrote some code for compatibility to some old chromium core by @Parsifa1 in #995
- Jumping to nearest position in preview from cursor by @Eric-Song-Nop and @Myriad-Dreamin in #997 and #1004
- Partially fix issues/626, it doesn't quite work but this is the first step.
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.
- For example, the non-closed label in
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
.
- expanding
Full Changelog: v0.12.10...v0.12.12-rc2
v0.12.10
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|
.
- Otherwise, it completes import items when the cursor is at, for example,
Full Changelog: v0.12.8...v0.12.10
v0.12.10-rc1
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|
.
- Otherwise, it completes import items when the cursor is at, for example,
Full Changelog: v0.12.8...v0.12.10-rc1
v0.12.8
v0.12.6 was wrongly released as v0.12.6-rc3. This release is to fix the version number.
- Bumped typstyle to v0.12.6 by @Enter-tainer in #893, #904 and #928
- Comment formatting and code block formatting is improved. For details, see https://enter-tainer.github.io/typstyle/changelog/#v0125---2024-11-29
- Performance is greatly improved. For details, see https://enter-tainer.github.io/typstyle/changelog/#v0124---2024-11-26
Compiler
- Added package related arguments to typstExtraArgs in #923
Editor
-
Providing
tinymist.restartServer
command by @Eric-Song-Nop in #894 -
Providing elementary font view in #932
2024-12-03.19-23-49.mp4
-
Implemented Search function in template gallery by @Eric-Song-Nop and @Myriad-Dreamin in #922
2024-12-03.19-15-05.mp4
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
andlist.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 aitem
field (element).
- Previously, tinymist cannot resolve definitions of items such as
- Resolving constant references in import at syntax level in #933
- To solve wildcard imports like:
import cetz.draw: *
.
- To solve wildcard imports like:
- 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"): *
.
- To solve more static imports like:
- (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
- Copy-edited Neovim readme by @alerque in #888
- Set up
typos
tool and fixed typos in entire code base by @alerque and @Myriad-Dreamin in #887 and #899 - Added fmt, clippy, doc, and msrv tests to CI in #926
- Running CI tests on windows in #925
Full Changelog: v0.12.4...v0.12.6
v0.12.6
- Bumped typstyle to v0.12.6 by @Enter-tainer in #893, #904 and #928
- Comment formatting and code block formatting is improved. For details, see https://enter-tainer.github.io/typstyle/changelog/#v0125---2024-11-29
- Performance is greatly improved. For details, see https://enter-tainer.github.io/typstyle/changelog/#v0124---2024-11-26
Compiler
- Added package related arguments to typstExtraArgs in #923
Editor
-
Providing
tinymist.restartServer
command by @Eric-Song-Nop in #894 -
Providing elementary font view in #932
2024-12-03.19-23-49.mp4
-
Implemented Search function in template gallery by @Eric-Song-Nop and @Myriad-Dreamin in #922
2024-12-03.19-15-05.mp4
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
andlist.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 aitem
field (element).
- Previously, tinymist cannot resolve definitions of items such as
- Resolving constant references in import at syntax level in #933
- To solve wildcard imports like:
import cetz.draw: *
.
- To solve wildcard imports like:
- 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"): *
.
- To solve more static imports like:
- (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
- Copy-edited Neovim readme by @alerque in #888
- Set up
typos
tool and fixed typos in entire code base by @alerque and @Myriad-Dreamin in #887 and #899 - Added fmt, clippy, doc, and msrv tests to CI in #926
- Running CI tests on windows in #925
Full Changelog: v0.12.4...v0.12.6
v0.12.6-rc3
Some fixes found in rc1 and rc2 were added.
Changes for fixes and improvements
- feat: convert values in builtin modules to definition by @Myriad-Dreamin in #919
- feat: check interface of all scope-like values by @Myriad-Dreamin in #920
- feat: add package related arguments to typstExtraArgs by @Myriad-Dreamin in #923
- feat: provide elementary font view by @Myriad-Dreamin in #932
- feat: resolve constant references in import at syntax level by @Myriad-Dreamin in #933
- fix: convert two touched panics to
log::warn
in signature checker by @Myriad-Dreamin in #934 - feat: dynamically analyze import source for wildcard imports by @Myriad-Dreamin in #935
New features
- feat: search template gallery by @Eric-Song-Nop in #922
- feat: provide tool view by @Myriad-Dreamin in #936
Full Changelog: v0.12.6-rc1...v0.12.6-rc3
v0.12.6-rc1
- Bumped typstyle to v0.12.5 by @Enter-tainer in #893 and #904
- Comment formatting and code block formatting is improved. For details, see https://enter-tainer.github.io/typstyle/changelog/#v0125---2024-11-29
- Performance is greatly improved. For details, see https://enter-tainer.github.io/typstyle/changelog/#v0124---2024-11-26
Editor
- Providing
tinymist.restartServer
command by @Eric-Song-Nop in #894
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
- Copy-edited Neovim readme by @alerque in #888
- Set up
typos
tool and fixed typos in entire code base by @alerque and @Myriad-Dreamin in #887 and #899
Full Changelog: v0.12.4...v0.12.6-rc1
v0.12.4
- 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 totypstExtraArgs
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
Full Changelog: v0.12.2...v0.12.4