diff --git a/Cargo.lock b/Cargo.lock index bbfe4209..344ac47f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2987,9 +2987,8 @@ dependencies = [ [[package]] name = "reflexo" -version = "0.6.0-rc1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6443e5fa969316c0d17cf5008d1e251aa481e35f56a9ac80cbee6fc9d4f0972a" +version = "0.6.1-rc1" +source = "git+https://github.com/Myriad-Dreamin/typst.ts/?rev=721308ad79ee5c529a65da17239a58dca7b5453c#721308ad79ee5c529a65da17239a58dca7b5453c" dependencies = [ "base64", "bitvec", @@ -3014,9 +3013,8 @@ dependencies = [ [[package]] name = "reflexo-typst" -version = "0.6.0-rc1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45d3f83df1cb1adde4e12bd08f492b130fb5a15809f9abd77319117bf35280ae" +version = "0.6.1-rc1" +source = "git+https://github.com/Myriad-Dreamin/typst.ts/?rev=721308ad79ee5c529a65da17239a58dca7b5453c#721308ad79ee5c529a65da17239a58dca7b5453c" dependencies = [ "codespan-reporting", "comemo", @@ -3047,9 +3045,8 @@ dependencies = [ [[package]] name = "reflexo-typst2vec" -version = "0.6.0-rc1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b634221961a616a8113dde18c0211e31e6b0e914cb58b88b1b016dd5ccd196da" +version = "0.6.1-rc1" +source = "git+https://github.com/Myriad-Dreamin/typst.ts/?rev=721308ad79ee5c529a65da17239a58dca7b5453c#721308ad79ee5c529a65da17239a58dca7b5453c" dependencies = [ "bitvec", "comemo", @@ -3074,9 +3071,8 @@ dependencies = [ [[package]] name = "reflexo-vec2svg" -version = "0.6.0-rc1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e05cab4dbbce6158f783181971b1b70bf25e0be46ab44cd9695f41eba8843b32" +version = "0.6.1-rc1" +source = "git+https://github.com/Myriad-Dreamin/typst.ts/?rev=721308ad79ee5c529a65da17239a58dca7b5453c#721308ad79ee5c529a65da17239a58dca7b5453c" dependencies = [ "base64", "comemo", @@ -4229,7 +4225,7 @@ dependencies = [ [[package]] name = "tinymist-derive" -version = "0.13.12" +version = "0.13.16-rc1" dependencies = [ "quote", "syn 2.0.104", @@ -4237,7 +4233,7 @@ dependencies = [ [[package]] name = "tinymist-l10n" -version = "0.13.12" +version = "0.13.16-rc1" dependencies = [ "anyhow", "clap", @@ -4265,7 +4261,7 @@ dependencies = [ [[package]] name = "tinymist-package" -version = "0.13.12" +version = "0.13.16-rc1" dependencies = [ "base64", "comemo", @@ -4316,7 +4312,7 @@ dependencies = [ [[package]] name = "tinymist-project" -version = "0.13.12" +version = "0.13.16-rc1" dependencies = [ "anyhow", "clap", @@ -4411,7 +4407,7 @@ dependencies = [ [[package]] name = "tinymist-std" -version = "0.13.12" +version = "0.13.16-rc1" dependencies = [ "anyhow", "base64", @@ -4448,7 +4444,7 @@ dependencies = [ [[package]] name = "tinymist-task" -version = "0.13.12" +version = "0.13.16-rc1" dependencies = [ "anyhow", "clap", @@ -4494,7 +4490,7 @@ dependencies = [ [[package]] name = "tinymist-vfs" -version = "0.13.12" +version = "0.13.16-rc1" dependencies = [ "comemo", "ecow", @@ -4512,7 +4508,7 @@ dependencies = [ [[package]] name = "tinymist-world" -version = "0.13.12" +version = "0.13.16-rc1" dependencies = [ "anyhow", "chrono", @@ -5099,7 +5095,7 @@ dependencies = [ [[package]] name = "typst-shim" -version = "0.13.12" +version = "0.13.16-rc1" dependencies = [ "cfg-if", "comemo", diff --git a/Cargo.toml b/Cargo.toml index 5e4d803b..c4741780 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -137,11 +137,11 @@ env_logger = "0.11.3" log = "0.4" # Typst -reflexo = { version = "=0.6.0-rc1", default-features = false, features = [ +reflexo = { version = "=0.6.1-rc1", default-features = false, features = [ "flat-vector", ] } -reflexo-typst = { version = "=0.6.0-rc1", default-features = false } -reflexo-vec2svg = { version = "=0.6.0-rc1" } +reflexo-typst = { version = "=0.6.1-rc1", default-features = false } +reflexo-vec2svg = { version = "=0.6.1-rc1" } typst = "0.13.1" typst-html = "0.13.1" @@ -187,15 +187,15 @@ insta = { version = "1.39", features = ["glob"] } # Our Own Crates tinymist-assets = { version = "=0.13.16-rc1" } -tinymist-derive = { path = "./crates/tinymist-derive/", version = "0.13.12" } -tinymist-l10n = { path = "./crates/tinymist-l10n/", version = "0.13.12" } -tinymist-package = { path = "./crates/tinymist-package/", version = "0.13.12" } -tinymist-std = { path = "./crates/tinymist-std/", version = "0.13.12", default-features = false } -tinymist-vfs = { path = "./crates/tinymist-vfs/", version = "0.13.12", default-features = false } -tinymist-world = { path = "./crates/tinymist-world/", version = "0.13.12", default-features = false } -tinymist-project = { path = "./crates/tinymist-project/", version = "0.13.12" } -tinymist-task = { path = "./crates/tinymist-task/", version = "0.13.12" } -typst-shim = { path = "./crates/typst-shim", version = "0.13.12" } +tinymist-derive = { path = "./crates/tinymist-derive/", version = "0.13.16-rc1" } +tinymist-l10n = { path = "./crates/tinymist-l10n/", version = "0.13.16-rc1" } +tinymist-package = { path = "./crates/tinymist-package/", version = "0.13.16-rc1" } +tinymist-std = { path = "./crates/tinymist-std/", version = "0.13.16-rc1", default-features = false } +tinymist-vfs = { path = "./crates/tinymist-vfs/", version = "0.13.16-rc1", default-features = false } +tinymist-world = { path = "./crates/tinymist-world/", version = "0.13.16-rc1", default-features = false } +tinymist-project = { path = "./crates/tinymist-project/", version = "0.13.16-rc1" } +tinymist-task = { path = "./crates/tinymist-task/", version = "0.13.16-rc1" } +typst-shim = { path = "./crates/typst-shim", version = "0.13.16-rc1" } tinymist-tests = { path = "./crates/tinymist-tests/" } @@ -297,9 +297,9 @@ typst-eval = { git = "https://github.com/Myriad-Dreamin/typst.git", tag = "tinym # These patches use a different version of `reflexo`. # # A regular build MUST use `tag` or `rev` to specify the version of the patched crate to ensure stability. -# reflexo = { git = "https://github.com/Myriad-Dreamin/typst.ts/", rev = "72e6c9653ca410c5df0b5a01b4c4a8c8cdb1acc8" } -# reflexo-typst = { git = "https://github.com/Myriad-Dreamin/typst.ts/", rev = "72e6c9653ca410c5df0b5a01b4c4a8c8cdb1acc8" } -# reflexo-vec2svg = { git = "https://github.com/Myriad-Dreamin/typst.ts/", rev = "72e6c9653ca410c5df0b5a01b4c4a8c8cdb1acc8" } +reflexo = { git = "https://github.com/Myriad-Dreamin/typst.ts/", rev = "721308ad79ee5c529a65da17239a58dca7b5453c" } +reflexo-typst = { git = "https://github.com/Myriad-Dreamin/typst.ts/", rev = "721308ad79ee5c529a65da17239a58dca7b5453c" } +reflexo-vec2svg = { git = "https://github.com/Myriad-Dreamin/typst.ts/", rev = "721308ad79ee5c529a65da17239a58dca7b5453c" } # These patches use local `reflexo` for development. # reflexo = { path = "../typst.ts/crates/reflexo/" } diff --git a/crates/tinymist-derive/Cargo.toml b/crates/tinymist-derive/Cargo.toml index b966b1d0..03989224 100644 --- a/crates/tinymist-derive/Cargo.toml +++ b/crates/tinymist-derive/Cargo.toml @@ -4,7 +4,7 @@ description = "Provides derive for tinymist." categories = ["compilers"] keywords = ["typst"] # group: world -version = "0.13.12" +version = "0.13.16-rc1" authors.workspace = true license.workspace = true edition.workspace = true diff --git a/crates/tinymist-l10n/Cargo.toml b/crates/tinymist-l10n/Cargo.toml index 205d8b6c..ce1e8c8a 100644 --- a/crates/tinymist-l10n/Cargo.toml +++ b/crates/tinymist-l10n/Cargo.toml @@ -4,7 +4,7 @@ description = "Localization support for tinymist and typst." categories = ["compilers", "command-line-utilities"] keywords = ["language", "typst"] # group: world -version = "0.13.12" +version = "0.13.16-rc1" authors.workspace = true license.workspace = true edition.workspace = true diff --git a/crates/tinymist-package/Cargo.toml b/crates/tinymist-package/Cargo.toml index 85dd8ac0..663a4bec 100644 --- a/crates/tinymist-package/Cargo.toml +++ b/crates/tinymist-package/Cargo.toml @@ -4,7 +4,7 @@ description = "Tinymist package support for Typst." categories = ["compilers"] keywords = ["api", "language", "typst"] # group: world -version = "0.13.12" +version = "0.13.16-rc1" authors.workspace = true license.workspace = true edition.workspace = true diff --git a/crates/tinymist-project/Cargo.toml b/crates/tinymist-project/Cargo.toml index 3ba77f43..51fceb71 100644 --- a/crates/tinymist-project/Cargo.toml +++ b/crates/tinymist-project/Cargo.toml @@ -4,7 +4,7 @@ description = "Project model of typst for tinymist." categories = ["compilers"] keywords = ["language", "typst"] # group: world -version = "0.13.12" +version = "0.13.16-rc1" authors.workspace = true license.workspace = true edition.workspace = true diff --git a/crates/tinymist-std/Cargo.toml b/crates/tinymist-std/Cargo.toml index 173dbd70..49bec4c9 100644 --- a/crates/tinymist-std/Cargo.toml +++ b/crates/tinymist-std/Cargo.toml @@ -2,7 +2,7 @@ name = "tinymist-std" description = "Additional functions wrapping Rust's standard library." # group: world -version = "0.13.12" +version = "0.13.16-rc1" authors.workspace = true license.workspace = true edition.workspace = true diff --git a/crates/tinymist-task/Cargo.toml b/crates/tinymist-task/Cargo.toml index c9e4a1f3..c803b566 100644 --- a/crates/tinymist-task/Cargo.toml +++ b/crates/tinymist-task/Cargo.toml @@ -4,7 +4,7 @@ description = "Task model of typst for tinymist." categories = ["compilers"] keywords = ["language", "typst"] # group: world -version = "0.13.12" +version = "0.13.16-rc1" authors.workspace = true license.workspace = true edition.workspace = true diff --git a/crates/tinymist-vfs/Cargo.toml b/crates/tinymist-vfs/Cargo.toml index e14f6b7e..5317aa32 100644 --- a/crates/tinymist-vfs/Cargo.toml +++ b/crates/tinymist-vfs/Cargo.toml @@ -2,7 +2,7 @@ name = "tinymist-vfs" description = "Vfs for tinymist." # group: world -version = "0.13.12" +version = "0.13.16-rc1" authors.workspace = true license.workspace = true edition.workspace = true diff --git a/crates/tinymist-world/Cargo.toml b/crates/tinymist-world/Cargo.toml index 1fd3e246..c1f3f63e 100644 --- a/crates/tinymist-world/Cargo.toml +++ b/crates/tinymist-world/Cargo.toml @@ -4,7 +4,7 @@ description = "Typst's World implementation for tinymist." categories = ["compilers"] keywords = ["language", "typst"] # group: world -version = "0.13.12" +version = "0.13.16-rc1" authors.workspace = true license.workspace = true edition.workspace = true diff --git a/crates/typst-shim/Cargo.toml b/crates/typst-shim/Cargo.toml index 1c61f260..a1825784 100644 --- a/crates/typst-shim/Cargo.toml +++ b/crates/typst-shim/Cargo.toml @@ -2,7 +2,7 @@ name = "typst-shim" description = "A compatibility layer for Typst release and mainline versions." authors = ["The Typst Project Developers"] -version = "0.13.12" +version = "0.13.16-rc1" edition.workspace = true license.workspace = true homepage.workspace = true diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index cbf32625..9c7924ca 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/CHANGELOG.md @@ -8,9 +8,10 @@ The changelog lines unspecified with authors are all written by the @Myriad-Drea ## Unreleased -* Bumped typstyle to v0.13.14 by @Enter-tainer. See full changelog at +## v0.13.16 - [2025-07-19] -## v0.13.16 - [2025-07-13] +* Bumped typstyle to v0.13.14 by @Enter-tainer in https://github.com/Myriad-Dreamin/tinymist/pull/1902. + * See full changelog at ### Editor @@ -19,7 +20,7 @@ The changelog lines unspecified with authors are all written by the @Myriad-Drea * (Fix) Displaying SVG embedded in docs on hovering in VS Code Remote in https://github.com/Myriad-Dreamin/tinymist/pull/1878 * (Test) Ensuring pdf export `onType` to work in https://github.com/Myriad-Dreamin/tinymist/pull/1865 * Adding a neovim plugin as the canonical lsp client implementation in https://github.com/Myriad-Dreamin/tinymist/pull/1842 and https://github.com/Myriad-Dreamin/tinymist/pull/1851 and https://github.com/Myriad-Dreamin/tinymist/pull/1857 -* Added VS Code alpine-arm64 support in https://github.com/Myriad-Dreamin/tinymist/pull/1837 +* Added VS Code alpine-arm64 support in https://github.com/Myriad-Dreamin/tinymist/pull/1837 and https://github.com/Myriad-Dreamin/tinymist/pull/1901 ### Compiler @@ -36,6 +37,7 @@ The changelog lines unspecified with authors are all written by the @Myriad-Drea ### Code Analysis * (Fix) truncating value repr with 10MB limit in https://github.com/Myriad-Dreamin/tinymist/pull/1850 +* feat: resolve definitions with dynamic analysis in https://github.com/Myriad-Dreamin/tinymist/pull/1904 ### Docstring diff --git a/tools/typst-dom/package.json b/tools/typst-dom/package.json index d1b8a95a..e7e97a4c 100644 --- a/tools/typst-dom/package.json +++ b/tools/typst-dom/package.json @@ -13,12 +13,12 @@ "unlink:local": "yarn unlink @myriaddreamin/typst.ts @myriaddreamin/typst-ts-renderer" }, "peerDependencies": { - "@myriaddreamin/typst-ts-renderer": "=0.6.0-rc1", - "@myriaddreamin/typst.ts": "=0.6.0-rc1" + "@myriaddreamin/typst-ts-renderer": "=0.6.1-rc1", + "@myriaddreamin/typst.ts": "=0.6.1-rc1" }, "devDependencies": { - "@myriaddreamin/typst-ts-renderer": "=0.6.0-rc1", - "@myriaddreamin/typst.ts": "=0.6.0-rc1", + "@myriaddreamin/typst-ts-renderer": "=0.6.1-rc1", + "@myriaddreamin/typst.ts": "=0.6.1-rc1", "typescript": "^5.0.2" }, "exports": { diff --git a/tools/typst-preview-frontend/package.json b/tools/typst-preview-frontend/package.json index f17ee3bc..594f37a5 100644 --- a/tools/typst-preview-frontend/package.json +++ b/tools/typst-preview-frontend/package.json @@ -13,8 +13,8 @@ "unlink:local": "yarn unlink @myriaddreamin/typst.ts @myriaddreamin/typst-ts-renderer" }, "dependencies": { - "@myriaddreamin/typst-ts-renderer": "=0.6.0-rc1", - "@myriaddreamin/typst.ts": "=0.6.0-rc1", + "@myriaddreamin/typst-ts-renderer": "=0.6.1-rc1", + "@myriaddreamin/typst.ts": "=0.6.1-rc1", "typst-dom": "link:../typst-dom", "rxjs": "^7.8.1" } diff --git a/yarn.lock b/yarn.lock index 7e6e9b57..21518305 100644 --- a/yarn.lock +++ b/yarn.lock @@ -363,15 +363,15 @@ resolved "https://registry.yarnpkg.com/@jspm/core/-/core-2.1.0.tgz#ee21ff64591d68de98b79ca8e4bd6c5249fded53" integrity sha512-3sRl+pkyFY/kLmHl0cgHiFp2xEqErA8N3ECjMs7serSUBmoJ70lBa0PG5t0IM6WJgdZNyyI0R8YFfi5wM8+mzg== -"@myriaddreamin/typst-ts-renderer@=0.6.0-rc1": - version "0.6.0-rc1" - resolved "https://registry.yarnpkg.com/@myriaddreamin/typst-ts-renderer/-/typst-ts-renderer-0.6.0-rc1.tgz#1798933317d37204f96491d9f6a35d8885cbe35a" - integrity sha512-WZ3VpkGch2dOIZnAp73n5FpZNMntbL4D+TvywqPgfcKJFvTeKtYWcVOwGUnlf2LkDWsGCWxw723AreLkVcUyLw== +"@myriaddreamin/typst-ts-renderer@=0.6.1-rc1": + version "0.6.1-rc1" + resolved "https://registry.npmjs.org/@myriaddreamin/typst-ts-renderer/-/typst-ts-renderer-0.6.1-rc1.tgz#776420048d8efea7917f76bd7879a09294645ef0" + integrity sha512-rhXL147QMswTlX1Pmvw49zwGZ/2w0ilwCeD0TkBBbBj2njLLSwrQIO1j54DXpl7sq34kxy6qGetstbQUZdP9Ug== -"@myriaddreamin/typst.ts@=0.6.0-rc1": - version "0.6.0-rc1" - resolved "https://registry.yarnpkg.com/@myriaddreamin/typst.ts/-/typst.ts-0.6.0-rc1.tgz#678507db94bf988be5ede7266e2b2309a97955c5" - integrity sha512-RQFiiIFzzX6HCmpW2sj8kOBLZfd4W/NP6E+4sRCAItJmCJ+qoD6F0yZM3gVtRJiz0/Ll4hRfOPbuKLJyL1buOQ== +"@myriaddreamin/typst.ts@=0.6.1-rc1": + version "0.6.1-rc1" + resolved "https://registry.npmjs.org/@myriaddreamin/typst.ts/-/typst.ts-0.6.1-rc1.tgz#38080b7ecd69b5c3d2cf9a04ee11d31c93c31674" + integrity sha512-RfC3gqrd3iDSYuIiBUHIFnrT6LSKP3RQuOADq7oeg/ktNf6jzfhzMZbYacrWOlulsCqyGVB+GjEvDZNjIt6A5A== dependencies: idb "^7.1.1" @@ -3808,8 +3808,16 @@ stoppable@^1.1.0: resolved "https://registry.yarnpkg.com/stoppable/-/stoppable-1.1.0.tgz#32da568e83ea488b08e4d7ea2c3bcc9d75015d5b" integrity sha512-KXDYZ9dszj6bzvnEMRYvxgeTHU74QBFL54XKtP3nyMuJ81CFYtABZ3bAzL2EdFUaEwJOBOgENyFj3R7oTzDyyw== -"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0: - name string-width-cjs +"string-width-cjs@npm:string-width@^4.2.0": + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +string-width@^4.1.0, string-width@^4.2.0: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -3878,8 +3886,14 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: - name strip-ansi-cjs +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -4384,8 +4398,16 @@ workerpool@^6.5.1: resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.5.1.tgz#060f73b39d0caf97c6db64da004cd01b4c099544" integrity sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: - name wrap-ansi-cjs +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + +wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==