0.9.20 - 02 Feb 2015
Minimum OS X version: 10.8
Core
Extensions
- Changed: hs.mouse now understands multiple displays more usefully. Please update your usage of hs.mouse.set() / hs.mouse.get() to hs.mouse.getAbsolutePosition() and hs.mouse.setAbsolutePosition()
- Added: hs.caffeinate.lockScreen(), hs.caffeinate.startScreensaver(), hs.caffeinate.rebootSystem() and hs.caffeinate.shutdownSystem()
- Added: hs.mouse.getRelativePosition(), hs.mouse.setRelativePosition and hs.mouse.getCurrentScreen()
- Added: hs.geometry.isPointInRect
- Added: hs.alert.closeAll
- Added: hs.application.focusedWindow() and hs.application:isFrontmost()
0.9.19 - 23 Jan 2015
Minimum OS X version: 10.8
This is primarily a bugfix release. Please report issues on GitHub if any of these cause regressions!
Core
Extensions
- Changed: hs.layout now defaults to placing windows on the first screen, if nothing is specified
- Fixed: hs.keycodes’s inputSourceChanged callbacks should no longer cause Hammerspoon to crash
- Fixed: hs.hotkey callbacks should no longer cause Hammerspoon to crash
- Fixed: hs.caffeinate is slightly more robust
- Fixed: memory leaks in hs.ipc, hs.screen and hs.uielement