diff --git a/Cargo.lock b/Cargo.lock index 1fa99f01d..90b81b188 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -813,7 +813,7 @@ dependencies = [ [[package]] name = "crityp" -version = "0.14.4" +version = "0.14.6-rc1" dependencies = [ "anyhow", "base64", @@ -4149,7 +4149,7 @@ dependencies = [ [[package]] name = "sync-ls" -version = "0.14.4" +version = "0.14.6-rc1" dependencies = [ "anyhow", "clap", @@ -4281,7 +4281,7 @@ dependencies = [ [[package]] name = "tests" -version = "0.14.4" +version = "0.14.6-rc1" dependencies = [ "insta", "insta-cmd", @@ -4405,7 +4405,7 @@ dependencies = [ [[package]] name = "tinymist" -version = "0.14.4" +version = "0.14.6-rc1" dependencies = [ "anyhow", "async-trait", @@ -4450,7 +4450,7 @@ dependencies = [ "strum", "sync-ls", "temp-env", - "tinymist-assets 0.14.4 (registry+https://github.com/rust-lang/crates.io-index)", + "tinymist-assets 0.14.6-rc1 (registry+https://github.com/rust-lang/crates.io-index)", "tinymist-debug", "tinymist-l10n", "tinymist-preview", @@ -4483,7 +4483,7 @@ dependencies = [ [[package]] name = "tinymist-analysis" -version = "0.14.4" +version = "0.14.6-rc1" dependencies = [ "comemo", "dashmap", @@ -4515,17 +4515,17 @@ dependencies = [ [[package]] name = "tinymist-assets" -version = "0.14.4" +version = "0.14.6-rc1" [[package]] name = "tinymist-assets" -version = "0.14.4" +version = "0.14.6-rc1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25c86725672ba71f45cff22f558dd6dea641e023ab7e870e243a78e55efbe587" +checksum = "b2b48b8abda4ae59420c7bbee5cfb9a8f8c8bb8f80f48e44001ea198f752b1f0" [[package]] name = "tinymist-bench-font-load" -version = "0.14.4" +version = "0.14.6-rc1" dependencies = [ "divan", "tinymist", @@ -4533,7 +4533,7 @@ dependencies = [ [[package]] name = "tinymist-cli" -version = "0.14.4" +version = "0.14.6-rc1" dependencies = [ "anyhow", "async-trait", @@ -4576,7 +4576,7 @@ dependencies = [ "sync-ls", "temp-env", "tinymist", - "tinymist-assets 0.14.4 (registry+https://github.com/rust-lang/crates.io-index)", + "tinymist-assets 0.14.6-rc1 (registry+https://github.com/rust-lang/crates.io-index)", "tinymist-debug", "tinymist-l10n", "tinymist-preview", @@ -4607,7 +4607,7 @@ dependencies = [ [[package]] name = "tinymist-dap" -version = "0.14.4" +version = "0.14.6-rc1" dependencies = [ "base64", "comemo", @@ -4627,7 +4627,7 @@ dependencies = [ [[package]] name = "tinymist-debug" -version = "0.14.4" +version = "0.14.6-rc1" dependencies = [ "base64", "comemo", @@ -4668,7 +4668,7 @@ dependencies = [ [[package]] name = "tinymist-lint" -version = "0.14.4" +version = "0.14.6-rc1" dependencies = [ "comemo", "insta", @@ -4709,7 +4709,7 @@ dependencies = [ [[package]] name = "tinymist-preview" -version = "0.14.4" +version = "0.14.6-rc1" dependencies = [ "bytes", "clap", @@ -4723,7 +4723,7 @@ dependencies = [ "reflexo-vec2svg", "serde", "serde_json", - "tinymist-assets 0.14.4 (registry+https://github.com/rust-lang/crates.io-index)", + "tinymist-assets 0.14.6-rc1 (registry+https://github.com/rust-lang/crates.io-index)", "tinymist-std", "tokio", "typst", @@ -4764,7 +4764,7 @@ dependencies = [ [[package]] name = "tinymist-query" -version = "0.14.4" +version = "0.14.6-rc1" dependencies = [ "anyhow", "base64", @@ -4818,7 +4818,7 @@ dependencies = [ [[package]] name = "tinymist-render" -version = "0.14.4" +version = "0.14.6-rc1" dependencies = [ "base64", "log", @@ -4903,7 +4903,7 @@ dependencies = [ [[package]] name = "tinymist-tests" -version = "0.14.4" +version = "0.14.6-rc1" dependencies = [ "comemo", "insta", @@ -5261,7 +5261,7 @@ checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" [[package]] name = "typlite" -version = "0.14.4" +version = "0.14.6-rc1" dependencies = [ "base64", "clap", @@ -6140,7 +6140,7 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.48.0", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index e1aaca771..56c981ec5 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.14.4" +version = "0.14.6-rc1" edition = "2024" readme = "README.md" license = "Apache-2.0" @@ -191,7 +191,7 @@ insta-cmd = "0.6.0" # Our Own Crates -tinymist-assets = { version = "=0.14.4" } +tinymist-assets = { version = "=0.14.6-rc1" } tinymist-derive = { path = "./crates/tinymist-derive/", version = "0.14.0" } tinymist-l10n = { path = "./crates/tinymist-l10n/", version = "0.14.0" } @@ -205,16 +205,16 @@ typst-shim = { path = "./crates/typst-shim", version = "0.14.0" } tinymist-tests = { path = "./crates/tinymist-tests/" } -sync-ls = { path = "./crates/sync-lsp", version = "0.14.4" } -tinymist = { path = "./crates/tinymist/", version = "0.14.4", default-features = false } -tinymist-analysis = { path = "./crates/tinymist-analysis/", version = "0.14.4" } -tinymist-cli = { path = "./crates/tinymist-cli/", version = "0.14.4" } -tinymist-debug = { path = "./crates/tinymist-debug/", version = "0.14.4" } -tinymist-lint = { path = "./crates/tinymist-lint/", version = "0.14.4" } -tinymist-query = { path = "./crates/tinymist-query/", version = "0.14.4" } -tinymist-render = { path = "./crates/tinymist-render/", version = "0.14.4" } -tinymist-preview = { path = "./crates/typst-preview", version = "0.14.4" } -typlite = { path = "./crates/typlite", version = "0.14.4", default-features = false } +sync-ls = { path = "./crates/sync-lsp", version = "0.14.6-rc1" } +tinymist = { path = "./crates/tinymist/", version = "0.14.6-rc1", default-features = false } +tinymist-analysis = { path = "./crates/tinymist-analysis/", version = "0.14.6-rc1" } +tinymist-cli = { path = "./crates/tinymist-cli/", version = "0.14.6-rc1" } +tinymist-debug = { path = "./crates/tinymist-debug/", version = "0.14.6-rc1" } +tinymist-lint = { path = "./crates/tinymist-lint/", version = "0.14.6-rc1" } +tinymist-query = { path = "./crates/tinymist-query/", version = "0.14.6-rc1" } +tinymist-render = { path = "./crates/tinymist-render/", version = "0.14.6-rc1" } +tinymist-preview = { path = "./crates/typst-preview", version = "0.14.6-rc1" } +typlite = { path = "./crates/typlite", version = "0.14.6-rc1", default-features = false } [profile.dev.package.insta] opt-level = 3 diff --git a/contrib/html/editors/vscode/package.json b/contrib/html/editors/vscode/package.json index fc94db907..b54d08d06 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.14.4", + "version": "0.14.6-rc1", "description": "Extending Typst with HTML features", "keywords": [ "html", @@ -77,4 +77,4 @@ "ovsx": "^0.8.3", "vscode-html-languageservice": "^5.3.1" } -} +} \ No newline at end of file diff --git a/contrib/nix/dev/flake.nix b/contrib/nix/dev/flake.nix index dc08e10ae..f244dc05f 100644 --- a/contrib/nix/dev/flake.nix +++ b/contrib/nix/dev/flake.nix @@ -26,7 +26,7 @@ pname = "tinymist"; # Please update the corresponding vscode extension when updating # this derivation. - version = "0.14.4"; + version = "0.14.6-rc1"; src = pkgs.lib.cleanSource ../../..; diff --git a/crates/tinymist/package.json b/crates/tinymist/package.json index 0d79506c2..3167ebbf1 100644 --- a/crates/tinymist/package.json +++ b/crates/tinymist/package.json @@ -1,6 +1,6 @@ { "name": "tinymist-web", - "version": "0.14.4", + "version": "0.14.6-rc1", "description": "WASM module for running tinymist analyzers in JavaScript environment.", "author": "Myriad-Dreamin", "license": "Apache-2.0", @@ -31,4 +31,4 @@ "devDependencies": { "turbo": "^2.3.3" } -} +} \ No newline at end of file diff --git a/docs/tinymist/feature/script-hook.typ b/docs/tinymist/feature/script-hook.typ index 5a0d82092..1f38d5d6c 100644 --- a/docs/tinymist/feature/script-hook.typ +++ b/docs/tinymist/feature/script-hook.typ @@ -2,7 +2,7 @@ #show: book-page.with(title: [Hook Scripts]) -The hook script feature is available since `tinymist` v0.14.4. +The hook script feature is available since `tinymist` v0.14.2. Hook Scripts allow you to hook and customize certain behaviors of tinymist by providing code snippets that will be executed at specific events. diff --git a/docs/tinymist/feature/syntax-only-mode.typ b/docs/tinymist/feature/syntax-only-mode.typ index f556aba88..ca9f42a29 100644 --- a/docs/tinymist/feature/syntax-only-mode.typ +++ b/docs/tinymist/feature/syntax-only-mode.typ @@ -2,7 +2,7 @@ #show: book-page.with(title: [Syntax-Only Mode]) -The syntax-only mode is available since `tinymist` v0.14.4. +The syntax-only mode is available since `tinymist` v0.14.2. When working under power-saving mode or with resource-consumed projects, typst compilations costs too much CPU and memory resources. From a simple test on a typst document with 200 pages, containing complex figures and WASM plugin calls, editing a large `.typ` file on a windows laptop (i9-12900H), the CPU and memory usage are as follows: diff --git a/editors/neovim/bootstrap.sh b/editors/neovim/bootstrap.sh index 4fd847fba..17fabcae8 100755 --- a/editors/neovim/bootstrap.sh +++ b/editors/neovim/bootstrap.sh @@ -14,12 +14,12 @@ else exit 1 fi -(cd ../.. && docker build -t myriaddreamin/tinymist:0.14.4 .) -(cd samples && docker build -t myriaddreamin/tinymist-nvim:0.14.4 -f lazyvim-dev/Dockerfile .) +(cd ../.. && docker build -t myriaddreamin/tinymist:0.14.6-rc1 .) +(cd samples && docker build -t myriaddreamin/tinymist-nvim:0.14.6-rc1 -f lazyvim-dev/Dockerfile .) docker run --rm -it \ -v $PWD/../../tests/workspaces:/home/runner/dev/workspaces \ -v $PWD:/home/runner/dev \ -v $PWD/target/.local:/home/runner/.local \ -v $PWD/target/.cache:/home/runner/.cache \ - -w /home/runner/dev myriaddreamin/tinymist-nvim:0.14.4 \ + -w /home/runner/dev myriaddreamin/tinymist-nvim:0.14.6-rc1 \ $DOCKER_ARGS diff --git a/editors/neovim/samples/lazyvim-dev/Dockerfile b/editors/neovim/samples/lazyvim-dev/Dockerfile index 425ef5f9b..25677ab04 100644 --- a/editors/neovim/samples/lazyvim-dev/Dockerfile +++ b/editors/neovim/samples/lazyvim-dev/Dockerfile @@ -15,7 +15,7 @@ RUN git clone --filter=blob:none --branch stable https://github.com/neovim/neovi USER root RUN cd neovim/build && cpack -G DEB && dpkg -i nvim-linux-x86_64.deb -FROM myriaddreamin/tinymist:0.14.4 as tinymist +FROM myriaddreamin/tinymist:0.14.6-rc1 as tinymist FROM debian:12 diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index aed2ebf6e..c2ddccd02 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/CHANGELOG.md @@ -9,6 +9,19 @@ The changelog lines unspecified with authors are all written by the @Myriad-Drea - [CHANGELOG-2025.md](https://github.com/Myriad-Dreamin/tinymist/blob/main/editors/vscode/CHANGELOG.md) - [CHANGELOG-2024.md](https://github.com/Myriad-Dreamin/tinymist/blob/main/CHANGELOG/CHANGELOG-2024.md) +## v0.14.6 - [2025-12-02] + +### Code Analysis +* (Fix) Implemented total ordering for Typst values to ensure predictable sorting behavior in https://github.com/Myriad-Dreamin/tinymist/pull/2279 + * This fixes panics that occurred when comparing certain Typst values (Issue typst/typst#6285). + +### Preview + +* (Fixed) fix intra-document links not working in preview by @ParaN3xus in https://github.com/Myriad-Dreamin/tinymist/pull/2287 + * This was introduced in https://github.com/Myriad-Dreamin/tinymist/pull/2145 + +**Full Changelog**: https://github.com/Myriad-Dreamin/tinymist/compare/v0.14.4...v0.14.6 + ## v0.14.4 - [2025-11-25] ### Server diff --git a/editors/vscode/package.json b/editors/vscode/package.json index b40ad7766..2963125ae 100644 --- a/editors/vscode/package.json +++ b/editors/vscode/package.json @@ -1,6 +1,6 @@ { "name": "tinymist", - "version": "0.14.4", + "version": "0.14.6-rc1", "description": "%description%", "keywords": [ "typst", @@ -1486,4 +1486,4 @@ "ovsx": "^0.8.3", "typescript": "^5.2.2" } -} +} \ No newline at end of file diff --git a/package.json b/package.json index 8b4b2e72e..3c8254ccf 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "build:preview": "node scripts/build.mjs build:preview", "build:syntax": "node scripts/build.mjs build:syntax", "build:l10n": "node scripts/build.mjs build:l10n", - "build:docker": "docker build -t myriaddreamin/tinymist:0.14.4 .", + "build:docker": "docker build -t myriaddreamin/tinymist:0.14.6-rc1 .", "build:web": "node scripts/build.mjs build:web", "test:vsc": "node scripts/build.mjs test:vsc", "watch:web": "cd crates/tinymist && yarn watch", @@ -67,4 +67,4 @@ "vite-plugin-wasm": "^3.2.2", "vitest": "^3.0.5" } -} +} \ No newline at end of file diff --git a/scripts/release.mjs b/scripts/release.mjs index 457cdc2fd..2c5739db7 100644 --- a/scripts/release.mjs +++ b/scripts/release.mjs @@ -4,6 +4,8 @@ import { spawn as spawnSync } from "child_process"; import fs from "fs/promises"; +const REPO_PARAM = "--repo Myriad-Dreamin/tinymist"; + let tag = process.argv[2]; if (tag.startsWith("v")) { tag = tag.slice(1); @@ -100,7 +102,7 @@ const currentBranch = (await spawn("current-branch", "git rev-parse --abbrev-ref async function findWorkflowRunId(workflowId, branch) { const runs = JSON.parse( - await spawn("workflow-run-list", `gh run list -w ${workflowId} --json headBranch,databaseId`), + await spawn("workflow-run-list", `gh run list -w ${workflowId} ${REPO_PARAM} --json headBranch,databaseId`), ); console.log(runs, branch); @@ -122,7 +124,7 @@ async function tryFindWorkflowRunId(workflowId, branch) { async function createReleaseAsset() { await spawn( `workflow-run`, - `gh workflow run ${releaseAssetId} -r ${currentBranch.toString().trim()}`, + `gh workflow run ${releaseAssetId} ${REPO_PARAM} -r ${currentBranch.toString().trim()}`, ); // get and wait last run id @@ -135,7 +137,7 @@ async function createReleaseAsset() { await spawn( "pr-create", - `gh pr create --title "build: bump version to ${tag}" --body "+tag v${tag}"`, + `gh pr create ${REPO_PARAM} --title "build: bump version to ${tag}" --body "+tag v${tag}"`, ); await createReleaseAsset(); const cargoToml = await fs.readFile("Cargo.toml", "utf-8"); diff --git a/syntaxes/textmate/package.json b/syntaxes/textmate/package.json index cbf78078a..0231fef7a 100644 --- a/syntaxes/textmate/package.json +++ b/syntaxes/textmate/package.json @@ -1,6 +1,6 @@ { "name": "typst-textmate", - "version": "0.14.4", + "version": "0.14.6-rc1", "private": true, "type": "module", "scripts": { @@ -30,4 +30,4 @@ } ] } -} +} \ No newline at end of file