Releases: hanzoai/python-sdk
Releases · hanzoai/python-sdk
Hanzo v0.3.10 & hanzo-mcp v0.8.1
🚀 Release Notes
hanzo-mcp v0.8.1
- ✅ 100% test pass rate achieved (31/31 tests passing)
- 🔧 Removed all unconditional test skips
- 🐛 Fixed parameter mismatches in tool initialization
- 🎭 Added comprehensive mocking for optional dependencies
- 🧪 Implemented property-based testing patterns
- 💪 Added robustness tests for edge cases
- 🔒 Ensured thread safety for singleton patterns
- 📦 Graceful degradation when dependencies missing
hanzo v0.3.10
- 📦 Updated to use hanzo-mcp v0.8.1
- 🧪 Inherited all test improvements
Testing Philosophy
Following Guido van Rossum's Python philosophy:
- 'Practicality beats purity'
- 'Errors should never pass silently'
- 'There should be one-- and preferably only one --obvious way to do it'
- 'Testing shows the presence, not the absence of bugs'
Installation
pip install hanzo==0.3.10
pip install hanzo-mcp==0.8.1PyPI Links
hanzo-mcp v0.8.1
🎉 hanzo-mcp v0.8.1 Release
✨ Highlights
- 100% test pass rate - All 31 tests passing
- Zero skipped tests - All tests run regardless of optional dependencies
- Property-based testing - Comprehensive edge case coverage
- Thread-safe singletons - Proper concurrent access handling
🔧 Test Improvements
- Removed all unconditional pytest.skip() calls
- Fixed parameter mismatches in CriticTool, ReviewTool, and CLI tools
- Added comprehensive mocking for hanzo_memory and hanzo_network
- Implemented graceful degradation for missing dependencies
- Added Unicode handling tests
- Added extreme value tests
- Added concurrent access tests
📦 Installation
pip install hanzo-mcp==0.8.1🧪 Test Coverage
- Tool registration with various configurations
- Pagination consistency across data sizes
- Output truncation with Unicode and edge cases
- Process manager singleton thread safety
- Memory tools graceful degradation
- Network package mocking
- Auto-backgrounding with extreme timeout values
- Batch tool pagination handling
- CLI agent tools validation
- Streaming command abstractions