Browse our Products
Aspose.BarCode for Python via .NET 26.9
This article contains release notes information for Aspose.BarCode for Python via .NET 26.9.
All Changes
| Key | Summary | Category |
|---|---|---|
| BARCODENET-39618 | Update and extend GS1 support | Enhancement |
| BARCODENET-39547 | Add support of JapanPost barcode | Enhancement |
Public API changes
GS1 support
GS1 parsing and validation have been updated and extended. The new APIs provide structured access to GS1 elements, detailed validation results, configurable syntax and content validation, and GS1 Digital Link parsing and conversion.
The following common GS1 APIs have been added to aspose.barcode.common:
GS1Elementclass:application_identifier,value, andvalidate(application_identifier, value).GS1ValidationErrorCodeenumeration with these members:EMPTY_ELEMENT_STRING,MISSING_OPENING_PARENTHESIS,MISSING_CLOSING_PARENTHESIS,INVALID_APPLICATION_IDENTIFIER,UNKNOWN_APPLICATION_IDENTIFIER,MISSING_VALUE,INVALID_ESCAPE_SEQUENCE,VALUE_TOO_SHORT,VALUE_TOO_LONG, andINVALID_CHARACTER.INVALID_CHECKSUM,INVALID_DATE,INVALID_TIME,INVALID_CODE_LIST_VALUE,INVALID_COMPONENT_LENGTH,TRUNCATED_COMPONENT,UNEXPECTED_DATA,INVALID_VALUE,GCP_PREFIX_TOO_SHORT, andINVALID_GCP_PREFIX.INVALID_DIGITAL_LINK_URI,UNSUPPORTED_DIGITAL_LINK_SCHEME,MISSING_DIGITAL_LINK_PRIMARY_KEY,INVALID_DIGITAL_LINK_PATH,INVALID_DIGITAL_LINK_QUALIFIER,INVALID_DIGITAL_LINK_QUERY_PARAMETER,APPLICATION_IDENTIFIER_NOT_ALLOWED_IN_DIGITAL_LINK,INVALID_PERCENT_ENCODING,MULTIPLE_DIGITAL_LINK_PRIMARY_KEYS, andUNSUPPORTED_ELEMENT_COMBINATION.
GS1ValidationIssueclass:code,application_identifier, andmessage.GS1ValidationResultclass:is_validandissues.
The following GS1 generation APIs have been added to aspose.barcode.generation:
BarcodeParameters.gs1property.GS1Parametersclass with thevalidation_levelproperty.GS1ValidationLevelenumeration withSYNTAXandCONTENTmembers.
The following complex barcode APIs have been added to aspose.barcode.complexbarcode:
ComplexCodetextReader.try_decode_gs1_codetext(encoded_codetext)andComplexCodetextReader.try_decode_gs1_digital_link(encoded_codetext).GS1Codetextclass with theGS1Codetext()constructor;barcode_type,count, andelementsproperties; and the[index]indexer.GS1Codetextmethods:get_first(application_identifier),get_all(application_identifier),add(application_identifier, value),validate(value),parse(value),try_parse(value, result, validation_result),get_constructed_codetext(),init_from_string(constructed_codetext), andget_barcode_type().GS1DigitalLinkclass withGS1DigitalLink(uri_stem)andGS1DigitalLink(uri_stem, primary_application_identifier)constructors;uri_stem,primary_application_identifier,barcode_type,count, andelementsproperties; and the[index]indexer.GS1DigitalLinkmethods:create(uri_stem, codetext),create(uri_stem, codetext, primary_application_identifier),get_first(application_identifier),get_all(application_identifier),add(application_identifier, value),validate(value),parse(value),try_parse(value, result, validation_result),to_gs1_codetext(),to_uri_string(),get_constructed_codetext(),init_from_string(constructed_codetext), andget_barcode_type().
JapanPost barcode support
Support for generating and recognizing JapanPost barcodes has been added.
The following APIs have been added:
- Encode type
aspose.barcode.generation.EncodeTypes.JAPAN_POST. - Decode type
aspose.barcode.barcoderecognition.DecodeType.JAPAN_POST.