GS1Validator.java: Stricter validation: Check digits are now verified for all AIs containing a
GS1 key with a mod-10 check digit, AIs 8006 and 8026 require their fixed length of 18 digits,
variable-length AIs no longer accept empty values, and the data of AIs 423/425, 4326 (date),
7007, 8003, 8013 and 7230-7239 is checked more strictly.
GS1Validator.java: The characters ":", ";", "<", "=", ">" and "?" of GS1 character set
82 and the day "00" for AIs 11 to 17 are no longer wrongly rejected. The "#" placeholder for
automatic check digit calculation now also works for AI 03.
GS1Validator.java: FNC1 separators are now placed according to the GS1 table of
predefined-length AIs (e.g. after the fixed-length AIs 402, 4307, 7040 and 8001).
GS1-128, EAN-14, SSCC-18: The GS1-128 limit of 48 data characters is now enforced. EAN-14 and
SSCC-18 now strictly accept 13/14 or 17/18 digits only; previously, appended data was silently
encoded as further Application Identifiers.
Code 39, Code 93, Code 128 and their variants: Conversion to upper case is now
locale-independent and limited to ASCII, control characters in the human readable text of Code
39/93 Extended are replaced by spaces, and FNC4 is taken into account when choosing the Code 128
code set.
ISBN-13 / ISMN: The prefix 979-0 (reserved for ISMN) is now rejected for ISBN-13, as are empty
segments between hyphens.
PZN / PZN8: Numbers whose check digit would be 10 now report "Checksum cannot be 10" instead
of the misleading "Expected check digit: 10".
Human readable text: The font size is now fitted about 28 times faster using a binary search,
and the original font of the Graphics2D object is restored after drawing.
Version 3.2.0 – Dec 23, 2025
BarExporter.java: Added setInlineSVG() method to generate SVG output suitable for embedding in
HTML5 (omits XML declaration and xmlns attribute).
BarExporter.java: Replaced Area with ArrayList<Shape> for storage of Shape instances,
significantly improving performance especially in headless Java environments.
BarExporter.java: BMP and PNG now stored as grayscale when possible (which is mostly the case
as barcodes are usually black/white), reducing file size by ~67% for BMP and ~40% for PNG.
GS1Validator.java: Improved error message for AIs 00 to 02 to clearly state expected
length.
Version 3.1.1 – Nov 24, 2025
Export to raster image formats: Added a defensive check for TIFF ImageWriter availability, and implemented proper
resource cleanup for the ImageOutputStream along with explicit ImageWriter disposal.
Version 3.1.0 – Oct 30, 2025
Zero dependencies: Library is now completely self-contained with no external dependencies
PDF generation: Creates PDFs independently - OpenPDF is no longer required
EPS/PDF output: Reduced file sizes by ~13% using native rectangle commands instead of rectangular paths
Enum "BarcodeType": Added six "supports...()" methods to query barcode type properties without the need to create an instance
Enum "ImageTransform": Added "getRotationDegrees()" method to retrieve the rotation angle in degrees
Version 3.0.0 – Oct 6, 2025
Comprehensive migration from primitive types to enums
Enhanced parameter validation in constructors and methods
Classes removed or renamed throughout the packages
Javadoc documentation thoroughly reworked and updated
Minimum Java version increased from Java 9 to Java 11
OpenPDF compatibility: Added support for version 3.0.0+
Version 2.0.2 – Aug 18, 2025
GS1 Barcodes: Extended validation beyond the existing date/time checks for Application Identifiers 11 to 17 to now include format and plausibility validation for Application Identifiers 7003, 7006, and 8008.
OpenPDF Dependency: The library can now be compiled and used completely without OpenPDF - the dependency is fully optional, including at compile time.
Version 2.0.1 – Sep 11, 2024
Detailed BarcodeException messages for one-dimensional barcodes that provide more specific
reasons why a barcode could not be created.
German localization for all exception messages.
Stricter validation of date values in the format YYMMDD for GS1 barcodes: The value must now
not only consist of digits but also refer to a valid date.