Python-barcode

Latest version: v0.15.1

Safety actively analyzes 621854 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

0.15.1

~~~~~~~~~~

* Add missing dependency to release script.

0.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.

0.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.

0.13.1

~~~~~~~

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

0.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.

0.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``.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.