|
From: Tormod V. <lis...@gm...> - 2025-03-19 09:14:14
|
We are happy to announce the final release of libusb 1.0.28. This is a rather small maintenance release with a few bug and build fixes in addition to one new API function. ChangeLog with most important changes since previous release 1.0.27: * New libusb_get_ssplus_usb_device_capability_descriptor API for query of SuperSpeed+ Capability Descriptors * API support for reporting USB 3.2 Gen2x2 speeds * macOS: Fix Zero-Length Packet for multiple packets per frame * Windows: Base HID device descriptor on OS-cached values * Build fixes for Haiku and SunOS * Many code correctness fixes The source code tarball can be downloaded here: https://github.com/libusb/libusb/releases/download/v1.0.28/libusb-1.0.28.tar.bz2 An archive of Windows binaries can be downloaded here: https://github.com/libusb/libusb/releases/download/v1.0.28/libusb-1.0.28.7z Note that the release tarball includes a configure script so unlike a git checkout it is not necessary to bootstrap with autoconf. The 1.0.28 release was made possible by the contributions from all patch submitters (see below git shortlog with 64 commits from 12 contributors, of which 6 new) plus everyone who contributed with issue reporting, discussions and testing. On behalf of the libusb development community, Tormod -- Adrien Destugues (1): haiku: Use gcc atomic builtins to fix build Fabien Sanglard (5): Add support for SuperSpeed+ Capability Descriptors SuperSpeedPlus: Fix typo mantisa -> mantissa in struct field Cosmetic cleanup of SuperSpeedPlus comments docs: Document internal_ssplus_capability_descriptor macos: Fix Zero-Length Packet for multiple packets per frame Francis Hart (1): windows: Restore behaviour of skipping malformed device GUIDs Harry Mallon (1): Add API support for LIBUSB_SPEED_SUPER_PLUS_X2 20Gbps USB 3.2 gen 2x2 Jesse Taube (1): CI: Remove build job for MSYS clang32 Jon Beniston (1): Emscripten: Avoid uncaught TypeError on browsers without USB support Matthijs Lavrijsen (1): winusb: Fix winusb_get_device_list() failing to find port numbers Radu Vele (1): Enable linux netlink event monitoring for Android OS platform services Sean McBride (32): Add clang-tidy config file xusb: Avoid warning about implicit switch fallthrough Fix most warnings about implicit sign conversion darwin: Correct interpretation of COM-style Release() return value xcode: Enable several additional warnings in the Xcode project darwin: Fix clang static analyzer warning about a variable that's never read darwin: Suppress false positive warning with an assert Increase usbi_get_tid() size from int to long darwin: Cleanup of usbi_backend structure descriptor: Replace parse_descriptor() function descriptor: Defer potentially truncating cast to last minute descriptor: Restore implicitly casted-away const descriptor: Fix potential offsetting of pointer by too much descriptor: Small clarifications with no behaviour change descriptor: Avoid buffer over-increment in parse_iad_array function examples/ezusb: Replace rewind with fseek, to check for errors examples/fxload: Eliminate all reserved C identifiers (leading underscores) examples/xusb: Make all macro replacement lists parenthesized examples/xusb: Make some parameters const where possible examples/xusb: Match size of loop index to what is iterated darwin: Always use uppercase literal suffixes for improved readability darwin: Explicitly compare string compare function results to -1, 0, or 1 darwin: Fix multiplication overflow by better matching type sizes Avoid assignments within `if` statements descriptor: Eliminate all duplicate branch bodies, as they are bug-prone descriptor: Fix addition overflow by correcting casts libusb.h: Match parameter names in declaration and definition clang-tidy: Stop suppressing readability-misleading-indentation warnings Replace atoi() with strtol() which allows error checking examples/ezusb: Fix error checking regression in recent commit xcode: Adjust file indentation settings descriptor: Fix clang -Wimplicit-int-conversion warnings Sylvain Fasel (2): hotplug_exit: Remove parents recursively hotplug_exit: Mutex protection of context device list while cleaning it Tormod Volden (17): sunos: Fix typos breaking build emscripten: Remove superfluous capability linux: Fix type of open() flags argument linux: ioctl() request number is unsigned long xusb: Only retrieve BOS descriptor for bcdUSB 0x0201 or higher windows: Downgrade get_guid DeviceInterfaceGUID message to debug level Consistent use of C-style comment markers Add KEYS file for release files verification netbsd: Debug print all errors openbsd: Use default clause in _errno_to_libusb() windows: Base HID device descriptor on cached values docs: Hide internal descriptor.c structure from doxygen docs: Fix broken doxygen references libusb 1.0.28-rc1 core: Avoid infinite recursion on invalid LIBUSB_DEBUG value configure.ac: Bump libtool library version libusb 1.0.28 Yiwei Lin (1): xusb: Define proper exit status |