List of breaking changes between major versions.
// Deprecated
windowManager.getScaleFactor(windowManager.getActiveWindow().getMonitor());
// Replace with
windowManager.getActiveWindow().getMonitor().getScaleFactor();The windowManager.requestAccessibility method won't be required before each operation on windows anymore. Only on:
window.setBoundswindow.maximizewindow.minimizewindow.restorewindow.bringToTopwindow.getTitle
Now the window.getMonitor method returns Monitor object.
window.getInfo method has been removed.
// Deprecated
const { title } = window.getInfo();
// Replace with
const title = window.getTitle();