You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,37 +7,48 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7
7
8
8
## [Unreleased]
9
9
10
+
### Added
11
+
12
+
*`DummyUsbBus` without functionality to allow examples that actually compile (but not run).
13
+
10
14
### Changed
15
+
11
16
*[breaking] The control pipe is now provided in the `UsbDeviceBuilder` API to allow for user-provided control
12
17
pipes. This makes it so that control pipes have configurable sizing.
13
18
14
19
## [0.3.2] - 2024-03-06
15
20
16
21
### Added
22
+
17
23
* A new `log` feature can be enabled to provide logging and tracing information about the USB
18
24
interface.
19
25
20
26
### Changed
27
+
21
28
*[breaking] LangIDs no longer implement `TryFromPrimitive`. The minor version has not been bumped
22
29
as this was not intended to be used in the public API.
23
-
- If this is problematic, please open an issue in the main `usb-device` repository.
30
+
* If this is problematic, please open an issue in the main `usb-device` repository.
24
31
* Changed handling of EP0 state to eliminate unexpected issues with device enumeration
25
32
26
33
## [0.3.1] - 2023-11-15
27
34
28
35
### Added
36
+
29
37
*`BuilderError`, `LangID`, `StringDescriptors` now in `prelude`
30
38
*`LangID` now in `class_prelude`
31
39
32
40
### Changed
41
+
33
42
* Updated documentation, including example code
34
43
35
44
## [0.3.0] - 2023-11-13
36
45
37
46
### Fixed
47
+
38
48
* Fixed a defect where enumeration may fail due to timing-related issues ([#128](https://github.com/rust-embedded-community/usb-device/issues/128))
39
49
40
50
### Added
51
+
41
52
* New enums and allocators for Isochronous endpoints ([#60](https://github.com/rust-embedded-community/usb-device/pull/60)).
42
53
* Ability to select USB revision ([#116](https://github.com/rust-embedded-community/usb-device/pull/116)).
43
54
* Added support for alternate settings on interfaces ([#114](https://github.com/rust-embedded-community/usb-device/pull/114)).
@@ -46,22 +57,26 @@ as this was not intended to be used in the public API.
46
57
*`UsbDeviceBuilder` has a public `.extra_lang_ids()` method to specify LANGIDs besides ENGLISH_US(0x0409)
47
58
48
59
### Breaking
60
+
49
61
* Acess numeric form of `EndpointType` variants now require a `.to_bm_attributes()`. ([#60](https://github.com/rust-embedded-community/usb-device/pull/60))
50
62
*`DescriptorWriter::iad()` now requires a `Option<StringIndex>` to optionally specify a string for describing the function ([#121](https://github.com/rust-embedded-community/usb-device/pull/121))
51
63
*`.manufacturer()`, `.product()` and `.serial_number()` of `UsbDeviceBuilder` are now replaced with the `strings()` function that accepts a `StringDescriptor` list to allow multilanguage support ([#122](https://github.com/rust-embedded-community/usb-device/pull/122))
52
64
* Various methods of the `UsbDeviceBuilder` now return `Result<>` types instead of internally panicking.
53
65
54
66
### Changed
67
+
55
68
*`EndpointType` enum now has fields for isochronous synchronization and usage ([#60](https://github.com/rust-embedded-community/usb-device/pull/60)).
56
69
*`descriptor_type::STRING` of `fn get_descriptor()` will send the LANGIDs supported by device, and respond STRING Request with specified LANGID. ([#122](https://github.com/rust-embedded-community/usb-device/pull/122))
57
70
*`UsbError` is now copyable and comparable ([#127](https://github.com/rust-embedded-community/usb-device/pull/127))
58
71
59
72
## [0.2.9] - 2022-08-02
60
73
61
74
### Added
75
+
62
76
* Optional support for defmt ([#76](https://github.com/rust-embedded-community/usb-device/pull/76)).
63
77
64
78
### Fixed
79
+
65
80
* Fixed an issue where USB devices were not enumerating on Windows ([#32](https://github.com/rust-embedded-community/usb-device/issues/82))
66
81
* Fixed Suspend state transition so it goes back to the previous state, not just Default ([#97](https://github.com/rust-embedded-community/usb-device/pull/97))
0 commit comments