File: changelog.rst

package info (click to toggle)
python-barcode 0.15.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 684 kB
  • sloc: python: 1,661; makefile: 23; sh: 9
file content (188 lines) | stat: -rw-r--r-- 4,925 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
Changelog
---------

v0.15.1
~~~~~~~~~~

* Add missing dependency to release script.

v0.15.0
~~~~~~~~~~

* **Breaking** Dropped support for Python 3.6.
* Added support for Python 3.11.
* Fixed compatibility with Pillow 10.0.
* Updated ISBN to support newer allocated ranges.
* Improved type hints.

v0.14.0
~~~~~~~

* **Breaking**: The default dimensions have changed slightly. This is so that
  the results of generating a PNG and an SVG look more alike.
* Previous versions included an empty text element for SVGs with no comment.
  This is no longer the case.
* Some internals have been improved so as to allow better subclassing.
  Subclasses of ``Barcode`` can now override ``default_writer_options`` and
  ``default_writer()``.
* A ``guardbar`` parameter has been added to EAN barcodes. This renders
  barcodes with guardars (longer bars).
* Added support for Python 3.10.
* The documentation setup has been redone, hopefully squashing a lot of legacy
  quirks.
* Previous versions installed the `tests` module. This was not intentional and
  have been fixed.

v0.13.1
~~~~~~~

* Fix a crash when using the ``generate`` shortcut function.

v0.13.0
~~~~~~~

* Added support for transparent backgrounds. This is done by setting the ``mode`` option
  for a writer to ``RGBA``.
* Dropped support for Python 3.5.
* Added support for Python 3.9.

v0.12.0
~~~~~~~

* Removed ``writer_options`` from ``barcode.get``. This parameter was not used.
* Add a ``with_doctype`` flag to ``SVGWriter``. Set this to false to avoid including a
  ``DOCTYPE`` in the resulting SVG.
* Add support for ``Pillow>=8.0.0``.

v0.11.0
~~~~~~~

* Added basic support for multiline text.
* Dropped lots of older compat-only code and other cleanups.
* Fixed a bug in the API when combining certain barcodes and writers.
* Published documentation again and updated all project references.
* Fix python_barcode.get mixups between `options` as `writer_options`.
  Previously, some writer/barcode combinations worked fine, while others
  failed. Now all work consistently.
* The cli tool has been fixed and should now work as expected again.

v0.10.0
~~~~~~~

* Added support for GS1-128.

v0.9.1
~~~~~~

* Officially support Python 3.7
* Refer to Pillow in the docs, rather than PIL.

v0.9.0
~~~~~~

* Removed buggy ``Barcode.raw`` attribute.
* Various CLI errors ironed out.
* Make the default value for ``writer_options``` consistent across writers.

v0.8.3
~~~~~~

* Fix pushing of releases to GitHub.

v0.8.2
~~~~~~

* Fix crashes when attempting to use the CLI app.
* Properly include version numbers in SVG comments.

v0.8.1
~~~~~~
* Improve README rendering, and point to this fork's location (the outdated
  README on PyPI was causing some confusion).

v0.8.0
~~~~~~
* First release under the name ``python-barcode``.

Previous Changelog
------------------

This project is a fork of pyBarcode, which, apparently, is no longer
maintained. v0.8.0 is our first release, and is the latest ``master`` from that
parent project.

v0.8
~~~~
* Code 128 added.
* Data for charsets and bars moved to subpackage barcode.charsets.
* Merged in some improvements.

v0.7
~~~~
* Fixed some issues with fontsize and fontalignment.
* Added Python 3 support. It's not well tested yet, but the tests run without
  errors with Python 3.3. Commandline script added.

v0.6
~~~~
* Changed save and write methods to take the options as a dict not as keyword
  arguments (fix this in your code). Added option to left align the text under
  the barcode. Fixed bug with EAN13 generation.

v0.5.0
~~~~~~
* Added new generate function to do all generation in one step.
* Moved writer from a subpackage to a module (this breaks some existing code).
  UPC is now rendered as real UPC, not as EAN13 with the leading "0".

v0.4.3
~~~~~~
* Fixed bug in new write method (related to PIL) and updated docs.

v0.4.2
~~~~~~
* Added write method to support file like objects as target.

v0.4.1
~~~~~~
* Bugfix release. Removed redundancy in input validation.
* EAN8 was broken. It now works as expected.

v0.4
~~~~
* Removed \*\*options from writers __init__ method. These options never had
  effect. They were always overwritten by default_options.
* New config option available: text_distance (the distance between barcode and
  text).

v0.4b2
~~~~~~
* Basic documentation included. The barcode object now has a new attribute
  called `raw` to have the rendered output without saving to disk.

v0.4b1
~~~~~~
* Support for rendering barcodes as images is implemented.  PIL is required to
  use it.

v0.3
~~~~
* Compression for SVG output now works.

v0.3b1
~~~~~~
* Writer API has changed for simple adding new (own) writers.
* SVG output is now generated with xml.dom module instead of stringformatting
  (makes it more robust).

v0.2.1
~~~~~~
* API of render changed. Now render takes keyword arguments instead of a dict.

v0.2
~~~~
* More tests added.

v0.1
~~~~
* First release.