Releases: sprain/php-swiss-qr-bill
v4.1
v4.0
While there are BC breaks, no changes are required if the library was used as intended.
- Added support for
endroid/qr-code
v4 (#151) - Dropped support for
endroid/qr-code
v3 (#151) Sprain\SwissQrBill\QrCode\QrCode
no longer extendsEndroid\QrCode\QrCode
(#151)
Kudos!
- Thanks a lot to @dominikschnieper for your help in fixing a blocking issue for this release, and to @endroid for always being very flexible and quick when it comes to merging pull requests for bugfixes.
v3.3
- Added support for PHP 8.1 (#159)
- Dropped support for PHP 7.4 (#157)
- Added support for Symfony 6 dependencies (#157)
- Dropped support for Symfony 3 dependencies (#157)
Kudos!
- Thanks to @kohlerdominik for preparing the PHP 8.1 compatibility and for providing feedback on those changes.
Good to know
-
Isn't dropping support for a PHP version a BC break and should cause a major version update?
No. Why not? The Doctrine project explains it nicely:A BC break happens when there is an incompatible change that your package manager can't handle. For example, changing a method signature in a minor version is a no-go, since the composer version constraints mentioned above assume any minor upgrade can safely be used. However, when we drop support for an older version of PHP, composer will not consider the new version if the PHP version requirement is no longer fulfilled. Thus, you won't end up with a fatal error due to a wrong method signature, you just won't get the new version.
v3.2
- Adjusted behaviour of field
StrdBkgInf
to match specifications v2.2 (#146)
Good to know
- While this could be considered to be just a bugfix, a new minor version is released based on library policy because it is a visible change of the qr code for some invoice setups.
v3.1.1
v3.1
v3.0
While there are BC breaks, no changes are required if the library was already used as intended.
- PHP 7.4 is now required. (#101)
- All constructors are now
private
. Factory methods must be used. (#101) - All classes are now
final
. (#119) - Classes which are not supposed to be used outside this library are now marked with
@internal
. (#120) - Removed deprecated
QrBill::setErrorCorrectionLevel()
method. (#102) - Cleanups and minor adjustments (#121)
Kudos!
- Thanks a lot to @kohlerdominik for your reviews and feedback for this release!
v2.19
- Adjusted translations in French and Italian according to specifications (#105)
Good to know
- While this could be considered to be just a bugfix, a new minor version is released based on library policy because it is a visible change of the payment slip output.
Kudos!
- Thanks to @markcameron for this fix!
v2.18
- Positioning offsets of
TcPdfOutput
andFpdfOutput
now accept floats, for when you need to be very precise (#99) - Fixed a bug with duplicated positioning offsets of lines in
TcPdfOutput
(#99) - Internal improvements: Strict typing is now used in all files (#97)
- Removed external documentation platforms, it's all available from README now.