blob: eb181b2ef2c0ccb30aae820f73bbd24971647097 [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
Pete Batard85f1bed2013-04-15 23:15:10 +010042013-04-15: v1.0.15
Pete Batardad3e3d42013-04-04 19:03:15 +01005* Improve transfer cancellation and avoid short read failures on broken descriptors
Pete Batard196acee2013-04-02 19:52:16 +01006* Filter out 8-bit characters in libusb_get_string_descriptor_ascii()
7* Add WinCE support
8* Add library stress tests
Pete Batardad3e3d42013-04-04 19:03:15 +01009* Add Cypress FX3 firmware upload support for fxload sample
Pete Batard196acee2013-04-02 19:52:16 +010010* Add HID and kernel driver detach support capabilities detection
11* Add SuperSpeed detection on OS X
Pete Batard85f1bed2013-04-15 23:15:10 +010012* Fix bInterval value interpretation on OS X
Pete Batard196acee2013-04-02 19:52:16 +010013* Fix issues with autoclaim, composite HID devices, interface autoclaim and
Pete Batardad3e3d42013-04-04 19:03:15 +010014 early abort in libusb_close() on Windows. Also add VS2012 solution files.
Pete Batard196acee2013-04-02 19:52:16 +010015* Improve fd event handling on Linux
16* Other bug fixes and improvements
17
Pete Batardf17d1902012-09-25 00:35:32 +0100182012-09-26: v1.0.14
19* Reverts the previous API change with regards to bMaxPower.
20 If this doesn't matter to you, you are encouraged to keep using v1.0.13,
21 as it will use the same attribute as v2.0, to be released soon.
22* Note that LIBUSBX_API_VERSION is *decreased* to 0x010000FF and the previous
Pete Batard85f1bed2013-04-15 23:15:10 +010023 guidelines with regards to concurrent use of MaxPower/bMaxPower still apply.
Pete Batardf17d1902012-09-25 00:35:32 +010024
252012-09-20: v1.0.13
26* [MAJOR] Fix a typo in the API with struct libusb_config_descriptor where
27 MaxPower was used instead of bMaxPower, as defined in the specs. If your
28 application was accessing the MaxPower attribute, and you need to maintain
29 compatibility with libusb or older versions, see APPENDIX A below.
30* Fix broken support for the 0.1 -> 1.0 libusb-compat layer
31* Fix unwanted cancellation of pending timeouts as well as major timeout related bugs
32* Fix handling of HID and composite devices on Windows
33* Introduce LIBUSBX_API_VERSION macro
34* Add Cypress FX/FX2 firmware upload sample, based on fxload from
35 http://linux-hotplug.sourceforge.net
36* Add libusb0 (libusb-win32) and libusbK driver support on Windows. Note that while
37 the drivers allow it, isochronous transfers are not supported yet in libusbx. Also
38 not supported yet is the use of libusb-win32 filter drivers on composite interfaces
39* Add support for the new get_capabilities ioctl on Linux and avoid unnecessary
40 splitting of bulk transfers
41* Improve support for newer Intel and Renesas USB 3.0 controllers on Windows
42* Harmonize the device number for root hubs across platforms
43* Other bug fixes and improvements
44
452012-06-15: v1.0.12
46* Fix a potential major regression with pthread on Linux
47* Fix missing thread ID from debug log output on cygwin
48* Fix possible crash when using longjmp and MinGW's gcc 4.6
49* Add topology calls: libusb_get_port_number(), libusb_get_parent() & libusb_get_port_path()
50* Add toggleable debug, using libusb_set_debug() or the LIBUSB_DEBUG environment variable
51* Define log levels in libusb.h and set timestamp origin to first libusb_init() call
52* All logging is now sent to to stderr (info was sent to stdout previously)
53* Update log messages severity and avoid polluting log output on OS-X
54* Add HID driver support on Windows
55* Enable interchangeability of MSVC and MinGW DLLs
56* Additional bug fixes and improvements
57
582012-05-08: v1.0.11
59* Revert removal of critical Windows event handling that was introduced in 1.0.10
60* Fix a possible deadlock in Windows when submitting transfers
61* Add timestamped logging
62* Add NetBSD support (experimental) and BSD libusb_get_device_speed() data
63* Add bootstrap.sh alongside autogen.sh (bootstrap.sh doesn't invoke configure)
64* Search for device nodes in /dev for Android support
65* Other bug fixes
66
672012-04-17: v1.0.10
68* Public release
69* Add libusb_get_version
70* Add Visual Studio 2010 project files
71* Some Windows code cleanup
72* Fix xusb sample warnings
73
742012-04-02: v1.0.9
75* First libusbx release
76* Add libusb_get_device_speed (all, except BSD) and libusb_error_name
77* Add Windows support (WinUSB driver only)
78* Add OpenBSD support
79* Add xusb sample
80* Tons of bug fixes
81
822010-05-07: v1.0.8
83* Bug fixes
84
852010-04-19: v1.0.7
86* Bug fixes and documentation tweaks
87* Add more interface class definitions
88
892009-11-22: v1.0.6
90* Bug fixes
91* Increase libusb_handle_events() timeout to 60s for powersaving
92
932009-11-15: v1.0.5
94 * Use timerfd when available for timer management
95 * Small fixes/updates
96
972009-11-06: v1.0.4 release
98 * Bug fixes including transfer locking to fix some potential threading races
99 * More flexibility with clock types on Linux
100 * Use new bulk continuation tracking in Linux 2.6.32 for improved handling
101 of short/failed transfers
102
1032009-08-27: v1.0.3 release
104 * Bug fixes
105 * Add libusb_get_max_iso_packet_size()
106
1072009-06-13: v1.0.2 release
108 * Bug fixes
109
1102009-05-12: v1.0.1 release
111 * Bug fixes
112 * Darwin backend
113
1142008-12-13: v1.0.0 release
115 * Bug fixes
116
1172008-11-21: v0.9.4 release
118 * Bug fixes
119 * Add libusb_attach_kernel_driver()
120
1212008-08-23: v0.9.3 release
122 * Bug fixes
123
1242008-07-19: v0.9.2 release
125 * Bug fixes
126
1272008-06-28: v0.9.1 release
128 * Bug fixes
129 * Introduce contexts to the API
130 * Compatibility with new Linux kernel features
131
1322008-05-25: v0.9.0 release
133 * First libusb-1.0 beta release
134
135~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136
137APPENDIX A - How to maintain code compatibility with versions of libusb and
138libusbx that use MaxPower:
139
140If you must to maintain compatibility with versions of the library that aren't
141using the bMaxPower attribute in struct libusb_config_descriptor, the
142recommended way is to use the new LIBUSBX_API_VERSION macro with an #ifdef.
143For instance, if your code was written as follows:
144
145 if (dev->config[0].MaxPower < 250)
146
147Then you should modify it to have:
148
149#if defined(LIBUSBX_API_VERSION) && (LIBUSBX_API_VERSION >= 0x01000100)
150 if (dev->config[0].bMaxPower < 250)
151#else
152 if (dev->config[0].MaxPower < 250)
153#endif