Releases: wailsapp/wails
Releases · wailsapp/wails
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
v3.0.0-alpha.6
- Fix module issues
v3.0.0-alpha.5
Added
- [linux] WindowDidMove / WindowDidResize events in #3580
- [windows] WindowDidResize event in (#3580)
- [darwin] add Event ApplicationShouldHandleReopen to be able to handle dock icon click by @5aaee9 in #2991
- [darwin] add getPrimaryScreen/getScreens to impl by @tmclane in #2618
- [darwin] add option for showing the toolbar in fullscreen mode on macOS by @fbbdev in #3282
- [linux] add onKeyPress logic to convert linux keypress into an accelerator @Atterpac in#3022
- [linux] add task
run:linux
by @marcus-crane in #3146 - Export
SetIcon
method by @almas1992 in PR - Improve
OnShutdown
by @almas1992 in PR - Restore
ToggleMaximise
method inWindow
interface by @fbbdev in #3281 - Added more information to
Environment()
. By @leaanthony in aba82cc based on PR by @Mai-Lapyst - Expose the
WebviewWindow.IsFocused
method on theWindow
interface by @fbbdev in #3295 - Support multiple space-separated trigger events in the WML system by @fbbdev in #3295
- Add ESM exports from the bundled JS runtime script by @fbbdev in #3295
- Add binding generator flag for using the bundled JS runtime script instead of the npm package by @fbbdev in #3334
- Implement
setIcon
on linux by @abichinger in #3354 - Add flag
-port
to dev command and support environment variableWAILS_VITE_PORT
by @abichinger in #3429 - Add tests for bound method calls by @abichinger in #3431
Fixed
- Fixed resize event messaging by atterpac in #3606
- [linux] Fixed theme handling error on NixOS by tmclane in [#3515)(https://github.com//pull/3515)
- Fixed cross volume project install for windows by atterpac in #3512
- Fixed react template css to show footer by atterpac in #3477
- Fixed zombie processes when working in devmode by updating to latest refresh by Atterpac in #3320.
- Fixed appimage webkit file sourcing by Atterpac in #3306.
- Fixed Doctor apt package verify by Atterpac in #2972.
- Fixed application frozen when quit (Darwin) by @5aaee9 in #2982
- Fixed background colours of examples on Windows by mmghv in #2750.
- Fixed default context menus by mmghv in #2753.
- Fixed hex values for arrow keys on Darwin by jaybeecave in #3052.
- Set drag-n-drop for windows to working. Added by @pylotlight in PR
- Fixed bug for linux in doctor in the event user doesn't have proper drivers installed. Added by @pylotlight in PR
- Fix dpi scaling on start up (windows). Changed by @almas1992 in PR
- Fix replace line in
go.mod
to use relative paths. Fixes Windows paths with spaces - @leaanthony. - Fix MacOS systray click handling when no attached window by thomas-senechal in PR #3207
- Fix failing Windows build due to unknown option by thomas-senechal in PR #3208
- Fix crash on windows left clicking the systray icon when not having an attached window tw1nk in PR #3271
- Fix wrong baseURL when open window twice by @5aaee9 in PR #3273
- Fix ordering of if branches in
WebviewWindow.Restore
method by @fbbdev in #3279 - Correctly compute
startURL
across multipleGetStartURL
invocations whenFRONTEND_DEVSERVER_URL
is present. #3299 - Fix the JS type of the
Screen
struct to match its Go counterpart by @fbbdev in #3295 - Fix the
WML.Reload
method to ensure proper cleanup of registered event listeners by @fbbdev in #3295 - Fix custom context menu closing immediately on linux by @abichinger in #3330
- Fix the output path and extension of model files produced by the binding generator by @fbbdev in #3334
- Fix the import paths of model files in JS code produced by the binding generator by @fbbdev in #3334
- Fix drag-n-drop on some linux distros by @abichinger in #3346
- Fix missing task for macOS when using
wails3 task dev
by @hfoxy in #3417 - Fix registering events causing a nil map assignment by @hfoxy in #3426
- Fix unmarshaling of bound method parameters by @fbbdev in #3431
- Fix handling of multiple return values from bound methods by @fbbdev in #3431
- Fix doctor detection of npm that is not installed with system package manager by @pekim in #3458
- Fix missing MicrosoftEdgeWebview2Setup.exe. Thanks to @robin-samuel.
- Fix random crash on linux due to window ID handling by @leaanthony. Based on PR #3466 by @5aaee9.
- Fix systemTray.setIcon crashing on Linux by @windom in #3636.
Changed
- Renamed
AbsolutePosition()
toPosition()
by mmghv in #3611 - Update linux webkit dependency to webkit2gtk-4.1 over webkitgtk2-4.0 to support Ubuntu 24.04 LTS by atterpac in #3461
- The bundled JS runtime script is now an ESM module: script tags importing it must have the
type="module"
attribute. By @fbbdev in #3295 - The
@wailsio/runtime
package does not publish its API on thewindow.wails
object, and does not start the WML system. This has been done to improve encapsulation. The WML system can be started manually if desired by calling the newWML.Enable
method. The bundled JS runtime script still performs both operations automatically. By @fbbdev in #3295 - The Window API module
@wailsio/runtime/src/window
now exposes the containing window object as a default export. It is not possible anymore to import individual methods through ESM named or namespace import syntax. - The JS window API has been updated to match the current Go
WebviewWindow
API. Some methods have changed name or prototype, specifically:Screen
becomesGetScreen
;GetZoomLevel
/SetZoomLevel
becomeGetZoom
/SetZoom
;GetZoom
,Width
andHeight
now return values directly instead of wrapping them within objects. By @fbbdev in #3295 - The binding generator now uses calls by ID by default. The
-id
CLI option has been removed. Use the-names
CLI option to switch back to calls by name. By @fbbdev in #3468 - New binding code layout: output files were previously organised in folders named after their ...
v2.9.1
What's Changed
- Update README.ru.md by @vffuunnyy in #3544
- Fix build for Linux/v2.9.0 by @leaanthony in #3545
New Contributors
- @vffuunnyy made their first contribution in #3544
Full Changelog: v2.9.0...v2.9.1
v2.9.0
v2.9.0 - 2024-06-16
Summary
- Improved drag'n'drop support! More information here.
- Support for compiling against
libwebkit2gtk-4.1
:-tags webkit2_41
- Support generating bindings for structs without fields.
- Fixes for
WindowGetPosition
andWindowSetPosition
on macOS. - Improved documentation.
- Translations processing fixed.
Added
- 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.1
instead of4.0
to 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
Changed
- 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.
Fixed
- 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
WindowGetPosition
andWindowSetPosition
values 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
Breaking Change
- The
-noPackage
flag was misnamed and is being renamed tonopackage
to match the other flags. Changed by @leaanthony in PR.
Added
- Added support for proxying assets requests to an external server. Added by @leaanthony in PR
Fixed
- Fixed an issue with missing icon for Windows. Fixed by @APshenkin
v2.8.1
Added
- 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
DisableZoom
to remove zoom button. Added by @wizzymore in PR
Fixed
- 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
xattr
calls were not working. Fixed by @leaanthony
Changed
v2.8.0
Added
- Added windows options supports
DisablePinchZoom
configuration. 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
- Fixed vue-ts template build error. Fixed by @atterpac in PR
- Docs for IsZoomControlEnabled and ZoomFactor. Fixed by @leaanthony in PR
- Fixed
-compiler
flag forwails build
,wails dev
andwails generate module
. Fixed in PR by @xtrafrancyz - Fixed uninitialized
SecondInstanceData.WorkingDirectory
on linux and windows (#3154). - 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
v3.0.0-alpha.4
wails3 dev
andwails3 package
for Windows and Mac- Refactored runtime to provide
@wailsio/runtime
and compiled runtime options - Updated examples
- Fixed frameless drag and resize on Windows
wails3 tool cp
for copying files- Fix WML example
- Refactor asset server
- Refactored dev tools support
- Fixed default extension for Save Dialog
- Support aliases in package imports (bindings)