From da70c0d31c30e1a6fb69141803a4f244efe3d64f Mon Sep 17 00:00:00 2001 From: Myriad-Dreamin <35292584+Myriad-Dreamin@users.noreply.github.com> Date: Sat, 6 Apr 2024 19:46:41 +0800 Subject: [PATCH] build: bump version to 0.11.3 (#172) * build: update readme and changelog for update * build: bump version to 0.11.3 * dev: remove a dirty console log * dev: update changelog --- Cargo.lock | 8 +-- Cargo.toml | 2 +- README.md | 8 ++- editors/vscode/CHANGELOG.md | 59 +++++++++++++++++++ editors/vscode/package.json | 2 +- syntaxes/textmate/package.json | 2 +- tools/editor-tools/src/features/summary.ts | 2 +- .../src/features/template-gallery.ts | 1 - 8 files changed, 73 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 095933435..1dddf4316 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3595,7 +3595,7 @@ dependencies = [ [[package]] name = "tests" -version = "0.11.2" +version = "0.11.3" dependencies = [ "insta", "lsp-server", @@ -3692,7 +3692,7 @@ dependencies = [ [[package]] name = "tinymist" -version = "0.11.2" +version = "0.11.3" dependencies = [ "anyhow", "async-trait", @@ -3743,7 +3743,7 @@ dependencies = [ [[package]] name = "tinymist-query" -version = "0.11.2" +version = "0.11.3" dependencies = [ "anyhow", "comemo 0.4.0", @@ -3779,7 +3779,7 @@ dependencies = [ [[package]] name = "tinymist-render" -version = "0.11.2" +version = "0.11.3" dependencies = [ "base64 0.22.0", "log", diff --git a/Cargo.toml b/Cargo.toml index 2b204f007..e6fac93b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [workspace.package] description = "An integrated language service for Typst." authors = ["Myriad-Dreamin ", "Nathan Varner"] -version = "0.11.2" +version = "0.11.3" edition = "2021" readme = "README.md" license = "Apache-2.0" diff --git a/README.md b/README.md index 4b7be6051..f29898bef 100644 --- a/README.md +++ b/README.md @@ -42,9 +42,13 @@ Language service (LSP) features: Extra features: - Compiles to PDF on save (configurable to as-you-type, or other options) +- Provides code lenses for exporting to various formats (PDF, SVG, PNG, etc.) +- Provides a status bar item to show the current document's compilation status and words count. - [Editor tools](https://github.com/Myriad-Dreamin/tinymist/tree/main/tools/editor-tools): - - View a list of templates in template gallery. - - Click a button in template gallery to initialize a new project with a template. + - View a list of templates in template gallery. (`tinymist.showTemplateGallery`) + - Click a button in template gallery to initialize a new project with a template. (`tinymist.initTemplate` and `tinymist.initTemplateInPlace`) + - Trace execution in current document. (`tinymist.traceCurrentFile`) + ## Installation diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index 7148e0fab..0ecb5241c 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/CHANGELOG.md @@ -4,6 +4,65 @@ All notable changes to the "tinymist" extension will be documented in this file. Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. +## v0.11.3 - [2024-04-06] + +### Editor + +* (Fix) Skipped tabs that have no URIs for reopening pdf in https://github.com/Myriad-Dreamin/tinymist/pull/147 + +### Compiler + +* ~~Evicting cache more frequently in https://github.com/Myriad-Dreamin/tinymist/pull/161~~ + * Reverted in https://github.com/Myriad-Dreamin/tinymist/pull/173. +* (Fix) Collecting warning diagnostics correctly in https://github.com/Myriad-Dreamin/tinymist/pull/169 + +### Commands/Tools + +* Introduced summary page in https://github.com/Myriad-Dreamin/tinymist/pull/137, https://github.com/Myriad-Dreamin/tinymist/pull/154, https://github.com/Myriad-Dreamin/tinymist/pull/162, and https://github.com/Myriad-Dreamin/tinymist/pull/168 +* Introduced symbol picker in https://github.com/Myriad-Dreamin/tinymist/pull/155 +* Introduced periscope mode previewing in https://github.com/Myriad-Dreamin/tinymist/pull/164 +* Introduced status bar for showing words count, also for compiling status in https://github.com/Myriad-Dreamin/tinymist/pull/158 +* Supported tracing execution in current document in https://github.com/Myriad-Dreamin/tinymist/pull/166 + +### Color Provider (New) + +* Added basic color providers in https://github.com/Myriad-Dreamin/tinymist/pull/171 + +### Completion + +* (Fix) Performed correct dynamic analysis on imports in https://github.com/Myriad-Dreamin/tinymist/pull/143 +* (Fix) Correctly shadowed items for completion in https://github.com/Myriad-Dreamin/tinymist/pull/145 +* (Fix) Completing parameters in scope in https://github.com/Myriad-Dreamin/tinymist/pull/146 +* Completing parameters on user functions in https://github.com/Myriad-Dreamin/tinymist/pull/148 +* Completing parameter values on user functions in https://github.com/Myriad-Dreamin/tinymist/pull/149 +* Triggering autocompletion again after completing a function in https://github.com/Myriad-Dreamin/tinymist/pull/150 +* Recovered module completion in https://github.com/Myriad-Dreamin/tinymist/pull/151 + +### Syntax/Semantic Highlighting + +* (Fix) Improved grammar on incomplete AST in https://github.com/Myriad-Dreamin/tinymist/pull/140 +* (Fix) Correctly parsing label and reference markup in https://github.com/Myriad-Dreamin/tinymist/pull/167 + +### Definition + +* Supported go to paths to `#include` statement in https://github.com/Myriad-Dreamin/tinymist/pull/156 + +### Formatting + +* Bumped to typstyle v0.11.11 by @Enter-tainer in https://github.com/Myriad-Dreamin/tinymist/pull/163 +* Added common print width configuration for formatters in https://github.com/Myriad-Dreamin/tinymist/pull/170 + +### Hover (Tooltip) + +* Joining array of hover contents by divider for neovim clients in https://github.com/Myriad-Dreamin/tinymist/pull/157 + +### Internal Optimization + +* Analyzing lexical hierarchy on for loops in https://github.com/Myriad-Dreamin/tinymist/pull/142 + * depended by autocompletion/definition/references/rename APIs. + +**Full Changelog**: https://github.com/Myriad-Dreamin/tinymist/compare/v0.11.2...v0.11.3 + ## v0.11.2 - [2024-03-30] ### Editor diff --git a/editors/vscode/package.json b/editors/vscode/package.json index a6dbd293f..4ace3283a 100644 --- a/editors/vscode/package.json +++ b/editors/vscode/package.json @@ -1,6 +1,6 @@ { "name": "tinymist", - "version": "0.11.2", + "version": "0.11.3", "description": "An integrated language service for Typst", "categories": [ "Programming Languages", diff --git a/syntaxes/textmate/package.json b/syntaxes/textmate/package.json index eb68799d0..77b0adad3 100644 --- a/syntaxes/textmate/package.json +++ b/syntaxes/textmate/package.json @@ -1,6 +1,6 @@ { "name": "typst-textmate", - "version": "0.11.2", + "version": "0.11.3", "private": true, "scripts": { "compile": "npx tsc && node ./dist/main.js", diff --git a/tools/editor-tools/src/features/summary.ts b/tools/editor-tools/src/features/summary.ts index d883c58c3..d9bc9c1e2 100644 --- a/tools/editor-tools/src/features/summary.ts +++ b/tools/editor-tools/src/features/summary.ts @@ -205,7 +205,7 @@ export const Summary = () => { { style: "margin: 0.8em; margin-left: 0.5em" }, div( `Its version is `, - a({ href: "javascript:void(0)" }, "0.11.2"), + a({ href: "javascript:void(0)" }, "0.11.3"), `.` ), div(`It is compiled with optimization level `, "3", `.`), diff --git a/tools/editor-tools/src/features/template-gallery.ts b/tools/editor-tools/src/features/template-gallery.ts index d85ee7a9f..5667f823c 100644 --- a/tools/editor-tools/src/features/template-gallery.ts +++ b/tools/editor-tools/src/features/template-gallery.ts @@ -195,7 +195,6 @@ class FilterState { } getIsFavorite(namespace: string, name: string) { - console.log(this.packageUserData); return this.packageUserData.val[namespace]?.[name]?.isFavorite; }