github Hammerspoon/Hammerspoon2 0.0.14

latest releases: 1.0.0-beta.4, 1.0.0-beta.3, 1.0.0-beta.2...
one month ago

IMPORTANT NOTE

This pre-release includes a significant change to the way some Hammerspoon objects are garbage collected by JavaScript.

If an object is "running" or "active" in some way, such as a hotkey or a watcher, you no longer need to hold a reference to it yourself, it will remain alive until it completes its work or is otherwise destroyed.

It is likely that this has introduced some new bugs - please report them as issues here.

Added

  • Documentation now includes a guide for using TypeScript for your configuration
  • hs.fs now offers API for opening/reading/writing files

Changed

  • hs.hotkey hotkeys now remap themselves when keyboard layout changes, so they remain consistent
  • .on() watchers now reject invalid event names
  • hs.canvas objects can now receive right mouse clicks
  • hs.window.focus() no longer raises all windows of an application
  • hs.task spawned processes are reaped more enthusiastically when terminated
  • hs.menubar items can now receive middle/right/other mouse clicks

Fixed

  • hs.ipc and the hs2 command line tool now actually work
  • hs.chooser shadows no longer clip to a rectangular shape

Don't miss a new Hammerspoon2 release

NewReleases is sending notifications on new releases.