blob: a271f0f3dca2e00e3b521d2bf8f7b726f9ebf027 [file] [log] [blame]
Pete Batardf17d1902012-09-25 00:35:32 +01001For detailed information about the changes below, please see the git log or
2visit: http://log.libusbx.org
3
Hans de Goedee2fe75e2013-06-20 15:18:10 +020042013-06-20: v1.0.16-rc1
5* Add hotplug support for Darwin and Linux (#9)
6* Add superspeed endpoint companion descriptor support (#15)
7* Add BOS descriptor support (#15)
8* Make descriptor parsing code more robust
9* New libusb_get_port_numbers API, this is libusb_get_port_path without
10 the unnecessary context parameter, libusb_get_port_path is now deprecated
11* New libusb_strerror API (#14)
12* New libusb_set_auto_detach_kernel_driver API (#17)
13* Android: use Android logging when building on Android (#101)
14* Darwin: make libusb_reset reenumerate device on descriptors change (#89)
15* Darwin: add support for the LIBUSB_TRANSFER_ADD_ZERO_PACKET flag (#91)
16* Darwin: add a device cache (#112, #114)
17* Examples: Add sam3u_benchmark isochronous example by Harald Welte (#109)
18* Many other bug fixes and improvements
19The (#xx) numbers are libusbx issue numbers, see ie:
20https://github.com/libusbx/libusbx/issues/9
21
Pete Batard85f1bed2013-04-15 23:15:10 +0100222013-04-15: v1.0.15
Pete Batardad3e3d42013-04-04 19:03:15 +010023* Improve transfer cancellation and avoid short read failures on broken descriptors
Pete Batard196acee2013-04-02 19:52:16 +010024* Filter out 8-bit characters in libusb_get_string_descriptor_ascii()
25* Add WinCE support
26* Add library stress tests
Pete Batardad3e3d42013-04-04 19:03:15 +010027* Add Cypress FX3 firmware upload support for fxload sample
Pete Batard196acee2013-04-02 19:52:16 +010028* Add HID and kernel driver detach support capabilities detection
29* Add SuperSpeed detection on OS X
Pete Batard85f1bed2013-04-15 23:15:10 +010030* Fix bInterval value interpretation on OS X
Pete Batard196acee2013-04-02 19:52:16 +010031* Fix issues with autoclaim, composite HID devices, interface autoclaim and
Pete Batardad3e3d42013-04-04 19:03:15 +010032 early abort in libusb_close() on Windows. Also add VS2012 solution files.
Pete Batard196acee2013-04-02 19:52:16 +010033* Improve fd event handling on Linux
34* Other bug fixes and improvements
35
Pete Batardf17d1902012-09-25 00:35:32 +0100362012-09-26: v1.0.14
37* Reverts the previous API change with regards to bMaxPower.
38 If this doesn't matter to you, you are encouraged to keep using v1.0.13,
39 as it will use the same attribute as v2.0, to be released soon.
40* Note that LIBUSBX_API_VERSION is *decreased* to 0x010000FF and the previous
Pete Batard85f1bed2013-04-15 23:15:10 +010041 guidelines with regards to concurrent use of MaxPower/bMaxPower still apply.
Pete Batardf17d1902012-09-25 00:35:32 +010042
432012-09-20: v1.0.13
44* [MAJOR] Fix a typo in the API with struct libusb_config_descriptor where
45 MaxPower was used instead of bMaxPower, as defined in the specs. If your
46 application was accessing the MaxPower attribute, and you need to maintain
47 compatibility with libusb or older versions, see APPENDIX A below.
48* Fix broken support for the 0.1 -> 1.0 libusb-compat layer
49* Fix unwanted cancellation of pending timeouts as well as major timeout related bugs
50* Fix handling of HID and composite devices on Windows
51* Introduce LIBUSBX_API_VERSION macro
52* Add Cypress FX/FX2 firmware upload sample, based on fxload from
53 http://linux-hotplug.sourceforge.net
54* Add libusb0 (libusb-win32) and libusbK driver support on Windows. Note that while
55 the drivers allow it, isochronous transfers are not supported yet in libusbx. Also
56 not supported yet is the use of libusb-win32 filter drivers on composite interfaces
57* Add support for the new get_capabilities ioctl on Linux and avoid unnecessary
58 splitting of bulk transfers
59* Improve support for newer Intel and Renesas USB 3.0 controllers on Windows
60* Harmonize the device number for root hubs across platforms
61* Other bug fixes and improvements
62
632012-06-15: v1.0.12
64* Fix a potential major regression with pthread on Linux
65* Fix missing thread ID from debug log output on cygwin
66* Fix possible crash when using longjmp and MinGW's gcc 4.6
67* Add topology calls: libusb_get_port_number(), libusb_get_parent() & libusb_get_port_path()
68* Add toggleable debug, using libusb_set_debug() or the LIBUSB_DEBUG environment variable
69* Define log levels in libusb.h and set timestamp origin to first libusb_init() call
70* All logging is now sent to to stderr (info was sent to stdout previously)
71* Update log messages severity and avoid polluting log output on OS-X
72* Add HID driver support on Windows
73* Enable interchangeability of MSVC and MinGW DLLs
74* Additional bug fixes and improvements
75
762012-05-08: v1.0.11
77* Revert removal of critical Windows event handling that was introduced in 1.0.10
78* Fix a possible deadlock in Windows when submitting transfers
79* Add timestamped logging
80* Add NetBSD support (experimental) and BSD libusb_get_device_speed() data
81* Add bootstrap.sh alongside autogen.sh (bootstrap.sh doesn't invoke configure)
82* Search for device nodes in /dev for Android support
83* Other bug fixes
84
852012-04-17: v1.0.10
86* Public release
87* Add libusb_get_version
88* Add Visual Studio 2010 project files
89* Some Windows code cleanup
90* Fix xusb sample warnings
91
922012-04-02: v1.0.9
93* First libusbx release
94* Add libusb_get_device_speed (all, except BSD) and libusb_error_name
95* Add Windows support (WinUSB driver only)
96* Add OpenBSD support
97* Add xusb sample
98* Tons of bug fixes
99
1002010-05-07: v1.0.8
101* Bug fixes
102
1032010-04-19: v1.0.7
104* Bug fixes and documentation tweaks
105* Add more interface class definitions
106
1072009-11-22: v1.0.6
108* Bug fixes
109* Increase libusb_handle_events() timeout to 60s for powersaving
110
1112009-11-15: v1.0.5
112 * Use timerfd when available for timer management
113 * Small fixes/updates
114
1152009-11-06: v1.0.4 release
116 * Bug fixes including transfer locking to fix some potential threading races
117 * More flexibility with clock types on Linux
118 * Use new bulk continuation tracking in Linux 2.6.32 for improved handling
119 of short/failed transfers
120
1212009-08-27: v1.0.3 release
122 * Bug fixes
123 * Add libusb_get_max_iso_packet_size()
124
1252009-06-13: v1.0.2 release
126 * Bug fixes
127
1282009-05-12: v1.0.1 release
129 * Bug fixes
130 * Darwin backend
131
1322008-12-13: v1.0.0 release
133 * Bug fixes
134
1352008-11-21: v0.9.4 release
136 * Bug fixes
137 * Add libusb_attach_kernel_driver()
138
1392008-08-23: v0.9.3 release
140 * Bug fixes
141
1422008-07-19: v0.9.2 release
143 * Bug fixes
144
1452008-06-28: v0.9.1 release
146 * Bug fixes
147 * Introduce contexts to the API
148 * Compatibility with new Linux kernel features
149
1502008-05-25: v0.9.0 release
151 * First libusb-1.0 beta release
152
153~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
154
155APPENDIX A - How to maintain code compatibility with versions of libusb and
156libusbx that use MaxPower:
157
158If you must to maintain compatibility with versions of the library that aren't
159using the bMaxPower attribute in struct libusb_config_descriptor, the
160recommended way is to use the new LIBUSBX_API_VERSION macro with an #ifdef.
161For instance, if your code was written as follows:
162
163 if (dev->config[0].MaxPower < 250)
164
165Then you should modify it to have:
166
167#if defined(LIBUSBX_API_VERSION) && (LIBUSBX_API_VERSION >= 0x01000100)
168 if (dev->config[0].bMaxPower < 250)
169#else
170 if (dev->config[0].MaxPower < 250)
171#endif