- Bring back
QrCodeModule
for backwards compatibility (#109)
- Support Angular 19 (#106)
QrCodeComponent
andQrCodeDirective
are nowstandalone
components
Update: 19.0.1 brings back the QrCodeModule
such that this should be a non-breaking change. It's
still recommended to migrate away from using the QrCodeModule
See the readme for instructions on how to import the
components correctly after these changes, but tldr; replace imports of QrCodeModule
with QrCodeComponent
- Support Angular 18 (#98)
- Add new inputs
style
/styleClass
(#88)
- Support Angular 17 (#84 / #85)
- Support Angular 16 (#76)
- Begin matching major version to major Angular version (hence the jump from
8
->16
)
- Fix center image disappearing when other values are updated (#71)
- Support Angular 15 (#70)
- Support Angular 14 (#58)
- Lockfile maintenance (#62)
- Support Angular 13
- Lockfile maintenance
- Support
darkColor
andlightColor
inputs - Lockfile maintenance
- Dependencies updated, rebuild with latest angular-devkit
- Support configuring margin around the qr code (rendered within the canvas element)
- Support Angular 12
- Enable "partial-ivy" distribution format - https://angular.io/guide/creating-libraries#building-libraries-with-ivy
BREAKING CHANGES: Dropped support for angular versions prior to v12, require applications to be using Ivy rather than deprecated ViewEngine.
(backport release of changes in 5.1.0)
- Support configuring margin around the qr code (rendered within the canvas element)
- Support rendering an image in the center of the generated QR code
- Use default error correction level correctly if undefined is passed to the input
- Documentation improvements
- Support Angular 11
- Forgot to include README in 4.0.0
- Support Angular 10
- Dependencies updated
BREAKING CHANGES: Dropped support for angular versions prior to v10
- Support Angular 9
- Dependencies updated
- Export
QrCodeDirective
(thoughQrCodeComponent
should be preferred)
- Dependencies updated
- Amend README.md to note workarounds for #2 (comment)
- Amend README.md
- Dependencies updated for Angular 8, Angular 7 support retained
** Breaking Changes **
- Type error correction level correctly using string union rather than string. This type narrowing may cause a build error if consuming projects are not passing a valid value for this input. No change to behavior/code - type only change.
-
Re-written to use qrcode npm module to generate QR codes in browsers using JavaScript
-
Add errorCorrectionLevel input to qr-code component
Breaking Changes
- NgModule QRCodeModule renamed to QrCodeModule
- Module re-written, therefore testing recommended when upgrading