Skip to content

Releases: sprain/php-swiss-qr-bill

v4.1

10 Jul 07:24
2004e31
Compare
Choose a tag to compare
  • Added QrCode::getAsString() (#176)
  • Added QrCode::getDataUri() (#176)
  • Deprecated QrCode::writeDataUri() in favor of new QrCode::getDataUri() (#176)

Kudos!

  • Thanks to @iquito for providing the idea and initial implementation of those improvements.

v4.0

15 Dec 12:32
3f19154
Compare
Choose a tag to compare

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 extends Endroid\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

11 Dec 17:37
c6d09e3
Compare
Choose a tag to compare
  • 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

22 Oct 11:33
c76cd7e
Compare
Choose a tag to compare
  • 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

12 Oct 07:50
89dfd58
Compare
Choose a tag to compare
  • Explicitly requires symfony/polyfill-intl-icu as a dependency (#145)
  • Fixed error in phpstan code analysis (#143)

Kudos!

  • Once again my big thank you goes to @kohlerdominik for providing those valuable updates!

v3.1

12 May 07:10
1c49198
Compare
Choose a tag to compare
  • Added support for PHP 8 (#126)

Kudos!

v3.0

10 May 14:38
9f9eac3
Compare
Choose a tag to compare

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

01 Dec 11:28
ea0cf2e
Compare
Choose a tag to compare
  • 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!

v2.18

08 Nov 13:31
f270714
Compare
Choose a tag to compare
  • Positioning offsets of TcPdfOutput and FpdfOutput 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.

v2.17.4

05 Nov 23:27
Compare
Choose a tag to compare
  • Fixed type doc which caused static code analysis to fail (4882831)