You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SPEC.md
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,11 @@ Released versions of the spec are available as Git tags.
33
33
||| Add `AdditionalGIDs` to `ContainerEdits`|
34
34
| v0.8.0 || Remove .ToOCI() functions from specs-go package. |
35
35
36
+
*Note*: spec loading fails on unknown fields and when the minimum required version is higher than the version specified in the spec. The minimum required version is determined based on the usage of fields mentioned in the table above. For example the minimum required version is v0.6.0 if the `Annotations` field is used in the spec, but `IntelRdt` is not.
37
+
`MinimumRequiredVersion` API can be used to get the minimum required version.
38
+
39
+
*Note*: Golang zero default values are used for all new fields so that the spec remains valid when loading older spec versions.
40
+
36
41
*Note*: The initial release of a **spec** with version `v0.x.0` will be tagged as
37
42
`v0.x.0` with subsequent changes to the API applicable to this version tagged as `v0.x.y`.
0 commit comments