Skip to content

chore(deps): bump qr from 3.0.2 to 4.0.0 in /packages/ui_flutter - #514

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/packages/ui_flutter/qr-4.0.0
Open

chore(deps): bump qr from 3.0.2 to 4.0.0 in /packages/ui_flutter#514
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/packages/ui_flutter/qr-4.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 13, 2026

Copy link
Copy Markdown

Bumps qr from 3.0.2 to 4.0.0.

Release notes

Sourced from qr's releases.

package:qr v4.0.0

  • Breaking Change: Removed QrBitBuffer from public exports to tighten the API surface.
  • Breaking Change: QrErrorCorrectLevel is now an enum (low, medium, quartile, high) instead of a class with integer constants (L, M, Q, H).
  • Breaking Change: QrCode and QrImage constructors and properties now use the QrErrorCorrectLevel enum instead of integers.
  • Breaking Change: Removed dataCache getter from QrCode.
  • Breaking Change: QrCode is now immutable. Removed addData, addByteData, addNumeric, addAlphaNumeric, and addECI from QrCode.
  • Breaking Change: Consolidated QrCode constructors into a single public factory constructor taking QrPayload, errorCorrectLevel, and an optional minTypeNumber. Removed QrCode.fromData, QrCode.fromUint8List, and QrCode.fromPayload.
  • Breaking Change: Replaced Uint8List and ByteData in public API signatures with TypedData.
  • Breaking Change: Marked all public classes (QrCode, QrImage, QrPayload, QrValidationResult, InputTooLongException) as final class to enforce structural immutability and prevent external subtyping.
  • Added QrPayload class as a standalone accumulator for multi-part data and encoding modes (Numeric, Alphanumeric, Byte, ECI). Includes constructors fromString, fromTypedData, and methods addString, addTypedData, addNumeric, addAlphaNumeric, addECI.
  • Added Extended Channel Interpretation (ECI) support via QrPayload.addECI and the QrEciValue extension type.
  • Added QrValidationResult.fromPayload factory constructor to validate QR code payloads and predict valid configurations.
  • Added QrValidationResult class returned by validation constructor.
  • QrPayload.fromString and QrPayload.addString now intelligently pick the right mode.
  • Throws InputTooLongException for data that exceeds QR code version 40 capacity, preventing the generation of invalid QR codes.
  • Performance improvements for QR code generation.
    • QrImage generation is ~50% faster.
    • LargeQrCode generation is ~40% faster.
  • Require sdk: ^3.11.0.
Changelog

Sourced from qr's changelog.

4.0.0

  • Breaking Change: Removed QrBitBuffer from public exports to tighten the API surface.
  • Breaking Change: QrErrorCorrectLevel is now an enum (low, medium, quartile, high) instead of a class with integer constants (L, M, Q, H).
  • Breaking Change: QrCode and QrImage constructors and properties now use the QrErrorCorrectLevel enum instead of integers.
  • Breaking Change: Removed dataCache getter from QrCode.
  • Breaking Change: QrCode is now immutable. Removed addData, addByteData, addNumeric, addAlphaNumeric, and addECI from QrCode.
  • Breaking Change: Consolidated QrCode constructors into a single public factory constructor taking QrPayload, errorCorrectLevel, and an optional minTypeNumber. Removed QrCode.fromData, QrCode.fromUint8List, and QrCode.fromPayload.
  • Breaking Change: Replaced Uint8List and ByteData in public API signatures with TypedData.
  • Breaking Change: Marked all public classes (QrCode, QrImage, QrPayload, QrValidationResult, InputTooLongException) as final class to enforce structural immutability and prevent external subtyping.
  • Added QrPayload class as a standalone accumulator for multi-part data and encoding modes (Numeric, Alphanumeric, Byte, ECI). Includes constructors fromString, fromTypedData, and methods addString, addTypedData, addNumeric, addAlphaNumeric, addECI.
  • Added Extended Channel Interpretation (ECI) support via QrPayload.addECI and the QrEciValue extension type.
  • Added QrValidationResult.fromPayload factory constructor to validate QR code payloads and predict valid configurations.
  • Added QrValidationResult class returned by validation constructor.
  • QrPayload.fromString and QrPayload.addString now intelligently pick the right mode.
  • Throws InputTooLongException for data that exceeds QR code version 40 capacity, preventing the generation of invalid QR codes.
  • Performance improvements for QR code generation.
    • QrImage generation is ~50% faster.
    • LargeQrCode generation is ~40% faster.
  • Require sdk: ^3.11.0.
Commits

Dependabot compatibility score

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 show <dependency name> 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 [qr](https://github.com/kevmoo/qr.dart) from 3.0.2 to 4.0.0.
- [Release notes](https://github.com/kevmoo/qr.dart/releases)
- [Changelog](https://github.com/kevmoo/qr.dart/blob/master/CHANGELOG.md)
- [Commits](kevmoo/qr.dart@v3.0.2...v4.0.0)

---
updated-dependencies:
- dependency-name: qr
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file dart Pull requests that update dart code labels Aug 13, 2026
@github-actions
github-actions Bot enabled auto-merge August 13, 2026 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dart Pull requests that update dart code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants