Skip to content

Releases: ericblade/quagga2

1.0.3

11 May 07:24
3feb34c
Compare
Choose a tag to compare

Bug Fixes

  • Major overhaul of test system, should not affect code outside of very minor changes to accommodate new tests (#188)

  • Add deprecated video constraint maxAspectRatio (#188)

  • Add test to ensure that Quagga.CameraAccess exists (#188)

  • Make some rather noisy console logs only run in development configuration (#188)

1.0.2

03 May 19:01
ba24349
Compare
Choose a tag to compare

Bug Fixes

  • Add tests for import/require in Node (fix #119) (#184)

    Add test:require and test:import npm scripts, which test require for CJS modules and import for ESM modules. Add running them to all pull request tests on Github Actions.

  • Update core-js 3.6.4=>3.6.5 (#184)

  • Drop requirement for async module for running tests (fix #12) (#184)

    This satisifies the requirements for #12, as we no longer need to upgrade async module

  • Rewrite test runner that required async module using async javascript (#184)

  • Upgrade mocha to 5.2.0, close #15 (#184)

    Mocha cannot be upgraded beyond 5.2.0 without rebuilding test suite without PhantomJS. Therefore, this will close issue #15 in favor of #75.

  • Warn and ignore on invalid calls to on*, setReaders, registerReader (fix #47) (#184)

    Calls to onProcessed, onDetected, setReaders, and registerReader with invalid parameters will no longer generate errors later during the run, and will drop a console.trace output to help you find the place where you've incorrectly called the library.

  • Minor upgrade several other dev-deps (#184)

1.0.1

01 May 10:28
9f2419f
Compare
Choose a tag to compare

Bug Fixes

  • Snyx upgrade auto pr (#180)

1.0.0

01 May 10:05
Compare
Choose a tag to compare

Breaking Changes

  • Major restructuring, may cause breaking changes (#171)

  • Calls to decodeSingle no longer populate values inside the Quagga object (#171)

    • I have doubts that anyone is presently using both decodeSingle and start/stop interfaces intended for LiveStream in the same Quagga unit, but if you are -- this will be a functional change.
  • Parallel operation of multiple calls to decodeSingle works (#171)

    • In previous versions of quagga, calling decodeSingle several times would result in all callbacks being called with the first result that came back.
    • This has only been tested reasonably thoroughly in Node, not in Browser, so far.

Refactorings

  • Separate much of the global Quagga unit out to a separate class (#171)

    • Add src/quagga/quagga.ts
    • This was done to make it significantly easier to make parallel execution and allow for future refactor of multi-threaded execution
  • Minor cleanups to src/common/typedefs (#171)

Bug Fixes

  • Remove restriction on making parallel runs of decodeSingle (#171)

Fix access to canvas from Quagga object

26 Apr 07:00
Compare
Choose a tag to compare

Fixed access to Quagga.canvas attributes

remove injected clearfix, export BarcodeDecoder, lots of dependency upgrades, internal rework

16 Apr 00:15
73f9762
Compare
Choose a tag to compare
  • No longer inserts a
    tag into your document, preventing weird content reflows.
    If you used floating to position your things before, you'll need to either add your own clearfix, or preferably, find a better way to layout your page.
    See 592a5d0
  • Internal BarcodeDecoder component is now exported to the public. See 153289e
  • A ton of internal work has been performed converting a lot of code to TypeScript. All tests pass, but YMMV, so if you have any new problems, please reach out.

offDetected/offProcessed works with no arg, fix node functioning

16 Apr 00:07
Compare
Choose a tag to compare
  • This release works in Node again
  • offDetected() and offProcessed() may be called with no args to remove all handlers.

Fix working with Angular, bundle size, etc

07 Feb 00:04
9a4b77c
Compare
Choose a tag to compare
  • Fix problem noted in #130 failing to work with Angular
  • Fix this by removing polyfills from the package
  • This also returns our bundle size back to something more sane, like 160k or so for browser, and 1mb-ish for node (node is not minified.. i guess that's something we should maybe look into)
  • Fix for calling 'stop' before 'init', it no longer throws a runtime error
  • Fix inputstream.target definition in typescript declarations

Fix require('...').default to work again

07 Feb 00:00
Compare
Choose a tag to compare

fully fix #108

06 Feb 23:59
Compare
Choose a tag to compare

Previous release did not fully fix the problem, this one does