Skip to content

Releases: Myriad-Dreamin/tinymist

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

v0.11.8

07 May 11:38
f0442b7
Compare
Choose a tag to compare

Tracking remaining reported issues here: #257

Hover

  • Improved open document tooltip in #254

Completion

  • Inserting commas in argument context for completing before identifiers in #251
  • Improved identifying literal expressions in #252
  • Identifying let context completely in #255
    • To help complete after equal marker in let b = ..
  • Restoring left parenthesis and comma as trigger characters in #253
    • This is needed for completion on literal expressions.

Type Checking

  • (Fix) Avoiding infinite loop in simplifying recursive functions in #246
    • Fix a stack overflow in ty.rs
  • (Fix) Instantiating variable before applying variable function in #247
    • Fix a deadlock in ty.rs
  • (Fix) Simplifying all substructure in #248
    • Fix a panic in ty.rs
  • Improved join type inference in #249
  • Weakening inference from outer use in #250
    • to reduce noise slightly for completion

Full Changelog: v0.11.7...v0.11.8

v0.11.7

05 May 16:08
f167ad1
Compare
Choose a tag to compare

Editor

  • Improved icons in #242

image

  • Conditionally opening activity icon when lang id is typst by @Enter-tainer in #222
  • (Fix) Symbol view issues in #224
  • Disabled inlay hints by default in #225

Completion

  • Triggering parameter hints instead of suggest on pos args in #243

image

image

  • Showing label descriptions for labels in #228 and #237

image

  • Showing graphic label descriptions for symbols in #227 and #237

image

  • Showing label descriptions according to types in #237

image

  • Filtering completions by module import in #234
  • Filtering completions by surrounding syntax for elements/selectors in #236

image

Code Action (New)

  • Provided code action to rewrite headings in #240

image

Definition

  • Finding definition of label references in #235

image

Hover

  • Handled/Added link in the hover documentation in #239

image

image

Signature Help

  • Reimplemented signature help with static analyses in #241

image

Misc

  • Added template for feature request in #238
  • Improved Dynamic analysis on import from dynamic expressions in #233
  • Performing Type check across modules in #232
  • Bumped to typstyle v0.11.17 by @Enter-tainer in #223

Full Changelog: v0.11.6...v0.11.7

v0.11.6

27 Apr 02:52
9767e33
Compare
Choose a tag to compare

Editor

  • Added more auto closing pairs, surrounding pairs, and characters that could make auto closing before in #209
  • Hiding Status bar until the recent focus file is closed in #212

Compiler

  • (Fix) Removed a stupid debugging which may cause panic in #215

Commands/Tools

  • Completed symbol view in #218
    • Not all symbols are categorized yet. If not, they are put into the "Misc" category.
    • It is now showing in the activity bar (sidebar). Feel free to report any issues or suggestions for improvement.
2024-04-27.10-39-34.mp4

Full Changelog: v0.11.5...v0.11.6