1# Changes 2 3## 0.9.4 4 5* bLength, bDescriptorType and wTotalLength to descriptors [#185] 6* Use &self reference for all DeviceHandle methods [#186] 7* fix: panic when trying to iterate over an interface with zero endpoints [#195] 8* Log callback API added [#194] 9* Bump libusb1-sys 0.7.0 [#205] 10 11[#185]: https://github.com/a1ien/rusb/pull/185 12[#186]: https://github.com/a1ien/rusb/pull/186 13[#195]: https://github.com/a1ien/rusb/pull/195 14[#194]: https://github.com/a1ien/rusb/pull/194 15[#205]: https://github.com/a1ien/rusb/pull/205 16 17## 0.9.3 18* impl serde::{Serialize, Deserialize} for public enums [#167] 19* Update deprecated doc link about language identifiers [#165] 20* Fix changelog URLs for 0.9.2 [#164] 21 22 23[#167]: https://github.com/a1ien/rusb/pull/167 24[#165]: https://github.com/a1ien/rusb/pull/165 25[#164]: https://github.com/a1ien/rusb/pull/164 26 27## 0.9.2 28* Random corrections around the code [#127] 29* examples: list_devices: Add vendor and product name [#128] 30* examples: read_devices: Improve usage [#125] 31* context: create rusb `Context` from existing `libusb_context` [#135] 32* `new` now uses `from_raw` [#135] 33* Fix stack use after scope in tests [#138] 34* Fix United Kingdom misspelling in languages docs [#137] 35* fields.rs: Make request_type function a const fn [#142] 36* Increase endpoint descriptor's lifetime [#149] 37* Fix timeout documentation [#151] 38 39[#127]: https://github.com/a1ien/rusb/pull/127 40[#128]: https://github.com/a1ien/rusb/pull/128 41[#125]: https://github.com/a1ien/rusb/pull/125 42[#135]: https://github.com/a1ien/rusb/pull/135 43[#138]: https://github.com/a1ien/rusb/pull/135 44[#137]: https://github.com/a1ien/rusb/pull/137 45[#142]: https://github.com/a1ien/rusb/pull/142 46[#149]: https://github.com/a1ien/rusb/pull/149 47[#151]: https://github.com/a1ien/rusb/pull/151 48 49## 0.9.1 50* impl Ord and PartialOrd for Version [#116] 51 52[#116]: https://github.com/a1ien/rusb/pull/116 53 54## 0.9.0 55* Re-export libusb1-sys as ffi [#75] 56* impl Debug for DeviceHandle [#78] 57* Add bind to libusb_get_next_timeout [#95] 58* Add DeviceHandle::into_raw() [#97] 59* Improve read_string_descriptor [#99] 60* Derive Debug for Context [#103] 61* Implement Clone for Device [#104] 62* Add Context::interrupt_handle_events() [#101] 63* context: add open_device_with_fd() [#106] 64* Rewrite hotplug registration. Add `HotplugBuilder` [#110]. And rewrite [#72] 65* ConfigDescriptor and InterfaceDescriptor extra return just slice [#111] 66 67[#72]: https://github.com/a1ien/rusb/pull/72 68[#75]: https://github.com/a1ien/rusb/pull/75 69[#78]: https://github.com/a1ien/rusb/pull/78 70[#95]: https://github.com/a1ien/rusb/pull/95 71[#97]: https://github.com/a1ien/rusb/pull/97 72[#99]: https://github.com/a1ien/rusb/pull/99 73[#101]: https://github.com/a1ien/rusb/pull/101 74[#103]: https://github.com/a1ien/rusb/pull/103 75[#104]: https://github.com/a1ien/rusb/pull/104 76[#106]: https://github.com/a1ien/rusb/pull/106 77[#110]: https://github.com/a1ien/rusb/pull/110 78[#111]: https://github.com/a1ien/rusb/pull/111 79 80## 0.8.1 81* Add getters for bRefresh and bSynchAddress [#61] 82* Implement Display for Version. [#59] 83* Add Device/DeviceHandle::context getter methods [#57] 84 85[#61]: https://github.com/a1ien/rusb/pull/61 86[#59]: https://github.com/a1ien/rusb/pull/59 87[#57]: https://github.com/a1ien/rusb/pull/57 88