Conversation
…ality - Updated type hints to use built-in types for better compatibility. - Simplified serial port resolution logic and improved forced port handling. - Enhanced failure tracking and backoff mechanisms for connection attempts. - Added a simple API endpoint to serve detected connection details. - Refactored settings handling to use custom bindings in the frontend. - Introduced unit tests for comprehensive coverage of plugin functionality. - Updated dependencies in pyproject.toml for development tools.
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.
This pull request introduces a continuous integration (CI) workflow, improves documentation, and makes several compatibility and metadata updates for the plugin. The most important changes are summarized below.
Continuous Integration and Testing:
.github/workflows/ci.yaml) that runs linting (usingruff) and unit tests against multiple Python and OctoPrint versions, including both stable and prerelease OctoPrint 2.x. This ensures code quality and compatibility across supported environments.Documentation Improvements:
README.mdwith a CI status badge, clearer installation instructions, troubleshooting and development sections, and improved configuration guidance for both the UI andconfig.yaml. [1] [2] [3] [4] [5]extras/autoconnectplus.mdto clarify plugin capabilities, supported platforms, configuration, and requirements; streamlined tags and compatibility information.Release Workflow and Compatibility:
latestrelease is always marked as a prerelease, ensuring it does not shadow actual stable releases in the GitHub API.Codebase Updates and Refactoring:
octoprint_autoconnectplus/__init__.py, addedShutdownPluginandSimpleApiPluginmixins, and made the connector import logic more robust to OctoPrint 2.0 circular-import issues. [1] [2] [3] [4]These changes collectively improve the project's maintainability, compatibility, and developer experience.