Wails v3 Alpha Release - v3.0.0-alpha2.108
Added
- Add global (system-wide) keyboard shortcuts via
app.GlobalShortcut(Register,Unregister,UnregisterAll,IsRegistered,GetAll). Shortcuts fire even when the application is not focused. Implemented natively per platform with no third party dependencies: Carbon hot keys on macOS,RegisterHotKeyon Windows,XGrabKeyon X11, and the XDG Desktop Portal global shortcuts interface on Wayland. - Add built-in MCP server: a Model Context Protocol server that starts automatically when the application is built with the
mcptag, letting LLM agents test and control a running Wails application — window control, DOM inspection, JavaScript evaluation, bound method calls, events and simulated mouse/keyboard input rendered with an animated on-screen cursor. No user code required: themcptag is added automatically bywails3 build/wails3 devwhenWAILS_MCP=1is set. Configured entirely via environment variables (WAILS_MCP_HOST,WAILS_MCP_PORT,WAILS_MCP_TIMEOUT,WAILS_MCP_HIDE_CURSOR).
Fixed
- Fix
Menu.Update()not rebuilding the native menu on GTK4 Linux (#5659, independently diagnosed and fixed by @puneetdixit200 in #5539) - Fix crash enumerating macOS screens on display change by copying screen id/name strings and snapshotting the count (#5565, independently diagnosed and fixed by @x-haose in #5584)
🤖 This is an automated nightly release generated from the latest changes on master.
Installation:
go install github.com/wailsapp/wails/v3/cmd/wails3@v3.0.0-alpha2.108⚠️ Alpha Warning: This is pre-release software and may contain bugs or incomplete features.