Skip to content

v0.0.6 — 2025-10-13

Choose a tag to compare

@kaburagisec kaburagisec released this 13 Oct 06:04
· 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:

  1. XML Capture Plugin: New debugging feature to capture and log SOAP request/response XML for troubleshooting
  2. WSDL Updates: Synchronized with latest ONVIF specifications (https://github.com/onvif/specs)
  3. 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=True parameter in ONVIFClient

    • 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_xaddr to match WSDL_MAP keys (c176715)
  • Updated Search service XAddr service_path to SearchRecording and set ForcePersistence default to None at Imaging service (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