Releases: python-escpos/python-escpos
Version 3.1
This is the minor release of the new version 3.1.
It adds a modification of the API of the qr-method,
hence the minor release.
changes
- extend API of the qr-method to allow passing image
parameters in non-native mode - use version 0.15 and upwards of python-barcode
- fix an issue in the config provider that prevented
config files to be found when only a path was supplied - Improve type annotations, usage of six and other
packaging relevant parts.
contributors
- Patrick Kanzler
- Alexandre Detiste
- tuxmaster
- belono
What's Changed
- prepare next release development cycle by @patkan in #594
- Bump sphinx-rtd-theme from 1.3.0 to 2.0.0 by @dependabot in #596
- add type annotations for escpos image handler by @patkan in #599
- update to newest python-barcode by @patkan in #595
- update capabilities data by @patkan in #601
- allow qr to set all arguments to image by @patkan in #600
- Improve test coverage and fix issue in path loading by @patkan in #602
- Update CHANGELOG.rst by @patkan in #603
- Bump actions/setup-python from 4.7.1 to 4.8.0 by @dependabot in #604
- Bump actions/setup-python from 4.8.0 to 5.0.0 by @dependabot in #605
- argparse is an part of the python core by @tuxmaster in #606
- Refactor to using f-strings by @patkan in #608
- Bump github/codeql-action from 2 to 3 by @dependabot in #610
- Python3-six-removal by @a-detiste in #607
- More mypy by @patkan in #612
- improve type annotations in tests by @patkan in #613
- Prepare release 3.1 by @patkan in #614
New Contributors
- @tuxmaster made their first contribution in #606
- @a-detiste made their first contribution in #607
Full Changelog: v3.0...v3.1
Version 3.0
This is the major release of the new version 3.0.
A big thank you to @belono for their many contributions
for the finalization of v3!
The third major release of this library drops support for
Python 2 and requires a Python version of at least 3.8.
The API has been reworked to be more consistent and two
new concepts have been introduced:
Capabilities allow the library to know which features
the currently used printer implements and send fitting
commands.
Magic Encode is a new feature that uses the
capability information and encodes Unicode automatically
with the correct code page while sending also the
code page change commands.
The license of the project has been changed to MIT
in accordance with its contributors.
The changes listed here are a summary of the changes
of the previous alpha releases. For details please
read the changelog of the alpha releases.
changes
- change the project's license to MIT in accordance with the contributors (see #171)
- feature: add "capabilities" which are shared with escpos-php, capabilities are stored in
escpos-printer-db <https://github.com/receipt-print-hq/escpos-printer-db>_ - feature: the driver tries now to guess the appropriate codepage and sets it automatically (called "magic encode")
- as an alternative you can force the codepage with the old API
- fix the encoding search so that lower encodings are found first
- automatically handle cases where full cut or partial cut is not available
- refactor of the set-method
- preliminary support of POS "line display" printing
- add support for software-based barcode-rendering
- make feed for cut optional
- implemented paper sensor querying command
- Include support for CUPS based printer interfaces
- add Win32Raw-Printer on Windows-platforms
- add and improve Windows support of USB-class
- pickle capabilities for faster startup
contributors
This is a list of contributors since the last v2 release.
- Ahmed Tahri
- akeonly
- Alexander Bougakov
- AlexandroJaez
- Asuki Kono
- belono
- brendanhowell
- Brian
- Christoph Heuel
- csoft2k
- Curtis // mashedkeyboard
- Dmytro Katyukha
- Foaly
- Gerard Marull-Paretas
- Justin Vieira
- kedare
- kennedy
- Lucy Linder
- Maximilian Wagenbach
- Michael Billington
- Michael Elsdörfer
- mrwunderbar666
- NullYing
- Omer Akram
- Patrick Kanzler
- primax79
- Ramon Poca
- reck31
- Romain Porte
- Sam Cheng
- Scott Rotondo
- Sergio Pulgarin
- Thijs Triemstra
- Yaisel Hurtado
- ysuolmai
and others
Version 3.0a9
This release is the 10th alpha release of the new version 3.0.
After three years hiatus, a new release is in work in order to
finally get a version 3.0 out.
changes
- Include support for CUPS based printer interfaces
- Move the build toolchain to GitHub
contributors
- belono
- brendanhowell
- AlexandroJaez
- NullYing
- kedare
- Foaly
- patkan
- and others
Version 3.0a8
This release is the ninth alpha release of the new version 3.0.
Please be aware that the API is subject to change until v3.0 is
released.
This release drops support for Python 2, requiring at least
version 3.5 of Python.
changes
- Drop support for Python 2 and mark in setuptools as only supporting 3.5 and upwards
- remove landscape.io badge
- replace viivakoodi with python-barcode which is maintained
- add configuration for Visual Studio Code
- use pkg_resources for the retrieval of the capabilities.json
contributors
- Romain Porte
- Patrick Kanzler
Version 3.0a7
This release is the eight alpha release of the new version 3.0. Please be aware that the API is subject to change until v3.0 is released.
This release also marks the point at which the project transitioned to having only a master-branch (and not an additional development branch).
changes
- add Exception for NotImplementedError in detach_kernel_driver
- update installation information
- update and improve documentation
- add error handling to image centering flag
- update and fix tox and CI environment, preparing drop of support for Python 2
contributors
- Alexander Bougakov
- Brian
- Yaisel Hurtado
- Maximilan Wagenbach
- Patrick Kanzler
Version 3.0a6
This release is the seventh alpha release of the new version 3.0.
Please be aware the the API is subject to change until v3.0 is
released.
changes
- fix inclusion of the capabilities-file
- execute CI jobs also on Windows and macOS-targets
- improve documentation
contributors
- Patrick Kanzler
Version 3.0a5
This release is the sixth alpha release of the new version 3.0. Please
be aware that the API is subject to change until v3.0 is released.
changes
- allow arbitrary USB arguments in USB-class
- add Win32Raw-Printer on Windows-platforms
- add and improve Windows support of USB-class
- use pyyaml safe_load()
- improve doc
- implement _read method of Network printer class
contributors
- Patrick Kanzler
- Gerard Marull-Paretas
- Ramon Poca
- akeonly
- Omer Akram
- Justin Vieira
Version 3.0a4
This release is the fifth alpha release of the new version 3.0. Please
be aware that the API will still change until v3.0 is released.
changes
- raise exception when TypeError occurs in cashdraw (#268)
- Feature/clear content in dummy printer (#271)
- fix is_online() (#282)
- improve documentation
- Modified submodule to always pull from master branch (#283)
- parameter for implementation of nonnative qrcode (#289)
- improve platform independence (#296)
contributors
- Christoph Heuel
- Patrick Kanzler
- kennedy
- primax79
- reck31
- Thijs Triemstra
v3.0a3: alpha of major release Version 3.0a3
This release is the fourth alpha release of the new version 3.0. Please
be aware that the API will still change until v3.0 is released.
changes
- minor changes in documentation, tests and examples
- pickle capabilities for faster startup
- first implementation of centering images and QR
- check barcodes based on regex
contributors
- Patrick Kanzler
- Lucy Linder
- Romain Porte
- Sergio Pulgarin
v3.0a2: alpha of major release Version 3.0a2
This release is the third alpha release of the new version 3.0. Please
be aware that the API will still change until v3.0 is released.
changes
- refactor of the set-method
- preliminary support of POS "line display" printing
- improvement of tests
- added ImageWidthError
- list authors in repository
- add support for software-based barcode-rendering
- fix SerialException when trying to close device on del
- added the DLE EOT querying command for USB and Serial
- ensure QR codes have a large enough border
- make feed for cut optional
- fix the behavior of horizontal tabs
- added test script for hard an soft barcodes
- implemented paper sensor querying command
- added weather forecast example script
- added a method for simpler newlines
contributors
- csoft2k
- Patrick Kanzler
- mrwunderbar666
- Romain Porte
- Ahmed Tahri