umoci v0.6.0 -- "Please mind the gap between the train and the platform."
This is a fairly major update to umoci.
This update to umoci includes support for v1.1.1 of the OCI image specification. For the most part, this mostly involves supporting reading new features added to the specification (such as embedded-data descriptors and subject references used by OCI artifact images), but at the moment umoci does not yet support creating images utilising these features.
In addition, umoci also now supports generating config.json blobs that are
compliant with v1.2.1 of the OCI runtime specification. Note that we do not
explicitly use any of the newer features, this is mostly a quality-of-life
update to move away from our ancient pinned version of the runtime-spec.
Breaking
github.com/opencontainers/umoci/oci/config/generate.Generatorhas had the following breaking API changes made to it:- The existing
ConfigExposedPortsandConfigVolumesmethods now return a sorted[]stringinstead of amap. - The
(Set)OSand(Set)Architecturemethods have been renamed to have a prefix (to match image-spec v1.1's organisational changes). They now read as and respectively.
- The existing