Repository navigation
Open
Description
libusb-1.0.30 was released on 17 May 2026 .
https://github.com/libusb/libusb/releases/tag/v1.0.30
Next release will be libusb-1.0.31.
Pending review, may be postponed if not enough reviews:
macOS
- darwin: fix race condition on device capture #1679
- darwin: fix use after free during reenumeration #1680
- Darwin backend: concurrency audit (8 issues, partial PR coverage, proposed roadmap) #1798
- libusb_attach_kernel_driver on MacOS segfaults #1635
- darwin I/O-less enumeration #1658
- darwin: serialize open/capture state (supersedes #1679) #1864
- darwin: fix use after free during reenumeration rebased #1865
- darwin: take cached-devices mutex when referencing device in process_new_device #1866
- darwin: hold the handle lock across interface state changes #1873
- darwin: make first_config and active_config atomic #1874
- darwin: propagate QueryInterface failure in darwin_device_from_service #1885
- Darwin hotplug attach robustness #1886
- darwin: order transfer submission against the async completion callback #1892
Windows
PRs worth looking at, ready for review. Can be delayed.
- Lazy CreateFile with WinUSB backend #1181
- Windows: Deal with failed synchronous control transfers #1018 (libusb0.sys)
- windows: get_dev_port_number try using VID / PID #1269
- Windows: Add support for claim_interface, release_interface for libusbK #1323
- DeviceIoControl use async mode #1741
- Update build_all.ps1 to match project configurations + remove VS2013 and VS2015 support #1784
- windows: bound hub descriptor requests with a timeout #1882
Windows issues worth investigation and fix if possible.
- libusb open fails returns error not supported for USB HUBs with supported driver #1302
- libusb Windows can not access second or later interface as part of an Interface group without IAD #1238
- Multiple WinUSB devices in single composite device #1177
- Windows: multiple processes can claim the same interface #1087
Windows ISOC related, probably not that ready
- WinUSB isochronous transfer stability fixes #749
- libusb support for isochronous transfer on Windows composite device #1227
General Enhancement
- Added an API call to check the connection status of a device handle #1456 (new API)
- core: Fix libusb_get_port_numbers buffer handling #1774
- hotplug: fix LIBUSB_HOTPLUG_EVENT_DEVICE_LEFT safe-function documentation #1811
General Improvements
- Various static analysis fixes #1067
- core: add LIBUSB_PACKED_PUSH / LIBUSB_PACKED_POP for portable struct padding #1542
- Some code transformations required to allow -fbounds-safety to compile #1686
- Replace remaining strcpy() with snprintf() #1728
- Convert various macros to functions #1729
- Fix most remaining Clang -Wsign-conversion warnings #1730
- Always set pointer and its size together for -fbounds-safety #1738
- Always set pointer and its size together for -fbounds-safety #1740
- Add many explicit casts for C++ compatibility #1782
** General CI **
Activity
mcuee commentedon Apr 18, 2026
Some unresolved issues after 1.0.30 testing. Contributors may want to take a look as well, especially stress_mt related issues.
Known testing issues
-Wpragma-pack#1395-Warray-bounds=and-Wswitch-enum#1034make checkfailure due tostress_mt, not a regression, not a release blocker.stress_mtfails under OpenIndiana Hipster and Tribblix/illumos #1772 (not a regression, not a blocker)--disable-static#1788 (not a regression, not a blocker)stress_mt#1648mcuee commentedon Apr 18, 2026
Right now we have too many PRs pending.
After 1.0.30 release, I'd really like to see the number of pending PR drops to 50 first and then to something more manageable like 25. Same for open issues, I'd really like to see the number of open issues to drop to 100 first and later to something like 50.
mcuee commentedon Apr 18, 2026
For avrdude project, we actually document the issues which the admin team have no plan to sort out. So the issues get documented and then closed. The community can always open a PR to address the issue.
mcuee commentedon May 17, 2026
From @tormodvolden
This is mentioned in libusb-1.0.30 release announcement.
mcuee commentedon May 17, 2026
@tormodvolden @sonatique and @seanm
I have put quite some things for 1.0.31 milestone, but we can always drop some of them and add new items.
mcuee commentedon May 18, 2026
Reference: distro adoption of libusb versions.
https://repology.org/project/libusb/versions
Homebrew is the first one to adopt 1.0.30 release.
https://formulae.brew.sh/formula/libusb
mcuee commentedon May 18, 2026
@tormodvolden
Somehow PR #1826 was only partially applied and missing the changes to
windows_common.h.I only noticed this today when I got the warnings when using MSYS2 clangarm64.
Then I noticed github actions have the warnings as well.
https://github.com/libusb/libusb/actions/runs/26003909376/job/76432174158
https://github.com/libusb/libusb/actions/runs/26003909361/job/76431925261
mcuee commentedon Jun 3, 2026
@sonatique and @tormodvolden
@seanm has quite some PRs pending and he has updated some of them very recently. Please review and then commit those you see as okay. Thanks.
It is good to merge the low hanging fruits first.
mcuee commentedon Jun 3, 2026
@tormodvolden @sonatique and @seanm
I have merged PR #1839 and a few other simple ones.
Please check if the following commits arre done correctly or not. Thanks.
I will try not to touch PRs related to codes, other than simple ones. For non-codes related changes, maybe we can be a bit faster.
mcuee commentedon Jun 5, 2026
@tormodvolden @sonatique and @seanm
My thoughts on Milestone 1.0.31 items -- feel free to change.
mcuee commentedon Jun 5, 2026
Tentative Due date is by April 30, 2027.
But I do hope we can be a bit faster this time, say by 31-Dec-2026. Let's see.
minicarpet commentedon Jul 29, 2026
Hello,
I've implemented the 1.0.30 version, but without this commit: c66599c I have some issues regarding hotplug sutff.
Is that possible to create a release quicker than the current target date ("Tentative Due date is by April 30, 2027") ?
mcuee commentedon Jul 29, 2026
Let's hope for Dec 2026.
Youw commentedon Jul 29, 2026
Can you find more details what the issue is? We would be happy to check, specially if you could provide details.
mcuee commentedon Jul 29, 2026
I think he is referring to the following.
Issue #1862, fixed by PR #1863.
mcuee commentedon Jul 29, 2026
Updated the tentative date for 1.0.31 milestone to 31-Dec-2026.
Hopefully we can achieve it.
minicarpet commentedon Jul 29, 2026
Correct, I had the exact same issue, this is why I know it is already fixed ;)
minicarpet commentedon Jul 29, 2026
Thank you this is better, for no I will live with that issue
mcuee commentedon Jul 30, 2026
As of now, we have 106 open issues and 58 open pull requests.
Hopefully we can soon reduce the number of issues to below 100 and the number of PRs to below 50.
I like the number of issues to be below 50 and the number of PRs to be below 25, but probably not any time soon.
minicarpet commentedon Jul 30, 2026
Do you need help ?
mcuee commentedon Jul 30, 2026
Yes, for sure we need more developers, reviewers and testers.
As of now we do not need more admins with code commit right.
minicarpet commentedon Jul 30, 2026
Which branch can I review/test ?
I will not have time to develop on this project sadly