Upgrading from 1.x to 2.x
Prefixes may be missing
-
When a prefix looks valid but cannot be found in Biip's list of known GS1 prefixes
GS1Prefix.extract()now returnsNoneinstead of raising an exception. (Fixes: #93, PR: #94) -
Following from the above,
Gtin.prefixandSscc.prefixcan now be None. This makes it possible to parse and validate GTINs and SSCCs with prefixes missing from Biip's list of known GS1 prefixes. (Fixes: #93, PR: #94)