github canonical/netplan 0.104

latest releases: 1.1.1, 1.1, 1.0.1...
2 years ago

Releasing v0.104:

  • Enable embedded-switch-mode setting on SmartNICs (#253)
  • Permit multiple patterns for the driver globs in match (#202), LP#1918421
  • Improve routing capabilities (#248), LP#1892272, LP#1805038
  • Support additional link offload options for networkd (#225) (#242), LP#1771740
    • receive-checksum-offload, transmit-checksum-offload, tcp-segmentation-offload,
      tcp6-segmentation-offload, generic-segmentation-offload, generic-receive-offload,
      large-receive-offload
  • Consolidate enum-to-string arrays (#230)
  • Handle differing ip6-privacy default value for NetworkManager (#263)
  • YAML state tracking (--state rootdir) for DBus API and netplan try (#231), LP#1943120
  • Support ConfigureWithoutCarrier (ignore-carrier) for networkd (#215)
  • Move primary git branch master to main
  • Documentation improvements (#226)
  • Compatibility for glib-2.70 (#235)
  • Cleanup Makefile, install only public headers
  • Improve test reliability & enable integration testing CI for autopkgtests
  • Netplan get to use the libnetplan parser (#252)
  • libnetplan:
    • introduce the notion of NetplanState (#232)
    • use an explicit parser context (#233)
    • expose coherent generator APIs (#239)
    • improve overall error handling (#234)
    • consolidation of YAML parsing into the library (#241, #249, #250, #251)
  • Restrict the symbol export to a determined public API (#227)
    • WARNING: We dropped some internal symbols from the API that we know
      have no external consumers (that we are aware of)
    • 0.103: _serialize_yaml, contains_netdef_type, tmp, validate_default_route_consistency
    • 0.102: cur_filename, netplan_netdef_new
    • 0.100: address_option_handlers, is_hostname, validate_ovs_target, wireguard_peer_handlers
    • 0.99: current_file, is_ip4_address, is_ip6_address, missing_id,
      missing_ids_found, parser_error, validate_backend_rules, validate_netdef_grammar,
      yaml_error

Bug fixes:

  • Fix removal of defunct OVS vlan interfaces (#256), LP#1959147
  • Make ConfigManager cleanup on destruction (#259), LP#1959729
  • Do not write unvalidated YAML from keyfile (#247), LP#1952967
  • Disable temporary address generation for real with NetworkManager (#244), LP#1948027
    • this is a slight change in behavior for NM, but is in line with the docs
      and implementation of the networkd backend renderer
  • Ignore empty YAML hints and delete files on set network=null (#246), LP#1946957
  • Wait for 'netplan try' to be ready in DBus API (#245), LP#1949893
  • Initialize self.state in apply (#243), LP#1949104
  • Driver fallback to nl80211 and/or wext for wpa_supplicant (#240), LP#1814012
  • Handle missing gateway in keyfile routes, keep dns-search fallback (#238)
  • Make it possible to unset a whole devtype subtree (#236), LP#1942930
  • Fix normalization of multiple keys on a single dict in tests (#229)
  • Add default-routes feature flag
  • Fix memory leaks, dangling pointers & overall cleanup of API data (#228)
  • Small whitespace and formatting fixes & shipping EditorConfig (#224)

We would like to thank everybody who contributed to this release! 🍾
In alphabetical order: @Caligatio @kees @kjetilho @mwhudson @nicolasbock @n-cc @peleroux @schopin-pro @slyon @waveform80

Brian Turek (2):
      Have ConfigManager cleanup its temporary directory on destruction (LP #1959729) (#259)
      Fix removal of defunct vlan interfaces (LP #1959147) (#256)

Dave Jones (1):
      Permit multiple patterns for the driver globs in match (LP: #1918421) (#202)

Kees Cook (1):
      networkd:wpa_supplicant: driver fallback to nl80211 and/or wext (LP: #1814012) (#240)

Kjetil Torgrim Homme (1):
      clarify requirements for a link local route (#226)

Lukas Märdian (34):
      parse-nm: fix 32bit format string
      parse: cleaup whitespace
      GH actions: migrate master -> main
      parse: add 'default-routes' feature-flag
      Implement YAML state tracking and use it in the DBus API and netplan-try (LP: #1943120) (FR-1745) (#231)
      parse-nm: Handle missing gateway in keyfile routes, keep dns-search fallback (#238)
      cli:apply: initialize self.state (LP: #1949104) (#243)
      Makefile: 'which' is deprecated
      tests:regressions: make netplan_try autopkgtest more reliable
      generate:dbus:util: glib 2.70 compat (#235)
      doc: fix WireGuard writing
      Makefile: fix warning about pandoc title
      test:bridge:base: give bridge some more time to reach 'state UP'
      dbus: wait for 'netplan try' to be ready (LP: #1949893) (#245)
      get/set: ignore empty YAML hints and delete files on "set network=null" (LP: #1946957) (#246)
      Add basic integration test (autopkgtest) GA workflow
      keyfile: do not try to write out unvalidated YAML (LP: #1952967) (#247)
      Improve routing capabilities (LP: #1892272) (LP: #1805038) (#248)
      util: fix dump_yaml_subtree to not insert NULL at the actual end (#258)
      test:sriov: virtfns should be starting at index 0
      test:sriov: update _prepare_sysfs_dir_structure() to make it create PF/VF mocks dynamically
      doc: add sriov eswitch mode field descriptions
      parse:netplan: handle 'embedded-switch-mode' & 'delay-virtual-functions-rebind'
      cli:sriov: Allow setting of eswitch mode on SmartNICs
      test:sriov: fix tests when using libnetplan parser
      test:sriov: add get_pci_slot_name & PCIDevice unit tests
      test:sriov: add eswitch_mode test
      cli: add sriov rebind method
      sriov: generate rebind systemd service if needed
      tests:integration:ethernets: improve eth_dhcp6_off stability
      Drop unused legacy/compat API (#262)
      doc: avoid super long line in netplan-dbus.md
      Makefile: install public headers only
      nm:parse-nm: handle differing ip6-privacy default value (#263)

Michael Hudson-Doyle (1):
      Fix ethernets test with network-manage 1.32.10

Nicolas Bock (3):
      Add `.editorconfig` for convenience (#224)
      Add support for additional `Link` options (#225) (LP: #1771740)
      Reset offload options (#242)

Simon Chopin (18):
      NetDefinition: ownership and cleanup (FR-786) (#228)
      tests: normalize multiple keys on a single dict (#229)
      lib: unify how constant names are exposed and used (#230)
      API/ABI: restrict the symbol export to a determined public API (#227)
      netplan: set: make it possible to unset a whole devtype subtree (LP: #1942930) (FR-1685) (#236)
      lib: introduce the notion of NetplanState (#232)
      parser: fix some error handling code (#234)
      libnetplan: expose coherent generator APIs (#239)
      lib: use an explicit parser context (#233)
      Consolidate the YAML parsing into libnetplan: low-hanging fruits (FR-702) (#241)
      YAML consolidation prelude: OVS handling (FR-702) (#249)
      YAML consolidation prelude: High-level libnetplan bindings (FR-702) (#250)
      YAML consolidation prelude: new YAML dump APIs (FR-702) (#251)
      lib:parser: use a more flexible structure for the mapping handlers
      lib:parser: track which fields are dirty
      lib:netplan: output all the dirty fields in the YAML dump
      netplan:cli:get: remove the PyYAML dependency
      parse: fix the handle_match_driver type

ncc (1):
      Add support for networkd ConfigureWithoutCarrier (ignore-carrier) option on interfaces (#215)

peleroux (1):
      Disable temporary address generation when renderer is NetworkManager (LP: #1948027) – change in behavior (#244)

Don't miss a new netplan release

NewReleases is sending notifications on new releases.