0.9.57 - 16 Oct 2017

Minimum OS X version: 10.10

Core

  • None

Extensions

  • Fixed: hs.battery.getAll() improved handling non-functions
  • Fixed: hs.eventtap.event.newKeyEvent() restores pre-0.9.56 behaviour with nil modifiers parameters
  • Fixed: hs.caffeinate.startScreensaver() now works under High Sierra
  • Fixed: hs.streamdeck no longer incorrectly garbage collects button callbacks

0.9.56 - 15 Sep 2017

Minimum OS X version: 10.10

Core

  • Fixed: Lua copyright dates are now correct

Extensions

  • Fixed: hs.base64.encode() should no longer crash when fed invalid input
  • Fixed: hs.eventtap middle/other mouse button event synthesis should now work again
  • Added: hs.streamdeck
  • Added: hs.dialog
  • Added: hs.fs.xattr
  • Added: hs.eventtap.event:timestamp()
  • Added: hs.timer.absoluteTime()
  • Added: hs.hotkey.assignable() and hs.hotkey.systemAssigned()
  • Added: hs.window:focusTab()
  • Added: hs.fs.displayName()
  • Added: dark mode support to hs.webview, Preferences window and Console window
  • Added: hs.host.gpuVRAM()
  • Added: hs.battery.otherBatteryInfo() (provides battery charge level for compatible Bluetooth devices)
  • Added: hs.mouse.scrollDirection()
  • Added: hs.settings.watchKey()
  • Added: hs.urlevent.openURL()
  • Changed: hs.ipc has been completely rewritten
  • Changed: hs.grid no longer places double-width margins between windows
  • Changed: hs.plist can now handle paths with ~ in them
  • Changed: hs.network.configuration:setLocation() can now accept UUIDs as well as names
  • Changed: hs.notify.warnAboutMissingFunctionTag can now be a function
  • Changed: The window entry in hs.layout tables can now also be a window object, or a function that returns a list of window objects