From 61b7b68626280307fc110401873f74c352530a09 Mon Sep 17 00:00:00 2001 From: Christian Manivong Date: Sat, 28 Nov 2026 04:23:17 +0100 Subject: [PATCH] chore(release): 4.51.0 --- CHANGELOG.md | 19 +++++++++++++++++++ pyproject.toml | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 659a217..876fdf3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,25 @@ recorded here; their history is the git log. ## [Unreleased] +## [4.51.0] - 2026-11-28 + +### Added +- `get_kernel_facts()` reads the kernel's live patches (NetOrk/netork#2701), in the new + `live_patches` key: `loaded`, every patch under `/sys/kernel/livepatch` with `enabled` and + `transition` (None on a kernel without live patching); `kpatch`, `kpatch list`'s loaded + modules with their state and the installed ones with their kernel (None without kpatch); + `canonical`, Canonical Livepatch's status for the running kernel -- its kernel as Canonical + names it, `state` (`applied`, ...), `check_state`, `version` and the CVEs it names with + whether each is patched (`canonical-livepatch status --format json`, the 10.x client's list + and the 9.x client's text; None when not installed or not read), and + `canonical_installed`. Read-only: `status` reads the daemon's last state, `refresh` is never + run. Where the client is installed and its status did not read without root, a driver that + supplies `_run_livepatch_status_command(command)` has `LIVEPATCH_STATUS_COMMAND` read again + as root; a refusal leaves it unread. +- `parse_canonical_status`, `canonical_release` (Canonical's `5.15.0-91.101-generic` as + `uname -r` names it), `LIVEPATCH_STATUS_COMMAND`, and the `LivePatchesDict` and + `CanonicalLivepatchDict` shapes (in `livepatch`). + ## [4.50.0] - 2026-11-28 ### Added diff --git a/pyproject.toml b/pyproject.toml index b468a0d..cecf56d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "napalm-device-types" -version = "4.50.0" +version = "4.51.0" description = "Abstract device-type base classes for NAPALM drivers" readme = "README.md" requires-python = ">=3.12"