Backend: ~latest will return the latest semantic version of the component (#442238) · Issues · GitLab.org / GitLab · GitLab (original) (raw)

Skip to content

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:

Links/References