Wails Versions Save

Create beautiful applications using Go

v2.5.1

1 year ago

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

1 year ago

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

1 year ago

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

1 year ago

Added

Changed

Fixed

v3.0.0-alpha.0

1 year ago

Because imports won't work without it!

v2.3.1

1 year ago
  • Fix version

v2.3.0

1 year ago

v2.3.0 - 2022-12-29

Added

  • Added OpenInspectorOnStartup to debug options to allow opening the WebInspector during startup of the application in debug mode. Added by @stffabi in PR
  • On macOS wails doctor now also shows the version of Xcode installed. Added by @stffabi in PR
  • The AssetServer now supports handling range-requests if the Assets fs.FS provides an io.ReadSeeker. Added by @stffabi in PR
  • Add new property for the wails.json config file - bindings. More information on the new property can be found in the updated schema. Properties prefix and suffix allow you to control the generated TypeScript entity name in the model.ts file. Added by @OlegGulevskyy in PR
  • The WindowSetAlwaysOnTop method is now exposed in the JS runtime. Fixed by @gotid in PR
  • The AssetServer now supports serving the index.html file when requesting a directory. Added by @stffabi in PR
  • Added support for WebKit2GTK 2.36+ on Linux. This brings additional features for the AssetServer, like support for HTTP methods and Headers. The app must be compiled with the Go build tag webkit2_36 to activate support for this features. This also bumps the minimum requirement of WebKit2GTK to 2.36 for your app. Fixed by @stffabi in this PR
  • Added support for file input selection on macOS. Added by @stffabi in PR
  • Added support Request/Response streaming of the AssetServer on macOS. Added by @stffabi in PR
  • Added request path checks for the AssetServer. Added by @stffabi in PR
  • Added new App Store guide. Added by @achhabra2 in PR
  • Added extra libwebkit check for dnf package manager (required for latest Fedora). Fixed by @NullCode1337 in this PR
  • Added new -nomodsync flag to disable the automatic syncing of the go.mod file. Added by @leaanthony in PR
  • Added support for adding prefix and postfix text to generated Typescript classes. Added by @OlegGulevskyy in PR
  • Added reference to NSIS as optional dependency. Added by @acheong08 in PR
  • Added Korean translation for the website. Added by @cybertramp in PR

Fixed

  • The noreload flag in wails dev wasn't applied. Fixed by @stffabi in this PR
  • build/bin folder was duplicating itself on each reload in wails dev mode. Fixed by @OlegGulevskyy in this PR
  • Prevent a thin white line at the bottom of a frameless window on Windows. Fixed by @stffabi in this PR
  • Better signal handling for Linux. Fixed by @leaanthony in this PR
  • Running the docs locally was broken due to mandatory crowdin token requirement. Fixed by @OlegGulevskyy in this PR
  • Generated typescript for Go functions that returned a single error was incorrect. Fixed by @ATenderholt in this PR
  • The right mouse event was not being raised correctly for Linux. Fixed by @leaanthony in this PR
  • Remove extra spaces in Wails version when querying go.mod. Fixed by @matholt in this PR
  • Fix go tests failure on Mac. Fixed by @avengerweb in this PR
  • Fix go test errors. Fixed by @misitebao & @avengerweb in these PRs
  • Added WindowSetAlwaysOnTop to the JS runtime. Fixed by @gotid in PR
  • Fixed obfuscated flag typo in docs. Fixed by @ckilb in PR
  • Fixed React Hash Router link in docs. Fixed by @marvinhosea in PR

Changed

  • Improve error message if no index.html could be found in the assets and validate assetserver options. Changed by @stffabi in this PR
  • Promote the Go WebView2Loader from experimental to stable. This means now per default all Wails build use the new loader introduced with v2.2.0. The old loader remains usable with build tag native_webview2loader for the next few releases. Changed by @stffabi in this PR
  • Refactored CLI. Changed by @leaanthony in this PR
  • Remove unreachable code. Changed by @tmclane in this PR

v2.2.0

1 year ago

v2.2.0 - 2022-11-09

Added

  • Wails now uses a purpose built, native Go implementation of Microsoft's webview2loader dll. This means there is no need to embed the Webview2Loader.dll file in your binaries, meaning filesizes will be ~130k smaller! Thanks to @stffabi for this awesome contribution!
  • This release provides much more control over custom asset handling via the new AssetServer options. This allows you to provide your own custom asset handler and hook into the request chain through middleware. Thanks to @stffabi for this awesome contribution and @mholt for the initial idea and extensive testing.
  • It is now possible to customise the layout of your Wails projects using 2 new options in wails.json:
    • build:dir can be used to specify where the build files reside
    • frontend:dir can be used to specify where the frontend files reside
    • If go.mod is not found in the same directory as wails.json, the cli will look up the parent directories to find it. Fixed by @leaanthony in this PR
  • Colour output in the CLI can now be turned off by using the --nocolor flag. This is useful for CI/CD pipelines. Thanks to @scottopell for the PR
  • A JSON schema definition for the wails.json file has been added. IDEs should now provide code complete when editing wails.json. Thanks to @binyamin for the PR
  • The EventsOn* methods now return a function that can be called to deregister the listener. Thanks to @joshbuddy for the PR

Fixed

  • Webview2 on Windows returns a potential whitespace when defining the style like this style="--wails-draggable: drag". Fixed by @stffabi in https://github.com/wailsapp/wails/pull/1989
  • Bound structs that had struct{} field types would cause the Typescript generation to fail. Thanks to @ParkourLiu for the PR
  • When maximising a frameless window on Windows with multiple monitors, the window could sometimes become blank. Thanks to @stffabi for the fix

Changed

  • The troubleshooting guide was updated to provide guidance when Vite fails to start. Thanks to @willdot for the PR.
  • English, Chinese and Japanese documentation updates. Thanks to @misitebao.

Deprecated

New Contributors

v2.1.0

1 year ago

Removed

  • The RGBA option in options.App has now been removed. Use BackgroundColour instead.

Added

Fixed

Changed

New Contributors

v2.0.0

1 year ago

We made it! A huge thank you to all the contributors that put so much time and effort into this release 🙏 Blog post: https://wails.io/blog/wails-v2-released

Fixed

Changed

New Contributors