Releases: cncf-tags/container-device-interface
v0.8.0
Breaking change: The .ToOCI()
functions in the specs-go
package have been removed. This removes the dependency on the OCI runtime specification from the CDI specification definition itself.
What's Changed
- Add workflow to mark prs and issues as stale by @elezar in #207
- Remove the ToOCI functions from the specs-go package by @elezar in #208
- docs: add a pointer to community meetings in our docs. by @klihub in #210
- Bump spec version to v0.8.0 by @elezar in #211
- Update spec version in README by @elezar in #212
Full Changelog: v0.7.2...v0.8.0
v0.7.2
What's Changed
This drops the required OCI runtime-spec version to v1.1.0 as required by the IntelRdt fields. This means that downstream dependencies aren't forced to also bump the runtime-spec version when updating the CDI packages.
Full Changelog: v0.7.1...v0.7.2
v0.7.1
v0.7.0
This release adds:
- Support for IntelRdt fields in the CDI specification.
- Support for AdditionalGIDs in the CDI specification.
NOTE: This release deprecates the Registry
and related APIs. These will be removed in an upcoming release. It is recommended that the Cache
type or the new top-level functions for configuring and querying the default cache be used instead.
To configure the registry, replace code such as:
reg := cdi.GetRegistry(cdi.WithSpecDirs(c.config.CDISpecDirs...))
with:
cdi.Configure(cdi.WithSpecDirs(c.config.CDISpecDirs...))
To use the registry for injection, replace:
reg := cdi.GetRegistry()
with
reg := cdi.GetDefaultCache()
What's Changed
- build(deps): bump actions/setup-go from 4 to 5 by @dependabot in #177
- Add IntelRdt to CDI spec by @marquiz in #164
- chore: stop using deprecated io/ioutil package by @marquiz in #180
- Add AdditionalGIDs field to ContainerEdits by @elezar in #179
- chore: code cleanup by @marquiz in #181
- chore: omit error checking more explicitly by @marquiz in #184
- test/chore: only close file if open succeeded by @marquiz in #185
- test: add missing error checks in cache tests by @marquiz in #182
- chore: simplify cache Option type by @marquiz in #187
- pkg/cdi: drop unused return value from NewCache function by @marquiz in #188
- Add docker configuration details to README by @elezar in #191
- Revert NewCache function signature to return an error by @elezar in #190
- Implement default cache with a minimal set of package-level functions. by @klihub in #192
- pkg,schema,internal: eliminate multierror. by @klihub in #196
- build(deps): bump github.com/opencontainers/runtime-spec from 1.1.0 to 1.2.0 by @dependabot in #193
- pkg/cdi: deprecate Registry and related interfaces. by @klihub in #195
- Allow top-level Configure to return an error by @elezar in #197
Full Changelog: v0.6.2...v0.7.0
v0.6.2
Note: This release switches to using the tags.cncf.io
vanity URL for module name. Please replace github.com/container-orchestrated-devices/container-device-interface
imports with tags.cncf.io/container-device-interface
.
What's Changed
- chore: import packages only once by @testwill in #165
- fix: typo by @testwill in #166
- cmd/validate: print the validation errors by @marquiz in #163
- cleanup: remove unused code by @bart0sh in #168
- .github, Makefile: sanity workflow fixes, simplify mod-* targets, bump golang to 1.19.x by @klihub in #171
- make specs-go a module by @bart0sh in #170
- Add version to spec-go dependency by @elezar in #173
- replaced incorrect link by @ATREAY in #167
- Use tags.cncf.io URL in module names by @elezar in #172
New Contributors
- @testwill made their first contribution in #165
- @marquiz made their first contribution in #163
- @ATREAY made their first contribution in #167
Full Changelog: v0.6.1...v0.6.2
v0.6.1
What's Changed
- minor documentation improvements by @tariq1890 in #146
- build(deps): bump github.com/opencontainers/runtime-spec from 1.1.0-rc.1 to 1.1.0 by @dependabot in #148
- log the unresolved CDI devices only by @tariq1890 in #153
- Add cncf tags required files by @elezar in #151
- Update README.md by @mikebrow in #155
- build(deps): bump actions/checkout from 3 to 4 by @dependabot in #159
- pkg/cdi: remove github.com/opencontainers/runc/libcontainer dependency by @thaJeztah in #158
New Contributors
- @tariq1890 made their first contribution in #146
- @mikebrow made their first contribution in #155
- @thaJeztah made their first contribution in #158
Full Changelog: v0.6.0...v0.6.1
v0.6.0
What's Changed
- Remove API from pkg by @elezar in #107
- Fix readme by @elezar in #109
- Add a vendor make target for updating go module files by @elezar in #108
- Update dependencies by @elezar in #114
- Added Annotations to CDI Spec by @zvonkok in #85
- Create dependabot.yml by @elezar in #116
- build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.8.2 by @dependabot in #121
- build(deps): bump actions/checkout from 2 to 3 by @dependabot in #118
- build(deps): bump actions/setup-go from 2 to 3 by @dependabot in #117
- Removed release-note-none label from dependabot by @elezar in #125
- Prepend yaml separator (---) to yaml output by @elezar in #126
- Add required dependency-name field to dependabot config by @elezar in #129
- Move parsing and name validation to cdi/parse package by @elezar in #130
- build(deps): bump actions/setup-go from 3 to 4 by @dependabot in #128
- build(deps): bump github.com/opencontainers/runtime-spec from 1.0.3-0.20220825212826-86290f6a00fb to 1.1.0-rc.1 by @dependabot in #123
- readme: fix typo in cdi example by @moshe010 in #135
- build(deps): bump github.com/opencontainers/runc from 1.1.2 to 1.1.5 in /cmd/cdi by @dependabot in #134
- Support dots in Kind name segment by @adrianchiris in #137
- codespell: workflow, config, typos fixed by @yarikoptic in #139
- build(deps): bump codespell-project/actions-codespell from 1 to 2 by @dependabot in #141
New Contributors
- @zvonkok made their first contribution in #85
- @adrianchiris made their first contribution in #137
- @yarikoptic made their first contribution in #139
Full Changelog: v0.5.4...v0.6.0
v0.5.4
What's Changed
- Use current fsnotify library, drop viper dependency by @liggitt in #95
- pkg/cdi: fix GetSpecErrors()/refresh read/write data race. by @klihub in #98
- dependencies: update opencontainers packages (rebased #87) by @klihub in #100
- fix cdi doc missing SpecDB() by @moshe010 in #96
- cmd, pkg, schema: stop using github.com/pkg/errors. by @klihub in #99
- Add functions to query and validate minimum spec version by @elezar in #93
- cmd/cdi: split out to a go module of its own. by @klihub in #103
- cmd/cdi: update/fix go.{mod,sum}. by @klihub in #106
New Contributors
Full Changelog: v0.5.3...v0.5.4