0.9.56 - 15 Sep 2017

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

0.9.55 - 17 Jul 2017

Core

  • None

Extensions

  • Fixed: hs.spotify play/pause states should now be reported correctly
  • Fixed: hs.http no longer assumes that HTTP responses can be encoded as UTF8 (e.g. if they are binary responses)
  • Fixed: hs.eventtap.event properties now agree with the documentation about the name of “other” mouse buttons
  • Added: hs.image:encodeAsURLString()
  • Added: hs.webview.toolbar:selectSearchField()
  • Added: Drag&drop support in hs.canvas
  • Added: hs.console can now fully theme the Hammerspoon Console
  • Added: hs.host.idleTime, hs.host.thermalState
  • Added: hs.pathwatcher callback now receives event information
  • Added: hs.spoons
  • Added: hs.open() for quickly opening files (URL support to come later)
  • Added: hs.plist
  • Changed: Some improvements to hs.webview
  • Changed: hs.image exporting functions can now control pixel size
  • Changed: hs.layout.apply() should make windows jump around less
  • Changed: hs.chooser now ignores the special meanings of Option-Enter and Ctrl-Enter, allowing them to be used for alternate selection operations