Thanks to visit codestin.com
Credit goes to github.com

Skip to content

v5.0.0

Latest

Choose a tag to compare

@jodal jodal released this 12 Oct 20:39
· 13 commits to main since this release
966255e

This release contains a couple of breaking changes, thus the version bump to 5.0. See the upgrade guide for the full details and steps for quickly updating your code to work with Biip 5.0.

Breaking changes

  • Gtin.prefix for GTIN-8 is of a new GS18Prefix type (PR: #403)
  • The "GS1 Web URIs" classes and methods added in 4.0 have all been renamed to stay in sync with the specification which has rebranded to "GS1 Digital Link URIs". (PR: #396)
  • GS1 Application Identifier aliases in GS1 Digital Link URIs are no longer supported, as recommended by the specification. (PR: #396)

See the upgrade guide for full details.

Changes

  • A new attribute Gtin.item_references has been added to the Gtin class. It is set for GTIN-8/12/13/14, as well as company-wide RCNs and geographical RCNs where the regional RCN rules describe what part of the payload is an item reference. (Fixes: #401, PR: #406, #408)

Fixes

  • Add support for GS1-8 Prefixes. Gtin.prefix is now a new type GS18Prefix for GTIN-8s, and correctly maps GTIN-8 prefixes to the right GS1 organizations. Together with this fix, Gtin.company_prefix is no longer wrongly set for GTIN-8. (Fixes: #398, PR: #403)

Updates

  • Update GS1 Prefix database. No changes.
  • Update GS1 Company Prefix database.
  • Update GS1 Application Identifier database. No changes.