Skip to content

Commit

Permalink
v2.0.0-beta.35
Browse files Browse the repository at this point in the history
  • Loading branch information
leaanthony committed Apr 27, 2022
1 parent 41f9c07 commit 2e1f758
Show file tree
Hide file tree
Showing 56 changed files with 4,644 additions and 2 deletions.
96 changes: 94 additions & 2 deletions website/src/pages/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,104 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [v2.0.0-beta.35] - 2022-04-27

### Breaking Changes

- When data was sent to the `EventsOn` callback, it was being sent as a slice of values,
instead of optional parameters to the method. `EventsOn` now works as expected, but you will need to update your code
if you
currently use this. [More information](https://github.com/wailsapp/wails/issues/1324)
- The broken `bindings.js` and `bindings.d.ts` files have been replaced by a new JS/TS code generation system. More
details [here](https://wails.io/docs/howdoesitwork#calling-bound-go-methods)

### Added

- **New Templates**: Svelte, React, Vue, Preact, Lit and Vanilla templates, both JS and TS versions. `wails init -l` for
more info.
- Default templates now powered by [Vite](https://vitejs.dev). This enables lightning fast reloads when you
use `wails dev`!
- Add support for external frontend development servers. See `frontend:dev:serverUrl` in
the [project config](https://wails.io/docs/reference/project-config) - [@stffabi](https://github.com/stffabi)
- [Fully configurable dark mode](https://wails.io/docs/reference/options#theme) for Windows.
- Hugely improved [WailsJS generation](https://wails.io/docs/howdoesitwork#calling-bound-go-methods) (both Javascript
and Typescript)
- Wails doctor now reports information about the wails installation - [@stffabi](https://github.com/stffabi)
- Added docs for [code-signing](https://wails.io/docs/guides/signing)
and [NSIS installer](https://wails.io/docs/guides/windows-installer) - [@gardc](https://github.com/gardc)
- Add support for `-trimpath` [build flag](https://wails.io/docs/reference/cli#build)
- Add support for a default AssetsHandler - [@stffabi](https://github.com/stffabi)

### Fixed

- Improved mimetype detection for BOM marker and comments - [@napalu](https://github.com/napalu)
- Remove duplicate mimetype entries - [@napalu](https://github.com/napalu)
- Remove duplicate Typescript imports in generated definition files - [@adalessa](https://github.com/adalessa)
- Add missing method declaration - [@adalessa](https://github.com/adalessa)
- Fix Linux sigabrt on start - [@napalu](https://github.com/napalu)
- Double Click event now works on elements with `data-wails-drag` attribute - [@jicg](https://github.com/jicg)
- Suppress resizing during minimize of a frameless window - [@stffabi](https://github.com/stffabi)
- Fixed TS/JS generation for Go methods with no returns
- Fixed WailsJS being generated in project directory

### Changed

- Website docs are now versioned
- Improved `runtime.Environment` call
- Improve the close action for Mac
- A bunch of dependabot security updates
- Improved website content - [@misitebao](https://github.com/misitebao)
- Upgrade issue template - [@misitebao](https://github.com/misitebao)
- Convert documents that don't require version management to individual pages
- [@misitebao](https://github.com/misitebao)
- Website now using Algolia search

## [v2.0.0-beta.34] - 2022-03-26

### Added

- Add support for 'DomReady' callback on linux by [@napalu](https://github.com/napalu) in #1249
- MacOS - Show extension by default by [@leaanthony](https://github.com/leaanthony) in #1228

### Fixed

- [v2, nsis] Seems like / as path separator works only for some directives in a cross platform way
by [@stffabi](https://github.com/stffabi) in #1227
- import models on binding definition by [@adalessa](https://github.com/adalessa) in #1231
- Use local search on website by [@leaanthony](https://github.com/leaanthony) in #1234
- Ensure binary resources can be served by [@napalu](https://github.com/napalu) in #1240
- Only retry loading assets when loading from disk by [@leaanthony](https://github.com/leaanthony) in #1241
- [v2, windows] Fix maximised start state by [@stffabi](https://github.com/stffabi) in #1243
- Ensure Linux IsFullScreen uses GDK_WINDOW_STATE_FULLSCREEN bitmask appropriately.
by [@ianmjones](https://github.com/ianmjones) in #1245
- Fix memory leak in ExecJS for Mac by [@leaanthony](https://github.com/leaanthony) in #1230
- Fix, or at least a workaround, for (#1232) by [@BillBuilt](https://github.com/BillBuilt) in #1247
- [v2] Use os.Args[0] for self starting wails by [@stffabi](https://github.com/stffabi) in #1258
- [v2, windows] Windows switch scheme: https -> http by @stefpap in #1255
- Ensure Focus is regained by Webview2 when tabbing by [@leaanthony](https://github.com/leaanthony) in #1257
- Try to focus window when Show() is called. by [@leaanthony](https://github.com/leaanthony) in #1212
- Check system for user installed Linux dependencies by [@leaanthony](https://github.com/leaanthony) in #1180

### Changed

- feat(website): sync documents and add content by [@misitebao](https://github.com/misitebao) in #1215
- refactor(cli): optimize default templates by [@misitebao](https://github.com/misitebao) in #1214
- Run watcher after initial build by [@leaanthony](https://github.com/leaanthony) in #1216
- Feature/docs update by [@leaanthony](https://github.com/leaanthony) in #1218
- feat(website): optimize website and sync documents by [@misitebao](https://github.com/misitebao) in #1219
- docs: sync documents by [@misitebao](https://github.com/misitebao) in #1224
- Default index page by [@leaanthony](https://github.com/leaanthony) in #1229
- Build added win32 compatibility by [@fengweiqiang](https://github.com/fengweiqiang) in #1238
- docs: sync documents by [@misitebao](https://github.com/misitebao) in #1260

## [v2.0.0-beta.33] - 2022-03-05

### Added

- NSIS Installer support for creating installers for Windows applications - Thanks [@stffabi](https://github.com/stffabi) 🎉
- New frontend:dev:watcher command to spin out 3rd party watchers when using wails dev - Thanks [@stffabi](https://github.com/stffabi)🎉
- NSIS Installer support for creating installers for Windows applications -
Thanks [@stffabi](https://github.com/stffabi) 🎉
- New frontend:dev:watcher command to spin out 3rd party watchers when using wails dev -
Thanks [@stffabi](https://github.com/stffabi)🎉
- Remote templates now support version tags - Thanks [@misitebao](https://github.com/misitebao) 🎉

### Fixed
Expand Down
23 changes: 23 additions & 0 deletions website/static/img/vitejs.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "Appendix",
"position": 70
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "Community",
"position": 50
}
24 changes: 24 additions & 0 deletions website/versioned_docs/version-v2.0.0-beta.35/community/links.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
sidebar_position: 2
---

# Links

This page serves as a list for community related links. Please submit a PR (click `Edit this page` at the bottom)
to submit links.

## Awesome Wails

The [definitive list](https://github.com/wailsapp/awesome-wails) of links related to Wails.

## Support Channels

- [Gophers Slack Channel](https://gophers.slack.com/messages/CJ4P9F7MZ/)
- [Gophers Slack Channel Invite](https://invite.slack.golangbridge.org/)
- [Github Issues](https://github.com/wailsapp/wails/issues)
- [v2 Beta Discussion Board](https://github.com/wailsapp/wails/discussions/828)

## Social Media

- [Twitter](https://twitter.com/wailsapp)
- [Wails Chinese Community QQ Group](https://qm.qq.com/cgi-bin/qm/qr?k=PmIURne5hFGNd7QWzW5qd6FV-INEjNJv&jump_from=webapi) - Group number: 1067173054
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "Showcase",
"position": 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# EncryptEasy

<p style={{"text-align": "center"}}>
<img src="/img/showcase/encrypteasy.jpg"></img><br/>
</p>

**[EncryptEasy](https://www.encrypteasy.app) is a simple and easy to use PGP encryption tool, managing all your and your contacts keys. Encryption should be simple. Developed with Wails.**

Encrypting messages using PGP is the industry standard. Everyone has a private and a public key. Your private key, well, needs to be kept private so only you can read messages. Your public key is distributed to anyone who wants to send you secret, encrypted messages. Managing keys, encrypting messages and decrypting messages should be a smooth experience. EncryptEasy is all about making it easy.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# FileHound Export Utility

<p style={{"text-align": "center"}}>
<img src="/img/showcase/filehound.jpg"></img><br/>
</p>


[FileHound Export Utility](https://www.filehound.co.uk/) FileHound is a cloud document management platform made for secure file retention, business process automation and SmartCapture capabilities.

The FileHound Export Utility allows FileHound Administrators the ability to run a secure document and data extraction tasks for alternative back-up and recovery purposes. This application will download all documents and/or meta data saved in FileHound based on the filters you choose. The metadata will be exported in both JSON and XML formats.

Backend built with:
Go 1.15
Wails 1.11.0
go-sqlite3 1.14.6
go-linq 3.2

Frontend with:
Vue 2.6.11
Vuex 3.4.0
Typescript
Tailwind 1.9.6
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Molley Wallet

<p style={{"text-align": "center"}}>
<img src="/img/showcase/mollywallet.png"></img><br/>
</p>

[Molly Wallet](https://github.com/grvlle/constellation_wallet/) the official $DAG wallet of the Constellation Network. It'll let users interact with the Hypergraph Network in various ways, not limited to producing $DAG transactions.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Optimus

<p style={{"text-align": "center"}}>
<img src="/img/showcase/optimus.png"></img><br/>
</p>

[Optimus](https://github.com/splode/optimus) is a desktop image optimization application. It supports conversion and compression between WebP, JPEG, and PNG image formats.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Portfall

<p style={{"text-align": "center"}}>
<img src="/img/showcase/portfall.gif"></img><br/>
</p>

[Portfall](https://github.com/rekon-oss/portfall) - A desktop k8s port-forwarding portal for easy access to all your cluster UIs

Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# RiftShare

<p style={{"text-align": "center"}}>
<img src="/img/showcase/riftshare-main.webp"></img><br/>
</p>

Easy, Secure, and Free file sharing for everyone. Learn more at [Riftshare.app](https://riftshare.app)

## Features

* Easy secure file sharing between computers both in the local network and through the internet
* Supports sending files or directories securely through the [magic wormhole protocol](https://magic-wormhole.readthedocs.io/en/latest/)
* Compatible with all other apps using magic wormhole (magic-wormhole or wormhole-william CLI, wormhole-gui, etc.)
* Automatic zipping of multiple selected files to send at once
* Full animations, progress bar, and cancellation support for sending and receiving
* Native OS File Selection
* Open files in one click once received
* Auto Update - don't worry about having the latest release!
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Surge

<p style={{"text-align": "center"}}>
<img src="/img/showcase/surge.png"></img><br/>
</p>

[Surge](https://surge.rule110.io/) is a p2p filesharing app designed to utilize blockchain technologies to enable 100% anonymous file transfers. Surge is end-to-end encrypted, decentralized and open source.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Wally

<p style={{"text-align": "center"}}>
<img src="/img/showcase/wally.png"></img><br/>
</p>

[Wally](https://ergodox-ez.com/pages/wally) is the official firmware flasher for [Ergodox](https://ergodox-ez.com/) keyboards. It looks great and is a fantastic example of what you can achieve with Wails: the ability to combine the power of Go and the rich graphical tools of the web development world.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Wombat

<p style={{"text-align": "center"}}>
<img src="/img/showcase/wombat.png"></img><br/>
</p>


[Wombat](https://github.com/rogchap/wombat) is a cross platform gRPC client.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Ytd

<p>
<img src="/img/showcase/ytd.png"></img><br/>
</p>


[Ytd](https://github.com/marcio199226/ytd/tree/v2-wails) is an app for downloading tracks from youtube, creating offline playlists and share them with your friends, your friends will be able to playback your playlists or download them for offline listening, has an built-in player.

Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
sidebar_position: 1
---

# Templates

This page serves as a list for community supported templates. Please submit a PR (click `Edit this page` at the bottom)
to include your templates. To build your own template, please see the [Templates](../guides/templates.mdx) guide.

To use these templates, run `wails init -n "Your Project Name" -t [the link below[@version]]`

If there is no version suffix, the main branch code template is used by default. If there is a version suffix, the code template corresponding to the tag of this version is used.

Example: `wails init -n "Your Project Name" -t https://github.com/misitebao/wails-template-vue`

:::warning Attention

**The Wails project does not maintain, is not responsible nor liable for 3rd party templates!**

If you are unsure about a template, inspect `package.json` and `wails.json` for what scripts are run and what packages are installed.

:::

## Vue

- [wails-template-vue](https://github.com/misitebao/wails-template-vue) - A template using Vite,Vue and Vue-Router(Support both JavaScript and TypeScript)
- [wails-vite-vue-ts](https://github.com/codydbentley/wails-vite-vue-ts) - Vue 3 TypeScript with Vite (and instructions to add features)
- [wails-vite-vue-the-works](https://github.com/codydbentley/wails-vite-vue-the-works) - Vue 3 TypeScript with Vite, Vuex, Vue Router, Sass, and ESLint + Prettier

## Angular

- [wails-angular-template](https://github.com/TAINCER/wails-angular-template) - Angular with TypeScript, Sass, Hot-Reload, Code-Splitting and i18n

## React

- [wails-react-template](https://github.com/AlienRecall/wails-react-template) - A template using reactjs
- [wails-react-template](https://github.com/flin7/wails-react-template) - A minimal template for React that supports live development

## Svelte

- [wails-svelte-template](https://github.com/raitonoberu/wails-svelte-template) - A template using Svelte
- [wails-vite-svelte-template](https://github.com/BillBuilt/wails-vite-svelte-template) - A template using Svelte and Vite
- [wails-vite-svelte-tailwind-template](https://github.com/BillBuilt/wails-vite-svelte-tailwind-template) - A template using Svelte and Vite with TailwindCSS v3

## Elm

- [wails-elm-template](https://github.com/benjamin-thomas/wails-elm-template) - Develop your GUI app with functional programming and a **snappy** hot-reload setup :tada: :rocket:
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "Getting Started",
"position": 10
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
sidebar_position: 6
---

# Compiling your Project

From the project directory, run `wails build`.
This will compile your project and save the production-ready binary in the `build/bin` directory.

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"}}/>
</div>
<br/>


For more details on compilation options, please refer to the [CLI Reference](../reference/cli.mdx#build).

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
sidebar_position: 5
---

# Developing your Application

You can run your application in development mode by running `wails dev` from your project directory. This will do the following things:

- Build your application and run it
- Bind your Go code to the frontend so it can be called from Javascript
- Using the power of [vite](https://vitejs.dev/), will watch for modifications in your Go files and rebuild/re-run on change
- Sets up a [webserver](http://localhost:34115) that will serve your application over a browser. This allows you to use your favourite browser extensions. You can even call your Go code from the console

To get started, run `wails dev` in the project directory. More information on this can be found [here](../reference/cli.mdx#dev).

Coming soon: Tutorial
Loading

0 comments on commit 2e1f758

Please sign in to comment.