0.9.28 - 02 Apr 2015

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

0.9.27 - 21 Mar 2015

Note

  • The hs.spotify extension is reported to not be working with the latest Spotify client, due to changes in their AppleScript support. This will be addressed in a future Hammerspoon release (possibly by removing hs.spotify, if it is no longer workable)

Core

  • Changed: Lua callbacks from C/ObjC extensions should now be unable to corrupt the Lua function registry if they are overfreed (which is a known bug in hs.notify)

Extensions

  • Changed: hs.itunes and hs.spotify no longer display an hs.alert for each operation.
  • Changed: hs.window.windowsTo{East,West,North,South} now attempt to take window z-order into account when ordering windows by proximity
  • Added: hs.urlevent for reacting to hammerspoon:// URLs being opened by other apps (i.e. this is another way to do IPC with Hammerspoon)