Merge all changes on Dev branch to Main for release 0.2.5#6
Merged
kaburagisec merged 8 commits intomainfrom Nov 4, 2025
Merged
Merge all changes on Dev branch to Main for release 0.2.5#6kaburagisec merged 8 commits intomainfrom
kaburagisec merged 8 commits intomainfrom
Conversation
…and development setup
There was a problem hiding this comment.
Pull Request Overview
This PR bumps the version from 0.2.4 to 0.2.5 and introduces a new --output feature for the CLI that allows saving command outputs to files in various formats (JSON, XML, plain text), while also cleaning up unused exports and fixing string formatting issues.
Key changes:
- Added
--outputCLI argument to save command results to JSON, XML, or plain text files with automatic format detection - Removed
ONVIFOperatorfrom the public API exports in__init__.py - Fixed f-string usage where f-strings were unnecessary (changed to regular strings)
Reviewed Changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| pyproject.toml | Version bump to 0.2.5 |
| onvif/cli/main.py | Added --output feature with format detection, new helper functions for serialization, and validation logic |
| onvif/cli/interactive.py | Updated version string in ASCII art banner |
| onvif/init.py | Removed ONVIFOperator from public exports |
| examples/logger.py | Fixed unnecessary f-string usage |
| examples/error_handling.py | Fixed unnecessary f-string usage in multiple locations |
| examples/add_media_profile.py | Fixed unnecessary f-string usage |
| README_ID.md | Updated version badges, improved library philosophy section, added output examples |
| README.md | Updated version badges, improved library philosophy section, added output examples |
| CONTRIBUTING.md | Updated contribution guidelines to target dev branch and improved setup instructions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…ying exception types
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.