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>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: "Fichero Printer"
|
||||
version: "0.1.41"
|
||||
version: "0.1.42"
|
||||
description: "REST API for the Fichero D11s (AiYin) thermal label printer over Bluetooth"
|
||||
url: "https://git.leuschner.dev/Tobias/Fichero"
|
||||
slug: "fichero_printer"
|
||||
|
||||
@@ -82,7 +82,7 @@ async def lifespan(app: FastAPI): # noqa: ARG001
|
||||
app = FastAPI(
|
||||
title="Fichero Printer API",
|
||||
description="REST API for the Fichero D11s (AiYin) thermal label printer.",
|
||||
version = "0.1.41",
|
||||
version = "0.1.42",
|
||||
lifespan=lifespan,
|
||||
docs_url=None,
|
||||
redoc_url=None,
|
||||
|
||||
Reference in New Issue
Block a user