Skip to content

Mark deprecated packages #1393

Open
Open
@Coekjan

Description

@Coekjan

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 compiler can check this metadata and issue warnings to users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions