ampproject / amp-toolbox-php

AMP Optimizer PHP library
Apache License 2.0
73 stars 25 forks source link

Latest version concept was deprecated upstream #444

Open schlessera opened 2 years ago

schlessera commented 2 years ago

The AMP project has deprecated the concept of latestVersion and -latest binaries: https://github.com/ampproject/amphtml/issues/36749

Right now, we use that data for the AutoExtensions transformer to figure out which version of a component to pull in.

Instead of relying on the latestVersion, we'll have to pick the most appropriate one from the list of "available" versions. We need to figure out what that means for experimental versions, as we want to default to stable versions unless otherwise requested.

schlessera commented 2 years ago

Related change in the JS toolbox (with outstanding issues): https://github.com/ampproject/amp-toolbox/pull/1272

westonruter commented 2 years ago

I've asked for there to be a new reference to easily read which component versions are still experimental: https://github.com/ampproject/amphtml/issues/36749#issuecomment-996160595.