Releases: wailsapp/wails
Releases Β· wailsapp/wails
v3.0.0-alpha.0
Because imports won't work without it!
v2.3.1
- Fix version
v2.3.0
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 anio.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. Propertiesprefix
andsuffix
allow you to control the generated TypeScript entity name in themodel.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 thego.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 inwails 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 tagnative_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
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 residefrontend:dir
can be used to specify where the frontend files reside- If
go.mod
is not found in the same directory aswails.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 editingwails.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
- 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
- The AssetsHandler option has been deprecated. Please use the AssetServer option instead.
New Contributors
- @willdot made their first contribution in #2000
- @ParkourLiu made their first contribution in #1999
- @binyamin made their first contribution in #1864
- @joshbuddy made their first contribution in #1969
- @sgosiaco made their first contribution in #2062
v2.1.0
Removed
- The
RGBA
option inoptions.App
has now been removed. UseBackgroundColour
instead.
Added
- Support for defaulting to No button in Windows dialogs - @leaanthony in #1875
- Add missing resize for frameless window on Linux - @lyimmi in #1918
- Add window transparency for linux - @lyimmi in #1926
- Add WindowExecJS method - @leaanthony in #1927
- Add support for
Info.dev.plist
on macOS - @leaanthony in #1960 - Add ZoomFactor get/set and add the respective windows only options - @pierrejoye in #1463
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
- Add PR checks - @leaanthony in #1879
- Auto label project cards - @leaanthony in #1881
- Add issue translator - @leaanthony in #1891
- Update label names in the issue template - @misitebao in #1893
- obfuscated instead of obfuscate in the docs - @arifali123 in #1895
- [assetHandler] Remove redundant log prefix - @stffabi in #1896
- [dev] Do not generate bindings in the dev app itself - @stffabi in #1899
- Update Chinese translation - @almas1992 in #1894
- Refactor app - @leaanthony in #1909
- Update documents - @misitebao in #1907 #1936
- Adding Tutorial link - @raguay in #1903
- Add react-ts-vite-tailwind template - @hotafrika in #1930
- Update README.zh-Hans.md - @o8x in #1949
- Add Elm Tailwind CSS community template - @rnice01 in #1939
- Chore/generate sponsors - @leaanthony in #1965
- Use swc + pnpm for website - @leaanthony in #1966
- Sort structs in models.ts - @leaanthony in #1961
- Update Sponsor Image - @github-actions in #1973
- docs: sync documents - @misitebao in #1968
- Update events.mdx - @cuigege in #1979
New Contributors
- @arifali123 made their first contribution in #1895
- @almas1992 made their first contribution in #1894
- @JulioDRF made their first contribution in #1902
- @hotafrika made their first contribution in #1930
- @scottopell made their first contribution in #1946
- @o8x made their first contribution in #1949
- @rnice01 made their first contribution in #1939
- @cuigege made their first contribution in #1979
- @lyon-lee-dev made their first contribution in #1976
v2.0.0
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
- Bump minimum required Go version to 1.18 by @stffabi in #1854
- Add check for minimum required Go version by @stffabi in #1853
- chore: update README and workflows by @misitebao in #1848
- Update introduction.mdx by @ParvinEyvazov in #1863
- Releasetest/release workflow by @leaanthony in #1869
- Optimize documentation website by @misitebao in #1849
New Contributors
- @ParvinEyvazov made their first contribution in #1863
v2.0.0-rc.1.1
Fix CLI version text
v2.0.0-rc.1
Deprecated
- The
-noGen
flag for thewails dev
command has been replaced with-skipbindings
. This is to
align with thewails build
command.
Added
- Add garble support by @leaanthony in #1793
- Make draggable CSS property customisable by @leaanthony in #1828
- Add Some WindowState by @zandercodes in #1349
- Make EventsOff capable of removing multiple listeners by @lyimmi in #1822
Fixed
- Use
Promise<void>
when Go routine does not output by @SheetJSDev in #1821 - preact-ts template build fix by @Debdut in #1781
- fix frontend/tsconfig.js by @lyimmi in #1795
- fix: fix bugs in website by @misitebao in #1810
- Fix vue-ts template by @leaanthony in #1813
- Remove duplicate defs in win32/window.go by @AlbinoDrought in #1832
Changed
- Upgrade React to use Vite v3 by @leaanthony in #1744
- Upgrade Lit to use Vite v3 by @leaanthony in #1745
- Support vite3 for Vue by @leaanthony in #1746
- Preact templates for vite 3 by @leaanthony in #1770
- Prevent env variables and registry overrides from changing behaviour by @stffabi in #1771
- Use go implementation to retrieve the version of a fixed runtime by @stffabi in #1790
- Change contribution guide type from "doc" to "page" by @misitebao in #1777
- feat(website): repair document content by @misitebao in #1775
- chore: sort out files by @misitebao in #1776
- Add Korean to doc by @jaesung9507 in #1774
- Add README.ja.md by @shinshin86 in #1783
- Reorganized contribution guidelines page by @misitebao in #1784
- fix(website): fix link by @misitebao in #1785
- Update templates.mdx by @KiddoV in #1799
- Better watcher by @leaanthony in #1827
- Only set GDK_BACKEND to "x11" if GDK_BACKEND is unset and XDG_SESSION_TYPE is not "wayland" by @prurigro in #1811
- Optimize images by @imgbot in #1812
New Contributors
- @shinshin86 made their first contribution in #1783
- @Debdut made their first contribution in #1781
- @KiddoV made their first contribution in #1799
- @zandercodes made their first contribution in #1349
- @prurigro made their first contribution in #1811
- @SheetJSDev made their first contribution in #1821
- @AlbinoDrought made their first contribution in #1832
- @imgbot made their first contribution in #1812
Full Changelog: v2.0.0-beta.44.2...v2.0.0-rc.1
v2.0.0-beta.44.2
Fix compile error in dev build
v2.0.0-beta.44.1
- Fix compile error for production builds.