Changelog

@nut-tree/libnut Changelog

2.8.0

  • Feature: Introduce isKeyPressed function to check if a key is currently pressed
  • Maintenance: Update macOS screen capture implementation to deal with API deprecation in macOS 14 and later
  • Maintenance: Introduce separate package for macOS < 14 to maintain backwards compatibility
  • Maintenance: Switch to Automationkit submodule for shared low-level code

2.7.2

  • Enhancement: Improve focus window on Windows to deal with focus-stealing prevention
  • Bugfix: Allow meta and right_meta as modifier keys

2.7.1

  • Bugfix: Re-build broken Windows release

2.7.0

  • Enhancement: Adding support for numpad 'Enter' key
  • Enhancement: Adding support for 'Fn' modifier key
  • Maintenance: Version upgrades, CI updates, etc.

2.6.0

  • Feature: Move/focus/resize window
  • Enhancement: Adding support for numpad 'clear' key
  • Maintenance: Version upgrades, CI updates, etc.

2.5.2

  • Bugfix: Screen capture broken on macOS 13
  • Enhancement: Enable newly introduced keys to be used as modifiers
  • Bugfix: screen.highlight closes Electron window

2.5.1

  • Bugfix: Fix rounding to mouse move on Window to fix mouse drift

2.5.0

  • Bugfix: Update permissionCheck.js to cache permission check results and only ask for permissions on actual function call by wrapping it in a HOF
  • Bugfix: Add rounding to mouse move on Window to fix mouse drift
  • Enhancement: Add additional keys

2.4.1

  • Bugfix: Update permission handling on macOS

2.4.0

  • Bugfix: Fix ReferenceError: b is not defined
  • Enhancement: Improved permission handling on macOS
  • Bugfix: Limit calls to SetThreadDPIAwarenessContext to Windows 10 clients

2.3.0

  • Bugfix: Segmentation Fault when retrieving window title
  • Enhancement: Automatically check and request required permissions on macOS

2.2.0

  • Enhancement: Add Windows runtime files
  • Bugfix: Fix capture region x,y offset when DPI scaling on Windows
  • Bugfix: Fix wrong keycode for CapsLock

2.1.8

  • Bugfix: Modifier keys are not properly released on macOS
  • Bugfix: Fix mouse clicks with modifiers on macOS

2.1.7

  • Enhancement: Disable microsleep between keypresses on Windows and Linux
  • Enhancement: Add mappings for missing numpad keys
  • Enhancement: Added missing key mappings
  • Bugfix: Revert keyboardInput to use scancodes
  • Bugfix: Updated doubleClick implementation to fire two up/down cycles
  • Enhancement: Determine Windows doubleclick interval
  • Bugfix: Mouse click doesn't work on external monitor with negative x and y
  • Bugfix: macOS doubleclick fires two doubleclick events

2.1.6

  • Enhancement: Numpad buttons don't work on Linux
  • Bugfix: Issue with keyboard.type in to Spotlight on MacOS

2.1.5

  • Bugfix: Keypresses not properly caught on Windows
  • Enhancement: Enable some kind of warning / info message in case system requirements are not met

2.1.4

  • Bugfix: Windows display scaling is applied in wrong direction

2.1.3

  • Enhancement: Fix undefined behaviour of BufferFinalizer
  • Bugfix: Fix for screen highlight window minimized intead close
  • Enhancement: SendInput for mouse movement on Windows
  • Bugfix: Windows Scaling issues: screen functions broken
  • Enhancement: Support Apple Silicon
  • Bugfix: Remove scan code KEYUP block

2.1.2

  • Maintenance: Upgrade CI
  • Enhancement: Fix compiler warnings
  • Enhancement: Windows: Support for HDPI displays
  • Enhancement: macOS: Support for M1 chips
  • Enhancement: Remove static keyboard delay

2.1.1

  • Enhancement: Snapshot releases
  • Enhancement: Update CI configs
  • Enhancement: Split OS specific implementation into separate files
  • Enhancement: Linux: Update XGetMainDisplay to avoid receiving Invalid MIT-MAGIC-COOKIE-1 key
  • Enhancement: Enable GitHub Actions
  • Enhancement: Trigger snapshot build for
  • Bugfix: Region captures can't capture the whole screen

2.1.0

  • Enhancement: Retrieve coordinates of current active window
  • Enhancement: Retrieve dimensions for a window specified via its window handle
  • Enhancement: Separate folders for OS specific implementation
  • Enhancement: Retrieve window name for a given window handle

2.0.1

  • Bugfix: Fix hanging shift key after keyboard input on Windows
Previous
@nut-tree/nut-js