Releases: containernetworking/plugins
🎉 CNI Plugins v1.0.0 🎉
CNI Plugins v1.0.0 is here
This release adds support for CNI Spec v1.0. Additionally, it officially declares CNI as a stable project.
Changes since v0.9.1
⚠️ Breaking Changes
- plugins: remove flannel (#633). Flannel's CNI plugin now has its own repository
📈 New Features
- bridge: Add mac field to specify container iface mac (#636).
- (generic) Allow multiple routes to be added for the same prefix (#615). Enables ECMP.
- (sbr): Add multi IP support (#623).
✨ Other improvements
- (generic): place veth peer in host namspace directly (#645).
- (windows): refactor win-bridge, support HNSv2 (#617).
- (host-local): support ip/prefix in env args and CNI args (#630).
- (host-local): support custom IPs allocation through runtime configuraton (#599).
- (tuning): always update MAC in CNI result (#626).
- (tuning): Add support of altering the allmulticast flag (#624).
🐛 Bug Fixes
- host-local: remove redundant startRange in RangeIterator to avoid mismatching with startIP (#583). Fixes possible infinite loop.
- portmap: use slashes in sysctl template to support interface names which separated by dots (#589).
- pkg/ipam: convert dots to slashes in interface names for sysctl (#585).
- win-bridge: fix panic while calling HNS api (#590). fix a nil pointer panic while calling HNS API (V1) on win-bridge.
- [macvlan] Stop setting proxy-arp on macvlan interface (#586).
As always, thanks to our dedicated maintainers and contributors!
CNI plugins v0.9.1
CNI plugins v0.9.0
Welcome to v0.9.0 of the CNI community plugins.
New Stuff
Thanks to @fedepaol, we have the VRF chained plugin, which will create a linux VRF device and move any interfaces in to it.
Behavior changes
- tuning: revert values on delete (#540). Useful when using the
host-device
plugin.
Bug fixes
- Delete stale UDP conntrack entries when adding new Portmaps to containers (#553).
Other improvements
- flannel: allow input ipam parameters as basis for delegate (#532).
- move off of Travis 😢
- we have a shiny new website: https://www.cni.dev
- ipvlan: make master config as optional (#534).
CNI Plugins v0.8.7
This is a minor release with some bugfixes and minor improvements:
New Features
- macvlan: set mac address from args and capabilities (#480).
Bugfixes & Cleanups
- flannel: remove net conf file after DEL succeed (#449).
- portmap should not perform deletions if not portMapping config received (#509).
- portmap: don't use unspecified address as iptables rule destination (#487).
- Fix race condition in GetCurrentNS (#523).
- firewall: fix generate of admin chain comment (#506).
- Fix handling of delay in acquiring lease with stp turned on (#501).
- host-device: Bring interfaces down before moving (#486).
CNI plugins v0.8.6
This is a minor release with some bugfixes and small improvements
New features
- Support device id in host device plugin (#471).
- win-bridge: add support for portMappings capability (#475).
- Make host-device to work with virtio net device (#453).
Small improvements
- ptp, bridge: disable accept_ra on the host-side interface (#484).
- modify the error url of windowscontainer (#460).
- portmap: Apply the DNAT hairpin to the whole subnet (#469). The DNAT hairpin rule only allow the container itself to access the ports it is exposing thru the host IP. Other containers in the same subnet might also want to access this service via the host IP, so apply this rule to the whole subnet instead of just for the container.
- Unlock OS thread after netns is restored (#455).
Bugfixes
- plugins/meta/sbr: Adjusted ipv6 address mask to /128 (#479). A /64 mask was used which routed an entire cidr based on source, not only the bound address.
- check bridge's port state (#468). fix #463
- Reset the route flag before moving the rule (#472).
- replace juju/errors because of CNCF license scan (#458). ref to #457
- loopback: Fix ipv6 address checks (#442). Fixes a minor bug in loopback plugin. The IPv6 address check loops over IPv4 addresses.
As always, thanks to all the contributors.
CNI Plugins v0.8.5
This is a minor release prepared around a fix for #370
Bugfixes
- bridge: Fix for the case where kernel doesn't have CONFIG_BRIDGE_VLAN_FILTERING (#434) fixes #370.
- vlan: Fix vlan plugin returning error when device is already removed (#438).
Improvements
- sysctl: Improve support of sysctl name separators (#437).
CNI Plugins v0.8.4
This is a minor release in hurry for resolving flakiness in k8s CI through #421, and this release also includes some other enhancements and bugfixes.
Thanks to our contributors!
Enhancements:
- Support ips capability in static and mac capability in tuning (#343)
Bugfixes:
- ensure iptables chain creation is idempotent (#408)
- Portmap doesn't fail if chain doesn't exist (#421)
Docs:
- bridge: add missing cniVersion in README example (#428)
Tests and release:
- add support for mips64le (#433)
Organization:
- Add Bruce Ma and Piotr Skarmuk as owners (#412)
CNI Plugins v0.8.3
This is v0.8.3 of the CNI community plugins. This release has a number of enhancements and bugfxies.
Many thanks to our contributors who make CNI possible.
Enhancements:
- static: prioritize the input sources for IPs (#400).
- tuning: send gratuitous ARP in case of MAC address update (#403).
- bandwidth: use uint64 for Bandwidth value (#389).
- ptp: only override DNS conf if DNS settings provided (#388).
- loopback: When prevResults are not supplied to loopback plugin, create results to return (#383).
- loopback support CNI CHECK and result cache (#374).
Better input validation:
- vlan: add MTU validation to loadNetConf (#405).
- macvlan: add MTU validation to loadNetConf (#404).
- bridge: check vlan id when loading net conf (#394).
Bugfixes:
- bugfix: defer after err check, or it may panic (#391).
- portmap: Fix dual-stack support (#379).
- firewall: don't return error in DEL if prevResult is not found (#390).
- bump up libcni back to v0.7.1 (#377).
Tests:
- integration: fix ip address collision in integration tests (#409).
- testutils: newNS() works in a rootless user namespace (#401).
- Bump Go version (#386).
- Cleanup netns after test suite (#375).
Docs:
CNI Plugins v0.8.2
This is a minor release of the CNI plugins. It includes some important bug fixes, as well as new features:
New features:
- Support "args" in static and tuning (#281).
- Add Loopback DSR support, allow l2tunnel networks to be used with the l2bridge plugin (#331).
- host-local: return error if same ADD request is seen twice (#328).
- bandwidth: fix collisions (#353).
- Support ips capability in static and mac capability in tuning (#343).
- pkg/veth: Make host-side veth name configurable. (#344).
Bug fixes:
- Fix: failed to set bridge addr: could not add IP address to "cni0": file exists (#366).
- host-device: revert name setting to make retries idempotent (#357).
- Vendor update go-iptables (#358). Vendor update go-iptables to obtain commit f1d0510cabcb710d5c5dd284096f81444b9d8d10
Update go.mod & go.sub - Remove link Down/Up in MAC address change to prevent route flush (#364).
- pkg/ip unit test: be agnostic of Linux version (#349). on Linux 4.4 the syscall error message is "invalid argument" not "file exists"
- bump containernetworking/cni to v0.7.1 (#341).
CNI plugins v0.7.6
This is a bugfix release of the v0.7 train for CNI. It includes one change:
#369 Don't fail when two plugins try to configure the same address at the same time