Pete Batard | f17d190 | 2012-09-25 00:35:32 +0100 | [diff] [blame] | 1 | For detailed information about the changes below, please see the git log or |
hjelmn@cs.unm.edu | 1eff220 | 2014-01-08 23:50:34 +0000 | [diff] [blame] | 2 | visit: http://log.libusb.info |
Pete Batard | f17d190 | 2012-09-25 00:35:32 +0100 | [diff] [blame] | 3 | |
Nathan Hjelm | 7ce85c4 | 2016-07-21 23:12:56 -0600 | [diff] [blame^] | 4 | 2016-07-20: v1.0.21: |
| 5 | * Darwin: Ignore root hub simulation devices |
| 6 | * Darwin: Improved support for OS X El Capitan |
| 7 | * Windows: Add Visual Studio 2015 support |
| 8 | * Prevent attempts to recursively hande events |
| 9 | * Fix race condition in handle_timeout() |
| 10 | * Allow transferred argument to be optional in bulk APIs |
| 11 | * Various other bug fixes and improvements |
| 12 | |
Chris Dickens | b5991a9 | 2015-09-13 17:37:12 -0700 | [diff] [blame] | 13 | 2015-09-13: v1.0.20 |
Chris Dickens | d73bc72 | 2015-07-29 01:06:37 -0700 | [diff] [blame] | 14 | * Add Haiku support |
| 15 | * Fix multiple memory and resource leaks (#16, #52, #76, #81) |
| 16 | * Fix possible deadlock when executing transfer callback |
| 17 | * New libusb_free_pollfds() API |
| 18 | * Darwin: Fix devices not being detected on OS X 10.8 (#48) |
| 19 | * Linux: Allow larger isochronous transfer submission (#23) |
| 20 | * Windows: Fix broken builds Cygwin/MinGW builds and compiler warnings |
| 21 | * Windows: Fix broken bus number lookup |
| 22 | * Windows: Improve submission of control requests for composite devices |
Chris Dickens | 8f2d5bb | 2015-09-02 19:54:44 -0700 | [diff] [blame] | 23 | * Examples: Add two-stage load support to fxload (#12) |
| 24 | * Correctly report cancellations due to timeouts |
Chris Dickens | d73bc72 | 2015-07-29 01:06:37 -0700 | [diff] [blame] | 25 | * Improve efficiency of event handling |
| 26 | * Improve speed of transfer submission in multi-threaded environments |
| 27 | * Various other bug fixes and improvements |
| 28 | The (#xx) numbers are libusb issue numbers, see ie: |
| 29 | https://github.com/libusb/libusb/issues/16 |
| 30 | |
Hans de Goede | f3587bb | 2014-05-30 14:48:28 +0200 | [diff] [blame] | 31 | 2014-05-30: v1.0.19 |
Hans de Goede | edaa1af | 2014-05-02 15:25:26 +0200 | [diff] [blame] | 32 | * Add support for USB bulk streams on Linux and Mac OS X (#11) |
| 33 | * Windows: Add AMD and Intel USB-3.0 root hub support |
| 34 | * Windows: Fix USB 3.0 speed detection on Windows 8 or later (#10) |
Hans de Goede | 5e77b88 | 2014-05-19 11:33:03 +0200 | [diff] [blame] | 35 | * Added Russian translation for libusb_strerror strings |
Hans de Goede | edaa1af | 2014-05-02 15:25:26 +0200 | [diff] [blame] | 36 | * All: Various small fixes and cleanups |
Hans de Goede | edaa1af | 2014-05-02 15:25:26 +0200 | [diff] [blame] | 37 | |
Pete Batard | a2f2c31 | 2014-01-25 22:43:39 +0000 | [diff] [blame] | 38 | 2014-01-25: v1.0.18 |
Pete Batard | 9a34bb7 | 2014-01-08 23:51:38 +0000 | [diff] [blame] | 39 | * Fix multiple memory leaks |
| 40 | * Fix a crash when HID transfers return no data on Windows |
| 41 | * Ensure all pending events are consumed |
| 42 | * Improve Android and ucLinux support |
| 43 | * Multiple Windows improvements (error logging, VS2013, VIA xHCI support) |
| 44 | * Multiple OS X improvements (broken compilation, SIGFPE, 64bit support) |
| 45 | |
Hans de Goede | 0c3d17c | 2013-09-06 11:20:53 +0200 | [diff] [blame] | 46 | 2013-09-06: v1.0.17 |
Hans de Goede | 6512943 | 2013-08-28 10:17:53 +0200 | [diff] [blame] | 47 | * Hotplug callbacks now always get passed a libusb_context, even if it is |
| 48 | the default context. Previously NULL would be passed for the default context, |
| 49 | but since the first context created is the default context, and most apps |
| 50 | use only 1 context, this meant that apps explicitly creating a context would |
| 51 | still get passed NULL |
| 52 | * Android: Add .mk files to build with the Android NDK |
| 53 | * Darwin: Add Xcode project |
| 54 | * Darwin: Fix crash on unplug (#121) |
| 55 | * Linux: Fix hang (deadlock) on libusb_exit |
hjelmn@cs.unm.edu | 1eff220 | 2014-01-08 23:50:34 +0000 | [diff] [blame] | 56 | * Linux: Fix libusb build failure with --disable-udev (#124) |
Hans de Goede | 6512943 | 2013-08-28 10:17:53 +0200 | [diff] [blame] | 57 | * Linux: Fix libusb_get_device_list() hang with --disable-udev (#130) |
| 58 | * OpenBSD: Update OpenBSD backend with support for control transfers to |
| 59 | non-ugen(4) devices and make get_configuration() no longer generate I/O. |
hjelmn@cs.unm.edu | 1eff220 | 2014-01-08 23:50:34 +0000 | [diff] [blame] | 60 | Note that using this libusb version on OpenBSD requires using |
Hans de Goede | 6512943 | 2013-08-28 10:17:53 +0200 | [diff] [blame] | 61 | OpenBSD 5.3-current or later. Users of older OpenBSD versions are advised |
| 62 | to stay with the libusb shipped with OpenBSD (mpi) |
| 63 | * Windows: fix libusb_dll_2010.vcxproj link errors (#129) |
| 64 | * Various other bug fixes and improvements |
Hans de Goede | 6512943 | 2013-08-28 10:17:53 +0200 | [diff] [blame] | 65 | |
Hans de Goede | d1ed6c4 | 2013-07-11 11:04:02 +0200 | [diff] [blame] | 66 | 2013-07-11: v1.0.16 |
Hans de Goede | e2fe75e | 2013-06-20 15:18:10 +0200 | [diff] [blame] | 67 | * Add hotplug support for Darwin and Linux (#9) |
| 68 | * Add superspeed endpoint companion descriptor support (#15) |
| 69 | * Add BOS descriptor support (#15) |
| 70 | * Make descriptor parsing code more robust |
| 71 | * New libusb_get_port_numbers API, this is libusb_get_port_path without |
| 72 | the unnecessary context parameter, libusb_get_port_path is now deprecated |
| 73 | * New libusb_strerror API (#14) |
| 74 | * New libusb_set_auto_detach_kernel_driver API (#17) |
Hans de Goede | faa6241 | 2013-07-06 09:09:25 +0200 | [diff] [blame] | 75 | * Improve topology API docs (#95) |
Hans de Goede | ea39a14 | 2013-07-01 13:00:43 +0200 | [diff] [blame] | 76 | * Logging now use a single write call per log-message, avoiding log-message |
| 77 | "interlacing" when using multiple threads. |
Hans de Goede | e2fe75e | 2013-06-20 15:18:10 +0200 | [diff] [blame] | 78 | * Android: use Android logging when building on Android (#101) |
| 79 | * Darwin: make libusb_reset reenumerate device on descriptors change (#89) |
| 80 | * Darwin: add support for the LIBUSB_TRANSFER_ADD_ZERO_PACKET flag (#91) |
| 81 | * Darwin: add a device cache (#112, #114) |
| 82 | * Examples: Add sam3u_benchmark isochronous example by Harald Welte (#109) |
| 83 | * Many other bug fixes and improvements |
| 84 | The (#xx) numbers are libusbx issue numbers, see ie: |
| 85 | https://github.com/libusbx/libusbx/issues/9 |
| 86 | |
Pete Batard | 85f1bed | 2013-04-15 23:15:10 +0100 | [diff] [blame] | 87 | 2013-04-15: v1.0.15 |
Pete Batard | ad3e3d4 | 2013-04-04 19:03:15 +0100 | [diff] [blame] | 88 | * Improve transfer cancellation and avoid short read failures on broken descriptors |
Pete Batard | 196acee | 2013-04-02 19:52:16 +0100 | [diff] [blame] | 89 | * Filter out 8-bit characters in libusb_get_string_descriptor_ascii() |
| 90 | * Add WinCE support |
| 91 | * Add library stress tests |
Pete Batard | ad3e3d4 | 2013-04-04 19:03:15 +0100 | [diff] [blame] | 92 | * Add Cypress FX3 firmware upload support for fxload sample |
Pete Batard | 196acee | 2013-04-02 19:52:16 +0100 | [diff] [blame] | 93 | * Add HID and kernel driver detach support capabilities detection |
| 94 | * Add SuperSpeed detection on OS X |
Pete Batard | 85f1bed | 2013-04-15 23:15:10 +0100 | [diff] [blame] | 95 | * Fix bInterval value interpretation on OS X |
Pete Batard | 196acee | 2013-04-02 19:52:16 +0100 | [diff] [blame] | 96 | * Fix issues with autoclaim, composite HID devices, interface autoclaim and |
Pete Batard | ad3e3d4 | 2013-04-04 19:03:15 +0100 | [diff] [blame] | 97 | early abort in libusb_close() on Windows. Also add VS2012 solution files. |
Pete Batard | 196acee | 2013-04-02 19:52:16 +0100 | [diff] [blame] | 98 | * Improve fd event handling on Linux |
| 99 | * Other bug fixes and improvements |
| 100 | |
Pete Batard | f17d190 | 2012-09-25 00:35:32 +0100 | [diff] [blame] | 101 | 2012-09-26: v1.0.14 |
| 102 | * Reverts the previous API change with regards to bMaxPower. |
| 103 | If this doesn't matter to you, you are encouraged to keep using v1.0.13, |
| 104 | as it will use the same attribute as v2.0, to be released soon. |
hjelmn@cs.unm.edu | 1eff220 | 2014-01-08 23:50:34 +0000 | [diff] [blame] | 105 | * Note that LIBUSB_API_VERSION is *decreased* to 0x010000FF and the previous |
Pete Batard | 85f1bed | 2013-04-15 23:15:10 +0100 | [diff] [blame] | 106 | guidelines with regards to concurrent use of MaxPower/bMaxPower still apply. |
Pete Batard | f17d190 | 2012-09-25 00:35:32 +0100 | [diff] [blame] | 107 | |
| 108 | 2012-09-20: v1.0.13 |
| 109 | * [MAJOR] Fix a typo in the API with struct libusb_config_descriptor where |
| 110 | MaxPower was used instead of bMaxPower, as defined in the specs. If your |
| 111 | application was accessing the MaxPower attribute, and you need to maintain |
| 112 | compatibility with libusb or older versions, see APPENDIX A below. |
| 113 | * Fix broken support for the 0.1 -> 1.0 libusb-compat layer |
| 114 | * Fix unwanted cancellation of pending timeouts as well as major timeout related bugs |
| 115 | * Fix handling of HID and composite devices on Windows |
hjelmn@cs.unm.edu | 1eff220 | 2014-01-08 23:50:34 +0000 | [diff] [blame] | 116 | * Introduce LIBUSB_API_VERSION macro |
Pete Batard | f17d190 | 2012-09-25 00:35:32 +0100 | [diff] [blame] | 117 | * Add Cypress FX/FX2 firmware upload sample, based on fxload from |
| 118 | http://linux-hotplug.sourceforge.net |
| 119 | * Add libusb0 (libusb-win32) and libusbK driver support on Windows. Note that while |
hjelmn@cs.unm.edu | 1eff220 | 2014-01-08 23:50:34 +0000 | [diff] [blame] | 120 | the drivers allow it, isochronous transfers are not supported yet in libusb. Also |
Pete Batard | f17d190 | 2012-09-25 00:35:32 +0100 | [diff] [blame] | 121 | not supported yet is the use of libusb-win32 filter drivers on composite interfaces |
| 122 | * Add support for the new get_capabilities ioctl on Linux and avoid unnecessary |
| 123 | splitting of bulk transfers |
| 124 | * Improve support for newer Intel and Renesas USB 3.0 controllers on Windows |
| 125 | * Harmonize the device number for root hubs across platforms |
| 126 | * Other bug fixes and improvements |
| 127 | |
| 128 | 2012-06-15: v1.0.12 |
| 129 | * Fix a potential major regression with pthread on Linux |
| 130 | * Fix missing thread ID from debug log output on cygwin |
| 131 | * Fix possible crash when using longjmp and MinGW's gcc 4.6 |
| 132 | * Add topology calls: libusb_get_port_number(), libusb_get_parent() & libusb_get_port_path() |
| 133 | * Add toggleable debug, using libusb_set_debug() or the LIBUSB_DEBUG environment variable |
| 134 | * Define log levels in libusb.h and set timestamp origin to first libusb_init() call |
| 135 | * All logging is now sent to to stderr (info was sent to stdout previously) |
| 136 | * Update log messages severity and avoid polluting log output on OS-X |
| 137 | * Add HID driver support on Windows |
| 138 | * Enable interchangeability of MSVC and MinGW DLLs |
| 139 | * Additional bug fixes and improvements |
| 140 | |
| 141 | 2012-05-08: v1.0.11 |
| 142 | * Revert removal of critical Windows event handling that was introduced in 1.0.10 |
| 143 | * Fix a possible deadlock in Windows when submitting transfers |
| 144 | * Add timestamped logging |
| 145 | * Add NetBSD support (experimental) and BSD libusb_get_device_speed() data |
| 146 | * Add bootstrap.sh alongside autogen.sh (bootstrap.sh doesn't invoke configure) |
| 147 | * Search for device nodes in /dev for Android support |
| 148 | * Other bug fixes |
| 149 | |
| 150 | 2012-04-17: v1.0.10 |
| 151 | * Public release |
| 152 | * Add libusb_get_version |
| 153 | * Add Visual Studio 2010 project files |
| 154 | * Some Windows code cleanup |
| 155 | * Fix xusb sample warnings |
| 156 | |
| 157 | 2012-04-02: v1.0.9 |
| 158 | * First libusbx release |
| 159 | * Add libusb_get_device_speed (all, except BSD) and libusb_error_name |
| 160 | * Add Windows support (WinUSB driver only) |
| 161 | * Add OpenBSD support |
| 162 | * Add xusb sample |
| 163 | * Tons of bug fixes |
| 164 | |
| 165 | 2010-05-07: v1.0.8 |
| 166 | * Bug fixes |
| 167 | |
| 168 | 2010-04-19: v1.0.7 |
| 169 | * Bug fixes and documentation tweaks |
| 170 | * Add more interface class definitions |
| 171 | |
| 172 | 2009-11-22: v1.0.6 |
| 173 | * Bug fixes |
| 174 | * Increase libusb_handle_events() timeout to 60s for powersaving |
| 175 | |
| 176 | 2009-11-15: v1.0.5 |
| 177 | * Use timerfd when available for timer management |
| 178 | * Small fixes/updates |
| 179 | |
| 180 | 2009-11-06: v1.0.4 release |
| 181 | * Bug fixes including transfer locking to fix some potential threading races |
| 182 | * More flexibility with clock types on Linux |
| 183 | * Use new bulk continuation tracking in Linux 2.6.32 for improved handling |
| 184 | of short/failed transfers |
| 185 | |
| 186 | 2009-08-27: v1.0.3 release |
| 187 | * Bug fixes |
| 188 | * Add libusb_get_max_iso_packet_size() |
| 189 | |
| 190 | 2009-06-13: v1.0.2 release |
| 191 | * Bug fixes |
| 192 | |
| 193 | 2009-05-12: v1.0.1 release |
| 194 | * Bug fixes |
| 195 | * Darwin backend |
| 196 | |
| 197 | 2008-12-13: v1.0.0 release |
| 198 | * Bug fixes |
| 199 | |
| 200 | 2008-11-21: v0.9.4 release |
| 201 | * Bug fixes |
| 202 | * Add libusb_attach_kernel_driver() |
| 203 | |
| 204 | 2008-08-23: v0.9.3 release |
| 205 | * Bug fixes |
| 206 | |
| 207 | 2008-07-19: v0.9.2 release |
| 208 | * Bug fixes |
| 209 | |
| 210 | 2008-06-28: v0.9.1 release |
| 211 | * Bug fixes |
| 212 | * Introduce contexts to the API |
| 213 | * Compatibility with new Linux kernel features |
| 214 | |
| 215 | 2008-05-25: v0.9.0 release |
| 216 | * First libusb-1.0 beta release |
| 217 | |
| 218 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 219 | |
| 220 | APPENDIX A - How to maintain code compatibility with versions of libusb and |
hjelmn@cs.unm.edu | 1eff220 | 2014-01-08 23:50:34 +0000 | [diff] [blame] | 221 | libusb that use MaxPower: |
Pete Batard | f17d190 | 2012-09-25 00:35:32 +0100 | [diff] [blame] | 222 | |
| 223 | If you must to maintain compatibility with versions of the library that aren't |
| 224 | using the bMaxPower attribute in struct libusb_config_descriptor, the |
hjelmn@cs.unm.edu | 1eff220 | 2014-01-08 23:50:34 +0000 | [diff] [blame] | 225 | recommended way is to use the new LIBUSB_API_VERSION macro with an #ifdef. |
Pete Batard | f17d190 | 2012-09-25 00:35:32 +0100 | [diff] [blame] | 226 | For instance, if your code was written as follows: |
| 227 | |
| 228 | if (dev->config[0].MaxPower < 250) |
| 229 | |
| 230 | Then you should modify it to have: |
| 231 | |
hjelmn@cs.unm.edu | 1eff220 | 2014-01-08 23:50:34 +0000 | [diff] [blame] | 232 | #if defined(LIBUSB_API_VERSION) && (LIBUSB_API_VERSION >= 0x01000100) |
Pete Batard | f17d190 | 2012-09-25 00:35:32 +0100 | [diff] [blame] | 233 | if (dev->config[0].bMaxPower < 250) |
| 234 | #else |
| 235 | if (dev->config[0].MaxPower < 250) |
| 236 | #endif |