Skip to content

Releases: sentialx/node-window-manager

2.2.0

16 Apr 18:37
Compare
Choose a tag to compare

Changes

  • Added createProcess method for Windows

Fixes

  • Fixed bad access to AXUIElement macOS (#45)

2.1.2

15 Apr 19:50
Compare
Choose a tag to compare

Fixes

  • Fixed crash on macOS (#44)

2.1.0

14 Apr 12:13
Compare
Choose a tag to compare

Changes

  • Added prebuilds (#38)

Fixes

  • Fixed memory leaks on macOS (#43)
  • Fixed window.bringToTop not working on Windows (#39)

2.0.1

16 Dec 16:59
Compare
Choose a tag to compare

Changes

  • Added a stub EmptyMonitor object for non-Windows systems for better cross-platform compatibility.

2.0.0

14 Dec 18:11
1d7b0a9
Compare
Choose a tag to compare

Breaking changes

  • Removed window.getInfo
  • Moved windowManager.getScaleFactor to monitor.getScaleFactor
  • windowManager.requestAccessibility is now required only for certain operations rather than for everything.
  • window.getMonitor returns Monitor object instead of a number.

More info in breaking-changes.md

Changes

  • Added Monitor class (#3)
  • Added windowManager.getMonitors method
  • Added windowManager.getPrimaryMonitor method
  • Added window.getIcon method (#22)

Fixes

  • Fixed crashes when initializing new Window object on macOS Catalina (#27)
  • Fixed windowManager.getActiveWindow not updating on macOS (#20)

1.3.1

12 Dec 17:41
Compare
Choose a tag to compare

Fixes

  • Fixed some functions not working on Windows (#29)

1.3.0

11 Dec 21:47
Compare
Choose a tag to compare

Changes

  • Window class now accepts only a numeric window id
  • Window class now always inits its corresponding AXUIElementRef handle on macOS (#23)
  • requestAccessibility method now returns true on non-macOS systems for better compatibility

Fixes

  • Fixed bringToTop not working on macOS in some cases (#25)
  • Fixed getWindows method returning invalid windows on macOS (#21)

1.2.0

15 Nov 13:04
Compare
Choose a tag to compare

Features

  • Add macOS maximize method (#19)
  • Add requestAccessibility method for macOS (now it's required to do any action)

1.1.0

20 Aug 16:16
Compare
Choose a tag to compare

New features

  • Added isVisible method to window object (#15)

Changes

  • Added support for 32-bit systems (#14)

1.0.0

13 Jun 16:14
Compare
Choose a tag to compare

Changes

  • Rewrote macOS implementation to Objective-C++ instead of Swift to achieve maximum performance (speed up from 50ms per call to 1ms).
  • Added getInfo method to Window class.
  • Added getWindows method to windowManager.
  • Renamed Window instance property handle to id.
  • Removed process property from Window and added two properties:
    • processId
    • path
  • Window constructor can now accept either a number or a WindowInfo object.