diff --git a/Cargo.lock b/Cargo.lock index ee407a74..9f5c67a6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -735,7 +735,7 @@ dependencies = [ [[package]] name = "crityp" -version = "0.13.10-rc1" +version = "0.13.10-rc2" dependencies = [ "anyhow", "base64", @@ -3760,7 +3760,7 @@ dependencies = [ [[package]] name = "sync-ls" -version = "0.13.10-rc1" +version = "0.13.10-rc2" dependencies = [ "anyhow", "clap", @@ -3889,7 +3889,7 @@ dependencies = [ [[package]] name = "tests" -version = "0.13.10-rc1" +version = "0.13.10-rc2" dependencies = [ "insta", "lsp-types", @@ -4012,7 +4012,7 @@ dependencies = [ [[package]] name = "tinymist" -version = "0.13.10-rc1" +version = "0.13.10-rc2" dependencies = [ "anyhow", "async-trait", @@ -4056,7 +4056,7 @@ dependencies = [ "strum", "sync-ls", "temp-env", - "tinymist-assets 0.13.10-rc1 (registry+https://github.com/rust-lang/crates.io-index)", + "tinymist-assets 0.13.10-rc2 (registry+https://github.com/rust-lang/crates.io-index)", "tinymist-core", "tinymist-debug", "tinymist-l10n", @@ -4103,17 +4103,17 @@ dependencies = [ [[package]] name = "tinymist-assets" -version = "0.13.10-rc1" +version = "0.13.10-rc2" [[package]] name = "tinymist-assets" -version = "0.13.10-rc1" +version = "0.13.10-rc2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d68fd7ab8594b7f15a97c5e9a34a4a1b3807dab6b57ce7a02575fb605895601" +checksum = "69bfa02f4b5a2632fe12921ea748fed756124209d749697c90438f39c4318ac4" [[package]] name = "tinymist-bench-font-load" -version = "0.13.10-rc1" +version = "0.13.10-rc2" dependencies = [ "divan", "tinymist", @@ -4121,7 +4121,7 @@ dependencies = [ [[package]] name = "tinymist-core" -version = "0.13.10-rc1" +version = "0.13.10-rc2" dependencies = [ "anyhow", "cargo_metadata", @@ -4133,7 +4133,7 @@ dependencies = [ [[package]] name = "tinymist-dap" -version = "0.13.10-rc1" +version = "0.13.10-rc2" dependencies = [ "base64", "comemo", @@ -4152,7 +4152,7 @@ dependencies = [ [[package]] name = "tinymist-debug" -version = "0.13.10-rc1" +version = "0.13.10-rc2" dependencies = [ "base64", "comemo", @@ -4178,7 +4178,7 @@ dependencies = [ [[package]] name = "tinymist-l10n" -version = "0.13.10-rc1" +version = "0.13.10-rc2" dependencies = [ "anyhow", "clap", @@ -4222,7 +4222,7 @@ dependencies = [ [[package]] name = "tinymist-query" -version = "0.13.10-rc1" +version = "0.13.10-rc2" dependencies = [ "anyhow", "base64", @@ -4277,7 +4277,7 @@ dependencies = [ [[package]] name = "tinymist-render" -version = "0.13.10-rc1" +version = "0.13.10-rc2" dependencies = [ "base64", "log", @@ -4669,7 +4669,7 @@ checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" [[package]] name = "typlite" -version = "0.13.10-rc1" +version = "0.13.10-rc2" dependencies = [ "base64", "clap", @@ -4688,7 +4688,7 @@ dependencies = [ [[package]] name = "typst" version = "0.13.1" -source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10-rc1#946ea31fb554bcf62e3215f64ddda87d70b026af" +source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10#946ea31fb554bcf62e3215f64ddda87d70b026af" dependencies = [ "comemo", "ecow", @@ -4726,7 +4726,7 @@ checksum = "b5bf0cc3c2265502b51fcb73147cc7c951ceb694507195b93c2ab0b901abb902" [[package]] name = "typst-eval" version = "0.13.1" -source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10-rc1#946ea31fb554bcf62e3215f64ddda87d70b026af" +source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10#946ea31fb554bcf62e3215f64ddda87d70b026af" dependencies = [ "comemo", "ecow", @@ -4745,7 +4745,7 @@ dependencies = [ [[package]] name = "typst-html" version = "0.13.1" -source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10-rc1#946ea31fb554bcf62e3215f64ddda87d70b026af" +source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10#946ea31fb554bcf62e3215f64ddda87d70b026af" dependencies = [ "comemo", "ecow", @@ -4760,7 +4760,7 @@ dependencies = [ [[package]] name = "typst-layout" version = "0.13.1" -source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10-rc1#946ea31fb554bcf62e3215f64ddda87d70b026af" +source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10#946ea31fb554bcf62e3215f64ddda87d70b026af" dependencies = [ "az", "bumpalo", @@ -4791,7 +4791,7 @@ dependencies = [ [[package]] name = "typst-library" version = "0.13.1" -source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10-rc1#946ea31fb554bcf62e3215f64ddda87d70b026af" +source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10#946ea31fb554bcf62e3215f64ddda87d70b026af" dependencies = [ "az", "bitflags 2.9.0", @@ -4851,7 +4851,7 @@ dependencies = [ [[package]] name = "typst-macros" version = "0.13.1" -source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10-rc1#946ea31fb554bcf62e3215f64ddda87d70b026af" +source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10#946ea31fb554bcf62e3215f64ddda87d70b026af" dependencies = [ "heck", "proc-macro2", @@ -4862,7 +4862,7 @@ dependencies = [ [[package]] name = "typst-pdf" version = "0.13.1" -source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10-rc1#946ea31fb554bcf62e3215f64ddda87d70b026af" +source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10#946ea31fb554bcf62e3215f64ddda87d70b026af" dependencies = [ "arrayvec 0.7.6", "base64", @@ -4888,7 +4888,7 @@ dependencies = [ [[package]] name = "typst-preview" -version = "0.13.10-rc1" +version = "0.13.10-rc2" dependencies = [ "clap", "comemo", @@ -4902,7 +4902,7 @@ dependencies = [ "reflexo-vec2svg", "serde", "serde_json", - "tinymist-assets 0.13.10-rc1 (registry+https://github.com/rust-lang/crates.io-index)", + "tinymist-assets 0.13.10-rc2 (registry+https://github.com/rust-lang/crates.io-index)", "tinymist-std", "tokio", "typst", @@ -4912,7 +4912,7 @@ dependencies = [ [[package]] name = "typst-realize" version = "0.13.1" -source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10-rc1#946ea31fb554bcf62e3215f64ddda87d70b026af" +source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10#946ea31fb554bcf62e3215f64ddda87d70b026af" dependencies = [ "arrayvec 0.7.6", "bumpalo", @@ -4929,7 +4929,7 @@ dependencies = [ [[package]] name = "typst-render" version = "0.13.1" -source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10-rc1#946ea31fb554bcf62e3215f64ddda87d70b026af" +source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10#946ea31fb554bcf62e3215f64ddda87d70b026af" dependencies = [ "bytemuck", "comemo", @@ -4957,7 +4957,7 @@ dependencies = [ [[package]] name = "typst-svg" version = "0.13.1" -source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10-rc1#946ea31fb554bcf62e3215f64ddda87d70b026af" +source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10#946ea31fb554bcf62e3215f64ddda87d70b026af" dependencies = [ "base64", "comemo", @@ -4976,7 +4976,7 @@ dependencies = [ [[package]] name = "typst-syntax" version = "0.13.1" -source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10-rc1#946ea31fb554bcf62e3215f64ddda87d70b026af" +source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10#946ea31fb554bcf62e3215f64ddda87d70b026af" dependencies = [ "ecow", "serde", @@ -4993,7 +4993,7 @@ dependencies = [ [[package]] name = "typst-timing" version = "0.13.1" -source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10-rc1#946ea31fb554bcf62e3215f64ddda87d70b026af" +source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10#946ea31fb554bcf62e3215f64ddda87d70b026af" dependencies = [ "parking_lot", "serde", @@ -5003,7 +5003,7 @@ dependencies = [ [[package]] name = "typst-utils" version = "0.13.1" -source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10-rc1#946ea31fb554bcf62e3215f64ddda87d70b026af" +source = "git+https://github.com/Myriad-Dreamin/typst.git?tag=tinymist%2Fv0.13.10#946ea31fb554bcf62e3215f64ddda87d70b026af" dependencies = [ "once_cell", "portable-atomic", diff --git a/Cargo.toml b/Cargo.toml index 5bfc79fc..c1f72cdd 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.13.10-rc1" +version = "0.13.10-rc2" edition = "2021" readme = "README.md" license = "Apache-2.0" @@ -175,7 +175,7 @@ insta = { version = "1.39", features = ["glob"] } # Our Own Crates -tinymist-assets = { version = "=0.13.10-rc1" } +tinymist-assets = { version = "=0.13.10-rc2" } tinymist-derive = { path = "./crates/tinymist-derive/", version = "0.13.2" } tinymist-std = { path = "./crates/tinymist-std/", version = "0.13.2", default-features = false } @@ -186,13 +186,13 @@ tinymist-task = { path = "./crates/tinymist-task/", version = "0.13.2" } tinymist-analysis = { path = "./crates/tinymist-analysis/", version = "0.13.2" } typst-shim = { path = "./crates/typst-shim", version = "0.13.2" } -tinymist-core = { path = "./crates/tinymist-core/", version = "0.13.10-rc1", default-features = false } -tinymist-debug = { path = "./crates/tinymist-debug/", version = "0.13.10-rc1" } -tinymist = { path = "./crates/tinymist/", version = "0.13.10-rc1" } -tinymist-l10n = { path = "./crates/tinymist-l10n/", version = "0.13.10-rc1" } -tinymist-query = { path = "./crates/tinymist-query/", version = "0.13.10-rc1" } -tinymist-render = { path = "./crates/tinymist-render/", version = "0.13.10-rc1" } -typst-preview = { path = "./crates/typst-preview", version = "0.13.10-rc1" } +tinymist-core = { path = "./crates/tinymist-core/", version = "0.13.10-rc2", default-features = false } +tinymist-debug = { path = "./crates/tinymist-debug/", version = "0.13.10-rc2" } +tinymist = { path = "./crates/tinymist/", version = "0.13.10-rc2" } +tinymist-l10n = { path = "./crates/tinymist-l10n/", version = "0.13.10-rc2" } +tinymist-query = { path = "./crates/tinymist-query/", version = "0.13.10-rc2" } +tinymist-render = { path = "./crates/tinymist-render/", version = "0.13.10-rc2" } +typst-preview = { path = "./crates/typst-preview", version = "0.13.10-rc2" } [profile.dev.package.insta] opt-level = 3 @@ -259,15 +259,15 @@ extend-exclude = ["/.git", "fixtures"] # These patches use a different version of `typst`, which only exports some private functions and information for code analysis. # # A regular build MUST use `tag` or `rev` to specify the version of the patched crate to ensure stability. -typst = { git = "https://github.com/Myriad-Dreamin/typst.git", tag = "tinymist/v0.13.10-rc1" } -typst-library = { git = "https://github.com/Myriad-Dreamin/typst.git", tag = "tinymist/v0.13.10-rc1" } -typst-html = { git = "https://github.com/Myriad-Dreamin/typst.git", tag = "tinymist/v0.13.10-rc1" } -typst-timing = { git = "https://github.com/Myriad-Dreamin/typst.git", tag = "tinymist/v0.13.10-rc1" } -typst-svg = { git = "https://github.com/Myriad-Dreamin/typst.git", tag = "tinymist/v0.13.10-rc1" } -typst-render = { git = "https://github.com/Myriad-Dreamin/typst.git", tag = "tinymist/v0.13.10-rc1" } -typst-pdf = { git = "https://github.com/Myriad-Dreamin/typst.git", tag = "tinymist/v0.13.10-rc1" } -typst-syntax = { git = "https://github.com/Myriad-Dreamin/typst.git", tag = "tinymist/v0.13.10-rc1" } -typst-eval = { git = "https://github.com/Myriad-Dreamin/typst.git", tag = "tinymist/v0.13.10-rc1" } +typst = { git = "https://github.com/Myriad-Dreamin/typst.git", tag = "tinymist/v0.13.10" } +typst-library = { git = "https://github.com/Myriad-Dreamin/typst.git", tag = "tinymist/v0.13.10" } +typst-html = { git = "https://github.com/Myriad-Dreamin/typst.git", tag = "tinymist/v0.13.10" } +typst-timing = { git = "https://github.com/Myriad-Dreamin/typst.git", tag = "tinymist/v0.13.10" } +typst-svg = { git = "https://github.com/Myriad-Dreamin/typst.git", tag = "tinymist/v0.13.10" } +typst-render = { git = "https://github.com/Myriad-Dreamin/typst.git", tag = "tinymist/v0.13.10" } +typst-pdf = { git = "https://github.com/Myriad-Dreamin/typst.git", tag = "tinymist/v0.13.10" } +typst-syntax = { git = "https://github.com/Myriad-Dreamin/typst.git", tag = "tinymist/v0.13.10" } +typst-eval = { git = "https://github.com/Myriad-Dreamin/typst.git", tag = "tinymist/v0.13.10" } # These patches use local `typst` for development. # typst = { path = "../typst/crates/typst" } diff --git a/contrib/html/editors/vscode/package.json b/contrib/html/editors/vscode/package.json index 2d7f6813..49d6896b 100644 --- a/contrib/html/editors/vscode/package.json +++ b/contrib/html/editors/vscode/package.json @@ -1,6 +1,6 @@ { "name": "tinymist-vscode-html", - "version": "0.13.10-rc1", + "version": "0.13.10-rc2", "description": "Extending Typst with HTML features", "keywords": [ "html", diff --git a/crates/tinymist-core/package.json b/crates/tinymist-core/package.json index fb13d20a..bc0900b7 100644 --- a/crates/tinymist-core/package.json +++ b/crates/tinymist-core/package.json @@ -1,6 +1,6 @@ { "name": "tinymist-web", - "version": "0.13.10-rc1", + "version": "0.13.10-rc2", "description": "WASM module for running tinymist analyzers in JavaScript environment.", "author": "Myriad-Dreamin", "license": "Apache-2.0", diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index 54d9c116..b204ac10 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/CHANGELOG.md @@ -8,7 +8,8 @@ The changelog lines unspecified with authors are all written by the @Myriad-Drea ## v0.13.10 - [2025-03-20] -* Bumped typstfmt to v0.13.0. +* Bumped typst to v0.13.1 in https://github.com/Myriad-Dreamin/tinymist/pull/1540 +* Bumped typstfmt to v0.13.1 in https://github.com/Myriad-Dreamin/tinymist/pull/1540 ### CLI @@ -18,6 +19,19 @@ The changelog lines unspecified with authors are all written by the @Myriad-Drea * feat: paste uri smartly in https://github.com/Myriad-Dreamin/tinymist/pull/1500 * feat: downgrade some config errors and show warnings in https://github.com/Myriad-Dreamin/tinymist/pull/1538 +* feat: configure word pattern to exclude words like `-A` in https://github.com/Myriad-Dreamin/tinymist/pull/1552 + +### Export + +* feat: make all export available by commands in https://github.com/Myriad-Dreamin/tinymist/pull/1547 +* feat: export to format regardless of export target in https://github.com/Myriad-Dreamin/tinymist/pull/1549 +* feat: use quick exports in code lens context in https://github.com/Myriad-Dreamin/tinymist/pull/1551 +* test: add vscode e2e testing for export feature in https://github.com/Myriad-Dreamin/tinymist/pull/1553 + +### Diagnostics + +* feat: add diagnostics refiner to provide extra hints from tinymist side by @seven-mile in https://github.com/Myriad-Dreamin/tinymist/pull/1539 +* feat: fledge diagnostic hint patterns by updating 2 refiners by @seven-mile in https://github.com/Myriad-Dreamin/tinymist/pull/1544 ### Testing @@ -41,9 +55,17 @@ The changelog lines unspecified with authors are all written by the @Myriad-Drea * feat: initialize locale as soon as possible in https://github.com/Myriad-Dreamin/tinymist/pull/1507 * feat: support l10n message with arguments in https://github.com/Myriad-Dreamin/tinymist/pull/1508 +### Code Analysis + +* fix: replace last scope when checking import wildcard in https://github.com/Myriad-Dreamin/tinymist/pull/1563 + ### Completion * fix: revert the explicit detection again in https://github.com/Myriad-Dreamin/tinymist/pull/1525 +* fix: correct bound self checking in https://github.com/Myriad-Dreamin/tinymist/pull/1564 +* feat: forbid bad field access syntax in math mode in https://github.com/Myriad-Dreamin/tinymist/pull/1550 +* feat: don't trigger parameter hints when skipping parameters in https://github.com/Myriad-Dreamin/tinymist/pull/1557 +* feat: forbid bad postfix completion in math mode in https://github.com/Myriad-Dreamin/tinymist/pull/1556 ### Preview diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 53cd6e6f..6a99641d 100644 --- a/editors/vscode/package.json +++ b/editors/vscode/package.json @@ -1,6 +1,6 @@ { "name": "tinymist", - "version": "0.13.10-rc1", + "version": "0.13.10-rc2", "description": "%description%", "keywords": [ "typst", diff --git a/syntaxes/textmate/package.json b/syntaxes/textmate/package.json index 0d6b8b65..f4f606ad 100644 --- a/syntaxes/textmate/package.json +++ b/syntaxes/textmate/package.json @@ -1,6 +1,6 @@ { "name": "typst-textmate", - "version": "0.13.10-rc1", + "version": "0.13.10-rc2", "private": true, "scripts": { "compile": "npx tsc && node ./dist/main.mjs",