Skip to content

3.4.0

Compare
Choose a tag to compare
@codemasher codemasher released this 19 Nov 22:20
· 10 commits to v3.2.x since this release

✨ One Million Edition ✨

New features:

  • support for logos: QRMatrix::setLogoSpace() (example), added constant QRMatrix::M_LOGO (#52)
  • allowed coloring the dot of the finder patterns individually via the new constant QRMatrix::M_FINDER_DOT (#52)
  • allowed returning the image resource (resource , GdImage, Imagick, FPDF) from QROutputInterface::dump() via QROptions::$returnResource
  • allowed returning base64 encoded data URIs for SVG and FPDF output
    • this change may break backwards compatibility for these output modes - to fix this, set QROptions::$imageBase64 to false.

Fixes & cleanup:

  • fixed a bug that could cause unexpected "code length overflow" exceptions for version 33 QR Codes
  • stopped tampering with mb_internal_encoding() as it had no effect here anyways
  • check for ext-gd and ext-imagick when initializing the respective output modules

(deleted & re-released as the previous 3.4.0 tag pointed to the 4.x branch. sorry for any inconvenience, i am dumb.)