FYI.

The first three should help people running older OpenOCD
version (eg: 0.11.0).
* Fix regression with transfer free's after closing device
* Fix regression with destroyed context if API is misused
* Workaround for applications using missing default context
* Fix macOS exit crash in some multi-context cases

Best regards,
Xiaofan

---------- Forwarded message ---------
From: Tormod Volden <lists.tor...@gmail.com>
Date: Mon, Apr 11, 2022 at 2:08 AM
Subject: [libusb] Announcing libusb v1.0.26
To: <libusb-de...@lists.sourceforge.net>


We are pleased to announce the final release of libusb 1.0.26.

This release comes relatively quickly after the 1.0.25 release to
mitigate regressions regarding references between transfers and device
structures that were causing applications to crash. In some cases
applications were misusing the libusb API and warnings will be
generated instead, to help such applications getting fixed. A big
thanks goes to Benjamin Berg for analyzing and fixing these issues.

Isochronous streaming now works on WinUSB again, this was an older regression.

Overall, the goals for this release were: Fix all regressions, don't
introduce new ones, build fixes and small, safe changes.

ChangeLog since previous version 1.0.25:

* Fix regression with transfer free's after closing device
* Fix regression with destroyed context if API is misused
* Workaround for applications using missing default context
* Fix hotplug enumeration regression
* Fix Windows isochronous transfer regression since 1.0.24
* Fix macOS exit crash in some multi-context cases
* Build fixes for various platforms and configurations
* Fix Windows HID multi-interface product string retrieval
* Update isochronous OUT packet actual lengths on Windows
* Add interface bound checking for broken devices
* Add umockdev tests on Linux

The 1.0.26 release was made possible by the contributions from a dozen
patch submitters (see below git shortlog) plus everyone who
contributed with issue reporting, discussions and testing.

The source code tarball can be downloaded here:
https://github.com/libusb/libusb/releases/download/v1.0.26/libusb-1.0.26.tar.bz2

An archive of Windows/macOS binaries can be downloaded here:
https://github.com/libusb/libusb/releases/download/v1.0.26/libusb-1.0.26-binaries.7z

Note that the release tarball includes a configure script so unlike a
git checkout it is not necessary to bootstrap with autoconf.

To attract developer attention, feedback and testing I would also like
to take the opportunity to mention a few of the WIP features for
future releases (GitHub ticket numbers in parentheses):
Proper Android support (874), WebAssembly+WebUSB support (1057),
Windows composite functions (965), WinUSB RAWIO support (1069).

On behalf of the libusb development community,
Tormod

--


Andrew Goodney (1):
      darwin: Use usbi_get_monotonic_time() wrapper

Benjamin Berg (7):
      core: Unset device ctx if it has been destroyed
      io: Track device in usbi_transfer
      core: Suppress hotplug events during initial enumeration
      tests: Add some umockdev based tests
      Add container build for umockdev
      core: Install first context as implicit default (and warn about its use)
      darwin: Fix crash in log handler when stopping event thread

Fabrice Fontaine (1):
      configure.ac: link with -latomic if needed

Keith Ahluwalia (1):
      windows: Fix WinUSB isochronous transfer regression

Martin Ling (1):
      darwin: Document OS-specific behaviour of libusb_cancel_transfer

Mathias Hjärtström (1):
      windows: Fix product string retrieval on HID composite devices

Ryan Hileman (1):
      Add interface bounds checks in darwin and windows endpoint functions

Seneral (1):
      windows: Correct isochronous frame calculation for full-speed devices

Shawn Hoffman (1):
      windows: Silence zero-sized array warning in libusb.h for msvc

Tormod Volden (14):
      windows: Link gcc helpers statically on MinGW
      darwin: Avoid possibly undefined version macro in configure.ac
      darwin: Avoid cast warnings in time calculation
      windows: Add Windows 11 to list of defined releases
      windows: Discern Windows 11 (if manifest allows)
      windows: Add "or later" to debug print of Windows version 8
      appveyor: Retain MinGW and cygwin build artifacts
      darwin: Always use GetPipePropertiesV3 when available
      darwin: Fix Makefile build on macOS 10.11 and older
      libusb 1.0.26-rc1
      CI: Add MinGW build on MSYS2 (Windows)
      windows: Fix type mismatch in winusbx_copy_transfer_data
      windows: Update isochronous OUT packet actual length
      libusb 1.0.26

Yegor Yefremov (2):
      linux_usbfs: Fix maybe-uninitialized error with -O3
      android: Fix typo and syntax in comments

osy (1):
      darwin: Reset by re-enumerate on non-macOS platforms

Reply via email to