ampproject / ampstart

AMP Start source code and templates .
https://ampstart.com/
Apache License 2.0
418 stars 151 forks source link

Ability to specify the amp component with specific version #862

Open marcelovani opened 5 years ago

marcelovani commented 5 years ago

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

jpettitt commented 5 years ago

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

marcelovani commented 5 years ago

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

jpettitt commented 5 years ago

Ah, that makes sense.