0.9.29 - 15 Apr 2015
Minimum OS X version: 10.8
Core
- None
Extensions
- Fixed: hs.hints now works with more unusual windows, such as Steam
- Fixed: hs.menubar menu entry disabling now works as documented
- Fixed: hs.screen gamma related functions now have the correct names in API docs
- Fixed: hs.eventtap.event.newMouseEvent()’s 4th parameter is now optional, as documented
- Changed: hs.hints.windowHints() now accepts an optional threshold for showing window titles, to help avoid cluttering the screen
- Changed: hs.grid resizing functions now work in more cases, e.g. resizing even if a window is at the screen edge already, but has space to grow in the other direction
- Changed: hs.hotkey.modal hotkeys can now supply a callback for repeat events
- Added: hs.caffeinate.watcher for reacting to system power events (display sleep/wake, system sleep/wake)
0.9.28 - 02 Apr 2015
Minimum OS X version: 10.8
Core
- Fixed: Lua exceptions raised by code in the Hammerspoon Console should no longer cause the whole app to abort()
Extensions
- Fixed: Prospective fixes for crash bugs in hs.application.watcher, hs.eventtap.event and hs.application
- Fixed: hs.drawing objects are now correctly garbage collected across configuration reloads
- Changed: hs.itunes and hs.spotify return nil on errors in their getFoo() functions, instead of a table of Applescript error information
- Added: hs.screen.setShadows()
- Added: hs.screen.getGamma(), hs.screen.setGamma() and hs.screen.restoreGamma() for inspecting/manipulating the white and black points of monitor gamma curves
- Removed: hs.screen.setTint(), which was impossibly unfriendly to use, almost entirely undocumented, and is superceded by the preceeding fooGamma() function/methods