You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the compiler fixes the related bugs, these packages shall not be used anymore.
Some old packages may be not actively maintained and can be replaced by some other better and actively maintained packages. The old package owners can mark them deprecated.
...
It would be nice to notify the users to remove the deprecated dependencies, especially when the users update their typst compiler and try to use it to compile an existing document.
Maybe we can allow package authors and typst maintainers to add some metadata (e.g. deprecated-since: '0.12.0') for a package at preview/{package}/meta.toml. More metadata can be added in it, so this design is not limited to deprecate a package.
By this design, the compile can check this metadata and issue warnings to users.
The text was updated successfully, but these errors were encountered:
Apart from workaround and being unmaintained, there is a third type of deprecation: built into typst. So I suggest also add a replaced-by/in-favor-of entry. Examples:
Description
Some packages are designed as workaround for compiler bugs or limitation, e.g:
When the compiler fixes the related bugs, these packages shall not be used anymore.
Some old packages may be not actively maintained and can be replaced by some other better and actively maintained packages. The old package owners can mark them deprecated.
...
It would be nice to notify the users to remove the deprecated dependencies, especially when the users update their typst compiler and try to use it to compile an existing document.
Maybe we can allow package authors and typst maintainers to add some metadata (e.g.
deprecated-since: '0.12.0'
) for a package atpreview/{package}/meta.toml
. More metadata can be added in it, so this design is not limited to deprecate a package.By this design, the compile can check this metadata and issue warnings to users.
The text was updated successfully, but these errors were encountered: