Releases: chillerlan/php-qrcode
Releases · chillerlan/php-qrcode
3.2.3
2.0.8
1.0.9
4.0.0
- PHP 7.4 (typed properties etc.)
- removed superfluous
@paramand@returntags from docblocks - massive docblock overhaul/cleanup in preparation for phpDocumentor v3
- automatic phpdoc generation & deploy on push to master
- static analysis via Phan
- removed superfluous
- a whole bunch of changes and fixes, most notably:
QROptions::$imageTransparencyBGexpects now array input only (int[]) and cuts off exceeding items- added
QRMatrix::init()to quickly initialize a matrix object for the given version QRMatrix::getMask()bugfix (x and y swapped for mask pattern 0b001 and 0b010) and fixed the corresponding test- renamed constants
QRDataInterface::*_CHAR_MAPtoCHAR_MAP_* - added proper getters for
BitBuffer- no more public properties! - test overhaul
- reduced complexity
- proper static calls to
\PHPUnit\Framework\TestCase::assert* - added return types everywhere
- more use of data providers
- composer dependencies
- removed requirement for
ext-gd(markup output can be run without GD or Imagick) - updated PhpUnit to v9.1
- added Phan
- removed requirement for
3.2.2
- fixed a bug that could result in unreadable QR codes in case when mask pattern 2 and 3 were used (variables
$xand$ywere flipped) - improved mask pattern generation
2.0.7
- fixed a bug that could result in unreadable QR codes in case when mask pattern 2 and 3 were used (variables
$xand$ywere flipped) - improved mask pattern generation
3.2.1
- dependency update (PHPUnit 8.5)
- GH Actions updated for PHP 7.4
- several docblock fixes
3.2.0
3.1.1
Many commits, few changes ![]()
- dependency updates
- added
ext-gdtocomposer.jsonas it is required for the default settings - PHPUnit 8.3
- added PHP 7.4 snapshot to
.travis.yml
- added
- cleanup:
QRImage::$backgroundremoved as it was unnecessary (now local inQRImage::dump())use functionimportssprintf()for several messages and other output- format of
QRMatrix::formatPatternandQRMatrix::versionPatternchanged from hex to binary for better comprehensibility QROptionsTrait::__set()removed in favor ofSettingsContainerInterfacesettersset_versionMin(int $version)andset_versionMax(int $version)- additional coverage tests
3.1.0
- SVG images now use
viewBoxinstead ofwidthandheightto scale. A new property$svgViewBoxSizehas been added toQROptions,$scalehas no effect.QRMarkuphas a new property$svgHeaderthat you can overwrite when inheriting that class. This change may cause unexpected scaling results if you're using SVG output. See #30 and 090bbeb - PHPUnit has been updated to v8.0
- minor readme, .gitignore & test fixes