v0.46.0 - Internal improvements
Breaking Changes
-
Test Helper Imports Refactored: Direct imports from
libtmux.test
are no longer possible. You must now import from specific submodules (#580)# Before: from libtmux.test import namer # After: from libtmux.test.named import namer
# Before: from libtmux.test import RETRY_INTERVAL_SECONDS # After: from libtmux.test.constants import RETRY_INTERVAL_SECONDS
Internal Improvements
- Enhanced Test Utilities: The
EnvironmentVarGuard
now handles variable cleanup more reliably - Comprehensive Test Coverage: Added test suites for constants and environment utilities
- Code Quality: Added proper coverage markers to exclude type checking blocks from coverage reports
- Documentation: Improved docstrings and examples in the random module
These changes improve maintainability of test helpers both internally and for downstream packages that depend on libtmux.
What's Changed
Full Changelog: v0.45.0...v0.46.0