Releases: evrythng/digital-link.js
Releases · evrythng/digital-link.js
v1.4.3
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
Features
- linkType is now a property of DigitalLink (and not an attribute anymore), two methods have been created:
setLinkType
andgetLinkType
.
However,getAttribute('linkType')
andgetAttributes().linkType
are still possible.
v1.2.4
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
Features
Updated ABNF and grammar file to fit the latest version of the Digital Link standard (v1.2)
v1.2.2
Bug fixes
- Corrected an error with a link in the readme (the version of the package wasn't the good one)
v1.2.1
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
anddecompress
aDigital 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