
If you experience crashes with this version of Hammerspoon, please report them on GitHub.

Fixed: hs.http should no longer crash when its callbacks are called from a Lua corouting.Fixed: hs.httpserver should now be able to process text WebSocket messages properly.Added: hs.camera for enumerating/watching camera devices, and checking the “in use” status.Added: hs.audiodevice:inUse() to identify if an audio device (input or output) is currently being used.Added: hs.shortcuts and a Shortcuts action for executing Lua in Hammerspoon.Please open Issues on GitHub if this affects you. This should be transparent to users, but there may be some modules that are broken. Significant rearrangement of the Hammerspoon.app bundle.Fixed: hs.docs.hsdocs and hs.docs.markdown now work, allowing the “Help” button in the Console window to function.Changed: hs.keycodes now attempts to work around a change in macOS 12 that caused keycodes 93 and 94 to be listed incorrectly.Changed: hs.ipc callbacks now limit how many times they can be called recursively, to work around a potential crash.Changed: Attempted to work around a crash in hs.eventtap.Changed: hs.processInfo now contains information about CPU architecture and use of Rosetta2.Fixed: hs.streamdeck now correctly reads serial/firmware information on all models.Fixed: hs.mouse should now correctly determine if a pointing device is internal.Fixed: hs.viceCallback() should no longer crash in some circumstances.Fixed: hs.camera.isInUse() now works correctly.Fixed: hs.doc.builder can now be loaded again.Fixed: hs.audiodevice:setBalance() now works correctly.Added: hs.urlevent.mailtoCallback for handling mailto: URIs.Added: hs.streamdeck now supports the Mk2 model.Added: hs.http.put(), hs.http.asyncPut().Added: hs.razer to support Razer Tartarus V2.Default values of package.path/package.cpath should now work with Homebrew luarocks on Apple Silicon.Fixed: hs.camera.isInUse() no longer crashes.Changed: Several macOS SDK deprecations have been adapted to, across multiple modules.Added: hs.screen:getInfo() (may be helpful for distinguishing between multiple identical monitors).Added: hs.webview.toolbar:toolbarStyle().Fixed: Prevented a possible race condition in hs.webview when fading and deleting an object.Fixed: hs.http connection callbacks should no longer crash in some situations if Lua coroutines are being used.Lua search paths (package.path and package.cpath) have been updated to search in some additional locations.Fixed: hs.spaces no longer errors if Docker.app is installed.Fixed: hs.menubar no longer overlaps images and text, if both are set.Add support for Stream Deck Pedal #3409.
#Hammerspoon hacks plus

Fix windowHints bugs with utf8 chars #3243.Truncate Console scrollback history #3400.


You may get different results than before, but they should be more correct now.
