All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Removed special chars from filenames we use for test validation #94
- Introduced Barcode and BarcodeBar classes to standardise generator output.
- Introduced methods to force use of GD or Imagick, see readme.
- Loads of new tests added, including tests on Github Actions.
- Splitted all barcode types to different files.
- Refactored a lot of code for better readability, stricter checking, and to be more efficient.
- Merged JPG and PNG generators, because of duplicate code.
- Fixed a bug in Codabar generation 2d1128f5222d9368fc6151d2b51801ea29ba1052
- Do not draw multiple bars on the same position #74
- Do not try to draw barcodes for empty strings #42
- Fixed possible casting issue in Codabar #92
- Added support for PHP 7.4, thanks to @pilif #80
- SVG: Add viewBox attribute to allow svg scaling #68 by @cuchac
- Adjust CODE_128 to handle odd number of digits #55 by @richayles
- Bugfix update imagick function #51 by @Keinbockwurst
- Raising exceptions if we cannot generate JPG or PNG because of missing libraries. Thanks @OskarStark
- Bugfixes for wrong constant values.
- This release adds exceptions to this package. Now it is easier to detect if the generated barcode is correct or not.
- Everything. First release of this package.