Skip to content

Releases: wailsapp/wails

v3.0.0-alpha.0

19 Jan 08:23
5ef3276
Compare
Choose a tag to compare
v3.0.0-alpha.0 Pre-release
Pre-release

Because imports won't work without it!

v2.3.1

29 Dec 20:43
0aa056f
Compare
Choose a tag to compare
  • Fix version

v2.3.0

29 Dec 01:36
Compare
Choose a tag to compare

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

09 Nov 11:33
d77b920
Compare
Choose a tag to compare

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 #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

Deprecated

New Contributors

v2.1.0

17 Oct 20:31
d9e0773
Compare
Choose a tag to compare

Removed

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

Added

Fixed

  • Embed directories auto-created if they don't exist - @leaanthony in #1983
  • Quote command arguments if they have a space - @leaanthony in #1892
  • Fixed Linux frameless window drag - @lyimmi in #1916
  • Fix gtk_window_begin_resize_drag's mouse button - @lyimmi in #1920
  • Fix binding generation special cases - @JulioDRF in #1902
  • Remove the .git directory in the template - @misitebao in #1929
  • Fix wails dev - @JulioDRF in #1931
  • Fix for considering new go files in dev filesystem watcher - @scottopell in #1946
  • Prevent type parsing to interfere with Typescript package name - @ValentinTrinque in #1942
  • [dev] Do not try to infer assetdir from fs.FS when a frontend dev server is in use - @stffabi in #1972
  • Fix init command not listed in wails help message - @lyon-lee-dev in #1976

Changed

New Contributors

v2.0.0

22 Sep 01:20
74133c9
Compare
Choose a tag to compare

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

  • Fix buildtags parsing if only one tag is specified by @stffabi in #1858
  • Use embed all to include all files in templates by @stffabi in #1862

Changed

New Contributors

v2.0.0-rc.1.1

13 Sep 02:07
e75fb53
Compare
Choose a tag to compare
v2.0.0-rc.1.1 Pre-release
Pre-release

Fix CLI version text

v2.0.0-rc.1

13 Sep 01:53
847cd67
Compare
Choose a tag to compare
v2.0.0-rc.1 Pre-release
Pre-release

Deprecated

  • The -noGen flag for the wails dev command has been replaced with -skipbindings. This is to
    align with the wails build command.

Added

Fixed

Changed

New Contributors

Full Changelog: v2.0.0-beta.44.2...v2.0.0-rc.1

v2.0.0-beta.44.2

20 Aug 03:52
3474d4e
Compare
Choose a tag to compare
v2.0.0-beta.44.2 Pre-release
Pre-release

Fix compile error in dev build

v2.0.0-beta.44.1

20 Aug 03:48
2466bb1
Compare
Choose a tag to compare
v2.0.0-beta.44.1 Pre-release
Pre-release
  • Fix compile error for production builds.