mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
v2.0.0-beta.44
This commit is contained in:
@@ -1 +1 @@
|
||||
v2.0.0-beta.43
|
||||
v2.0.0-beta.44
|
||||
@@ -62,7 +62,8 @@ func main() {
|
||||
s.ECHO("Removing old version: " + oldestVersion)
|
||||
s.CD("versioned_docs")
|
||||
s.RMDIR("version-" + oldestVersion)
|
||||
s.CD("../../versioned_sidebars")
|
||||
s.CD("../versioned_sidebars")
|
||||
s.RM("version-" + oldestVersion + "-sidebars.json")
|
||||
|
||||
s.CD("..")
|
||||
s.EXEC("Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass; yarn build")
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ tags: [wails, v2]
|
||||
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/wails.png" width="40%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/wails.png" width="40%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
@@ -44,7 +44,7 @@ possible, but also being open to someone taking those projects and building on t
|
||||
### WebView2 Chromium Renderer
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/devtools.png" width="75%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/devtools.png" width="75%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
@@ -64,7 +64,7 @@ Gophers rejoice! The single binary dream lives on!
|
||||
### New Features
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/wails-menus.png" width="60%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/wails-menus.png" width="60%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
@@ -82,7 +82,7 @@ in a supported IDE, it will already be configured for building and debugging you
|
||||
but we hope to support other IDEs such as Goland soon.
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/vscode.png" width="100%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/vscode.png" width="100%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
@@ -104,7 +104,7 @@ They don't even need to be in the top directory - Wails will just work it out fo
|
||||
### New Development Experience
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/browser.png" width="60%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/browser.png" width="60%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
@@ -134,7 +134,7 @@ auto-imported when hitting tab in an auto-generated module wrapping your Go code
|
||||
### Remote Templates
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/remote.png" width="60%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/remote.png" width="60%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ tags: [wails, v2]
|
||||
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/wails-mac.png" width="60%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/wails-mac.png" width="60%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
@@ -25,7 +25,7 @@ So what's new for Wails v2 for Mac vs v1? Hint: It's pretty similar to the Windo
|
||||
### New Features
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/wails-menus-mac.png" width="80%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/wails-menus-mac.png" width="80%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
@@ -89,7 +89,7 @@ auto-imported when hitting tab in an auto-generated module wrapping your Go code
|
||||
### Remote Templates
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/remote-mac.png" width="80%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/remote-mac.png" width="80%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
@@ -110,21 +110,21 @@ Thanks to the amazing support of [Mat Ryer](https://github.com/matryer/), the Wa
|
||||
builds:
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/build-darwin-arm.png" width="80%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/build-darwin-arm.png" width="80%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
You can also specify `darwin/amd64` as a target too:
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/build-darwin-amd.png" width="80%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/build-darwin-amd.png" width="80%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
Oh, I almost forgot.... you can also do `darwin/universal`.... :wink:
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/build-darwin-universal.png" width="80%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/build-darwin-universal.png" width="80%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
@@ -133,7 +133,7 @@ Oh, I almost forgot.... you can also do `darwin/universal`.... :wink:
|
||||
Because Wails v2 for Windows is pure Go, you can target Windows builds without docker.
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/build-cross-windows.png" width="80%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/build-cross-windows.png" width="80%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ tags: [wails, v2]
|
||||
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/wails-linux.png" width="40%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/wails-linux.png" width="40%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
@@ -18,7 +18,7 @@ is very different from those first experiments. So without further ado, let's go
|
||||
### New Features
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/wails-menus-linux.png" width="50%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/wails-menus-linux.png" width="50%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
@@ -73,7 +73,7 @@ auto-imported when hitting tab in an auto-generated module wrapping your Go code
|
||||
### Remote Templates
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/remote-linux.png" width="80%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/remote-linux.png" width="80%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
@@ -93,7 +93,7 @@ community can create!
|
||||
Because Wails v2 for Windows is pure Go, you can target Windows builds without docker.
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/linux-build-cross-windows.png" width="80%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/linux-build-cross-windows.png" width="80%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ This will compile your project and save the production-ready binary in the `buil
|
||||
If you run the binary, you should see the default application:
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/defaultproject.png" width="50%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/defaultproject.png" width="50%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
|
||||
@@ -702,14 +702,14 @@ func main() {
|
||||
The "About" menu item will appear in the app menu:
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/reference/about-menu.png" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/reference/about-menu.png" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
When clicked, that will open an about message box:
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/reference/about-dialog.png" width="40%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/reference/about-dialog.png" width="40%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
|
||||
@@ -157,7 +157,7 @@ selection, err := runtime.MessageDialog(b.ctx, runtime.MessageDialogOptions{
|
||||
```
|
||||
the first button is shown as default:
|
||||
<div class="text--center">
|
||||
<img src="/img/runtime/dialog_no_defaults.png" width="30%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/runtime/dialog_no_defaults.png" width="30%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
@@ -172,7 +172,7 @@ selection, err := runtime.MessageDialog(b.ctx, runtime.MessageDialogOptions{
|
||||
```
|
||||
the second button is shown as default. When `return` is pressed, the value "two" is returned.
|
||||
<div class="text--center">
|
||||
<img src="/img/runtime/dialog_default_button.png" width="30%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/runtime/dialog_default_button.png" width="30%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
@@ -188,7 +188,7 @@ selection, err := runtime.MessageDialog(b.ctx, runtime.MessageDialogOptions{
|
||||
```
|
||||
the button with "three" is shown at the bottom of the dialog. When `escape` is pressed, the value "three" is returned:
|
||||
<div class="text--center">
|
||||
<img src="/img/runtime/dialog_default_cancel.png" width="30%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/runtime/dialog_default_cancel.png" width="30%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
<br/>
|
||||
@@ -221,7 +221,7 @@ Windows allows you to use multiple file filters in dialog boxes. Each FileFilter
|
||||
dialog:
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/runtime/dialog_win_filters.png" width="50%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/runtime/dialog_win_filters.png" width="50%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
<br/>
|
||||
@@ -233,7 +233,7 @@ Linux allows you to use multiple file filters in dialog boxes. Each FileFilter w
|
||||
dialog:
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/runtime/dialog_lin_filters.png" width="50%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/runtime/dialog_lin_filters.png" width="50%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
<br/>
|
||||
|
||||
@@ -107,6 +107,6 @@ You should see the application working as expected:
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/windows-default-app.png" width="50%"
|
||||
style={{"box-shadow": "rgb(255 255>>255 / 20%) 0px 1px 2px 0px, rgb(104 104 104) 0px 1px 5px 0px"}}/>
|
||||
className="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
@@ -107,6 +107,6 @@ You should see the application working as expected:
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/windows-default-app.png" width="50%"
|
||||
style={{"box-shadow": "rgb(255 255>>255 / 20%) 0px 1px 2px 0px, rgb(104 104 104) 0px 1px 5px 0px"}}/>
|
||||
className="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
+1
-2
@@ -119,7 +119,6 @@ On Linux, you can run the application using `./helloworld` from the `build/bin`
|
||||
You should see the application working as expected:
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/windows-default-app.png" width="50%"
|
||||
style={{"box-shadow": "rgb(255 255>>255 / 20%) 0px 1px 2px 0px, rgb(104 104 104) 0px 1px 5px 0px"}}/>
|
||||
<img src="/img/windows-default-app.png" width="50%" className="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
@@ -19,6 +19,32 @@ UseCSSDrag: true,
|
||||
},
|
||||
```
|
||||
|
||||
### Added
|
||||
* Set file permissions for generated files by @leaanthony in https://github.com/wailsapp/wails/pull/1763
|
||||
* Experimental support for CSS Drag detection by @leaanthony in https://github.com/wailsapp/wails/pull/1750
|
||||
|
||||
### Fixed
|
||||
* Bug fix collecting of output binaries for platforms by @stffabi in https://github.com/wailsapp/wails/pull/1715
|
||||
* Fix registration of exposed fields by @ValentinTrinque in https://github.com/wailsapp/wails/pull/1727
|
||||
* Fix column widths for doctor command's dependencies table by @ianmjones in https://github.com/wailsapp/wails/pull/1717
|
||||
* Do not generate bindings for `OnBeforeClose` method
|
||||
|
||||
### What's Changed
|
||||
* Misc code refactors and removal by @leaanthony in https://github.com/wailsapp/wails/pull/1713
|
||||
* Add react-router to routing.mdx by @Maicarons2022 in https://github.com/wailsapp/wails/pull/1755
|
||||
* Add Japanese to doc by @RyoTagami in https://github.com/wailsapp/wails/pull/1716
|
||||
* Added EmailIt and Modal File Manager by @raguay in https://github.com/wailsapp/wails/pull/1728
|
||||
* Adding my ScriptBar program by @raguay in https://github.com/wailsapp/wails/pull/1761
|
||||
* Link to general webview2 runtime download page and not to a specific language by @stffabi in https://github.com/wailsapp/wails/pull/1764
|
||||
* Updated translations in https://github.com/wailsapp/wails/pull/1719 and https://github.com/wailsapp/wails/pull/1720
|
||||
* Remove text outside style's brackets by @DragoSpiro98 in https://github.com/wailsapp/wails/pull/1765
|
||||
|
||||
### New Contributors
|
||||
* @RyoTagami made their first contribution in https://github.com/wailsapp/wails/pull/1716
|
||||
* @raguay made their first contribution in https://github.com/wailsapp/wails/pull/1728
|
||||
* @Maicarons2022 made their first contribution in https://github.com/wailsapp/wails/pull/1755
|
||||
* @DragoSpiro98 made their first contribution in https://github.com/wailsapp/wails/pull/1765
|
||||
|
||||
## [v2.0.0-beta.43] - 2022-08-08
|
||||
|
||||
### Added
|
||||
|
||||
@@ -10,7 +10,7 @@ This will compile your project and save the production-ready binary in the `buil
|
||||
If you run the binary, you should see the default application:
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/defaultproject.png" width="50%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/defaultproject.png" width="50%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
|
||||
@@ -702,14 +702,14 @@ func main() {
|
||||
The "About" menu item will appear in the app menu:
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/reference/about-menu.png" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/reference/about-menu.png" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
When clicked, that will open an about message box:
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/reference/about-dialog.png" width="40%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/reference/about-dialog.png" width="40%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
|
||||
@@ -157,7 +157,7 @@ selection, err := runtime.MessageDialog(b.ctx, runtime.MessageDialogOptions{
|
||||
```
|
||||
the first button is shown as default:
|
||||
<div class="text--center">
|
||||
<img src="/img/runtime/dialog_no_defaults.png" width="30%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/runtime/dialog_no_defaults.png" width="30%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
@@ -172,7 +172,7 @@ selection, err := runtime.MessageDialog(b.ctx, runtime.MessageDialogOptions{
|
||||
```
|
||||
the second button is shown as default. When `return` is pressed, the value "two" is returned.
|
||||
<div class="text--center">
|
||||
<img src="/img/runtime/dialog_default_button.png" width="30%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/runtime/dialog_default_button.png" width="30%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
@@ -188,7 +188,7 @@ selection, err := runtime.MessageDialog(b.ctx, runtime.MessageDialogOptions{
|
||||
```
|
||||
the button with "three" is shown at the bottom of the dialog. When `escape` is pressed, the value "three" is returned:
|
||||
<div class="text--center">
|
||||
<img src="/img/runtime/dialog_default_cancel.png" width="30%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/runtime/dialog_default_cancel.png" width="30%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
<br/>
|
||||
@@ -221,7 +221,7 @@ Windows allows you to use multiple file filters in dialog boxes. Each FileFilter
|
||||
dialog:
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/runtime/dialog_win_filters.png" width="50%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/runtime/dialog_win_filters.png" width="50%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
<br/>
|
||||
@@ -233,7 +233,7 @@ Linux allows you to use multiple file filters in dialog boxes. Each FileFilter w
|
||||
dialog:
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/runtime/dialog_lin_filters.png" width="50%" style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>
|
||||
<img src="/img/runtime/dialog_lin_filters.png" width="50%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
<br/>
|
||||
|
||||
@@ -108,7 +108,6 @@ On Linux, you can run the application using `./helloworld` from the `build/bin`
|
||||
You should see the application working as expected:
|
||||
|
||||
<div class="text--center">
|
||||
<img src="/img/windows-default-app.png" width="50%"
|
||||
style={{"box-shadow": "rgb(255 255 255 / 20%) 0px 4px 8px 0px, rgb(104 104 104) 0px 6px 20px 0px"}}/>255 / 20%) 0px 1px 2px 0px, rgb(104 104 104) 0px 1px 5px 0px"}}/>
|
||||
<img src="/img/windows-default-app.png" width="50%" class="screenshot"/>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user