Skip to content

Commit dc8524e

Browse files
committed
Bump spec version to 0.5.0
Signed-off-by: Evan Lezar <[email protected]>
1 parent 16cae32 commit dc8524e

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Additionally runtimes don't uniformly expose a plugin system (or even expose a p
2525
$ mkdir /etc/cdi
2626
$ cat > /etc/cdi/vendor.json <<EOF
2727
{
28-
"cdiVersion": "0.4.0",
28+
"cdiVersion": "0.5.0",
2929
"kind": "vendor.com/device",
3030
"devices": [
3131
{

SPEC.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
## Version
1010

11-
This is CDI **spec** version **0.4.0**.
11+
This is CDI **spec** version **0.5.0**.
1212

1313
### Update policy
1414

@@ -25,6 +25,7 @@ Released versions of the spec are available as Git tags.
2525
| -----| -----------------| -------|
2626
| v0.3.0 | | Initial tagged release of Spec |
2727
| v0.4.0 | | Added `type` field to Mount specification |
28+
| v0.5.0 | | Add `HostPath` to `DeviceNodes` |
2829

2930
*Note*: The initial release of a **spec** with version `v0.x.0` will be tagged as
3031
`v0.x.0` with subsequent changes to the API applicable to this version tagged as `v0.x.y`.
@@ -79,7 +80,7 @@ The key words "must", "must not", "required", "shall", "shall not", "should", "s
7980

8081
```
8182
{
82-
"cdiVersion": "0.3.0",
83+
"cdiVersion": "0.5.0",
8384
"kind": "<name>",
8485
8586
"devices": [

pkg/cdi/spec.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ var (
3636
"0.2.0": {},
3737
"0.3.0": {},
3838
"0.4.0": {},
39+
"0.5.0": {},
3940
}
4041

4142
// Externally set CDI Spec validation function.

schema/testdata/good/spec-example.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"cdiVersion": "0.4.0",
2+
"cdiVersion": "0.5.0",
33
"kind": "vendor.com/device",
44
"devices": [
55
{

specs-go/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package specs
33
import "os"
44

55
// CurrentVersion is the current version of the Spec.
6-
const CurrentVersion = "0.4.0"
6+
const CurrentVersion = "0.5.0"
77

88
// Spec is the base configuration for CDI
99
type Spec struct {

0 commit comments

Comments
 (0)