# Changelog All notable changes to this driver. The format follows [Keep a Changelog](https://keepachangelog.com/), versions follow [Semantic Versioning](https://semver.org/). ## [Unreleased] ### Fixed - The REST API's certificate is verified. A switch's self-signed certificate is checked by its SHA-256 fingerprint, not by a CA, with trust on first use: `optional_args["tls_fingerprints"]` (`{"443": "SHA256:AB:CD:…"}`) holds the fingerprint to expect and `optional_args["tls_certificate_observer"]` receives every one seen. A different certificate is refused before the password is sent and ends `open()` with `TlsCertificateMismatch` (a `ConnectionException` naming both fingerprints); the driver does not fall back to SSH or Telnet then. Every connection of the REST session is held to the certificate checked (#17). - A REST login that failed is no longer retried with certificate verification turned off. ### Changed - `ssl_verify` (`verify_ssl`, `verify`) no longer has any effect: the REST certificate is verified by its fingerprint instead. Callers that set it to `True` had their login retried without verification whenever the self-signed certificate failed the CA check. - Python 3.12 is the floor (`requires-python = ">=3.12"`): netOrk runs every driver on 3.12, so 3.10 and 3.11 are no longer tested (NAPALM/driver-standard#6). - The floor on napalm is 5.1: older releases import `pkg_resources`, which a Python 3.12 venv no longer has. - The floor on urllib3 is 1.26.5: older releases bundle a `six` that Python 3.12 cannot import. ## [0.6.0] - 2026-10-23 The first release on PyPI. ### Changed - The driver follows the NAPALM driver standard (https://git.netork.io/NAPALM/driver-standard): CI on Gitea runs ruff, mypy, the tests on Python 3.10–3.13 and at the lowest declared versions, bandit, pip-audit and a build check, and a release tag publishes to PyPI. The package now ships `py.typed` and a LICENSE file. **Python 3.8 and 3.9 are no longer supported**; napalm-device-types never ran on them. It now requires napalm-device-types 4.21.1. - Exceptions the driver deliberately ignores (logging out of the REST API, the extra port lookup, per-port details, closing a session) are now logged at debug level. ## [0.5.0] - 2026-10-18 ### Changed - The SSH host key is verified: with a known key in `optional_args["ssh_host_keys"]` any other key is refused before login, and every key seen is reported to `optional_args["ssh_host_key_observer"]`. Without either argument the driver connects as before. Requires napalm-device-types 4.19.0. ## [0.4.0] - 2026-10-17 ### Added - `configure_snmp_agent()`: community (read-only), contact and location from the caller, saved and verified in `show snmp-server`. ### Removed - **Breaking:** `fix_snmp` and `run_device_action`; `fix_snmp` set the community `public`. ## [0.3.0] - 2026-10-16 ### Changed - The driver no longer collects over SNMP: `SNMP_HEALTH_PROFILE` declares where the switch publishes its health values. The memory value is read as free memory, as the switch reports it, and interface counters come from the 64-bit ifXTable. ## [0.2.0] - 2026-05-29 ### Added - First version: ProCurve and Aruba switches over the REST API, SSH, SSH with legacy key exchange or Telnet, chosen automatically.