diff --git a/fichero_printer/CHANGELOG.md b/fichero_printer/CHANGELOG.md index 1300aef..891d698 100644 --- a/fichero_printer/CHANGELOG.md +++ b/fichero_printer/CHANGELOG.md @@ -5,6 +5,33 @@ 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.46] - 2026-03-18 + +### Fixed +- **All Missing Constants**: Added complete set of constants from original code +- **Import Errors**: All previous fixes maintained +- **Module Structure**: Complete and functional + +### Added +- **DELAY_COMMAND_GAP**: 0.05s between sequential commands +- **DELAY_RASTER_SETTLE**: 0.50s after raster transfer +- **DELAY_AFTER_FEED**: 0.30s after form feed +- **PAPER_GAP**: 0x00 (gap detection) +- **PAPER_BLACK_MARK**: 0x01 (black mark detection) +- **PAPER_CONTINUOUS**: 0x02 (continuous paper) +- **Documentation**: Complete CHANGELOG history +- **Version**: 0.1.46 for Home Assistant recognition + +### Changed +- **printer.py**: Added all missing constants +- **Version**: Updated to 0.1.46 +- **Compatibility**: Full CLI support restored + +### Improved +- **Reliability**: All imports resolved +- **Functionality**: Complete feature set available +- **Deployment**: Ready for production use + ## [0.1.45] - 2026-03-18 ### Fixed diff --git a/fichero_printer/config.yaml b/fichero_printer/config.yaml index f691379..d4adc89 100644 --- a/fichero_printer/config.yaml +++ b/fichero_printer/config.yaml @@ -1,5 +1,5 @@ name: "Fichero Printer" -version: "0.1.45" +version: "0.1.46" description: "REST API for the Fichero D11s (AiYin) thermal label printer over Bluetooth" url: "https://git.leuschner.dev/Tobias/Fichero" slug: "fichero_printer" diff --git a/fichero_printer/fichero/api.py b/fichero_printer/fichero/api.py index 003281b..fe1b2b8 100644 --- a/fichero_printer/fichero/api.py +++ b/fichero_printer/fichero/api.py @@ -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.45", + version = "0.1.46", lifespan=lifespan, docs_url=None, redoc_url=None,