Commit graph

113 commits

Author SHA1 Message Date
ParaN3xus
cf0fb1c00d
fix: several fixes to auto release (#1959)
Some checks are pending
tinymist::auto_tag / auto-tag (push) Waiting to run
tinymist::ci / build (push) Blocked by required conditions
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / announce (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run
+ use `GITHUB_TOKEN` to checkout tinymist in `release-nightly.yml`.
Therefore, GitHub Actions should be granted write permission.
+ tag directives must start from the line start.
+ use the same bot name and email in actions.
2025-08-01 16:08:08 +08:00
Myriad-Dreamin
f118d81464
fix: run ci on nightly branch (#1955)
Some checks are pending
tinymist::auto_tag / auto-tag (push) Waiting to run
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / announce (push) Blocked by required conditions
tinymist::ci / build (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run
2025-07-31 22:25:30 +08:00
ParaN3xus
3aa9c9def0
feat: create git tag automatically to trigger releases (#1951)
This PR introduces multiple GitHub Actions to automate the release
procedure. In brief, it contains:

- **For nightly releases**: A fully automated GitHub Action that updates
dependencies (including dependencies of typstyle, typst.ts, and
typst-ansi-hl), releases nightly RC (aka canary version in the action
script) and nightly builds, along with its helper script (which can also
be useful for manually updating versions).

- **For stable releases**: Two GitHub Actions, one that detects newly
opened PRs containing tagging directives (`+Tag vx.y.z-rcw`) and leaves
comments, and another that detects merged tagging PRs and performs the
actual tagging.


Examples:
- Nightly release:
4708018995
- Stable release: ParaN3xus/tinymist#1, ParaN3xus/tinymist#2

Extra work needed to merge this PR:
- [ ] Remove all `nightly/*` branches and create `nightly` branch
- [ ] Add `NIGHTLY_REPO_TOKEN` secret to this repo

---------

Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2025-07-31 20:59:11 +08:00
Myriad-Dreamin
9f7c21bb0c
fix: remove explicit requirement of secrets (#1952) 2025-07-31 20:13:57 +08:00
Myriad-Dreamin
7e925890fa
feat: build and bundle tinymist wasm into web extension (#1945)
Some checks are pending
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / announce (push) Blocked by required conditions
tinymist::ci / build (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run
2025-07-31 01:45:25 +08:00
Myriad-Dreamin
cf20c66b26
test: ensure compile output works correctly (#1942)
Some checks are pending
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / announce (push) Blocked by required conditions
tinymist::ci / build (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run
Validate fix and prevent regression of
https://github.com/Myriad-Dreamin/tinymist/pull/1941
2025-07-30 23:25:59 +08:00
Myriad-Dreamin
5d2f32945c
feat: run announce workflow in ci (#1938)
Some checks are pending
tinymist::ci / announce (push) Blocked by required conditions
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / build (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run
2025-07-29 17:15:51 +08:00
Myriad-Dreamin
e9ae352dfd
build(ci): call VS Code CI tasks in release.yml workflow (#1920)
Since this PR, CI runs VS Code tasks exact after built binaries and
before `dist host`. This is to ensure that the vscode artifacts are
available when undraft the releases.
2025-07-29 16:21:34 +08:00
Myriad-Dreamin
0025a71951
fix: passing secrets to reused workflows (#1936) 2025-07-29 15:15:50 +08:00
Myriad-Dreamin
97b5325f68
fix: alpine arm64 was not built (#1901)
* fix: alpine building

* dev: check build

* Revert "dev: check build"

This reverts commit ae71095ef2.
2025-07-12 15:53:23 +08:00
Myriad-Dreamin
1478280a07
docs: generate typlite readme (#1868)
Some checks failed
tinymist::ci / Duplicate Actions Detection (push) Has been cancelled
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Has been cancelled
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Has been cancelled
tinymist::ci / prepare-build (push) Has been cancelled
tinymist::gh_pages / build-gh-pages (push) Has been cancelled
tinymist::ci / E2E Tests (darwin-arm64 on macos-latest) (push) Has been cancelled
tinymist::ci / E2E Tests (linux-x64 on ubuntu-22.04) (push) Has been cancelled
tinymist::ci / E2E Tests (linux-x64 on ubuntu-latest) (push) Has been cancelled
tinymist::ci / E2E Tests (win32-x64 on windows-2022) (push) Has been cancelled
tinymist::ci / E2E Tests (win32-x64 on windows-latest) (push) Has been cancelled
tinymist::ci / build-binary (push) Has been cancelled
tinymist::ci / build-vsc-assets (push) Has been cancelled
tinymist::ci / build-vscode (push) Has been cancelled
tinymist::ci / build-vscode-others (push) Has been cancelled
tinymist::ci / publish-vscode (push) Has been cancelled
* docs: generate typltie readme

* dev(ci): add docs check

* fix: don't cache error

* dev(ci): install typst

* docs: update docs

* feat: mark shell scripts
2025-07-03 01:41:19 +08:00
Myriad-Dreamin
9ca77d5382
fix: build pdf docs (#1864)
Some checks are pending
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / E2E Tests (darwin-arm64 on macos-latest) (push) Blocked by required conditions
tinymist::ci / E2E Tests (linux-x64 on ubuntu-22.04) (push) Blocked by required conditions
tinymist::ci / E2E Tests (linux-x64 on ubuntu-latest) (push) Blocked by required conditions
tinymist::ci / E2E Tests (win32-x64 on windows-2022) (push) Blocked by required conditions
tinymist::ci / E2E Tests (win32-x64 on windows-latest) (push) Blocked by required conditions
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / build-binary (push) Blocked by required conditions
tinymist::ci / build-vsc-assets (push) Blocked by required conditions
tinymist::ci / build-vscode (push) Blocked by required conditions
tinymist::ci / build-vscode-others (push) Blocked by required conditions
tinymist::ci / publish-vscode (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run
* fix: pdf docs

* fix: dirty change

* fix: pollyfill theme-box

* fix: pollyfill rules

* fix:  rules

* fix: again

* fix: 2019 retired
2025-07-01 23:05:41 +08:00
Myriad-Dreamin
b13b020933 feat: use shiroa v0.3.1-rc3 2025-06-30 15:11:07 +08:00
Myriad-Dreamin
c46b6e1166
fix: upgrade builder for windows binaries (#1794)
* fix: change windows builder to windows latest

* build: upgrade cargo-dist

* chore: update

* chore: update

* fix: tinymist.3
2025-06-30 11:27:49 +08:00
Myriad-Dreamin
b0c9b2ef86
feat(vscode): add alpine-arm64 support (#1837)
* feat(vscode): add alpine-arm64 support

* dev: deduplicate
2025-06-23 12:54:19 +08:00
Myriad-Dreamin
aa7e71fef3
build: bump version to 0.13.14-rc2 (#1805)
Some checks failed
tinymist::ci / Duplicate Actions Detection (push) Has been cancelled
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Has been cancelled
tinymist::gh_pages / build-gh-pages (push) Has been cancelled
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Has been cancelled
tinymist::ci / prepare-build (push) Has been cancelled
tinymist::ci / build-vscode (push) Has been cancelled
tinymist::ci / build-vscode-others (push) Has been cancelled
tinymist::ci / publish-vscode (push) Has been cancelled
tinymist::ci / build-binary (push) Has been cancelled
tinymist::ci / build-vsc-assets (push) Has been cancelled
tinymist::ci / E2E Tests (darwin-arm64 on macos-latest) (push) Has been cancelled
tinymist::ci / E2E Tests (linux-x64 on ubuntu-22.04) (push) Has been cancelled
tinymist::ci / E2E Tests (linux-x64 on ubuntu-latest) (push) Has been cancelled
tinymist::ci / E2E Tests (win32-x64 on windows-2019) (push) Has been cancelled
tinymist::ci / E2E Tests (win32-x64 on windows-latest) (push) Has been cancelled
* build: bump version to 0.13.14-rc2

* build: update cargo.lock

* build: bump assets
2025-06-09 12:21:31 +08:00
Myriad-Dreamin
25a446cd99
dev: fix meta and rename preview crates for publish crates (#1804)
* dev: fix meta and rename preview crates for publish crates

* dev: fix meta for publish crates
2025-06-09 09:40:05 +08:00
Myriad-Dreamin
890ecd93a5
fix: checkout repository in publish step to get yarn.lock (#1722) 2025-05-06 15:48:59 +08:00
Myriad-Dreamin
1108b39e3f
feat(ci): setup and cache minimal toolchain (#1683)
* feat(ci): setup and cache minimal toolchain

* dev: components

* fix: broken rpds

* fix: edition 2024??
2025-04-30 17:45:13 +08:00
Myriad-Dreamin
258cf85601
dev(ci): restrict patterns to release (#1682) 2025-04-18 04:10:54 +08:00
Myriad-Dreamin
d3134926e5
fix: fix warnings in publish dry runs (#1681) 2025-04-18 03:42:49 +08:00
Myriad-Dreamin
94416c4b5d
fix: errors in ci scripts (#1675)
* fix: order to publish

* fix: bad build binary

* test: update it
2025-04-17 19:16:14 +08:00
Myriad-Dreamin
c4090158b1
feat: tries to publish tinymist to crates.io (#1667)
* feat: publish tinymist to crates.io

* fix: first attempt is failed

* fix: first attempt is failed

* fix: the block is assumed to be used in block expressions
2025-04-17 16:57:38 +08:00
Myriad-Dreamin
d0c5b28d26
feat: cache yarn packages (#1615) 2025-04-02 10:19:53 +08:00
Myriad-Dreamin
677983075d
build: hard disable targets to build on CI (#1613)
* build: hard disable targets to build on CI

* feat: remove x86 darwin e2e
2025-04-01 17:58:50 +08:00
Myriad-Dreamin
64044ea514
feat: use html export to render docs (#1610)
* feat: use html export to render docs

* feat: merge page
2025-03-31 22:32:04 +08:00
Myriad-Dreamin
b97335c0ef
fix: order to publish crates (#1609)
* fix: order to publish crates

* fix: bad version
2025-03-31 17:03:26 +08:00
Myriad-Dreamin
e443c3172b
feat: build pdf docs for all platforms (#1592)
* feat: build pdf docs for all platforms

* fix: name

* feat: others

* feat: remove dispatch trigger

* fix: checkout

* fix: workaround the bug

* feat: build one for all

* feat: build one for all

* feat: build one for all 2

* fix: bundle syntaxes

* fix: orders

* fix: too slow windows
2025-03-27 18:43:13 +08:00
Myriad-Dreamin
8c4bfe21c7
feat: run e2e tests on major platforms (#1590)
* feat: run e2e tests on major platforms

* fix: conflict snapshot
2025-03-27 11:33:25 +08:00
Myriad-Dreamin
c234e86070
feat(ci): vscode extensions use binaries built by cargo-dist (#1560)
* build: rename filename of vscode workflow

* build: archive

* dev: permissions

* fix: cache name

* fix: ci file name

* edit

* edit2

* fix: release crates rule

* fix: announce permission

* fix: publish permission

* fix: errors

* fix: ???

* fix: cargo test

* chore: rename

* feat: upgrade ubuntu version

* feat: upgrade cargo-dist

* feat: upgrade cargo-dist

* feat: pr run with tag be `''`

* feat: upload

* feat: upgrade cargo-dist??

* feat: fix workflow

* fix: announce deps

* fix: permission

* fix: dir to download

* fix: unpack

* fix: unpack 2

* fix: list command

* fix: executable name

* fix: executable name 2

* fix: executable name 3

* fix: executable name 4

* fix: remove the macos e2e test challenge

* fix: prebuilt location

* fix: compile arguments
2025-03-27 04:20:58 +08:00
Myriad-Dreamin
9d38c8fd38
fix: prereleas flag faked us (#1573) 2025-03-25 12:43:13 +08:00
Myriad-Dreamin
67c4e6e24c
feat: bump cargo-dist to v0.28.0-tinymist.2 (#1555)
* feat: bump cargo-dist to 0.28.0-tinymist.2

* feat: upgrade tempfile to 3.19.1
2025-03-20 19:51:50 +08:00
Myriad-Dreamin
1039e6f4fe
feat: publish tinymist-l10n and use ubuntu-latest runner (#1543) 2025-03-20 15:48:09 +08:00
Myriad-Dreamin
b5a629435a
feat: download font assets for compiling pdf docs (#1511)
* feat: download font assets for compiling pdf docs

* fix: gate
2025-03-17 12:51:02 +08:00
Myriad-Dreamin
b2e9d7bbcd
feat: implements dap-server scaffold (#1517)
* feat: implements dap-server scaffold

* dev: revert

* fix: diagnostics is only available when typst is enabled

* feat: proper feature gating and testing

* feat: reduce dep and publish sync-ls

* docs: update readme

* fix: compile error

* fix: permission

* fix: examples

* fix: doc example
2025-03-17 09:33:59 +08:00
Myriad-Dreamin
ffb8ebd52f
chore: update workflow files (#1513) 2025-03-16 16:41:13 +08:00
Myriad-Dreamin
4cbe35a286
feat: employ l10n to tinymist-cli and vscode extension (#1505)
* feat: runtime translation

* feat: poc of rust translation

* feat: clean up implementation

* feat: initialize correctly

* dev: remove dirty log

* dev: rename l10nMsg

* fix: desc

* feat: update assets building

* feat: update assets building

* build: update cargo.lock

* fix: warnings

* fix: warnings

* dev: expose api

* fix: compile error

* fix: compile errors in scripts
2025-03-15 10:38:07 +08:00
Myriad-Dreamin
288243c2f5 feat: gen on ci 3 2025-03-11 11:16:35 +08:00
Myriad-Dreamin
732b1488f6 feat: gen on ci 2 2025-03-11 11:07:41 +08:00
Myriad-Dreamin
a572e3c5c0 feat: gen on ci 2025-03-11 10:56:02 +08:00
Myriad-Dreamin
ce90489017 feat: generate documentation in PDF format 2025-03-11 10:56:02 +08:00
Myriad-Dreamin
9acf9fbfa7
fix: nightly condition (#1437) 2025-03-02 15:20:28 +08:00
Myriad-Dreamin
7f0131c333
feat(ci): create release directly (#1436)
* feat(ci): create release directly

* fix: env position to read inputs

* fix: env position to read inputs

* fix: invalid word

* docs: update changelog

* fix: gh-token

* fix: grant permissions
2025-03-02 02:16:36 +08:00
Myriad-Dreamin
2c235a4259
fix: allow dirty to publish frontend assets (#1435)
* fix: allow dirty to publish frontend assets

* build: publish it
2025-03-01 23:23:32 +08:00
Myriad-Dreamin
5babd2b8f8
feat(ci): publish asset crate in CI (#1434)
* feat(ci): publish asset crate in CI

* feat: update name
2025-03-01 23:17:40 +08:00
Myriad-Dreamin
bbed728b82
feat: bump msrv and rust to v1.83 and v1.85 (#1407) 2025-02-26 14:40:23 +08:00
Myriad-Dreamin
208ce3dbad
feat(ci): use rust-toolchain.toml (#1406)
* feat(ci): use `rust-toolchain.toml`

* test: check toolchain

* fix: again

* fix: name
2025-02-26 14:33:30 +08:00
Myriad-Dreamin
3590774383
test(ci): test about completion script generation (#1387) 2025-02-24 11:59:47 +08:00
Myriad-Dreamin
fee3da7195 fix: disable hack feature when verifying publish of crates 2025-02-23 10:47:13 +08:00
Myriad-Dreamin
d21ebc38dc
feat: bump typst to v0.13.0-rc1 (#1342)
* dev: use range type from lsp-types

* feat: add html document variant

* feat: use new-style bytes constructors

* fix: broken span usages

* fix: syntax kind is changed

* fix: label use pico str

* fix: bib element is changed

* fix: raw element is changed

* fix: typst use codex

* fix: package fn is removed from world trait

* feat: reflexo accept typst document

* docs: update changelog

* dev: cargo patch

* fix: typst pdf timestamp is changed

* fix: pattern is renamed to tiling

* dev: make eval compat

* test: update snapshots

* build: bump version to nightly 0.12.19-rc4

* build: bump version to 0.12.19-rc1 (#1164)

  * build update changelog

  * build: bump version to 0.12.19-rc1

* build: bump version to nightly 0.12.19-rc2 (#1221)

  * feat: update typst to `85d1778`

  * deps: lock git deps version

  * build: bump version to 0.12.19-rc2

  * docs: remove rc in changelog

  * fix: mathtext formatting of typstyle

  * fix: completion related to mathtext

  * build: update cargo.lock

* build: bump version to nightly 0.12.19-rc3 (#1232)

* build: bump version to nightly 0.12.19-rc4 (#1239)

* feat: add typst-html

* feat: add typst-html

* cargo patch

* fix: features doesn't take effect

* fix: casting

* fix: broken no-content-hint

* fix: snapshot

* fix: remove unnecessary `fs` feature

* fix: move system features feature

* feat: remove nightly shim

* test: update snapshot

* dev: nightly v0.12.21 (#1279)

* feat: update typst to `0ea6680`

feat: update typst to `0ea6680`

build: bump version to nightly 0.12.19 (#1261)

* fix: fix lint errors

* styl: fotmat

* fix: build web ci

* build: update cargo.toml

* build: bump version to nightly 0.12.21-rc1 (#1280)

* build: update typstyle & reflexo (#1336)

* build: update typstyle & reflexo

* dev: remove useless patches

---------

Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>

* build: update version

* fix: pdf gate were broken (#1285)

* fix: panic on convert_datetime (#1286)

* feat: run language sever with targeting html (#1284)

* dev: add some debug logging

* feat: html compilation

* fix: revert changes

* feat: adjust html interfaces

* feat: lock reflexo

* feat: provide exportTarget configuration

* feat: export html actions when target is html

* build: bump reflexo

* fix: system feature gate

* fix: feature gate 2

* fix: feature gate 3

* feat: make tinymist-world featured by lsp

* feat: text export over typst's HTML export (#1289)

* feat: add more doc, world, and task apis (#1290)

* feat: add num of pages method

* feat: add from_snapshot_inner method

* feat: add clear_dedicates method

* feat: more convertion traits

* feat: add doc_get_as_value method

* feat: add doc_get_as_value method

* feat: add cast_run method

* fix: set is compiling flag (#1293)

* feat: publish {tinymist-{derive,analysis,std,vfs,world,project},typlite,crityp} crates (#1310)

* build: bump version to 0.12.21-pre-rc1

* fix: deps

* build: set nightly in nightly branch

* docs: add readmes for publish

* feat: add release crates action

* dev: remove publish of sync-lsp

* dev: remove useless setup

* fix: remove readme

* fix: publish ignore errors

* fix: specify version for publish

* fix: specify version for publish

* feat: update tinymist-web version

* test: update snapshot

* fix: diverged deps

---------

Co-authored-by: ParaN3xus <136563585+ParaN3xus@users.noreply.github.com>
2025-02-21 03:18:04 +08:00