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

Mark deprecated packages #1393

Open
Coekjan opened this issue Dec 5, 2024 · 1 comment
Open

Mark deprecated packages #1393

Coekjan opened this issue Dec 5, 2024 · 1 comment

Comments

@Coekjan
Copy link
Contributor

Coekjan commented Dec 5, 2024

Description

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.

@YDX-2147483647
Copy link
Contributor

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:

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