Skip to content

Releases: Myriad-Dreamin/tinymist

v0.11.16

20 Jul 15:33
d6d69b2
Compare
Choose a tag to compare
  • 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.
  • (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).

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

  • Fixed description for exportPdf setting by @Otto-AA in #431

Full Changelog: v0.11.15...v0.11.16

v0.11.16-rc1

20 Jul 14:51
e704c44
Compare
Choose a tag to compare
v0.11.16-rc1 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v0.11.15...v0.11.16-rc1

v0.11.15

15 Jul 03:07
b8de9f9
Compare
Choose a tag to compare

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

  • 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

v0.11.15-rc3

14 Jul 11:30
Compare
Choose a tag to compare
v0.11.15-rc3 Pre-release
Pre-release

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

07 Jul 07:25
Compare
Choose a tag to compare

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

Full Changelog: v0.11.13...v0.11.14

v0.11.13

02 Jul 04:48
Compare
Choose a tag to compare

Compiler

These bugs are introduced by Preparing for parallelizing lsp requests.

  • (Fix) diagnostics is back in #354
  • (Fix) Checking main before compilation in #361

Misc

  • Optimized release profile in #359

Full Changelog: v0.11.12...v0.11.13

v0.11.12

28 Jun 02:00
Compare
Choose a tag to compare
  • Bumped typstyle to v0.11.28
  • Added base documentation website in #344 and #345

Compiler

  • Preparing for parallelizing lsp requests in #342

Commands/Tools

  • Added font list export panel in summary tool by @7sDream in #322

image

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

  • Moved typst-preview to tinymist and combined the binary and compiler in #323, #332, and #337

Full Changelog: v0.11.11...v0.11.12

v0.11.11

17 Jun 05:46
1c653d5
Compare
Choose a tag to compare

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)

2024-06-17.13-39-03.mp4

Completion

  • Generating names for destructuring closure params by @wrenger in #319

Misc

Full Changelog: v0.11.10...v0.11.11

v0.11.10

26 May 03:53
eb12ef0
Compare
Choose a tag to compare

Editor

  • Transparentized the background of typst icon in #313

    image

  • 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

image

Code Action

  • Checking and moving the exactly single punctuation after the math equation to refactor in #306

    Action to apply:

    image

    After applying:

    image

Full Changelog: v0.11.9...v0.11.10

v0.11.9

18 May 05:10
49c665d
Compare
Choose a tag to compare

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 completing 1.0, which is funny.
  • 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

image

image

Formatting

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