v0.0.6 — 2025-10-13
·
227 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Overview
This release focuses on stability improvements and enhanced debugging capabilities. Key highlights include:
- XML Capture Plugin: New debugging feature to capture and log SOAP request/response XML for troubleshooting
- WSDL Updates: Synchronized with latest ONVIF specifications (https://github.com/onvif/specs)
- Bug Fixes: Resolved Extension field parsing issues across different ONVIF versions
Changelog Summary
PyPI
https://pypi.org/project/onvif-python/0.0.6 (18456654902)
New Features
- Added XML capture plugin for SOAP request/response logging (c258162)
-
Enable with
capture_xml=Trueparameter inONVIFClient -
Useful for debugging and development
-
Example:
from onvif import ONVIFClient client = ONVIFClient( host='192.168.1.10', port=80, username='admin', password='password', capture_xml=True # Enable XML capture ) # Make ONVIF calls - XML will be logged device_info = client.devicemgmt().GetDeviceInformation() # Access captured XML if client.xml_plugin: print("Last Request:", client.xml_plugin.last_sent_xml) print("Last Response:", client.xml_plugin.last_received_xml)
-
Fixed
- Fixed single-tag wrapper flattening to preserve correct nested structure (f57a487)
- Normalized service names in
_get_xaddrto matchWSDL_MAPkeys (c176715) - Updated
SearchserviceXAddr service_pathtoSearchRecordingand setForcePersistencedefault to None atImagingservice (2555c24)
Documentation
- Updated README future improvements section to reflect new features (b724150)
- Added references to ONVIF release notes and WSDL for all service classes (e6a73f4)
Maintenance
- Updated WSDL folders from remote ONVIF specs repository (dd52981)
Full Changelog: v0.0.5...v0.0.6