Django-qr-code

Latest version: v4.0.1

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

Scan your dependencies

Page 1 of 4

4.0.1

* Upgrade dependencies, and drop support for Pydantic <2.5, Django<4.2, Python 3.8
* Remove dependency to pytz.
* Add support for Python 3.12.
* Add support for Django 5.0.
* Introduce support for floating point size QR code modules.
* Introduce embedded Base64 SVG image as data URI.
* Behavior change: white background is no longer interpreted as transparent for SVG output (41). If you want to avoid path fill of SVG to reduce the size of the SVG image, you have to explicitly set `light_color` to `None` in `QRCodeOptions`.

3.1.2

* Fix bug in `WifiConfig` data class (43).
* Fix typo in documentation (45)
* Add support for Django 4.1 and Django 4.2.
* Add support for Python 3.11.

3.1.1

* Fix regression in demo site due to improper runtime type validation on `QRCodeOptions`.
* Minor improvements to documentation.
* Modernize code syntax for Python >= 3.7.

3.1.0

* Add support for more properties for vCard: cellphone (TEL;TYPE=CELL), homephone (TEL;TYPE=HOME), workphone (TEL;TYPE=WORK)
* Add support for simple iCalendar event (VEVENT). (38)
* Add support for Django 4.0.
* BREAKING CHANGES:
* Introduce type validation at runtime with pydantic. Existing code might need some type-related fixes.
* Drop support for Django 2.2.

3.0.0

* Add support for European Payments Council Quick Response Code (EPC QR Code) version 002.
* Add support for vCard v3 QR code.
* Revamp support for MeCARD QR code to provide a cleaner API (old API remains available for compatibility).
* Introduce `qr_from_data` and `qr_url_from_data` to allow optimized encoding of alphanumeric, numeric, and byte data (adopt appropriate encoding mode depending on data content).
* Introduce support for `boost_error` flag.
* Introduce support for `encoding` parameter.
* Several breaking changes in API and generated QR codes:
* `text` parameters renamed to `data`;
* class methods `make_qr_text` renamed to `make_qr_data`;
* uses UTF-8 encoding by default for application and text QR codes (you must set the new `encoding` option or use the new `qr_from_data` and `qr_url_from_data` template tags to emulate old behavior);
* encoded geolocations always contain a decimal separator.
* Improve API documentation.
* Add support for Python 3.10
* Drop support for Python 3.6.
* Drop support for Django 3.1.

2.3.0

* Add support for `ECI mode` to control bytes encoding.
* Fix handling of `micro` QR code option when using URLs to serve image via `{% qr_url_from_text %}`.
* Fix handling of `cache_enabled` option when using URLs to serve image via `{% qr_url_from_text %}`.
* Fix handling of `url_signature_enabled` option when using URLs to serve image via `{% qr_url_from_text %}`.

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.