-
Version 0.2.0
StableAll checks were successfulBuild ptprnt / build (push) Successful in 3m52sreleased this
2025-10-16 19:36:15 +00:00 | 3 commits to master since this releaseAdded
- Multi-label support - print multiple labels in sequence
- LabelBuilder API with fluent interface for constructing labels
- FakePrinter driver for testing without hardware (outputs PNG files)
- PrinterService core service for printer operations
- CliParser component with ICliParser interface
- ICairoWrapper interface for testable graphics rendering
- MockCairoWrapper for unit testing
- Pre-commit hook for automatic copyright updates
- USB trace mode for debugging (
-Dusb_trace_only=true)
Changed
- Major refactoring: Reorganized codebase into layered architecture
- Application layer: PtouchPrint, CliParser, PrinterService
- Printer drivers: Moved to
src/printers/with factory pattern - Graphics system: Added builder pattern and Cairo abstraction
- Core services: Separated into
src/core/directory
- Label class now uses dependency injection for Cairo/Pango
- CLI parsing separated from main application logic
- Updated dependencies to latest versions
Fixed
- Label corruption issues resolved
- Printer info retrieval bugs
- USB attachment logic
- Multiple lines handling in labels
- Printer selection logic
Downloads