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

Add plugins.json format version field #400

Open
ehmicky opened this issue Jul 30, 2021 · 1 comment
Open

Add plugins.json format version field #400

ehmicky opened this issue Jul 30, 2021 · 1 comment
Labels
feat/build-plugins init/plugin-versioning theme/plugins-author-experience type: chore work needed to keep the product and development running smoothly

Comments

@ehmicky
Copy link
Contributor

ehmicky commented Jul 30, 2021

The plugins.json file syntax can be versioned, which allows renaming properties, for example (see this issue and this document.

The version is present in the URL, e.g. https://list-v1--netlify-plugins.netlify.app/plugins.json. However, it would be good to make it available in the plugins.json HTTP response as well.

At the moment, that file is a top-level array. Introducing that new field would require making it a top-level object instead. This would be a breaking change of the plugins.json syntax (see this) which would require updating every consumer.

@ehmicky ehmicky added the type: chore work needed to keep the product and development running smoothly label Jul 30, 2021
@erezrokah
Copy link
Contributor

Somehow related to #402 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat/build-plugins init/plugin-versioning theme/plugins-author-experience type: chore work needed to keep the product and development running smoothly
Projects
None yet
Development

No branches or pull requests

2 participants