Skip to content

Commit d3b1d84

Browse files
committed
Version 0.3.0
1 parent 3b091b4 commit d3b1d84

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

CHANGELOG.md

+11-3
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,29 @@
22

33
## 0.3.0
44

5-
Release date: `202x-xx-xx`
5+
Release date: `2024-11-02`
66

77
### Features
88

9-
- Drop support for Python 3.5, and 3.6.
109
- Added support for Python 3.8, 3.9, 3.10, 3.11, 3.12, 3.13, and 3.14.
1110
- Support for DP-EH400/1 printers is confirmed (#17).
1211
- Added type annotations.
1312
- New option to specify commands timeout via `ThermalPrinter(..., command_timeout=float)` (#17).
14-
- No longer checks that the provided `image` argument to `ThermalPrinter.image()` is a `PIL.Image` object.
1513
- Documentation is now generated from the source code to never miss signature changes.
1614
- Moved the CI from Travis-CI to GitHub actions.
1715
- Run ruff on the entire source code.
1816
- Added more quality checks.
1917

2018
### Technical Changes
2119

20+
- Drop support for Python 3.5, and 3.6.
2221
- Renamed `tools.test_char()``tools.print_char()`.
2322
- Renamed `tools.testing()``tools.printer_tests()`.
23+
- No longer checks that the provided `image` argument to `ThermalPrinter.image()` is a `PIL.Image` object.
24+
25+
### Contributors
26+
27+
Thanks to our beloved contributors: @uniphil, @d21d3q
2428

2529
## 0.2.0
2630

@@ -41,3 +45,7 @@ Release date: `2019-01-10`
4145
- Attributes `is_online`, `is_sleeping`, `lines`, `feeds` and `max_column` now raise `AttributeError` when trying to set them (previously raising `ThermalPrinterAttributeError`)
4246
- Changed signature of `tools.printer_tests(port='/dev/ttyAMA0', heat_time=80)``tools.printer_tests(printer=None, raise_on_error=True)`
4347
- Changed signature of `tools.print_char(char)``tools.print_char(char, printer=None)`
48+
49+
### Contributors
50+
51+
Thanks to our beloved contributors: @d21d3q

src/thermalprinter/thermalprinter.py

+3
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ class ThermalPrinter(Serial):
4141
- ``most_heated_point`` (int): for the printer, the most heated point (default: ``3``).
4242
4343
:exception ThermalPrinterValueError: On incorrect argument's type or value.
44+
45+
.. versionchanged:: 0.3.0
46+
Added ``command_timeout`` keyword-argument.
4447
"""
4548

4649
# Counters

0 commit comments

Comments
 (0)