Skip to content

Releases: CygnusNetworks/pypureomapi

1.1

Choose a tag to compare

@cygnusb cygnusb released this 03 Aug 13:33
4325896

Changes

  • Support variable-length hardware addresses (6 to 16 bytes) in pack_mac() and unpack_mac(), adding support for e.g. 8 byte EUI-64 addresses of IEEE 802.15.4 devices (#49, #50)
  • Stricter input validation in pack_mac(): each colon separated group must be 1 or 2 hex digits

Fully backward compatible with 1.0.

1.0

1.0

Choose a tag to compare

@cygnusb cygnusb released this 25 Jul 08:53
ff66459

First modernized release.

Highlights

  • Python 3.11+ only — dropped Python 2 and all compatibility shims; full PEP 484 type hints.
  • Packaging modernized to pyproject.toml (PEP 621). Distribution packages are built automatically for this release: .deb (Debian 12/13, Ubuntu 24.04) and .rpm (Fedora, Enterprise Linux 9 as python3.12-pypureomapi), plus sdist/wheel on PyPI.

New features

  • encode_classless_static_routes() and add_host_supersede(..., statements=...) to push classless static routes (RFC 3442 / MS option 249) — closes #31.
  • Omapi.signal_shutdown() to gracefully stop the DHCP server via the OMAPI control object — closes #8.
  • lookup_host_by_ip() and failover-state lookups (lookup_failoverstate, lookup_by_failoverstate).

Bug fixes

  • Fixed add_group, add_host_with_group, add_host_supersede and change_group, which passed str instead of bytes and failed on Python 3.
  • Fixed a PEP 479-fragile generator in parse_bindict.

Quality

  • Comprehensive test suite (98% coverage): unit, in-process end-to-end, and real ISC dhcpd integration tests. CI on Python 3.11/3.12/3.13.

v0.8

Choose a tag to compare

@cygnusb cygnusb released this 09 May 14:34
Fix version number

v0.7

Choose a tag to compare

@cygnusb cygnusb released this 09 May 14:34
lint exception

v0.6

Choose a tag to compare

@cygnusb cygnusb released this 09 May 14:35
Version bump and copyright fix

v0.5

Choose a tag to compare

@cygnusb cygnusb released this 09 May 14:35
Fix missing README

v0.4

Choose a tag to compare

@cygnusb cygnusb released this 02 Jul 09:32
Add license grant