Some minor clean-ups
This release has a small breaking change in RawRequest()
, that will not automatically append /j
anymore before the request. For those that doesn't know, /j
is the way to request a JSON response from Hyprland IPC (equivalent of passing -j
to hyprctl
), so if for some reason you were relying on this behavior, you will need to change your scripts to append /j
manually.
Also, this release drop supports for Go 1.20 so we can use cmp.Ordered
and min/max
.
What's Changed
- flake: add examples/events as sub-package by @thiagokokada in #28
- event.Receive() optimisations by @thiagokokada in #30
- request: do not append '/j' in RawRequest() by @thiagokokada in #31
- event/event.go: fix panic when the event becomes too small by @thiagokokada in #32
- request: make 'j/' prefix for requests optional by @thiagokokada in #33
- Drop Go 1.20 support by @thiagokokada in #34
- request: refactor prepareRequests() by @thiagokokada in #36
Full Changelog: v0.1.1...v0.2.0