Skip to content

Upgrading from 4.x to 5.x

GTIN-8's prefix type is now GS18Prefix

To correctly handle the difference between GS1 Prefixes for GTIN-12/13/14 and GS1-8 Prefixes for GTIN-8, a new class GS18Prefix has been added. It has the same interface as GS1Prefix, but is a separate type.

GS1 Digital Link standard v1.1 renamed the concept from "Web URI" to "Digital Link URI". The corresponding APIs in Biip have been renamed.

GS1 Application Identifier aliases in URIs are not supported

GS1 Digital Link standard v1.2 deprecated and v1.3 removed the concept of aliases. Biip no longer supports aliases in URIs, as this is recommended to not support in newer implementations to reduce complexity.

That is, the following is not supported:

https://id.gs1.org/gtin/07032069804988100329/lot/ABC

But this is supported:

https://id.gs1.org/01/07032069804988100329/10/ABC

(Fixes: #394, PR: !396)