Releases: chillerlan/php-qrcode
Releases · chillerlan/php-qrcode
2.0.8
1.0.9
4.0.0
- PHP 7.4 (typed properties etc.)
- removed superfluous
@param
and@return
tags 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::$imageTransparencyBG
expects 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_MAP
toCHAR_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
$x
and$y
were 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
$x
and$y
were 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-gd
tocomposer.json
as it is required for the default settings - PHPUnit 8.3
- added PHP 7.4 snapshot to
.travis.yml
- added
- cleanup:
QRImage::$background
removed as it was unnecessary (now local inQRImage::dump()
)use function
importssprintf()
for several messages and other output- format of
QRMatrix::formatPattern
andQRMatrix::versionPattern
changed from hex to binary for better comprehensibility QROptionsTrait::__set()
removed in favor ofSettingsContainerInterface
settersset_versionMin(int $version)
andset_versionMax(int $version)
- additional coverage tests
3.1.0
- SVG images now use
viewBox
instead ofwidth
andheight
to scale. A new property$svgViewBoxSize
has been added toQROptions
,$scale
has no effect.QRMarkup
has a new property$svgHeader
that 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
3.0.3
- values passed to a
QROptions
object will now always be checked/clamped (e.g. when passed as individual value, not only through the constructor) - PHPUnit bumped to 7.5
- cleanup
- PHP 5 IS KILL. LET IT DIE.