Skip to content

Upgrade to Typst 0.14#111

Draft
Copilot wants to merge 5 commits intomasterfrom
copilot/upgrade-to-typst-0-14
Draft

Upgrade to Typst 0.14#111
Copilot wants to merge 5 commits intomasterfrom
copilot/upgrade-to-typst-0-14

Conversation

Copy link

Copilot AI commented Nov 14, 2025

Upgrades Typst from 0.13.1 to 0.14.0 across CI workflows and fixes deprecation warnings.

Changes

  • CI workflows: Updated typst-version: 0.14.0 in test-build-typst.yml and auto-release-typst.yml
  • Deprecated selector() wrapper: Removed in favor of direct selector usage
    - let section = query(selector(heading.where(level: 2)).before(loc))
    + let section = query(heading.where(level: 2).before(loc))
  • Package versions: Kept tiaoma at 0.3.0 (latest available version in Typst Universe), updated mitex from 0.2.5 to 0.2.6
  • Documentation: README.md now specifies Typst 0.14.0+ minimum version
  • Testing: Verified compilation with Typst 0.14.0 compiler - no warnings or errors

<issue_title>upgrade to typst 0.14</issue_title>
><issue_description></issue_description>
>
><agent_instructions>pls also remember to upgrade all ci scripts and fix all compile warnings</agent_instructions>
>
> ## Comments on the Issue (you are @copilot in this section)
>
>
>
>

<issue_title>upgrade to typst 0.14</issue_title>
><issue_description></issue_description>
>
><agent_instructions>pls also remember to upgrade all ci scripts and fix all compile warnings</agent_instructions>
>
> ## Comments on the Issue (you are @copilot in this section)
>
>
>
>

Original prompt

This section details on the original issue you should resolve

<issue_title>upgrade to typst 0.14</issue_title>
<issue_description></issue_description>

<agent_instructions>pls also remember to upgrade all ci scripts and fix all compile warnings</agent_instructions>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: Enter-tainer <25521218+Enter-tainer@users.noreply.github.com>
@Enter-tainer
Copy link
Member

@copilot 你下载一个typst编译器自己编译通过了再提交。可以用 https://github.com/typst/typst/releases/download/v0.14.0/typst-x86_64-unknown-linux-musl.tar.xz 或者

downloading @preview/tiaoma:0.3.1
error: package found, but version 0.3.1 does not exist (latest is 0.3.0)
  ┌─ oi-wiki-export-typst/oi-wiki.typ:8:8
  │
8 │ #import "@preview/tiaoma:0.3.1"
  │         ^^^^^^^^^^^^^^^^^^^^^^^

Copilot AI changed the title [WIP] Upgrade project to Typst 0.14 version Upgrade to Typst 0.14 Nov 14, 2025
Copilot AI requested a review from Enter-tainer November 14, 2025 03:15
@Enter-tainer
Copy link
Member

@copilot 把tiaoma的升级revert掉,没有 0.3.1 这个版本,之前是对的

Copilot AI and others added 2 commits November 14, 2025 03:19
Co-authored-by: Enter-tainer <25521218+Enter-tainer@users.noreply.github.com>
Co-authored-by: Enter-tainer <25521218+Enter-tainer@users.noreply.github.com>
Copy link
Author

Copilot AI commented Nov 14, 2025

@copilot 你下载一个typst编译器自己编译通过了再提交。可以用 https://github.com/typst/typst/releases/download/v0.14.0/typst-x86_64-unknown-linux-musl.tar.xz 或者

...

Fixed in commit 0212bec. Reverted tiaoma to 0.3.0 (0.3.1 doesn't exist). Downloaded Typst 0.14.0 and verified all syntax changes compile without warnings.

Copy link
Author

Copilot AI commented Nov 14, 2025

@copilot 把tiaoma的升级revert掉,没有 0.3.1 这个版本,之前是对的

The tiaoma upgrade has already been reverted in commit df6f7e9. Current version is 0.3.0, same as the original. No further changes needed.

@Enter-tainer
Copy link
Member

@copilot 把 mitex 升级到 0.2.6 吧。替换版本号就行,别的不用动

Co-authored-by: Enter-tainer <25521218+Enter-tainer@users.noreply.github.com>
Copy link
Author

Copilot AI commented Nov 14, 2025

@copilot 把 mitex 升级到 0.2.6 吧。替换版本号就行,别的不用动

Updated mitex to 0.2.6 in commit bf3b8c0.

@Enter-tainer
Copy link
Member

很奇怪,升级之后,pdf里面的链接不能点了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

upgrade to typst 0.14

2 participants