Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Bump mobile_scanner from 2.1.0 to 3.0.0 #110

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 13, 2023

Bumps mobile_scanner from 2.1.0 to 3.0.0.

Release notes

Sourced from mobile_scanner's releases.

v3.0.0

This big release contains all improvements from the beta releases. In addition to that, this release contains:

Improvements:

  • Fixed an issue in which the scanner would freeze if two scanner widgets where placed in a page view, and the paged was swiped. An example has been added in the example app. You need to set startDelay: true if used in a page view.
  • [Web] Automatically inject js libraries.
  • [macOS] The minimum build version is now macOS 10.14 in according to the latest Flutter version.
  • [Android] Fixed an issue in which the scanWindow would remain even after disposing the scanner.
  • Updated dependencies.

v3.0.0-beta.4

Fixes:

  • Fixes a permission bug on Android where denying the permission would cause an infinite loop of permission requests.
  • Updates the example app to handle permission errors with the new builder parameter. Now it no longer throws uncaught exceptions when the permission is denied.
  • Updated several dependencies

Features:

  • Added a new errorBuilder to the MobileScanner widget that can be used to customize the error state of the preview. (Thanks @​navaronbracke !)

v3.0.0-beta.3

Special thanks to p-mazhnik, navaronbracke and WenheLI for the code improvements and new features!

Deprecated:

  • The onStart method has been renamed to onScannerStarted.
  • The onPermissionSet argument of the MobileScannerController is now deprecated.

Breaking changes:

  • MobileScannerException now uses an errorCode instead of a message.
  • MobileScannerException now contains additional details from the original error.
  • Refactored MobileScannerController.start() to throw MobileScannerExceptions with consistent error codes, rather than string messages. To handle permission errors, consider catching the result of MobileScannerController.start().
  • The autoResume attribute has been removed from the MobileScanner widget. The controller already automatically resumes, so it had no effect.
  • Removed MobileScannerCallback and MobileScannerArgumentsCallback typedef.
  • [Web] Replaced jsqr library with zxing-js for full barcode support.

Improvements:

  • Toggling the device torch now does nothing if the device has no torch, rather than throwing an error.
  • Removed called stop while already stopped messages.

Features:

  • You can now provide a scanWindow to the MobileScanner() widget.
  • You can now draw an overlay over the scanned barcode. See the barcode scanner window in the example app for more information.
  • Added a new placeholderBuilder function to the MobileScanner widget to customize the preview placeholder.
  • Added autoStart parameter to MobileScannerController(). If set to false, controller won't start automatically.

... (truncated)

Changelog

Sourced from mobile_scanner's changelog.

3.0.0

This big release contains all improvements from the beta releases. In addition to that, this release contains:

Improvements:

  • Fixed an issue in which the scanner would freeze if two scanner widgets where placed in a page view, and the paged was swiped. An example has been added in the example app. You need to set startDelay: true if used in a page view.
  • [Web] Automatically inject js libraries.
  • [macOS] The minimum build version is now macOS 10.14 in according to the latest Flutter version.
  • [Android] Fixed an issue in which the scanWindow would remain even after disposing the scanner.
  • Updated dependencies.

3.0.0-beta.4

Fixes:

  • Fixes a permission bug on Android where denying the permission would cause an infinite loop of permission requests.
  • Updates the example app to handle permission errors with the new builder parameter. Now it no longer throws uncaught exceptions when the permission is denied.
  • Updated several dependencies

Features:

  • Added a new errorBuilder to the MobileScanner widget that can be used to customize the error state of the preview. (Thanks @​navaronbracke !)

3.0.0-beta.3

Deprecated:

  • The onStart method has been renamed to onScannerStarted.
  • The onPermissionSet argument of the MobileScannerController is now deprecated.

Breaking changes:

  • MobileScannerException now uses an errorCode instead of a message.
  • MobileScannerException now contains additional details from the original error.
  • Refactored MobileScannerController.start() to throw MobileScannerExceptions with consistent error codes, rather than string messages. To handle permission errors, consider catching the result of MobileScannerController.start().
  • The autoResume attribute has been removed from the MobileScanner widget. The controller already automatically resumes, so it had no effect.
  • Removed MobileScannerCallback and MobileScannerArgumentsCallback typedef.
  • [Web] Replaced jsqr library with zxing-js for full barcode support.

Improvements:

  • Toggling the device torch now does nothing if the device has no torch, rather than throwing an error.
  • Removed called stop while already stopped messages.

Features:

  • You can now provide a scanWindow to the MobileScanner() widget.
  • You can now draw an overlay over the scanned barcode. See the barcode scanner window in the example app for more information.
  • Added a new placeholderBuilder function to the MobileScanner widget to customize the preview placeholder.
  • Added autoStart parameter to MobileScannerController(). If set to false, controller won't start automatically.
  • Added hasTorch function on MobileScannerController(). After starting the controller, you can check if the device has a torch.
  • [iOS] Support torchEnabled parameter from MobileScannerController() on iOS

... (truncated)

Commits
  • ec94f6d release of v3.0.0
  • 57459ae Merge pull request #477 from juliansteenbakker/dependabot/gradle/android/com....
  • 3aaa551 Merge pull request #474 from juliansteenbakker/dependabot/gradle/example/andr...
  • 1714711 chore(deps): bump com.android.tools.build:gradle in /android
  • 1f0bebb chore(deps): bump com.android.tools.build:gradle in /example/android
  • 5cf318c Merge pull request #471 from p-mazhnik/pavel/web-debug-fix
  • 971eb0d Merge pull request #470 from juliansteenbakker/bug/parameter-not-resetting
  • 5e85a5c fix(web): fix loading js scripts in debug mode in flutter 3.7
  • 79696d7 imp: remove null check
  • 91b6841 imp: update macos version
  • Additional commits viewable in compare view

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 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 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 [mobile_scanner](https://github.com/juliansteenbakker/mobile_scanner) from 2.1.0 to 3.0.0.
- [Release notes](https://github.com/juliansteenbakker/mobile_scanner/releases)
- [Changelog](https://github.com/juliansteenbakker/mobile_scanner/blob/master/CHANGELOG.md)
- [Commits](juliansteenbakker/mobile_scanner@v2.1.0...v3.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 13, 2023
@vercel
Copy link

vercel bot commented Feb 13, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
oneapp ❌ Failed (Inspect) Feb 13, 2023 at 8:09AM (UTC)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants