0.9.41 - 30 Sep 2015
Minimum OS X version: 10.8
Core
- None
Extensions
- Fixed: Fix a garbage collection bug in hs.milight
- Fixed: hs.drawing should now be usable on 10.8
- Changed: hs.hotkey events can now optionally show an message on screen (to make it easier to see what you did)
- Changed: hs.hotkey now defines and enforces behaviour when multiple hotkeys with the same modifiers/key are configured
- Changed: hs.hotkey keycodes no longer need to be prefixed by
#
- Changed: hs.host no longer pre-caches host address data. This makes the call slower, but means the data is never stale
- Changed: hs.layout can now accept hs.application objects as well as application names
- Changed: hs.grid improvements
- Changed: hs.window.filter improvements
- Changed: hs.drawing objects now try not to raise other Hammerspoon Windows when they are clicked
- Added: hs.hotkey.showHotkeys(), hs.hotkey.getHotkeys(), hs.hotkey.alertDuration
- Added: hs.window:setFrameInScreenBounds(), hs.window:raise(), hs.window:sendToBack()
- Added: hs.screen:toUnitRect()
- Added: hs.window.tiling (currently deemed experimental)
- Added: hs.window.layout (currently deemed experimental)
- Added: hs.webview
0.9.40 - 09 Sep 2015
Minimum OS X version: 10.8
Core
- None
Extensions
- Fixed: hs.screen object methods were broken in 0.9.39, and are now fixed
- Fixed: hs.alert now correctly handles multiple monitors
- Fixed: hs.window.ensureIsInScreenBounds() now interacts properly with window animations
- Fixed: hs.milight was broken in 0.9.39, and is now fixed
- Fixed: hs.httpserver now works correctly with SSL, on OS X 10.11
- Changed: hs.window.allWindows() should now be significantly faster
- Changed: hs.layout.apply() now matches window titles as Lua patterns
- Added: hs.timer:setNextTrigger()
- Added: hs.window.find() and hs.application.find(), which effectively deprecate hs.appfinder
- Added: hs.window.get(), hs.window.move()
- Added: hs.application.open(), hs.application.get(), hs.application:getWindow(), hs.application:findWindow()
- Added: hs.urlevent can now register Hammerspoon as the default handler for http/https URLs, and adds API for managing that
- Added: hs.drawing:setLevel(), hs.drawing.windowLevels
- Added: hs.geometry:floor(), hs.geometry.string, hs.geometry.table and various other improvements to hs.geometry
- Added: hs.window.filter.copy()