Skip to content

Releases: wailsapp/wails

v3.0.0-alpha.3

11 Dec 07:39
85d68ce
Compare
Choose a tag to compare
v3.0.0-alpha.3 Pre-release
Pre-release

This is not a release, but more of a maintenance tag. Don't expect anything to work. Except maybe some of the examples. And maybe some cli commands might work...

v2.7.1

09 Dec 23:42
ae99d7a
Compare
Choose a tag to compare

Fixed

  • Segfault in wails doctor when 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.

Changed

  • Go 1.20 is now the minimum supported Go version.

v2.7.0

09 Dec 06:33
6a8322c
Compare
Choose a tag to compare

v2.7.0 - 2023-12-09

Added

  • Update the description of ZoomFactor and IsZoomControlEnabled attributes 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 -devtools flag, 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, textInteractionEnabled and tabFocusesLinks on 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

Changed

  • 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 -devtools flag doesn't enable the default context-menu. Changed by @mmghv in PR
  • Change Window Level. Changed by @almas1992 in PR

Fixed

  • 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

Alpha 2 - "Let's take them to Task" edition

12 Nov 10:39
df49f49
Compare
Choose a tag to compare

This is not a release, but more of a maintenance tag. Don't expect anything to work. Except maybe some of the examples.

Alpha 1 - The "it's all broken" edition

28 Oct 22:41
ee194f3
Compare
Choose a tag to compare
Pre-release

This is not a release, but more of a maintenance tag. Don't expect anything to work.

v2.6.0

06 Sep 09:57
1644ee1
Compare
Choose a tag to compare

v2.6.0 - 2023-09-06

Breaking Changes

  • AssetServer RequestURI and URL are now RFC and Go Docs compliant for server requests. This means Scheme, Host and Fragments are not provided anymore. Changed by @stffabi in PR

Fixed

  • Avoid app crashing when the Linux GTK key is empty. Fixed by @aminya in PR
  • Fix issue where app would exit before main() on linux if $DISPLAY env var was not set. Fixed by @phildrip in PR
  • Fixed a race condition when positioning the window on Linux. Added by @lyimmi in PR
  • Fixed SetBackgroundColour so it sets the window's background color to reduce resize flickering on Linux. Added by @lyimmi in PR
  • Fixed disable window resize option and wrong initial window size when its enabled. Added by @lyimmi in PR
  • Fixed build hook command parsing. Added by @smac89 in PR
  • Fixed -reloaddir flag to watch additional directories (non-recursively). @haukened in PR #2871
  • Fixed support for Go 1.21 go.mod files. Fixed by @stffabi in PR

Added

  • Added correct NodeJS and Docker package names for DNF package manager of Fedora 38. Added by @aranggitoar in PR
  • Added -devtools production build flag. Added by @mmghv in PR
  • Added EnableDefaultContextMenu option to allow enabling the browser's default context-menu in production . Added by @mmghv in PR
  • Added smart functionality for the default context-menu in production with CSS styles to control it. Added by @mmghv in PR
  • Added custom error formatting to allow passing structured errors back to the frontend.
  • Added sveltekit.mdx guide. Added by @figuerom16 in PR
  • Added ProgramName option to linux.Options. Added by @lyimmi in PR
  • Added new community template wails-sveltekit-ts. Added by @haukened in PR
  • Added support for retrieving the logical and physical screen size in the screen api. Added by @stffabi in PR
  • Added new community template wails-sveltekit-tailwind. Added by @pylotlight in PR
  • Added support for print dialogs. Added by @aangelisc in PR
  • Added new wails dev -nogorebuild flag to prevent restarts on back end file changes. @haukened in PR #2870

Changed

  • Now uses new go-webview2 module. Added by @leaanthony in PR.
  • Changed styling of doctor command. Changed by @MarvinJWendt in PR
  • Enable HiDPI option by default in windows nsis installer. Changed by @5aaee9 in PR
  • Now debug builds include the un-minified version of the runtime JS with source maps . Changed by @mmghv in PR

v2.5.1

16 May 09:46
Compare
Choose a tag to compare

Breaking Changes

  • The Go WebView2Loader allowed env variable and registry overrides to change the behaviour of WebView2. This is not possible when using the native WebView2Loader with Wails and should not be possible according to PR. Changed by @stffabi in PR
  • wails dev now uses the custom schemes wails:// on macOS and Linux for all Vite versions. This also fixes missing reloads after multiple fast savings on Linux and Windows. Changed by @stffabi in PR

Fixed

  • Fixed segfaults during fast reloads of requests on macOS. Fixed by @stffabi in PR
  • Fixed devserver on Linux for older WebKit2GTK versions < 2.36. Fixed by @stffabi in PR
  • Fixed devserver on Windows that might have triggered the WebView2 into a hang. Fixed by @stffabi in PR

v2.5.0

13 May 04:52
774cbde
Compare
Choose a tag to compare

Breaking Changes

  • wails dev now uses the custom schemes wails:// 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 StructDefs 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 in wails 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 in zypper.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

v2.4.1

20 Mar 09:33
Compare
Choose a tag to compare

Changed

  • Support single clicks on items with --wails-draggable: drag again on Windows. Changed by @stffabi in PR

Fixed

  • Fixed panic when using wails dev and the AssetServer tried to log to the logger. Fixed by @stffabi in PR
  • Fixed compatibility with WebView2 Runtime > 110.0.1587.69 which showed a connection refused html page before doing a reload of the frontend. Fixed by @stffabi in PR

v2.4.0

08 Mar 12:29
ebc14de
Compare
Choose a tag to compare

Added

  • Added Webview GPU acceleration options for Windows and Linux. Added by @lyimmi in #2266
  • Added EnableFraudulentWebsiteDetection option to opt-in to scan services for fraudulent content, such as malware or phishing attempts. Older releases had the scan services per default activated. Added by @stffabi in #2269
  • Allow an AssetServer Middleware to specify the Content-Type of a file served by the Assets fs.FS. Added by @stffabi in #2286
  • The AssetServer now detects more mimetypes by extension, e.g. .mjs. Added by @stffabi in #2391

Changed

  • Improved fullscreen mode for frameless window on Windows. Changed by @stffabi in #2279, #2288 and #2299
  • On Windows unmaximising a window has no effect anymore when the window is in fullscreen mode, this makes it consistent with e.g. macOS. Changed by @stffabi in #2279
  • Frameless resize now sets the cursor on documentElement, otherwise resizing cursor won't be shown outside of the body rectangle. Changed by @stffabi in #2289
  • Improved the --wails-draggable experience to be more reactive. Changed by @stffabi in #2302
  • NSIS template now installs the shortcuts for all users and not only for the current user. Changed by @stffabi in #2373

Fixed

  • Fixed failing build hooks when build/bin was missing. Fixed by @lyimmi in #2273
  • Fixed fullscreen mode for frameless window on Windows to fully cover the taskbar when changing into fullscreen from maximised state. Fixed by @stffabi in #2279
  • Fixed set window background colour on Windows when setting the colour via runtime. Fixed by @stffabi in #2279
  • Fixed the showing of a white border around a fullscreen window when DisableWindowIcon is active on Windows. Fixed by @stffabi in #2299
  • Fixed the sometimes lagging drag experience with --wails-draggable on Windows. Fixed by @stffabi in #2302
  • Fixed applying the default arch to platform flag in wails cli. If only a GOOS has been supplied as platform flag e.g. wails build --platform windows the current architecture wasn't applied and the build failed. Fixed by @stffabi in #2309
  • Fixed a segfault on opening the inspector on older macOS versions. Fixed by @stffabi in #2397
  • Fixed the macos single architecture builds not respecting an output file name specified with the '-o' flag. Fixed by @gwynforthewyn in #2358
  • Fixed undo/redo on macOS. Fixed by @stffabi in #2430
  • Fixed Events* runtime functions in JavaScript not returning the function to cancel the watcher. Fixed by @zllovesuki in #2434
  • Fixed AppOptions merging defaults when a custom logger is used. Fixed by @stffabi in #2452
  • Fixed race condition and missing unlock of mutex in events handling. Fixed by @stffabi in #2453