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

Remove template custom filters feature #1822

Merged

Conversation

itowlson
Copy link
Collaborator

Fixes #1581.

This removes the template custom filters feature, allowing removal of the wit-bindgen-backport dependency. This is a breaking change and should be merged only into a major version. Templates containing custom filters will be skipped and reported on installation; if a user has an old template which users the feature, it will fail when run.

I retained the custom_filters field in the TOML deserialisation so that we could provide a more meaningful error message than serde alone would do. Its contents are ignored though.

For some reason the change set off a "large enum variant" lint even though it was making the large variant smaller, so there is an unrelated change in the PR for that.

Signed-off-by: itowlson <ivan.towlson@fermyon.com>
@itowlson itowlson force-pushed the template-remove-custom-filters branch from 289ea99 to c5476dc Compare September 28, 2023 02:08
@lann lann removed the do-not-merge label Oct 3, 2023
@lann
Copy link
Collaborator

lann commented Oct 3, 2023

We've branched v1.6; this should be good to merge now.

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

Successfully merging this pull request may close these issues.

templates: Remove wit-bindgen-backport dependency
3 participants