This release contains multiple breaking changes, features, and bug fixes. View the migration guide for upgrade guidelines.
Breaking Changes
-
SimpleReactiveGlobalHookwas renamed toReactiveGlobalHook. -
The
Run,RunAsync, andStopmethods as well as theIsRunningandIsDisposedproperties were moved fromIGlobalHookandIReactiveGlobalHookintoIBasicGlobalHookwhich bothIGlobalHookandIReactiveGlobalHooknow extend. -
Because of the above change,
RunAsyncfor reactive global hooks now returns aTaskinstead of anIObservable<Unit>. -
ReactiveLogSourceAdapternow contains a single constructor with a default parameter instead of two constructors.
New Features
-
SharpHook.R3 – a new package for integration with R3 was added.
-
EventLoopGlobalHook– a new implementation ofIGlobalHook– was added. -
IBasicGlobalHookandBasicGlobalHookBasewere added for easier creation of custom global hooks with different event forms. -
ReactiveLogSourceAdapternow implementsILogSourcein addition toIReactiveLogSource.
Bug Fixes
- On Windows, global hooks now correctly report the key that was pressed or released on non-QWERTY layouts.
Other Changes
- libuiohook was updated to commit a2cba5f.