Files
napalm-netgear/CHANGELOG.md
T
Christian Manivong 411fed5532 docs(readme): list the dependency floors pyproject.toml declares
The requirements table named NAPALM 4.0 where pyproject.toml requires
5.1, and left out paramiko and netaddr. It now lists every dependency
with the floor pyproject.toml declares.

Closes #22
2026-11-02 09:19:20 +01:00

61 lines
3.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Changelog
All notable changes to this driver. The format follows
[Keep a Changelog](https://keepachangelog.com/), versions follow
[Semantic Versioning](https://semver.org/).
## [Unreleased]
### Changed
- 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.
### Fixed
- The README's requirements match `pyproject.toml`: NAPALM 5.1 (it said 4.0), and
paramiko and netaddr are listed (#22).
- The README describes `netgear_plus` too (#19). Its getter table now has a column per
driver: on Plus switches most getters return empty values without asking the switch,
and `cli`, `ping`, `get_route_to` and the configuration methods raise
`NotImplementedError`. Plus has its own tested model (GS308EP) and connection notes:
password-only login over HTTP, `optional_args` and the Netmiko options do not apply.
- `get_arp_table()` on Smart switches reports the age as `-1.0` (unknown,
napalm-device-types' `ARP_AGE_UNKNOWN`) instead of `0.0`, which means "confirmed
just now". The "Age (min)" column of `show arp` is not parsed until real switch
output confirms its format (NetOrk/netork#1327).
- A Netgear Plus switch is no longer offered as a ping-sweep source
(`supports_ping()` is `False`): its `ping` only raised, so every target of a sweep
came back as an error. `ping` still raises `NotImplementedError`, now NAPALM's own.
- The Smart driver no longer adds its connection defaults (`conn_timeout`,
`banner_timeout`, `disabled_algorithms`) to the `optional_args` dict the caller
passed in.
- An unexpected error while connecting to a Smart switch is reported in English
("Cannot connect to <host>: <reason>").
- `requirements.txt` is gone: it repeated the dependencies of `pyproject.toml` with
older floors (napalm 4.0, napalm-device-types 4.16) than the driver needs.
### Removed
- **Breaking:** the Netgear Plus driver no longer has `set_vlan`, `delete_vlan` and
`set_interface`. They only raised `NotImplementedError`; an application that tells
what a switch can do by whether the method exists offered VLAN and port editing on
Plus switches, and the action then failed. A caller that caught
`NotImplementedError` from them now finds no such attribute.
## [0.6.0] - 2026-10-23
The first release on PyPI, under the new name `napalm-netgear-switches`.
### Changed
- **The package is now called `napalm-netgear-switches`** on PyPI
(`pip install napalm-netgear-switches`): the name `napalm-netgear` belongs to another
project. The import package `napalm_netgear` and the driver names `netgear_smart` and
`netgear_plus` stay the same.
- 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 needs napalm-device-types 4.21.1 or later.
- A failed logout when a Netgear Plus session is closed is now logged at debug level.