Wails v3 Alpha Release - v3.0.0-alpha.93
Added
- Add
XDG_SESSION_TYPEtowails3 doctoroutput on Linux by @leaanthony
Fixed
- Fix window menu crash on Wayland caused by appmenu-gtk-module accessing unrealized window (#4769) by @leaanthony
- Fix GTK application crash when app name contains invalid characters (spaces, parentheses, etc.) by @leaanthony
- Fix "not enough memory" error when initializing drag and drop on Windows (#4701) by @overlordtm
- Fix race condition in mainthread callback store using incorrect RLock for map deletion (Linux, macOS, iOS) (#4424) by @leaanthony
- Fixed variable handling when passing command-line arguments to tasks. CLI variables specified as KEY=VALUE pairs are now properly initialized and propagated throughout task execution.
- Fix NSWindowZoomButton conflict on macOS:
MaximiseButtonStateandFullscreenButtonStatenow apply the more restrictive state at both startup and runtime; neither setter can silently override the other (#5319) - Fix a cluster of pre-existing bugs in the legacy GTK3 build path (
-tags gtk3) surfaced by CodeRabbit on #5463: file-association launches no longer skip startup handlers;getThemeis bounds- and type-safe;appNameno longer frees GLib-owned memory;clipboardGetno longer leaks thegchar*returned by GTK;Callocnow uses pointer receivers (andNewCallocreturns*Calloc) so the pool actually tracks allocations;zoomOutuses the reciprocal ofzoomInFactorinstead of a negative multiplier that clamped to 1.0;execJSreuses the preallocated empty world-name instead of leaking aC.CString("")per call; a developmentfmt.Printlnwas removed frommenuItem.setAccelerator. Resolves #5465. - Fix the same
Callocvalue-receiver leak in the default GTK4 build path (linux_cgo.go): pointer receivers +NewCalloc() *Callocso per-windowc.String(...)allocations are actually tracked and freed.
🤖 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-alpha.93⚠️ Alpha Warning: This is pre-release software and may contain bugs or incomplete features.