Releases: Myriad-Dreamin/tinymist
v0.11.16
- Adding editor-side e2e testing in #441 and #442
- 🛤️ We can now start to build our regression tests to avoid degraded functions, covering most cases of editor integration. This should be a milestone to build reliable software.
Compiler
- Making compilation not block most snapshot requests in #432 and #435
- Making cache evicting shared in #434
- To make more sensible cache eviction when you are previewing multiple documents (running multiple compilers).
- (Fix) Changing entry if pinning again in #430
- This was introduced by #406
- (Fix) Tolerating client changing source state badly in #429
- Sometimes the client sends a request with a wrong source state, which causes a panic.
Editor
- Showing views only if tinymist extension is activated in #420
- This is a slightly improvement on #414
- Added hint documentation about configuring rootless document in #440
- You can set the rootPath to
-
, so that tinymist will always use parent directory of the file as the root path.
- You can set the rootPath to
- (Fix) Removed dirty preview command changes in #421
- It also adds dev kit to avoid this stupid mistake in future. The kit contains a convenient command for previewing document on a fixed port for development.
Commands/Tools
- Supported creation-timestamp configuration for exporting PDF in #439
- It now start to provide creation timestamp for the PDF export.
- You can disallow it to embed the creation timestamp in your document by
set document(..)
. - You can also configure it by either Passing Extra CLI Arguments or the environment variable (
SOURCE_DATE_EPOCH
).- For more details, please see source-date-epoch
Preview
- Allowing multiple-tasked preview in #427
- Provided
sys.inputs.x-preview
in #438- It could be used for customizing the templates when you are previewing documents.
Completion
- (Fix) Check string's quote prefix correctly when completing code in #422
Misc
Full Changelog: v0.11.15...v0.11.16
v0.11.16-rc1
What's Changed
- feat: show views only if tinymist extension is activated by @Myriad-Dreamin in #420
- fix: remove dirty preview command changes and add dev kit by @Myriad-Dreamin in #421
- fix: wrong checked prefix on completing strings by @Myriad-Dreamin in #422
- refactor: rearrange preview entry for future improvement by @Myriad-Dreamin in #426
- fix: don't change entry if pinning by @Myriad-Dreamin in #430
- fix: description for exportPdf setting by @Otto-AA in #431
- fix: error tolerated on client changing source state by @Myriad-Dreamin in #429
- feat: make compilation not block most snapshot requests by @Myriad-Dreamin in #432
- refactor: simplify compile actor by @Myriad-Dreamin in #433
- dev: make cache evicting shared by @Myriad-Dreamin in #434
- dev: increase revision for compile request by @Myriad-Dreamin in #435
- dev: rename the status read events by @Myriad-Dreamin in #436
- feat: provide
sys.inputs.x-preview
by @Myriad-Dreamin in #438 - feat: support creation-timestamp configuration for exporting PDF by @Myriad-Dreamin in #439
- docs: add hints about configuring rootless document by @Myriad-Dreamin in #440
- feat: allow multiple-tasked preview by @Myriad-Dreamin in #427
- test: add editor-side e2e testing by @Myriad-Dreamin in #441
- fix: extract completion labels in tests reliably by @Myriad-Dreamin in #442
- build: bump version to 0.11.16-rc1 by @Myriad-Dreamin in #443
New Contributors
Full Changelog: v0.11.15...v0.11.16-rc1
v0.11.15
- Bumped typstyle to v0.11.30 by @Enter-tainer in #416
Compiler
- (Fix) Noting
formatter_print_width
change on changed configuration in #387 - Keeping entry on language query in #406
- Allowed deferred snapshot event processing in #408
Editor
- (Fix) Showing views in activity bar whenever the extension is activated in #414
Hover (Tooltip)
- Rendering example code in typst docs as typst syntax in #397
Preview
- Using
requestIdleCallback
to wait for updating canvas pages when editor is in idle in #412- Improve performance when updating document quickly.
- (Fix) Fixed some corner cases of serving preview in #385
- (Fix) Scrolling source correctly when no text editor is active in #395
- (Fix) Updating content preview incrementally again in #413
- (Fix) wrong serialization of
task_id
v.s.taskId
in #417
Misc
v0.11.15-rc3
- Bumped typstyle to v0.11.29 by @Enter-tainer in #410
Compiler
- (Fix) Noting
formatter_print_width
change on changed configuration in #387 - Keeping entry on language query in #406
- Allowed deferred snapshot event processing in #408
Editor
- (Fix) Showing views in activity bar whenever the extension is activated in #414
Hover (Tooltip)
- Rendering example code in typst docs as typst syntax in #397
Preview
- Using
requestIdleCallback
to wait for updating canvas pages when editor is in idle in #412- Improve performance when updating document quickly.
- (Fix) Fixed some corner cases of serving preview in #385
- (Fix) Scrolling source correctly when no text editor is active in #395
- (Fix) Updating content preview incrementally again in #413
Misc
- Added typlite for typst's doc comments in #398
- Documented tinymist crate in #390
- (Fix) Performing cyclic loop dependence correctly when checking def-use relation across module in #396
Full Changelog: v0.11.14...v0.11.15
v0.11.14
Compiler
This bug is introduced by Preparing for parallelizing lsp requests.
- (Fix) Lsp should respond errors at tail in #367
Commands/Tools
- Supported single-task preview commands in #364, #368, #370, and #371
- Typst Preview extension is already integrated into Tinymist. It . Please disable Typst Preview extension to avoid conflicts.
- Otherwise, you should disable the tinymist's embedded preview feature by
"tinymist.preview": "disable"
in your settings.json.
Preview
- Persisting webview preview through vscode restarts by @Myriad-Dreamin and @noamzaks in #373
Full Changelog: v0.11.13...v0.11.14
v0.11.13
Compiler
These bugs are introduced by Preparing for parallelizing lsp requests.
Misc
- Optimized release profile in #359
Full Changelog: v0.11.12...v0.11.13
v0.11.12
Compiler
- Preparing for parallelizing lsp requests in #342
Commands/Tools
Syntax/Semantic Highlighting
- Disabling bracket colorization in markup mode in #346
- (Fix) Terminating expression before math blocks in #347
Completion
- (Fix) Avoided duplicated method completion in #349
- Fixed a bad early return in param_completions in #350
- Fixed completion in string context a bit in #351
- It can handle empty string literals correctly now.
- The half-completed string literals still have a problem though.
Misc
Full Changelog: v0.11.11...v0.11.12
v0.11.11
- Bumped typstyle to v0.11.26 by @Enter-tainer in #326
Compiler
- (Fix): Handling the conversion of offset at the EOF in #325
- (Fix) Accumulating export events correctly in #330
Document Highlighting (New)
- highlighting all break points for that loop context in #317
On Enter (New)
- Implemented
experimental/onEnter
in #328- It adds slashes smartly and automatically when you are making comments.
- Note: this only works if a client polyfills the
onEnter
request. - Hint: disable it by configuration.
2024-06-17.13-39-03.mp4
Completion
Misc
- Combined CompileClient and CompileClientActor by @QuarticCat in #318
- Simplified pin_entry by @QuarticCat in #320
Full Changelog: v0.11.10...v0.11.11
v0.11.10
- Bumped typstyle to v0.11.23 by @Enter-tainer in #315
Editor
-
Transparentized the background of typst icon in #313
-
Made more consistent font configuration in #312
- It now processes font paths at the server side, to allow font configuration in clients other than VSCode.
- It accepts absolute path or relative path from the workspace root.
- It ignores the vscode variables, such as
${workspaceFolder}
, at the server side. This is still a VSCode only feature.
Example configuration:
"tinymist.fontPaths": [ "${workspaceFolder}/assets/fonts", "${workspaceFolder}/assets/typst-fonts" ],
Or equivalently:
"tinymist.fontPaths": [ "assets/fonts", "assets/typst-fonts" ],
Completion
- Completing CSL paths in #310
Code Action
-
Checking and moving the exactly single punctuation after the math equation to refactor in #306
Action to apply:
After applying:
Full Changelog: v0.11.9...v0.11.10
v0.11.9
-
Bumped typst to 0.11.1 in #301
-
Bumped to typstyle v0.11.21 by @Enter-tainer in #303
-
Upgraded rust and set MSRV to 1.75 in #261
Editor
- (Fix) Implicitly focusing entry on no focus request sent in #262
- Linking documentation to typst.zed for zed users in #268
Compiler
- (Fix) Corrected order of def-and-use for named params in #281
AST Matchers
- (Fix) Searching newline character in utf-8 bytes sequence with tolerating unaligned access in #299
- (Fix) Gets targets to check or deref without skip trivia node in non-code context in #289
- (Fix) Determining
is_set
for checking targets in #286
Commands/Tools
- Resolved symbols for Symbol View Tool in compile-based approach in #269
- It is more robust and flexible than the previous approach.
Completion
- (Fix) properly stops call expressions in #273
- (Fix) completion path with ctx.leaf in #282
- (Fix) filter unsettable params when making a set rule in #287
- Removed literal themselves for completion in #291
- e.g.
#let x = (1.);
. it was completing1.0
, which is funny.
- e.g.
- Complete both open and closed labels in #302
Signature Help
- (Fix) match labels in signature help correctly in #288
Code Action
- Added simple code actions to manipulate equations in #258
Formatting
- Fix suffix computation by @QuarticCat in #263
Misc
- Installing detypify service from npm in #275 and #277
- Implemented naive substitution for types (β-reduction) in #292
Full Changelog: v0.11.8...v0.11.9