diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 829b0e6..65f29fd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -150,8 +150,8 @@ jobs: # Binary cp "${{ steps.prepare.outputs.BIN_PATH }}" "$ARCHIVE_DIR" - # README and LICENSE - cp "README.md" "LICENSE" "$ARCHIVE_DIR" + # README, LICENSE, CHANGELOG + cp "README.md" "LICENSE" "CHANGELOG.md" "$ARCHIVE_DIR" # Man page cp 'doc/${{ env.PROJECT_NAME }}.1' "$ARCHIVE_DIR" # Autocompletion files diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..c4ceace --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,27 @@ +# Changelog + +## [Unreleased] + +_A release of patches, PRs and merges :), thanks to support_ + +### Added + +- Support udev/sysfs iString lookup ([#14](https://github.com/tuna-f1sh/cyme/pull/14)) (@haata). +- Add fully defined USB Device based on class code triplet. +- Support bLength, wTotalLength and bDescriptorType fields in `lsusb --verbose` with ([rusb/#185](https://github.com/a1ien/rusb/pull/185)). This completes the `lsusb --verbose` support apart from extra descriptors. +- Add `lsusb::names` mod that ports 'usbutils/names.c' to match the behaviour using `lsusb --verbose`. This means class, sub-class and protocol udev-hwdb names are included now in `lsusb --verbose` ([b99e87](https://github.com/tuna-f1sh/cyme/commit/b99e87a586248fdd6dbf72d5624e5e61e993ff5a)). +- Add the display blocks `uid-class`, `uid-subc-lass`, `uid-protocol`, `class`, and `class-value` for `DeviceBlock`s and `InterfaceBlock`s. These are also added for `--more`. +- Add `feature=udev_hwdb` to guard against systems that have udev but not hwdb support ([cross/#1377](https://github.com/cross-rs/cross/issues/1377))/([libudev-sys/#16](https://github.com/dcuddeback/libudev-sys/pull/16)). + +## Changed + +- 'usb-ids' crate is now a dependency rather than optional to support `lsusb::names` lookup without udev_hwdb (non-Linux). ([usb-ids.rs/#50](https://github.com/woodruffw/usb-ids.rs/pull/50)) will add extra descriptor parsing in future. +- iString descriptors will now be retrieved in order libusb descriptor -> sysfs cache (Linux) -> udev_hwdb (bundled usb-ids `--feature=udev_hwdb`) -> usb-ids. + +### Fixes + +- Fix ClassCode as u8 in lsusb --verbose being enum index not repr(c) base class byte. + +## [1.5.2] - 2023-11-01 + +_Changelog started._