Breaking Changes
wails dev
now uses the custom schemeswails://
on macOS and Linux if Vite >=v3.0.0
is used. This makes the dev application consistent in behaviour with the final production application and fixes some long-standing inconsistencies. Changed by @stffabi in PR
Added
- Added Nodejs version in
wails doctor
. Added by @misitebao in PR - Added support for WebKit2GTK 2.40+ on Linux. This brings additional features for the AssetServer, like support for HTTP Request Bodies. The app must be compiled with the Go build tag
webkit2_40
to activate support for this features. This also bumps the minimum requirement of WebKit2GTK to 2.40 for your app. Added by @stffabi in this PR - macOS: Added Window menu role with well known shortcuts "Minimize, Full-Screen and Zoom". Added by @stffabi in PR
- macOS: Added "Hide, Hide Others, Show All“ to appmenu. Added by @stffabi in PR
- Windows: Added flag to disable the WebView2
RendererCodeIntegrity
checks, please see the comment on the flag for more information. Added by @stffabi in PR - Windows: Added handling of WebView2 process crashes, for unrecoverable errors an error message is shown that the app needs to be restarted. If an error occurs that shows a chromium error page, make sure the Window and the WebView2 is visible. Added by @stffabi in PR
Changed
- [v3] Typescript model generation using
StructDef
s from new AST-based parser. Added by @ATenderholt in PR1 and PR2.
Fixed
- Fixed console printing in
wails generate template
. Fixed by @misitebao in PR - Fixed unicode encoding of strings for multi-rune characters. Fixed by @joshbuddy in PR
- Fixed
-skipbindings
flag inwails dev
. Fixed by @stffabi in PR - Fixed
runtime.MenuUpdateApplicationMenu
on macOS. Fixed by @stffabi in PR - Fixed add package name for
libwebkit
/pkg-config
and use shell.RunCommandWithENV instead of shell.RunCommand inzypper.go
. Fixed by @wgjtyu in PR - Make sure to start the CommonFileDialogs on Windows on the Main-Thread. Fixed by @stffabi in PR
- Fixed generated typescript bindings. Fixed by @dominictwlee in PR
- Fixed
StartHidden
option not working on Linux. Fixed by @LGiki in PR