Corrected issue with loading types in Typescript when configured with "moduleResolution": "Bundler" or "module": "ESNext". (#368)
v4.0.0
Added
Added proper support for ref, enabling direct access for underlying canvas or svg nodes. This also resulted in much more accurate type defitions. (#202)
Added support for marginSize prop, replacing the now deprecated includeMargin. This enables margins of any value, not just 0 or 4. (#281)
Added Support for Setting Image Opacity via imageSettings.opacity (#292)
Added minVersion prop to give better control over QR Code generated (#323)
Added support for specifying cross-origin for embedded images via imageSettings.crossOrigin. (#324)
Changed
Improved accessibility for QRCodeSVG by rendering a <title> node instead of setting a title attribute. (#284)
Improved accessibility with explicit role set on rendered SVG and Canvas. (#321)
Improved documentation (###)
Used better types in TypeScript for ErrorCorrectionLevel, resulting in better developer experience. (#291)
Deprecated
The includeMargin prop has been deprecated in favor of marginSize. (#281)
Removed
Removed default export which was deprecated in v3. (#208)
Remove explicit style prop. This still works identically as it was passed through and the type definitions are unaffected as they were improved via the ref changes (#357)
Fixed
Improved support for dual publishing of ESM/CJS modules for better compatibility with tools. (#301)
Set explicit display names for improved debugging experience. (#304)
Improved SVG compatibility by using href in place of xlink:href for embedded images. (#336)
Mitigated warnings when using QRCodeSVG in server components (#352)
Corrected issue with loading types in Typescript when configured with "moduleResolution": "Bundler" or "module": "ESNext". (#368)
[4.0.0] - 2024-08-27
Added
Added proper support for ref, enabling direct access for underlying canvas or svg nodes. This also resulted in much more accurate type defitions. (#202)
Added support for marginSize prop, replacing the now deprecated includeMargin. This enables margins of any value, not just 0 or 4. (#281)
Added Support for Setting Image Opacity via imageSettings.opacity (#292)
Added minVersion prop to give better control over QR Code generated (#323)
Added support for specifying cross-origin for embedded images via imageSettings.crossOrigin. (#324)
Changed
Improved accessibility for QRCodeSVG by rendering a <title> node instead of setting a title attribute. (#284)
Improved accessibility with explicit role set on rendered SVG and Canvas. (#321)
Used better types in TypeScript for ErrorCorrectionLevel, resulting in better developer experience. (#291)
Deprecated
The includeMargin prop has been deprecated in favor of marginSize. (#281)
Removed
Removed default export which was deprecated in v3. (#208)
Remove explicit style prop. This still works identically as it was passed through and the type definitions are unaffected as they were improved via the ref changes (#357)
Fixed
Improved support for dual publishing of ESM/CJS modules for better compatibility with tools. (#301)
Set explicit display names for improved debugging experience. (#304)
Improved SVG compatibility by using href in place of xlink:href for embedded images. (#336)
Mitigated warnings when using QRCodeSVG in server components (#352)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps qrcode.react from 3.1.0 to 4.0.1.
Release notes
Sourced from qrcode.react's releases.
Changelog
Sourced from qrcode.react's changelog.
Commits
6ed04d6
4.0.1d36e165
Update changelog for v4.0.16fedf3d
Update Makefile for #3685837f8f
fix: Add types to exports field in package.json to resolve type errors (#368)fe9b709
4.0.00653660
v4.0.0 is coming...76adcd8
Improve documentation (#358)38e030a
Support permalinking examples (#365)1c7da3c
Fix handling of negativemarginSize
(#364)2c56ff7
Switch to@testing-library/react
(#362)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show