changelogs.md


zpao/qrcode.react

Repository  -  API  -  Source

0.9.3

February 17, 2019

Fixed

  • Updated Path2D detection to exclude browsers which don't support string constructor (Edge).

0.9.2

January 3, 2019

Fixed

  • Properly support new includeMargin prop in the canvas renderer.

0.9.1

December 27, 2018

Fixed

  • Consume non-DOM prop in canvas renderer to prevent spurious warnings from React.

0.9.0

December 22, 2018

Added

  • Support for includeMargin prop, to include the "quiet zone" in rendering

Changed

  • Updated canvas renderer to use Path2D (where available), and simplify the render. This fixes some rendering inconsistencies.
  • Switched to using React.PureComponent instead of a custom shouldComponentUpdate method.

0.8.0

February 19, 2018

Added

  • New renderAs prop, with support for rendering to SVG. This is a more versatile target for high quality visuals.
  • Support for style, className, and any other DOM props that might be passed through (e.g. data-*).
  • Support for proper encoding of multibyte strings (Chinese, Japanese, Emoji, etc.).

0.7.2

October 1, 2017

Added

  • Added support for React v16

0.7.1

April 27, 2017

Fixed

  • Removed flow-bin from dependencies

0.7.0

April 25, 2017

Removed

  • Removed support for React < 15.5

0.6.1

April 13, 2016
  • Extended support to React v15

0.6.0

February 2, 2016

Added

  • Added support for specifying the Error Correction level (e.g. level="H")

Changed

  • Default Error Correction level is now 'L' (was implicitly 'H')

0.5.2

November 20, 2015

Fixed

  • Fixed bug preventing usage in IE < 11

0.5.1

October 14, 2015

Changed

  • Extended support to React v0.14

0.5.0

July 28, 2015

Added

  • Added support for HiDPI screens by scaling the <canvas>
  • Added shouldComponentUpdate bailout to prevent unnecessary rendering