Skip to content

Releases: zpao/qrcode.react

v1.0.1

22 Mar 16:38
Compare
Choose a tag to compare

Added

  • Added React v17 to allowed peer dependencies.

Fixed

  • Handle mounting server rendered content properly.
  • Handle updates to embedded image properly.

v1.0.0

22 Sep 16:42
Compare
Choose a tag to compare

Added

  • Support for embedding image into QR Code.

Changed

  • Remove PropTypes in production environments.

v0.9.3

22 Sep 16:42
Compare
Choose a tag to compare

Fixed

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

v0.9.2

04 Jan 01:51
Compare
Choose a tag to compare

Fixed

  • Properly support new includeMargin prop in the canvas renderer.

v0.9.1

27 Dec 16:58
Compare
Choose a tag to compare

Fixed

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

v0.9.0

27 Dec 16:58
Compare
Choose a tag to compare

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.

v0.8.0

27 Dec 16:58
Compare
Choose a tag to compare

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.).

v0.7.2

27 Dec 17:00
Compare
Choose a tag to compare

Added

  • Added support for React v16

v0.7.1

27 Dec 17:00
Compare
Choose a tag to compare

Fixed

  • Removed flow-bin from dependencies

v0.7.0

27 Dec 17:00
Compare
Choose a tag to compare

Removed

  • Removed support for React < 15.5