Releases: containernetworking/cni
v1.3.0
What's Changed
This adds a new config flag loadPluginsFromFolde
r - if present, for a given named network bar, plugin configuration objects will be loaded from <path-to-bar-network-config-file>/bar/xxx.conf
. This may be useful for vendors providing chained plugins: you can add your plugin to a chain without needing to edit the file in-place.
New Contributors
Full Changelog: v1.2.3...v1.3.0
libcni v1.2.3
libcni v1.2.2
What's Changed
Full Changelog: v1.2.1...v1.2.2
CNI Spec v1.1 / libcni v1.2.1
This is a minor release that fixes some small bugs:
Improvements
- (#1098). SPEC: add warning about preserving shared resources for GC
- (#1090). Spec, libcni: add disableGC flag This allows administrators to disable garbage collection in exceptional circumstances, such as multiple runtimes sharing a network configuration.
Bug fixes:
CNI spec v1.1 / libcni v1.2.0
This is libcni v1.2.0, which releases the new CNI spec version v1.1.0.
Major changes:
GC verb
The GC verb allows runtimes to specify the set of known-good attachments, allowing plugins to clean up stale and leaked resources such as IPAM reservations. Libcni will also synthesize a CNI DEL for any stale cached attachments, so all users will have a form of GC, even if their plugins do not support CNI v1.1
STATUS verb
The STATUS verb allows a plugin to report its readiness to accept ADD requests. Runtimes such as containerd and cri-o will no longer have to rely merely on the presence of a CNI configuration file to determine network readiness.
Version negotiation
CNI configurations may now contain multiple versions, so that an administrator can opportunistically update the protocol version without breaking older runtimes:
{
"cniVersion": "1.0.0",
"cniVersions": ["1.0.0", "1.1.0"]
}
New fields
A number of new fields have been added to the result type:
- (#1060). Add MTU to CNI result
- (#1068). Add Scope property for routes Fixes: #598
- (#1069). Add SocketPath/PciID to Interface struct This is to resolve: #1050
- (#1062). Add table ID property for routes Fixes #1061
- (#1041). Add route attributes - MTU, AdvMSS, Priority
Other improvements
CNI v1.1.2
This is a minor update to the CNI libraries and tooling. This does not bump the protocol / spec version, which remains at v1.0.0.
What's Changed
- spec: fix format by @drivebyer in #902
- Fix successfully unmarshalled nil raw result by @brandond in #904
New Contributors
- @drivebyer made their first contribution in #902
- @brandond made their first contribution in #904
Full Changelog: v1.1.1...v1.1.2
CNI v1.1.1
This is a minor update to the CNI libraries and tooling. This does not bump the protocol / spec version, which remains at v1.0.0.
Changes include:
- cnitool: address golint error by @fujitatomoya in #894
- invoke: if Result CNIVersion is empty use netconf CNIVersion by @dcbw in #896
New Contributors:
- @fujitatomoya made their first contribution in #894
Full Changelog: v1.1.0...v1.1.1
CNI v1.1.0
This is a minor update to the CNI libraries and tooling. This does not bump the protocol / spec version, which remains at v1.0.0.
Changes include:
- libcni: handle empty version when parsing version (#893). Without this, Delete failed for empty-version configs, which was a regression from v0.8.0.
- Fix incorrect pointer inputs to
json.Unmarshal
(#880). - [exec-plugins]: support plugin lists (#865).
- skel: remove superfluous err nil check in (*dispatcher).pluginMain (#864).
- skel: print out CNI versions supported in help text (#860).
🎉 CNI v1.0.1 🎉
Hot off the presses, it's CNI v1.0!
CNI v1.0 doesn't change much about how CNI works, but it declares API stability.
This release includes
- a rewritten spec (for clarity)
- libcni improvements
- way more tests.
You can see the full spec changelog here: https://github.com/containernetworking/cni/blob/v1.0.1/Documentation/spec-upgrades.md
CNI v0.8.1
libcni v0.8.1
This is a security release that fixes a single bug:
- tighten up plugin-finding logic (#811).
Users of libcni are strongly encouraged to update.