Skip to content

v0.12.2-rc1

Pre-release
Pre-release

Choose a tag to compare

@Myriad-Dreamin Myriad-Dreamin released this 15 Nov 07:22
· 1153 commits to main since this release
52a8d0e

Announcement: New Maintainers

We are going to add maintainers on GitHub since 2024-11-22 (in 7 days):

Please reply in PRs or DM @Myriad-Dreamin if you have any concerns about adding these maintainers to list.

Docs

  • Added coc.nvim config example by @tanloong in #727
  • Maintained docs for tinymist 0.12.2 in #733 and #825
  • Updated neovim's setup section in #749
  • Added documentation about docstring in #771

Editor

  • {En,De}coding base-64 strings with Text{De,En}coder in #719 and #774
  • Removed outdated typst.tmLanguage.json in #725
  • Disabling unicode bracket pair autocompletion in #726
    • This is a degradation, as discussed in #723
  • Added preview icon when clicking outside the document by @supersurviveur in #734

Compiler

  • Implemented expression checker in #714, #736, #756, #759, #773, #775, #777, #798, #801, #815, and #822
    • This is a high-level IR for various analyses above AST, e.g. type checking.
  • Improved ways of checking docstring in #752, #755
  • Locking and taking snapshot {analysis,token} caches on main thread in #806, #817, and #819
  • (Fix) Rendered bitmap and svg glyphs correctly in #745
    • This is broken by update typst to v0.12.0.
  • (Fix) Ensuring expr and type enum are not too big correctly in #811

Commands/Tools

  • Added tinymist query checkPackage command in #742
  • Showing performance statistics in summary page in #743
  • Completed symbol classification in handwriting recognizer by @summerBreeze03 in #705
  • (Fix) Corrected word count when empty line exists by @Eric-Song-Nop in #795
  • (Fix) Corrected usage of /package/symbol in package view in #820
  • (Fix) Querying file type with following symbolic links when listing packages in #821
    • Previously, some directories are not identified because they are behind symbolic links.

Docstring

  • Strictly matching module-level comments in #770

    • Previously both // Docs and /// Docs at the start of some file are regarded as docs of the module (file). However, this is not great because people also usually put shebangs and license information in comments.

    Example:

    // License: Apache 2.0
    /// Some Module Docs.

    The exact docs should be Some Module Docs. instead of License: Apache 2.0\nSome Module Docs.

  • Rendering examples in docs in #772

  • Emitting errors into docs instead of causing failures in #786

  • Striping out the line containing the return type in #803

Hover (Tooltip)

  • Providing docs when hovering on module refs in #751
  • Improved style of hover param docs in #813
  • Conditionally rendering code in docs in #824

Completion

  • (Fix) Client-side controlling to whether issue completion callback in #744
  • (Fix) Matching all identifier-like nodes for completion in #747
  • Avoiding trivial completion when the trigger char is an ascii punctuation in #748
  • Added more completion tests in #776
  • Consistently enriching colon after show selectors in #785

Syntax/Semantic Highlighting

Signature Help

  • Improved style of signature docs in #750

Preview

  • (Fix) Bidirectionally jumping if page.fill is set in #728
    • This is broken by update typst to v0.12.0.

On Enter

  • Fully supported onEnter edits inside comments in #823
    • Working with selection with range for all clients.
    • Working with selection with multiple cursors for VS Cod{e,ium} client.

Misc

  • Uploading test snapshot and log for debugging in #760 and #787
  • Added time limit argument to language server's replay command in #816

Full Changelog: v0.12.0...v0.12.2-rc1