Skip to content

Commit d6d69b2

Browse files
build: bump version to 0.11.16 (#444)
* build: update changelog and readme * build: bump version to 0.11.16
1 parent e704c44 commit d6d69b2

File tree

6 files changed

+85
-21
lines changed

6 files changed

+85
-21
lines changed

Cargo.lock

+12-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[workspace.package]
22
description = "An integrated language service for Typst."
33
authors = ["Myriad-Dreamin <[email protected]>", "Nathan Varner"]
4-
version = "0.11.16-rc1"
4+
version = "0.11.16"
55
edition = "2021"
66
readme = "README.md"
77
license = "Apache-2.0"
@@ -133,7 +133,7 @@ insta = { version = "1.39", features = ["glob"] }
133133

134134
# Our Own Crates
135135
typst-preview = { path = "./crates/typst-preview/" }
136-
tinymist-assets = { version = "0.11.16-rc1" }
136+
tinymist-assets = { version = "0.11.16" }
137137
tinymist = { path = "./crates/tinymist/" }
138138
tinymist-query = { path = "./crates/tinymist-query/" }
139139
tinymist-render = { path = "./crates/tinymist-render/" }

editors/vscode/CHANGELOG.md

+55-5
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,73 @@ All notable changes to the "tinymist" extension will be documented in this file.
44

55
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
66

7+
## v0.11.16 - [2024-07-20]
8+
9+
* Adding editor-side e2e testing in https://github.com/Myriad-Dreamin/tinymist/pull/441 and https://github.com/Myriad-Dreamin/tinymist/pull/442
10+
11+
### Compiler
12+
13+
* Making compilation not block most snapshot requests in https://github.com/Myriad-Dreamin/tinymist/pull/432 and https://github.com/Myriad-Dreamin/tinymist/pull/435
14+
* Making cache evicting shared in https://github.com/Myriad-Dreamin/tinymist/pull/434
15+
* To make more sensible cache eviction when you are previewing multiple documents (running multiple compilers).
16+
* (Fix) Changing entry if pinning again in https://github.com/Myriad-Dreamin/tinymist/pull/430
17+
* This was introduced by https://github.com/Myriad-Dreamin/tinymist/pull/406
18+
* (Fix) Tolerating client changing source state badly in https://github.com/Myriad-Dreamin/tinymist/pull/429
19+
* Sometimes the client sends a request with a wrong source state, which causes a panic.
20+
21+
### Editor
22+
23+
* Showing views only if tinymist extension is activated in https://github.com/Myriad-Dreamin/tinymist/pull/420
24+
* This is a slightly improvement on https://github.com/Myriad-Dreamin/tinymist/pull/414
25+
* (Fix) Removed dirty preview command changes in https://github.com/Myriad-Dreamin/tinymist/pull/421
26+
* It also adds dev kit to avoid this stupid mistake in future. The kit contains a convenient command for previewing document on a fixed port for development.
27+
* Added hint documentation about configuring rootless document in https://github.com/Myriad-Dreamin/tinymist/pull/440
28+
* You can set the rootPath to `-`, so that tinymist will always use parent directory of the file as the root path.
29+
30+
### Commands/Tools
31+
32+
* Supported creation-timestamp configuration for exporting PDF in https://github.com/Myriad-Dreamin/tinymist/pull/439
33+
* It now start to provide creation timestamp for the PDF export.
34+
* You can disallow it to embed the creation timestamp in your document by `set document(..)`.
35+
* You can also configure it by either [Passing Extra CLI Arguments](https://github.com/Myriad-Dreamin/tinymist/blob/9ceae118480448a5ef0c41a1cf810fa1a072420e/editors/vscode/README.md#passing-extra-cli-arguments) or the environment variable (`SOURCE_DATE_EPOCH`).
36+
* For more details, please see [source-date-epoch](https://reproducible-builds.org/specs/source-date-epoch/)
37+
38+
### Preview
39+
40+
* Allowing multiple-tasked preview in https://github.com/Myriad-Dreamin/tinymist/pull/427
41+
* Provided `sys.inputs.x-preview` in https://github.com/Myriad-Dreamin/tinymist/pull/438
42+
* It could be used for customizing the templates when you are previewing documents.
43+
44+
### Completion
45+
46+
* (Fix) Check string's quote prefix correctly when completing code in https://github.com/Myriad-Dreamin/tinymist/pull/422
47+
48+
49+
### Misc
50+
51+
* Fixed description for exportPdf setting by @Otto-AA in https://github.com/Myriad-Dreamin/tinymist/pull/431
52+
53+
**Full Changelog**: https://github.com/Myriad-Dreamin/tinymist/compare/v0.11.15...v0.11.16
54+
755
## v0.11.15 - [2024-07-15]
856

957
* Bumped typstyle to v0.11.30 by @Enter-tainer in https://github.com/Myriad-Dreamin/tinymist/pull/416
1058

11-
## Compiler
59+
### Compiler
1260

1361
* (Fix) Noting `formatter_print_width` change on changed configuration in https://github.com/Myriad-Dreamin/tinymist/pull/387
1462
* Keeping entry on language query in https://github.com/Myriad-Dreamin/tinymist/pull/406
1563
* Allowed deferred snapshot event processing in https://github.com/Myriad-Dreamin/tinymist/pull/408
1664

17-
## Editor
65+
### Editor
1866

1967
* (Fix) Showing views in activity bar whenever the extension is activated in https://github.com/Myriad-Dreamin/tinymist/pull/414
2068

21-
## Hover (Tooltip)
69+
### Hover (Tooltip)
2270

2371
* Rendering example code in typst docs as typst syntax in https://github.com/Myriad-Dreamin/tinymist/pull/397
2472

25-
## Preview
73+
### Preview
2674

2775
* Using `requestIdleCallback` to wait for updating canvas pages when editor is in idle in https://github.com/Myriad-Dreamin/tinymist/pull/412
2876
* Improve performance when updating document quickly.
@@ -31,12 +79,14 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
3179
* (Fix) Updating content preview incrementally again in https://github.com/Myriad-Dreamin/tinymist/pull/413
3280
* (Fix) wrong serialization of `task_id` v.s. `taskId` in https://github.com/Myriad-Dreamin/tinymist/pull/417
3381

34-
## Misc
82+
### Misc
3583

3684
* Added typlite for typst's doc comments in https://github.com/Myriad-Dreamin/tinymist/pull/398
3785
* Documented tinymist crate in https://github.com/Myriad-Dreamin/tinymist/pull/390
3886
* (Fix) Performing cyclic loop dependence correctly when checking def-use relation across module in https://github.com/Myriad-Dreamin/tinymist/pull/396
3987

88+
**Full Changelog**: https://github.com/Myriad-Dreamin/tinymist/compare/v0.11.14...v0.11.15
89+
4090
## v0.11.14 - [2024-07-07]
4191

4292
## Compiler

editors/vscode/README.md

+14
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,20 @@ Open command palette (Ctrl+Shift+P), and type `>Typst Preview:`.
5454

5555
You can also use the shortcut (Ctrl+K V).
5656

57+
#### Theme-aware template (previewing)
58+
59+
In short, there is a `sys.inputs` item added to the compiler when your document is under the context of *user editing or previewing task*. You can use it to configure your template:
60+
61+
```typ
62+
#let preview-args = json.decode(sys.inputs.at("x-preview", default: "{}"))
63+
// One is previewing the document.
64+
#let is-preview = sys.inputs.has("x-preview")
65+
// `dark` or `light`
66+
#let preview-theme = preview-args.at("theme", default: "light")
67+
```
68+
69+
For details, please check [Preview's sys.inputs](https://myriad-dreamin.github.io/tinymist/feature/preview.html#label-sys.inputs).
70+
5771
### Configuring path to search fonts
5872

5973
To configure path to search fonts:

editors/vscode/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tinymist",
3-
"version": "0.11.16-rc1",
3+
"version": "0.11.16",
44
"description": "An integrated language service for Typst",
55
"categories": [
66
"Programming Languages",

syntaxes/textmate/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typst-textmate",
3-
"version": "0.11.16-rc1",
3+
"version": "0.11.16",
44
"private": true,
55
"scripts": {
66
"compile": "npx tsc && node ./dist/main.js",

0 commit comments

Comments
 (0)