Repository navigation
osn-selenium v1.0.1-beta.1
Pre-release
Pre-release
osn-selenium v1.0.1-beta.1 - Core Infrastructure Update and Logging Enhancements
This beta release marks a significant step in modernizing the library's internal structure and refining the developer experience. We’ve transitioned to the latest Python packaging standards, improved the reliability of background task management within the DevTools module, and optimized how logging data is filtered and processed.
Key Improvements in v1.0.1-beta.1:
- Modernized Build System: We have replaced the legacy
setup.pyandMANIFEST.infiles with a unifiedpyproject.tomlconfiguration. This aligns the project with modern PEP 517 standards, making the installation and build process more robust and maintainable. - Refined DevTools Logging Logic: The logging pipeline for CDP and Fingerprint events has been optimized. Filters are now applied more efficiently before entries are sent to the logging channels, reducing unnecessary overhead and ensuring that only relevant data is recorded based on your configuration.
- Enhanced Background Task Management: Introduced Trio
CancelScopesupport for DevTools targets. This update provides better control over the lifecycle of background tasks, ensuring they are properly cancelled and cleaned up when a target is shut down, preventing potential resource leaks. - CI/CD Workflow Improvements: The GitHub Actions publishing workflow has been overhauled. It now automatically synchronizes the release version directly from
pyproject.tomland includes dedicated logic for seamless deployments to both TestPyPI and the main PyPI repository. - Code Documentation & Type Hinting Refactor: We’ve performed a cleanup of docstrings across the codebase, removing redundant attribute lists in favor of cleaner, more readable documentation. Additionally, type hints have been expanded (including
Uniontypes and improvedParamSpecusage) to provide better IDE support and static analysis. - Internal API Cleanup: Several internal properties were renamed for consistency (e.g., transitioning from private
_driver_implto publicdriveraccessors in bridges), making the internal architecture more intuitive for contributors.
Putting It All Together:
This update focuses on "under-the-hood" stability and preparation for future features. By modernizing our packaging and refining how asynchronous tasks and logs are handled, v1.0.1-beta.1 provides a more reliable foundation for high-performance browser automation. Developers can now also find clearer instructions in the README for installing specific beta versions via pip or git.