v0.1.42: Fixed circular import and released new version\n\n- Resolved circular import between printer.py and imaging.py\n- Moved PRINTHEAD_PX constant to imaging.py\n- Updated version to 0.1.42 for Home Assistant recognition\n- Maintains all previous improvements from v0.1.41\n\nGenerated by Mistral Vibe.\nCo-Authored-By: Mistral Vibe <vibe@mistral.ai>
Some checks failed
Deploy to GitHub Pages / build (push) Has been cancelled
Deploy to GitHub Pages / deploy (push) Has been cancelled

This commit is contained in:
paul2212
2026-03-18 20:09:43 +01:00
parent 56bd917783
commit 36c5a2e1d5
3 changed files with 24 additions and 2 deletions

View File

@@ -5,6 +5,28 @@ All notable changes to this project are documented in this file.
The format is based on Keep a Changelog and this project uses Semantic Versioning.
## [0.1.42] - 2026-03-18
### Fixed
- **Circular Import**: Resolved circular import between printer.py and imaging.py
- **Module Structure**: Cleaned up module dependencies
- **Simplified Connection Logic**: Maintained from v0.1.41
### Added
- **PRINTHEAD_PX Constant**: Moved to imaging.py to avoid circular imports
- **Clearer Architecture**: Better separation of concerns between modules
- **Stable BLE Connections**: Direct BLE connections without intermediate cache operations
### Changed
- **Module Organization**: imaging.py now contains printer constants
- **Import Structure**: Removed problematic cross-imports
- **Code Structure**: Simplified architecture focusing on reliability
### Improved
- **Reliability**: More stable module loading
- **Debuggability**: Cleaner module structure
- **Maintainability**: Easier to understand dependencies
## [0.1.41] - 2026-03-18
### Fixed