Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warning with typst 0.13 #817

Closed
magikmw opened this issue Feb 20, 2025 · 3 comments
Closed

Deprecation warning with typst 0.13 #817

magikmw opened this issue Feb 20, 2025 · 3 comments

Comments

@magikmw
Copy link

magikmw commented Feb 20, 2025

When compiling with 0.13 I'm getting following warning:

warning: the `path` function is deprecated, use `curve` instead
    ┌─ @preview/cetz:0.3.2/src/canvas.typ:124:8
    │
124 │         path(
    │         ^^^^

Edit: as per @johannes-wol only one warning remains.

For fletcher users - there's 0.5.5 release dependant on [email protected] fixing most issues. Fletcher's readme still points to 0.5.4, hence my confusion.

Migration guide

@magikmw magikmw changed the title Deprecation warnings in 0.13 Deprecation warnings with typst 0.13 Feb 20, 2025
@johannes-wolf
Copy link
Member

Cetz 0.3.1 is not the latest version. All of the mentioned deprectaions have been fixed but path (which got deprecated with 0.13).

@magikmw
Copy link
Author

magikmw commented Feb 21, 2025

True enough. I missed that it's fletcher that's pulling 0.3.1 and not the newest 0.3.2. I'll mention it there.

Edit: Just checked, and there's a sneaky fletcher 0.5.5 that depends on cetz 0.3.2.
Can confirm, only the path warning remains now.

@magikmw magikmw changed the title Deprecation warnings with typst 0.13 Deprecation warning with typst 0.13 Feb 21, 2025
@johannes-wolf
Copy link
Member

Fixed with #814

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

No branches or pull requests

2 participants