Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Latest commit

 

History

History
206 lines (133 loc) · 9.99 KB

CHANGELOG.md

File metadata and controls

206 lines (133 loc) · 9.99 KB

Changelog

4.14.2 - 2023-02-06 - Deprecated 🛑

4.14.1 - 2022-03-10

4.14.0 - 2022-03-10

Developer facing:

  • Fix GitHub Actions CI failing on Windows runners (windows-2022) (prebuild failing to build binaries), #165
  • Explain why test can fail when not enough devices from different vendors, #166

4.13.0 - 2021-10-14

  • Skipping linting/testing when publishing to npm via CI

4.12.0 - 2021-10-14

  • Add specific instructions for rebuilding for Electron, #133
  • Replace TravisCI and AppVeyor with GitHub Actions
    • Thanks to @mcous for the contribution
    • Bumped Node.js in CI to 12, 14, and 16
    • Bumped recommended Node.js version to 14
    • Dropped Linux x86 from CI, since Node.js stopped officially publishing Linux x86 builds after v8
  • Update and simplify development section in README as follows,
    • Thanks to @mcous for the contribution
    • Remove Python 2 requirement, because node-gyp now only supports Python 3 and Python 2 has been EOL'd
    • Remove some outdated links and instructions in favor of linking to node-gyp documentation

4.11.0 - 2021-03-04

4.10.0 - 2020-07-21

4.9.0 - 2020-04-23

  • Update dependencies (npm audit fix), #108
  • Remove fprintf logging from macOS and add conditional --debug flag when building if you want logs

4.8.0 - 2020-04-23

4.7.0 - 2019-11-24

4.6.0 - 2019-11-24

4.5.0 - 2019-10-06

4.4.0 - 2019-10-06

4.3.0 - 2019-05-27

4.2.0 - 2019-05-09

  • Add note about usbDetect.find() requiring usbDetect.startMonitoring() for proper results after insert/remove
  • Fix usbDetect.find(...) promise syntax/callback not working

4.1.0 - 2018-11-24

  • Add Windows backslash normalization for instance id's to fix certain USB devices not being detected

v4.0.0 - 2018-09-27

  • Use native Promises, #69
    • Now requires Node.js >=4
  • Update dependencies based on npm security audit, #70

v3.2.0 - 2018-07-23

v3.1.0 - 2018-06-04

v3.0.0 - 2018-05-13

  • Show multiple/duplicate USB devices on Windows
  • Update all dependencies

v2.1.0 - 2018-02-06

  • Add npm install hook that will use our prebuilt binaries instead of having to compile from source with node-gyp.
  • Remove side-effects when you require('usb-detection') so the process won't hang from just requiring.
  • Fix 100% CPU usage on Linux, #2
  • Ensure the process will exit gracefully across all platforms, #35

v2.0.1 - 2017-12-27

  • Remove npm install hook to prevent hanging the install process caused by prebuild-install verify require and our side-effects.
    • Thanks to @Lange for noticing an issue.

v2.0.0 - 2017-12-19

  • Remove side-effects when you require('usb-detection') so the process won't hang from just requiring. Now requires an explicit call to usbDetect.startMonitoring() to begin listening to USB add/remove/change events.
  • Add npm install hook that will use our prebuilt binaries instead of having to compile from source with node-gyp.

v1.4.2 - 2017-11-11

  • Remove npm install hook to prevent hanging the install process caused by prebuild-install verify require and our side-effects.

v1.4.1 - 2017-11-11

v1.4.0 - 2016-03-20

v1.3.0 - 2015-10-11

v1.2.0 - 2015-06-12

  • New maintainer/owner @MadLittleMods. Previously maintained by @adrai 👍
  • Add tests npm test
  • find now also returns a promise
  • Format js and c++
    • Added eslint file, linter code style guidelines
  • Alias insert as the add event name for .on
  • Update readme
    • Fix usage section .on callbacks which do not actually have a err parameter passed to the callback
    • Add API section to document clearly all of the methods and events emitted
    • Add test instructions

v1.1.0

  • Add support for Node v0.12.x

v1.0.3

  • Revert "ready for node >= 0.11.4"

v1.0.2

  • Fix issues found via cppcheck

v1.0.1

  • Ready for node >= 0.11.4

v1.0.0

  • First release