Open tingerrr opened 4 months ago
The Typst API is too unstable at the moment to consider the first and second option. I'll either implement the third option as a fallback for users, or not offer this until Typst is more stable.
With the breaking changes with typst
0.12
that was recently released, it would be nice if typst-test
could fall back to using the system typst
fore compiling tests.
Right now, my test code is failing because it cannot be compiled due to updates with typst
0.12
specific changes.
That is something I considered, but I haven't had time to properly think it over and implement it yet. Mainly because calling the system version is so different from how I handle compiled documents internally.
That being said, you can try running d68a449b, which uses 0.12, but I can't promise the commit won't disappear because of me rewriting the commit history on that branch, it's purely local changes that I sync with a stash
branch between machines. Alternatively, the current ci-semi-stable
tag/branch should still be able to use the system version.
That's understandable. I will use the ci-semi-stable
for now. Thanks!
There are three approaches to this problem:
typst-test watch
almost impossible to implementwatch
)I am unsure which would be the best option to support more than one version at a time, perhaps a user just has to install more than one version of typst-test the same way they'd install more than one version of typst itself to test older versions.