ampstart icon indicating copy to clipboard operation
ampstart copied to clipboard

Ability to specify the amp component with specific version

Open marcelovani opened this issue 6 years ago • 3 comments

When I run the output on the AMP Validator, it shows an error saying:

The extension 'amp-mustache' is referenced at version '0.1' which is a deprecated version. Please use a more recent version of this extension. This may become an error in the future.

See: https://www.ampproject.org/docs/reference/components/amp-mustache

I want to suggest the ability to specify the version of the amp components

Another example: https://www.ampproject.org/docs/reference/components/amp-sticky-ad

marcelovani avatar Jan 10 '19 16:01 marcelovani

See https://github.com/ampproject/amphtml/blob/master/spec/amp-versioning-policy.md

jpettitt avatar Jan 10 '19 17:01 jpettitt

So what I am suggesting is that we can specify the version for each component, see https://github.com/ampproject/ampstart/pull/863/files

marcelovani avatar Jan 10 '19 17:01 marcelovani

Ah, that makes sense.

jpettitt avatar Jan 10 '19 17:01 jpettitt