0.9.51 - 25 Dec 2016

Minimum OS X version: 10.10

Core

  • Objective C exceptions that happen inside Lua callbacks should no longer cause Hammerspoon to exit.
  • Fixed a potential crash in the About window (seriously)
  • The rebuild.sh script documented in CONTRIBUTING.md, for doing self-signed local builds of Hammerspoon, is now included in the scripts/ directory

Extensions

  • Fixed: Fixed a potential crash in hs.application.getMenuStructure()
  • Fixed: Fixed a potential crash in hs.styledtext
  • Fixed: Fixed a potential crash in hs.keycodes
  • Fixed: Fixed a potential crash in hs.webview
  • Fixed: hs.drawing should be more resistant against crashing when given impossible sizeRect arguments
  • Fixed: hs.chooser should be more resistant against crashing when receiving unusual events
  • Fixed: hs.chooser should no longer crash when no rows are displayed, but a selection event occurs
  • Fixed: hs.chooser should no longer leak Lua function references
  • Fixed: hs.application.getMenuStructure() now correctly reports the enabled state of menu items
  • Fixed: Fixed a crash in hs.audiodevice watchers that only occurred with certain third party audio hardware
  • Changed: hs.eventtap functions now have a configurable delay between sending events
  • Changed: hs.chooser now looks better when a choice has no subText
  • Changed: hs.chooser:selectedRow() can now be use to manually select a row
  • Changed: hs.chooser now logs Lua callback exceptions to the Hammerspoon Console
  • Changed: hs.chooser right click callbacks now receive an argument containing the row that was clicked on
  • Changed: hs.chooser will now update its search results if you use the API to change the search query or choices)
  • Changed: hs.wifi has been modernised to newer macOS APIs and now allows watchers to know when many more wireless properties change (e.g. roaming between BSSIDs, link quality changes, etc.
  • Added: hs.spotlight
  • Added: hs.network.ping
  • Added: hs.deezer
  • Added: hs.watchable
  • Added: hs.canvas
  • Added: hs.caffeinate.sessionProperties()
  • Added: hs.alert style can now specify the corner radius
  • Added: hs.webview windows can now have shadows
  • Added: hs.chooser:selectedRowContents()
  • Added: hs.screen.accessibilitySettings()

0.9.50 - 17 Nov 2016

Minimum OS X version: 10.10

Core

  • None

Extensions

  • Fixed: Several hs.timer regressions introduced in 0.9.47 have been fixed