All notable changes to this project will be documented in this file, in reverse chronological order by release.
setProvidedChecksum(bool $value)
(and the option providedChecksum
) and getProvidedChecksum()
. These allow indicating that the barcode text includes a checksum value for purposes of validation.Zend\Barcode\Renderer\Pdf
. The renderer uses the now-abandoned zendframework/zendpdf package, and, as such, is deprecated as well, and scheduled for removal with version 3.0.0. We will release a separate PDF renderer package at a later date that consumes a 3rd party PDF library.#43 fixes typo in exception message of Zend\Barcode\Exception\UnexpectedValueException
.
#44 changes curly braces in array and string offset access to square brackets in order to prevent issues under the upcoming PHP 7.4 release.
#45 fixes rotation calculations.
#46 fixes generating checksum for EAN5 and Identcode/Leitcode. These barcodes have fixed length and checksum generator must use also leading zeros.
#47 fixes text length for EAN2 and EAN5 by adding leading zeros.
#24 updates the SVG
renderer to remove extraneous whitespace in rgb()
declarations, as the
specification dis-allows whitespace, and many PDF readers/manipulators will
not correctly consume SVG definitions that include them.
#36 provides several
minor changes to namespace imports for the Zend\Barcode\Object
namespace to
ensure the package works on PHP 7.2.