Skip to content

Version 1.0.0

Latest
Compare
Choose a tag to compare
@KilianB KilianB released this 28 Aug 09:28

Version 1.0.0 - 27.08.2022

This is the first release of the package with various bug fixes and dependencies updates from the original repo.
This package can be installed by running.

npm install styled-qr-code or yarn add styled-qr-code

Breaking change

  • removed the deprecated method signature download(extension: string). Now only download({name: 'qr', extension: 'png') is supported
  • The orientation of the generated qr code has been fixed to generate qr codes compatible with all known scanners see #49 #105 QR code is not valid by some scanners.
    An configuration option useLegacyDotRotation has been added to restore the previous behavior.
  • images options crossOrigin are now set to anonymous by default

Feat

Dependencies

Updated multiple dependencies and resolved security vulnerabilities. For a full list see: [https://github.com/KilianB/styled-qr-code/commit/535017b1e8dba2eb66666e42eb61e15f8a9866b9#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519](package diff)

Misc

  • update example to include legacy and new qr code generation codes