driver / standard (pull_request) Successful in 16s
driver / lint (pull_request) Successful in 15s
driver / types (pull_request) Successful in 1m18s
driver / test (3.12) (pull_request) Successful in 3m14s
driver / test (3.13) (pull_request) Successful in 2m54s
driver / lowest (pull_request) Successful in 2m23s
driver / build (pull_request) Successful in 35s
driver / security (pull_request) Successful in 1m11s
CI / driver (pull_request) Successful in 4m53s
driver / publish (pull_request) Skipped
play() and the other controls returned silently without a device, so a control that did nothing looked like it had worked. They now raise ConnectionClosedException. get_arp_table() takes NAPALM's vrf argument, and the module docstring moves above the imports so __doc__ is set again. The wired-speaker part of the issue stays open: SoCo's deviceProperties is a UPnP service, not a dict with WifiMode, so renaming the attribute alone would still never report eth0. Refs #2
49 lines
1.9 KiB
Markdown
49 lines
1.9 KiB
Markdown
# 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
|
||
- `play()`, `pause()`, `stop()`, `next_track()`, `previous_track()`, `set_volume()`
|
||
and `set_mute()` raise `ConnectionClosedException` when the driver is not connected,
|
||
instead of returning as if the speaker had done it (#2).
|
||
- `get_arp_table()` takes NAPALM's `vrf` argument (#2).
|
||
- The driver module carries its docstring again (`__doc__` was `None`) (#2).
|
||
|
||
## [0.3.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`,
|
||
a README and a LICENSE file. **Python 3.9 is no longer supported**; napalm-device-types
|
||
never ran on it.
|
||
- napalm-device-types (4.21.1 or later, from PyPI) is now a declared dependency; the
|
||
driver always imported it.
|
||
- A failure to read the speaker's device properties (wired or wireless) is now logged
|
||
at debug level.
|
||
|
||
## [0.2.0] - 2026-10-17
|
||
|
||
### Removed
|
||
- **Breaking:** `run_device_action()`. The media controls it dispatched by string
|
||
(`play`, `pause`, `stop`, next/previous track, volume, mute) are the typed methods
|
||
`play()`, `set_volume()` and the others.
|
||
|
||
## [0.1.0] - 2026-06-13
|
||
|
||
### Added
|
||
- `sonos` driver: facts, interfaces and media controls for Sonos speakers through SoCo.
|