ng-qrcode
Version:
Simple AOT compatible QR code generator for your Angular project.
112 lines (80 loc) • 3.48 kB
Markdown
# 19.0.1 - 2025-01-05
- Bring back `QrCodeModule` for backwards compatibility (#109)
# 19.0.0 - 2025-01-05
- Support Angular 19 (#106)
- `QrCodeComponent` and `QrCodeDirective` are now `standalone` components
<strike>
*BREAKING CHANGES:*
- `QrCodeComponent` and `QrCodeDirective` are now `standalone` components
- `QrCodeModule` has been removed
</strike>
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](https://github.com/mnahkies/ng-qrcode#importing) for instructions on how to import the
components correctly after these changes, but **tldr; replace imports of `QrCodeModule` with `QrCodeComponent`**
# 18.0.0 - 2024-05-25
- Support Angular 18 (#98)
- Add new inputs `style` / `styleClass` (#88)
# 17.0.0 - 2023-11-20
- Support Angular 17 (#84 / #85)
# 16.0.0 - 2023-05-05
- Support Angular 16 (#76)
- Begin matching major version to major Angular version (hence the jump from `8` -> `16`)
# 8.0.1 - 2022-12-03
- Fix center image disappearing when other values are updated (#71)
# 8.0.0 - 2022-12-03
- Support Angular 15 (#70)
# 7.0.0 - 2022-06-16
- Support Angular 14 (#58)
- Lockfile maintenance (#62)
# 6.0.0 - 2021-11-20
- Support Angular 13
- Lockfile maintenance
# 5.2.0 - 2021-10-17
- Support `darkColor` and `lightColor` inputs
- Lockfile maintenance
# 5.1.1 - 2021-10-03
- Dependencies updated, rebuild with latest angular-devkit
# 5.1.0 - 2021-10-03
- Support configuring margin around the qr code (rendered within the canvas element)
# 5.0.0 - 2021-06-17
- 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.
# 4.3.0 - 2021-10-03
(backport release of changes in 5.1.0)
- Support configuring margin around the qr code (rendered within the canvas element)
# 4.2.0 - 2021-04-11
- 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
# 4.1.0 - 2020-11-14
- Support Angular 11
# 4.0.1 - 2020-09-04
- Forgot to include README in 4.0.0
# 4.0.0 - 2020-09-04
- Support Angular 10
- Dependencies updated
*BREAKING CHANGES:* Dropped support for angular versions prior to v10
# 3.1.0 - 2020-03-14
- Support Angular 9
- Dependencies updated
- Export `QrCodeDirective` (though `QrCodeComponent` should be preferred)
# 3.0.2 - 2019-12-13
- Dependencies updated
- Amend README.md to note workarounds for https://github.com/mnahkies/ng-qrcode/issues/2#issuecomment-563414305
# 3.0.1 - 2019-08-11
- Amend README.md
# 3.0.0 - 2019-08-11
- 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.
# 2.0.0 - 2019-05-12
- 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