Skip to content

Releases: cncf-tags/container-device-interface

v0.8.0

09 Jul 11:25
e665440
Compare
Choose a tag to compare

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

16 Apr 19:11
d7f8736
Compare
Choose a tag to compare

What's Changed

  • Decrease GitHub.com/opencontainers/runtime spec by @elezar in #202

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

05 Apr 15:03
17479c1
Compare
Choose a tag to compare

What's Changed

  • Bump imported spec version to v0.7.0 by @elezar in #200

Full Changelog: v0.7.0...v0.7.1

v0.7.0

02 Apr 14:53
780f60f
Compare
Choose a tag to compare

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

01 Nov 11:49
fb50bf8
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v0.6.1...v0.6.2

v0.6.1

08 Sep 11:34
d0e7c3e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.6.0...v0.6.1

v0.6.0

11 Jul 18:57
1e67527
Compare
Choose a tag to compare

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

Full Changelog: v0.5.4...v0.6.0

v0.5.4

06 Feb 10:25
0a1a5be
Compare
Choose a tag to compare

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

v0.5.3

03 Nov 16:35
d4004b3
Compare
Choose a tag to compare

What's Changed

  • pkg/cdi: add functions for generating Spec names and removing Spec files. by @klihub in #77
  • remove usage of github.com/hashicorp/go-multierror by @pohly in #89

New Contributors

  • @pohly made their first contribution in #89

Full Changelog: v0.5.2...v0.5.3

v0.5.2

28 Sep 11:59
5609688
Compare
Choose a tag to compare

What's Changed

  • pkg/cdi: fix build/vet failures on windows. by @klihub in #83

Full Changelog: v0.5.1...v0.5.2