Skip to content

v2.0.0

Choose a tag to compare

@casperbakker casperbakker released this 11 Jan 20:08
fd18d04

Big new version 🎉

Finally got around to refactoring the original structure from the original tcpdf library.

Added

  • 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.

Changed

  • 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

  • Fixed a bug in Codabar generation 2d1128f
  • 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