From 246c4ea6c5bda1122426c10a5d5ed6bc6b729c9c Mon Sep 17 00:00:00 2001 From: Patrick Kanzler Date: Thu, 7 Sep 2023 23:43:43 +0200 Subject: [PATCH 1/3] add template for new release --- CHANGELOG.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 850d2e4..fa0e3b7 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,24 +1,24 @@ Changelog ========= -20xx-xx-xx - Version x.x - "" ------------------------------ -`Release description` +2023-0x-xx - Version 3.0 - "Quietly Confident" +---------------------------------------------- +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! + +TODO summary of changes (rough) changes ^^^^^^^ -- some -- thing -- has -- changed +- TODO summary of changes (details) - fix the encoding search so that lower encodings are found first - add GitHub action for test on Windows contributors ^^^^^^^^^^^^ -- list -- contributors +- TODO all contributors since last v2 release. - Scott Rotondo in `#570 `_ - Patrick Kanzler From a8d789fe646971f19ff69de55f62c295b60e6e6f Mon Sep 17 00:00:00 2001 From: Patrick Kanzler Date: Sun, 15 Oct 2023 23:03:10 +0200 Subject: [PATCH 2/3] update change log --- CHANGELOG.rst | 80 ++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 73 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index fa0e3b7..3134e7e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -7,21 +7,87 @@ 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! -TODO summary of changes (rough) +The third major release of this library dropy support for +Python 2 and required 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 ^^^^^^^ -- TODO summary of changes (details) - +- change the project's license to MIT in accordance with the contributors (see python-escpos/python-escpos#171) +- feature: add "capabilities" which are shared with escpos-php, capabilities are stored in + `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 -- add GitHub action for test on Windows +- 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 ^^^^^^^^^^^^ -- TODO all contributors since last v2 release. +This is a list of contributors since the last v2 release. -- Scott Rotondo in `#570 `_ -- Patrick Kanzler +- 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 2023-05-11 - Version 3.0a9 - "Pride Comes Before A Fall" -------------------------------------------------------- From 72d26879a003dc8c51faa2c8f3c07b594b827c2d Mon Sep 17 00:00:00 2001 From: Patrick Kanzler <4189642+patkan@users.noreply.github.com> Date: Wed, 1 Nov 2023 19:37:38 +0100 Subject: [PATCH 3/3] Apply suggestions from code review --- CHANGELOG.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3134e7e..278db95 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -7,7 +7,7 @@ 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 dropy support for +The third major release of this library drops support for Python 2 and required a Python version of at least 3.8. The API has been reworked to be more consistent and two new concepts have been introduced: