Release / / with 0.9.98, 0.9.99
Hammerspoon 0.9.100
Keep custom menu bar items in their chosen positions across reloads.
Share
Before you upgrade to 0.9.100
3 to fixReplace `hs.menubar.newWithPriority()` with `hs.menubar.new()`; remove `priority()` and `hs.menubar.priorities`. Use `autosaveName` to preserve a manually chosen position.
Read the evidence
Replace `hs.battery.psuSerial()` and `psuSerialString()` with `hs.battery.adapterSerialNumber()`; handle either a number, a string or nil.
Read the evidence
Console scrollback is now truncated; `hs.console.maxOutputHistory()` controls the history limit.
Read the evidence
What changed in 0.9.100
0.9.98 adds saved menu positions and more Stream Deck devices; 0.9.99 restores WebSocket connections; 0.9.100 adds binary digest output.
Download 0.9.100; requires macOS 11 or later.
New things you can do
Preserve a custom menu bar item's position across reloads.
Read the evidence
Move floating windows into full-screen Spaces using the force option.
Read the evidence
Fixes `hs.application.get()` returning nil and restores Lua-pattern matching.
Read an application's supported and preferred localizations.
Submit chooser text even when it matches no listed choice.
Read the evidence
Read the current mouse cursor type.
Read the evidence
Read or set RTS and DTR serial control lines.
Read the evidence
Use Stream Deck Mini V2, Plus and Pedal devices in Lua automations.
Read the evidence
Calculate MD5 and SHA digests as raw bytes for protocol integrations.
Read the evidence
0.9.99 reverses the WebSocket connection regression introduced in 0.9.98.
Fixed and improved
Spaces works with separate display Spaces disabled and resolves the Dock correctly when Docker is installed.
Read the evidence
The window switcher dismisses with Caps Lock enabled, and window hints handle UTF-8 characters.
Read the evidence
`colorAt()` accounts for image scale and `getExifFromPath()` avoids the fixed crash.
Read the evidence
Stopping or checking the camera watcher before it is initialized no longer crashes.
Asynchronous HTTP requests can follow redirects.
Read the evidence
Seeded by @iluxav with Codex, from the release's public sources. Each change links to its evidence.