Backend: `~latest` will return the latest semantic version of the component
Summary
With the recent implementation of semantic versioning in #427286 (closed), there is a need now to ensure when a component is referencing ~latest
that it points to the latest semantic version of the component.
Proposal
~latest
will point to the component's catalog_resource_versions latest semantic version record.
Confirm purpose and User Reception (how does this benefit the user?)
This feature is that it will allow component consumers to stay current without having to manually update to the latest major/minor/path version of the component.
Additional details
Some relevant technical details, if applicable, such as:
- Does this need a feature flag?
- Does there need to be an associated instrumentation issue created related to this work?
- Is there an example response showing the data structure that should be returned (new endpoints only)?
- What permissions should be used?
- Is this EE or CE?
-
EE -
CE
-
- Additional comments: