Release of evrythng-scan.js v2.0!

We are pleased to announce the release of a new major version of the evrythng-scan.js SDK (and also the requisite updates to SCANTHNG) - v2.0. See the release notes for an overview of the changes.

This new version introduces some new features for developers to try out, as well as some major version breaking changes made to promote flexibility and conformity with other areas of the SDK. All removed options can be replaced with more standardised calls.

New Features

  • New Optical Character Recognition (OCR) capability.
  • A new identify() method to allow lookup of a recognised code’s associated Thng/product using the encoded value in the identifier.
  • A new redirect() method to allow more flexible redirection from a scan result.
  • The ability to create any desired action type, not just scans.
  • The ability to show the ‘in-progress’ spinner on any HTML element, or hide it altogether.

## Breaking Changes

  • A new standardised response format.
  • A new standardised request query format using a new filter parameter.
  • A new perPage parameter to specify how many result per page.
  • Removal of some options, such as createScanAction, redirect, timeout, and a few more.

You can see more details of the changes in the release notes, and read the evrythng-scan.js v2.0 migration guide to learn how to update any affected code.

Documentation Updates

Alongside this new version come updates to various parts of the Developer Hub, including: