Skip to content

Releases: endroid/qr-code

Refactoring

12 Feb 09:05
Compare
Choose a tag to compare

[BC Break] Moved the Twig extension to the bundle.

[BC Break] Refactor templates and routes

22 Oct 12:29
Compare
Choose a tag to compare

Please note that the routing has moved from annotations to a routing file. Check the README to see how to update your routing to use the yml file.

Improved extensibility and decoupling

30 May 10:57
Compare
Choose a tag to compare
  • Registration of existing and new writers via WriterRegistry instead of hard coupling
  • Moved logic of managing writers outside QrCode class
  • Making more use of interfaces to improve extensibility
  • Removed magic writer detection and added the concept of a default writer
  • Updated documentation and tests

Please note there are some BC breaks involved

2.0.0

17 Apr 19:33
Compare
Choose a tag to compare
  • Feature: validation of generated QR codes
  • Feature: generate SVG / EPS file (with limited feature set)
  • Refactoring: drop Swetake QR generation in favor of BaconQrCode
  • Refactoring: separation of qr code and writer classes to decrease coupling and improve extensibility
  • Refactoring: guessing type based on file extension
  • Refactoring: error correction level and label alignment set up as enumerations
  • Refactoring: make twig extension independent of service container and move outside of bundle
  • Refactoring: make a distinction between qrcode_url and qrcode_path twig functions
  • Refactoring: use property accessor component to set defined options in the factory
  • Refactoring: logo and label placement
  • Refactoring: cleaned up exceptions
  • Refactoring: extended test suite
  • Support: no JPEG generation (can be added)
  • Support: alpha channels in back- and foreground colors not supported anymore (can be added)
  • Support: dropped PHP 5.4 + 5.5 and HHVM because of incompatibility

1.6.5

16 Apr 22:12
Compare
Choose a tag to compare
  • Added support for adding a logo
  • Added test to calculate if resulting image size is correct, given its size and padding

1.6.4

10 Apr 22:23
Compare
Choose a tag to compare
  • Added support for SPD (Short Payment Descriptor)
  • Added support for text labels underneath image (allowing custom fonts)
  • Enabled foreground and background coloring
  • Enabled image padding