更新日志
此项目的所有重要变更都将记录在此文件中。
Added(新增)新添加的功能。Changed(变更)对现有功能的变更。Deprecated(废弃)已经不建议使用,即将移除的功能。Removed(移除)已经移除的功能。Fixed(修复)对 bug 的修复。Security(安全)对安全性的改进。
[即将发布]
变更
- Updated recommendation for Svelte router in #4085 by @benmccann
新增
v2.10.1 - 2025-02-24
修复
- Fixed listenerOff issue by @leaanthony.
- Fixed issues building with
darwin/universaltarget by @leaanthony.
v2.10 - 2025-02-15
新增
- Added option to set window class name on Windows. Added in PR by @APshenkin
修复
- Fixed dev mode logging bug by @attperac in #3972
- Fixed
reloaddirswails.json config options by @atterpac in #4005 - Fixed cross compilation failed with CGO PR by @fcying
- Using go-webview2 v0.1.17 to fix native webview2loader issue, by @leaanthony
- Fixed example for macOS menu by @takuyahara in PR
- Fixed typo by @takuyahara in PR
- Fixed incorrect TS definition of
WindowSetSizeby @leaanthony - Ensure showHiddenFiles works with directory dialog by @leaanthony in PR
- chore: fix some comments in PR by @lvyaoting
- [windows] Fixed frameless window flickering when minimizing/restoring by preventing unnecessary redraws #3951
- Fixed failed models.ts build due to non-json-encodable Go types PR by @pbnjay
- Fixed more binding and typescript export bugs PR by @pbnjay
- Fixed Dispatcher.ProcessMessage crash process instead of return error PR #4015 by @ronaldinho_x86
- Fixed Windows SaveDialog crash by @leaanthony
- Fixed
buildvcserrors by @leaanthony - Fixed updating menus on MacOS by @stffabi
- Fixed a build error on macOS that occurred when the
outputfilenameandnamefields in wails.json were different. Fixed in PR by @nickisworking
变更
- Removed documentation references for 'The default module name in go.mod is "changeme". You should change this to something more appropriate.' as it appears to be no longer relevant.
- Update script in Mac App Store guide to support app names containing spaces by @cristianrgreco
- Allow to specify macos-min-version externally. Implemented by @APshenkin in PR
- Updated installation docs for latest linux os version and libwebkit issue PR by @pratikmota
v2.9.3 - 2025-02-13
新增
- Go 1.24 support by @leaanthony
修复
- Now using
-buildvcs=falsebuild tag by default to removeerror obtaining VCS status: exit status 128errors by @leaanthony
v2.9.2 - 2024-09-18
修复
- Fixed CGO memory issue on Darwin by @leaanthony in PR
- Fixed an error that occurred when an author name contains a string that is not suitable for JSON. Fixed by @taiseiotsuka in PR
- Fixed MacOS build to use
outputfilenamefrom wails.json. #3200 - Fixed file drop events on windows. Fixed in PR by @FrancescoLuzzi
- Fixed doctor command not finding pkg-config on Solus. PR #3670 by @ianmjones
- Fixed binding for struct fields that were exported but had no json tags. PR #3678
- Fixed file drop events on Windows in PR by @FrancescoLuzzi
- Modified
ZoomFactorandIsZoomControlEnabledoptions to be Windows-only options in PR#3644 by @levinit - Added nil check for Drag-n-Drop on Windows. Fixed by in PR by @leaanthony based on the suggestion by @Alpa-1 in #3596.
- Fixed typos in various .mdx files. PR #3628 by @deining
- Fixed
notifyListeners()race condition when terminated mid-emission PR by @mrf345 - Fixed dialogs in Windows when using Go 1.23 in PR by @leaanthony
- More syscall fixes for Go 1.23 support in PR by @leaanthony
- Fixed drag and drop missing cursor icon PR by @mrf345
变更
- Modified docs to reflect the correct password syntax for the
gon-sign.jsonfile PR by @ignasbernotas
v2.9.1 - 2024-06-18
修复
- Fixed build issues on Linux for some glibc versions. Fixed in PR by @leaanthony.
v2.9.0 - 2024-06-16
新增
- Added Drag & Drop (files or folders) support for Windows and Linux. Added by @lyimmi in PR. Based on the work of @ayatkyo for Windows in PR.
- Added Drag & Drop (files or folders) support for macOS. Added by @APshenkin in PR.
- Support for compiling with
libwebkit2gtk-4.1instead of4.0to support latest Ubuntu release by atterpac in #3465 - Extended Routing guide with Svelte example by @stanislav-zeman in #3481
- Unit test for fix #3476 by gjergj in #3485
- German Readme Translation by Zeiichenfolge in #3483
- Added support generating bindings for structs without fields. Added by gjergj in PR
变更
- Updated several broken links in the "How Does It Work?" page on the website. Changed by @oguz-yilmaz in PR #3469
- Upgraded Go version in CI to 1.22 by @leaanthony in #3473.
修复
- Fix Drag & Drop JS runtime. Added by @jakubpeleska, provided by Beam Transfer in PR.
- Fixed optional type generation where an extra
?would be placed inside the field name instead of outside the name"field?"?vs"field"?. Fixed by @atterpac in #3476 - Fixed an issue where
WindowGetPositionandWindowSetPositionvalues were inconsistent on MacOS. Fixed by @cenan - Fix scoop command usage typo. Fixed by @fieu in #3501
- Fixed macOS single instance lock reset after some time. Fixed by @APshenkin in PR
v2.8.2 - 2024-05-08
Breaking Change
- The
-noPackageflag was misnamed and is being renamed tonopackageto match the other flags. Changed by @leaanthony in PR.
新增
- Added support for proxying assets requests to an external server. Added by @leaanthony in PR
修复
- Fixed an issue with missing icon for Windows. Fixed by @APshenkin
v2.8.1 - 2024-04-11
新增
- Added docs help to indicate that in IDE options you can choose between vscode and goland. Added by @DiegPS in PR
- Added docs to help fix NixOs/Wayland font-size css issue. Added by @atterpac in PR
- Added -m (skip
go mod tidy) flag to dev command by @te5se in PR - Added mac option
DisableZoomto remove zoom button. Added by @wizzymore in PR
修复
- Fixed an issue where embed directives with patterned paths would create illegal directories. Changed by @twonull in PR
- Fixed an issue where certain calls to createFrom in TypeScript would fail. Changed by @twonull in PR
- Fixed some typos in comments. Changed by @reallylowest in PR
- Fixed an issue where the destination file was not properly closed after copying. Changed by @testwill in PR
- Fixed an issue where
xattrcalls were not working. Fixed by @leaanthony - Warn in the documentation that the fixed version of the WebView 2 Runtime must be extracted before use. Documented by @ALizarazoTellez in PR.
变更
- Changed Create a project with changing the default name to the project’s name. Changed by @Twacqwq in PR
v2.8.0 - 2024-02-08
新增
- Added windows options supports
DisablePinchZoomconfiguration. Added by @tuuzed in PR - Add Apple Silicon hardware detection to
wails doctor. Changed by @almas1992 in PR - Remove quarantine attribute on macOS binaries. Changed by @leaanthony in PR
- Added documentation for a common GStreamer error on Linux systems. Changed by @mkwsnyder in PR
- Added documentation on explicity example of importing JS runtime. Changed by @danawoodman in PR
- Add dock icon right-click exit handling by @almas1992 in PR
修复
- Fixed vue-ts template build error. Fixed by @atterpac in PR
- Docs for IsZoomControlEnabled and ZoomFactor. Fixed by @leaanthony in PR
- Fixed
-compilerflag forwails build,wails devandwails generate module. Fixed in PR by @xtrafrancyz - Fixed uninitialized
SecondInstanceData.WorkingDirectoryon linux and windows (#3154). - Fixed React Routing documentation add 'Routes' and 'Route'. Fixed by @doracpphp in PR
- Fixed save file dialog not appending file extension automatically on Windows by @almas1992 in PR
- Fixed compatibility for wails cli being built with go 1.22 and later. Fixed by @stffabi in PR
- Fixed documentation for Window API return types. Fixed by @jangler in PR
v2.7.1 - 2023-12-10
修复
- Segfault in
wails doctorwhen GPU device information is not provided. Thanks to @atterpac for the fix (#3108). - Fixed building on macOS 11. Updated other build guards. Fixed in #3111 by @leaanthony.
变更
- Go 1.20 is now the minimum supported Go version.
v2.7.0 - 2023-12-09
新增
- Update the description of
ZoomFactorandIsZoomControlEnabledattributes in the document. Added by @biuaxia in PR - Added Single Instance Lock support with passing arguments to first instance. Added by @APshenkin in PR
- Added support for enabling/disabling swipe gestures for Windows WebView2. Added by @leaanthony in PR
- When building with
-devtoolsflag, CMD/CTRL+SHIFT+F12 can be used to open the devtools. Added by @leaanthony in PR – Added file association support for macOS and Windows. Added by @APshenkin in PR - Added support for setting some of the Webview preferences,
textInteractionEnabledandtabFocusesLinkson Mac. Added by @fkhadra in PR - Added support for enabling/disabling fullscreen of the Webview on Mac. Added by @fkhadra in PR
- Added French README.fr.md page. Added by @nejos97 in PR
- New task created for linting v2
task v2:lint. Workflow updated to run the task. Added by @mikeee in PR - Added new community template wails-htmx-templ-chi-tailwind. Added by @pylotlight in PR
- Added CPU/GPU/Memory detection for
wails doctor. Added by @leaanthony in #d51268b8d0680430f3a614775b13e6cd2b906d1c - The AssetServer now injects the runtime/IPC into all index html files and into all html files returned when requesting a folder path. Added by @stffabi in PR
- Added Custom Protocol Schemes associations support for macOS and Windows. Added by @APshenkin in PR – Added support for TS interfaces generation as an option. Add support for Enums in TS types. Added by @APshenkin in PR
变更
- AssetServer requests are now processed asynchronously without blocking the main thread on Windows. Changed by @stffabi in PR
- AssetServer requests are now processed concurrently by spawning a goroutine per request. Changed by @stffabi in PR
- Now building with
-devtoolsflag doesn't enable the default context-menu. Changed by @mmghv in PR - Change Window Level. Changed by @almas1992 in PR
修复
- Fixed typo on docs/reference/options page. Added by @pylotlight in PR
- Fixed issue with npm being called npm20 on openSUSE-Tumbleweed. Fixed by @TuffenDuffen in PR
- Fixed memory corruption on Windows when using accelerator keys. Fixed by @stffabi in PR
- Fixed binding mapping for obfuscated build, when binding are in different structs. Fixed by @APshenkin in PR
- Fixed issue with obfuscation settings in wails.json. Fixed by @APshenkin in PR