Releases: wailsapp/wails
Releases · wailsapp/wails
v2.10.0
Alias for v2.10
v2.10
Added
- Added option to set window class name on Windows. Added in PR by @APshenkin
Fixed
- Fixed dev mode logging bug by @attperac in #3972
- Fixed
reloaddirs
wails.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
WindowSetSize
by @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
buildvcs
errors by @leaanthony - Fixed updating menus on MacOS by @stffabi
- Fixed a build error on macOS that occurred when the
outputfilename
andname
fields in wails.json were different. Fixed in PR by @nickisworking
Changed
- 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
Added
- Go 1.24 support by @leaanthony
Fixed
- Now using
-buildvcs=false
build tag by default to removeerror obtaining VCS status: exit status 128
errors by @leaanthony
v3.0.0-alpha.9
Legend:
- - macOS
- ⊞ - Windows
- 🐧 - Linux
Added
app.OpenFileManager(path string, selectFile bool)
to open the system file manager to the pathpath
with optional highlighting viaselectFile
by @Krzysztofz01 @rcalixte- New
-git
flag forwails3 init
command by @leaanthony - New
wails3 generate webview2bootstrapper
command by @leaanthony - Added
init()
method in runtime to allow manual initialisation of the runtime by @leaanthony - Added
WindowDidMoveDebounceMS
option to Window's WindowOptions by @leaanthony - Added Single Instance feature by @leaanthony. Based on the v2 PR by @APshenkin.
wails3 generate template
command by @leaanthonywails3 releasenotes
command by @leaanthonywails3 update cli
command by @leaanthony-clean
option forwails3 generate bindings
command by @leaanthony
Fixed
- Fixed min/max width options for linux by @atterpac in #3979
- Typescript templates types definitions via npm version bump by @atterpac in #3966
- Fix Sveltekit template CSS referance by @atterpac in #3945
- Ensure key callbacks in window run() are called on the main thread by @leaanthony
- Fix dialog directory chooser examples by @leaanthony
- Created new Chinese error page when index.html is missing by @leaanthony
- Ensure
windowDidBecomeKey
callback is running on main thread by @leaanthony - Support fullscreen for frameless windows by @leaanthony
- Improved window destroying logic by @leaanthony
- Fix window position logic when attached to system trays by @leaanthony
- Support fullscreen for frameless windows by @leaanthony
- Fix event handling by @leaanthony
- Fixed window shutdown logic by @leaanthony
- Common taskfile now defaults to generating Typescript bindings for Typescript templates by @leaanthony
- ⊞ Fix Close application on WM_CLOSE message when no windows are open/systray only by @mmalcek in #3990
- Fixed garble build by @5aaee9 in #3192
- ⊞ Fixed windows nsis builds by @leaanthony
Changed
- Moved build assets to platform specific directories by @leaanthony
- Moved and renamed Taskfiles to platform specific directories by @leaanthony
- Created a much better experience when
index.html
is missing by @leaanthony - ⊞ Improved performance of minimise and restore by @leaanthony. Based on original PR by 562589540
- Removed
ShouldClose
option (Register a hook for events.Common.WindowClosing instead) by @leaanthony - ⊞ Reduced flicker when opening a window by @leaanthony
- Removed
Window.Destroy
as this was intended to be an internal function by @leaanthony - Renamed
WindowClose
events toWindowClosing
by @leaanthony - Frontend builds now use vite environment "development" or "production" depending on build type by @leaanthony
- ⊞ Update to go-webview2 v1.19 by @leaanthony
v3.0.0-alpha.8.3
- Patch main wails CLI
v3.0.0-alpha.8.2
- Update task fork
v3.0.0-alpha.8.1
- Using fork of Taskfile to fix version issues when installing using
go install
by @leaanthony
Full Changelog: v3.0.0-alpha.8...v3.0.0-alpha.8.1
v3.0.0-alpha.8
v3.0.0-alpha.8 - 2024-12-06
Added
- Support of linux packaging of deb,rpm, and arch linux packager builds by @atterpac in #3909
- Added Support for darwin universal builds and packages by ansxuman in #3902
- Events documentation to the mkdocs webite by atterpac in #3867
- Templates for sveltekit and sveltekit-ts that are set for non-SSR development by atterpac in #3829
- Update build assets using new
wails3 update build-assets
command by leaanthony - Example to test the HTML Drag and Drop API by FerroO2000 in #3856
- File Association support by leaanthony in #3873
- New
wails3 generate runtime
command by leaanthony - New
InitialPosition
option to specify if the window should be centered or positioned at the given X/Y location by leaanthony in #3885 - Add
Path
&Paths
methods toapplication
package by ansxuman and leaanthony in #3823 - Added
GeneralAutofillEnabled
andPasswordAutosaveEnabled
Windows options by leaanthony in #3766 - Added the ability to retrieve the window calling a service method by leaanthony in #3888
- Added
EnabledFeatures
andDisabledFeatures
options for Webview2 by leaanthony. - [Windows] New DIP system for Enhanced High DPI Monitor Support by @mmghv in #3665
Changed
service.OnStartup
now shutdowns the application on error and runsservice.OnShutdown
for any prior services that started by @atterpac in #3920- Refactored systray click messaging to better align with user interactions by @atterpac in #3907
- Asset embed to include
all:frontend/dist
to support frameworks that generate subfolders by @atterpac in #3887 - Taskfile refactor by leaanthony in #3748
- Upgrade to
go-webview2
v1.0.16 by leaanthony - Fixed
Screen
type to includeID
notId
by etesam913 in #3778 - Update
go.mod.tmpl
wails version to supportapplication.ServiceOptions
by northes in #3836 - Fixed service name determination by windom in #3827
- mkdocs serve now uses docker by leaanthony
- Consolidated dev config into
config.yml
by leaanthony - Systray dialog now defaults to the application icon if available (Windows) by @leaanthony
- Better reporting of GPU + Memory for macOS by @leaanthony
- Removed
WebviewGpuIsDisabled
andEnableFraudulentWebsiteWarnings
(superseded byEnabledFeatures
andDisabledFeatures
options) by leaanthony - Ensure JS package has parity with various node versions by @atterpac in #3821
Fixed
- Fixed deadlock in Linux dialog for multiple selections caused by unclosed channel variable by @michael-freling in #3925
- Fixed cross-platform cleanup for .syso files during Windows build by ansxuman in #3924
- Fixed amd64 appimage compile by @atterpac in #3898
- Fixed build assets update by @ansxuman in #3901
- Fixed Linux systray
OnClick
andOnRightClick
implementation by @atterpac in #3886 - Fixed
AlwaysOnTop
not working on Mac by leaanthony in #3841 - [darwin] Fixed
application.NewEditMenu
including a duplicatePasteAndMatchStyle
role in the edit menu on Darwin by johnmccabe in #3839 - [linux] Fixed aarch64 compilation #3840 in #3854 by kodflow
- [windows] Fixed radio group menu items by @leaanthony
- [linux] Fix Keybind remit by @atterpac in #3797
- setURL bug fix by @atterpac in #3533
New Contributors
- @johnmccabe made their first contribution in #3839
- @FerroO2000 made their first contribution in #3856
- @northes made their first contribution in #3836
- @ansxuman made their first contribution in #3823
- @kodflow made their first contribution in #3854
- @michael-freling made their first contribution in #3925
Full Changelog: v3.0.0-alpha.7...v3.0.0-alpha.8
v3.0.0-alpha.7
v3.0.0-alpha.7 - 2024-09-18
Added
- [windows] Window class name option by windom in #3682
- Services have been expanded to provide plugin functionality. By atterpac and leaanthony in #3570
Changed
- Events API change:
On
/Emit
-> user events,OnApplicationEvent
-> Application EventsOnWindowEvent
-> Window Events, by leaanthony - Fix for Events API on Linux by TheGB0077 in #3734
- [CI] improvements to actions & enable to run actions also in forks and branches prefixed with
v3/
orv3-
by stendler in #3747
Fixed
- Fixed bug with usage of customEventProcessor in drag-n-drop example by etesam913 in #3742
- [linux] Fixed linux compile error introduced by IgnoreMouseEvents addition by atterpac in #3721
- [windows] Fixed syso icon file generation bug by atterpac in #3675
- [linux] Fix to run natively in wayland incorporated from #1811 in #3614 by @stendler
- Do not bind internal service methods in #3720 by leaanthony
- [windows] Fixed system tray startup panic in #3693 by @DeltaLaboratory
- Do not bind internal service methods in #3720 by leaanthony
- [windows] Fixed system tray startup panic in #3693 by @DeltaLaboratory
- Major menu item refactor and event handling. Mainly improves macOS for now. By leaanthony
- Fix tests after plugins and event refactor in #3746 by @stendler
- [windows] Fixed
Failed to unregister class Chrome_WidgetWin_0
warning. By leaanthony
v2.9.2
v2.9.2 - 2024-09-18
Fixed
- 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
outputfilename
from 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
ZoomFactor
andIsZoomControlEnabled
options 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
Changed
- Modified docs to reflect the correct password syntax for the
gon-sign.json
file PR by @ignasbernotas
New Contributors
- @ALizarazoTellez made their first contribution in #3444
- @Gornius made their first contribution in #3560
- @xisuo67 made their first contribution in #3573
- @FrancescoLuzzi made their first contribution in #3595
- @plutov made their first contribution in #3551
- @taisei-86 made their first contribution in #3638
- @pbnjay made their first contribution in #3678
- @levinit made their first contribution in #3644
- @deining made their first contribution in #3628
- @mrf345 made their first contribution in #3695
- @iberflow made their first contribution in #3620
- @edai-git made their first contribution in #3567
- @matta made their first contribution in #3724
- @ssahillppatell made their first contribution in #3738
Full Changelog: v2.9.1...v2.9.2