13 KiB
13 KiB
Changelog
[2.15.0] - 2025-02-21
Added
- Added support for
device.setAutoDetachKernelDriverand set this to true for all devices in the WebUSB API -859(Rob Moran)
[2.14.0] - 2024-09-15
Fixed
- Fixed fatal exceptions by using
ThrowAsJavaScriptExceptioninstead ofNapi::Error::Fatal-817(cleoo)
[2.13.0] - 2024-05-26
Changed
Added
- Added nullchecks and errorchecks in descriptor parsing -
764(Seth Foster)
[2.12.1] - 2024-03-09
Changed
[2.12.0] - 2024-03-02
Added
- Added prebuilt binary for Windows Arm64 -
735(Rob Moran) - Added exception handling -
738(Rob Moran) - Added exception when trying to transfer and device is closed -
715(Rob Moran)
Changed
- Precreate async transfer functions to increase speed -
725(Cosmin Tanislav) - Precreate all other async functions to increase speed -
730(Rob Moran)
Fixed
- Explicitly set configuration in WebUSB for vendor-specific devices on macos -
739(Jouni Airaksinen) - Handle exception when loading library on WSL -
726(Julian Waller) - Comment typo fix -
723(koji)
[2.11.0] - 2023-10-02
Fixed
- Allow use of close on a closed device -
676(Julien Vanier)
[2.10.0] - 2023-08-22
Fixed
- Fixed using callbacks in startPolling -
631(Tim Strazzere)
[2.9.0] - 2023-03-16
Changed
- Updated node-addon-api to v6.0 -
581(Maarten Bent)
[2.8.3] - 2023-03-09
Fixed
- Fixed Windows X86 crash with USB detection -
578(Julian Waller) - Fixed Windows USB detection race condition with delay -
577(Rob Moran)
[2.8.2] - 2023-03-06
Added
- Added new
usb.pollHotplugsetting to allow users to force hotplug detection using polling -576(Rob Moran)
[2.8.1] - 2023-02-26
Changed
- Reworked WebUSB options.allowedDevices to allow pre-authorisation using any filter -
574(Rob Moran) - Updated requestDevice errors to use correct names -
575(Rob Moran)
[2.8.0] - 2023-02-11
Changed
[2.7.0] - 2023-01-25
Fixed
- Return same WebUSB device on subsequent calls -
567(Nisarg Jhaveri)
[2.6.0] - 2022-12-10
Changed
- Updated build dependencies and now using Python 3.x for builds (shouldn't affect package) -
563(Rob Moran)
[2.5.3] - 2022-12-06
Changed
- Allow multiple polling to fail -
556(Tim Strazzere) - Ignore creation issues during attach and list -
550(Rob Moran)
[2.5.2] - 2022-09-24
Fixed
- Allow errors during WebUSBDevice creation to be thown -
549(Rob Moran) - Ensure cmNotifyFilter is kept alive for the duration of the hotplug detetion on Windows -
541(Julian Waller)
Changed
- Export all types at the top level of the package -
544(Rob Moran) - Trimmed TypeScript source from release package -
536(Rob Moran)
[2.5.1] - 2022-08-29
Fixed
- USB device plug/unplug detection on Windows when devce already attached -
531(Rob Moran) - Removed dependency on yarn in package.json scripts -
535(Rob Moran)
[2.5.0] - 2022-07-30
Fixed
- Native USB device plug/unplug detection on Windows -
524(Julian Waller)
[2.4.3] - 2022-06-21
Fixed
[2.4.2] - 2022-05-27
Fixed
- Fixed multiple events with device detection on Windows -
512(Alba Mendez)
[2.4.1] - 2022-05-07
Fixed
- Fixed node engine ranges in package.json - (Rob Moran)
[2.4.0] - 2022-05-02
Fixed
- Made addon context aware -
512(Rob Moran & Alba Mendez) - Fixed deprecation of
libusb_set_option-510(Rob Moran)
Changed
- Breaking: Updated to N-API version 6 (Node >=10.20.0 <11.x, >=12.17.0 <13.0, >=14.0.0) -
509(Rob Moran)
Added
Removed
[2.3.1] - 2022-04-11
Changed
[2.3.0] - 2022-04-11
Changed
- Changed libusb dependency to upstream v1.0.26 -
505(Rob Moran) - Cleaned up Windows device polling method -
496(Alba Mendez)
[2.2.0] - 2022-03-25
Added
Changed
Fixed
- Shortcut getStringDescriptor() to return undefined when passed index 0 -
487(Rob Moran) - Fixed race issue with garbage collected devices -
492(Alba Mendez)
[2.1.3] - 2022-03-18
Fixed
[2.1.2] - 2022-02-09
Fixed
[2.1.1] - 2022-02-07
Fixed
[2.1.0] - 2022-01-29
Added
- Added
getWebUsb()convenience method -467(Rob Moran) - Added initialize() error -
470(Gerrit Niezen)
Fixed
[2.0.3] - 2021-12-13
Added
- Added definition for
NAPI_VERSION 4and added N-API v4 target to prebuildify - (Rob Moran)
[2.0.2] - 2021-12-12
Fixed
- Fixed error with trying to close WebUSB devices after they had failed to open - (Rob Moran)
[2.0.1] - 2021-12-11
Added
- Added new WebUSB API -
443(Rob Moran) - Switched to TypeScript
- Switched to yarn instead of npm
- Added docs using Typedoc
[1.9.2] - 2021-12-05
Fixed
- Fixed exit delay and hang by moving queue start/stop to device open/close -
460(MikeColeGuru)
[1.9.1] - 2021-11-14
Fixed
[1.9.0] - 2021-11-08
Changed
[1.8.1] - 2021-11-08
Added
- Added functionality to ref/unref the hotplug events -
455(Guilherme Francescon) - Added CHANGELOG -
454(Rob Moran)
Fixed
[1.8.0] - 2021-10-14
Added
Fixed
- Fixed crash after wake on Windows when using Electron -
451(Rob Moran) - Fixed invalid initial refs -
445(Alba Mendez)
Changed
[1.7.2] - 2021-08-30
Fixed
- Fixed crash when exiting on MacOS with Electron 9 -
440(Daniel Main)
Changed
[1.7.1] - 2021-05-08
Fixed
- Fixed compiler warnings -
419(Joel Purra)
[1.7.0] - 2021-04-10
Changed
- Changed native support to use Node Addon API -
399(Georg Vienna)
[1.6.5] - 2021-02-14
Changed
- Changed prebuild for Electron 12 beta to nightly -
410(Piotr Rogowski)
Removed
[1.6.4] - 2021-01-30
Added
- Added prebuild for Electron 10 and 12 beta -
407(Rob Moran) - Added prebuild for Electron 9 -
362(Luke Whyte)
Changed
- Changed to GitHub Actions for prebuild workflow -
404(Rob Moran) - Changed Node.js 13 prebuild target to Node.js 14 -
374(Micah Zoltu)