github cncf-tags/container-device-interface v0.7.0

latest releases: v0.7.2, v0.7.1
22 days ago

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

Don't miss a new container-device-interface release

NewReleases is sending notifications on new releases.