v2.3.0
版本发布时间: 2022-12-29 09:36:48
wailsapp/wails最新发布版本:v3.0.0-alpha.7(2024-09-18 20:02:38)
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