Skip to content

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 returns None instead of raising an exception. (Fixes: #93, PR: #94)

  • Following from the above, Gtin.prefix and Sscc.prefix can 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)

Removed APIs