# Changelog

## v2.0.0
- **Breaking**: Removed macOS support. The project is now Linux-only.
- Removed Homebrew integration, launchd plist, IOKit helper, and `--daemon` option.
- Removed macOS-specific tests and CI job.

## v1.1.2
- Added a man page (`usb-wakeup-blocker(1)`).
- The RPM now installs the command as `usb-wakeup-blocker`; `usb-wakeup-blocker.sh` remains as a compatibility symlink.
- Reworked the spec file against the Fedora Packaging Guidelines (`%license`, `%check`, versioned source tarball).

## v1.1.1
- Fixed helper binary path resolution for Homebrew installs on Apple Silicon (`/opt/homebrew/bin/`).

## v1.1.0
- Added udev rule support for automatic handling of hot-plugged USB devices.
- Refactored device detection to prioritize sysfs, significantly improving performance and reliability.
- Added `-p`/`--path` option to process a specific USB device, optimized for udev triggers.
- Added `-l`/`--list` option for easy status checking.
- Improved test suite with better isolation and increased coverage for edge cases.

## v1.0.3
- Support Fedora 44.
- Modernized RPM spec file with proper dependencies and systemd macros.

## v1.0.2
- Added packaged bash and zsh completions so the RPM ships shell completions out of the box.

## v1.0.1
- Updated version to 1.0.1
- Aligned installation paths of `usb-wakeup-blocker.sh` and `usb-wakeup-blocker.service` with RPM packaging standards:
    - `usb-wakeup-blocker.sh`: from `/usr/local/bin/usb-wakeup-blocker.sh` to `/usr/bin/usb-wakeup-blocker.sh`
    - `usb-wakeup-blocker.service`: from `/etc/systemd/system/usb-wakeup-blocker.service` to `/usr/lib/systemd/system/usb-wakeup-blocker.service`

## v1.0.0
- Initial release
- RPM packaging for easy installation via Copr.
