Skip to content

Releases: evrythng/digital-link.js

v1.4.3

03 Jun 14:33
e9fd8e2
Compare
Choose a tag to compare

Breaking Changes

GS1 Digital Link Standard v1.4.1 update

  • In this version, we reflected all the latest standard updates. you can retrieve the list of changes via this link section 8

CDN

  • The link to fetch the SDK directly from an HTML script tag is updated.

New Features

GTIN must always have 14 digits to validate

  • We automatically pad the GTIN to 14 digits, if the check digit is valid and if the length was part of the previous authorized ones: [8, 12 or 13]

v1.3.0

14 Jul 14:03
81313bc
Compare
Choose a tag to compare

Features

  • linkType is now a property of DigitalLink (and not an attribute anymore), two methods have been created: setLinkType and getLinkType.
    However, getAttribute('linkType') and getAttributes().linkType are still possible.

v1.2.4

09 Feb 14:02
d207d8d
Compare
Choose a tag to compare

Features

  • The validation process of a digital link now takes into account if the check digit of the following identifiers is valid or not: grai / gln / sscc / gsrn / gdti / gsin / gcn / gtin

v1.2.3

26 Jan 18:03
2cbb65a
Compare
Choose a tag to compare

Features

Updated ABNF and grammar file to fit the latest version of the Digital Link standard (v1.2)

v1.2.2

05 Nov 11:14
9f350e0
Compare
Choose a tag to compare

Bug fixes

  • Corrected an error with a link in the readme (the version of the package wasn't the good one)

v1.2.1

02 Nov 12:20
abf08e6
Compare
Choose a tag to compare

Features

  • Added the possibility to create a Digital Link with a custom path (ex : https://example.com/custom/path/01/123456789)
  • Added the possibility to compress and decompress a Digital Link with a custom path
  • Moved to the latest compression toolkit
  • Added the possibility to choose if you want to sort your key qualifiers or not
  • Added the possibility to sort the key qualifiers with two ways
  • Added party-gln to the list of rules

Bug fixes

  • Corrected a bug with alpha numeric identifier
  • Updated grammar to make all fully numeric extension parameter invalid