Skip to content

0.0.13

Choose a tag to compare

@cmsj cmsj released this 03 Oct 23:40
· 391 commits to main since this release

IMPORTANT NOTE

This pre-release brings a considerable refactor of the APIs for watchers/callbacks. If you are using any watchers in your config, it will break. Please see the docs for each module, to see what its replacement API is.

CHANGELOG

Added:

  • hs.window can now generate snapshots (ie screenshots of single windows)
  • util.inspect()
  • A "Console" tab in Settings
  • hs.chooser now supports theming

Changed:

  • hs.ax can now watch arbitrary AX elements, rather than just applications
  • hs.hotkey.bind() can now accept a repeat callback at creation
  • Console Window again supports multi-line text selection
  • Almost all "watchers" are now using a common API style of .on()/.off()/.once()

Fixed:

  • hs.hotkey.bind() now raises an error if no callbacks have been supplied
  • hs.window.allWindows()/orderedWindows() no longer attempt to fetch windows for background processes
  • hs.power.lockScreen() should now function correctly
  • hs.ui.window().video() no longer crashes on .show()
  • hs.ax watcher now actually works