Wails v0.18.2
A huge thank you to everyone that was involved in this release!
We’ve been busy on the Linux front and now have support for:
- Linux Mint
- KDE Neon
- Elementary
- Kali Linux
- Parrot
- Zorin
- Void Linux
Plus better support for existing distributions:
- Fedora
- CentOS
- Debian
- Arch
- Gentoo
The Javascript part of the runtime has been refactored to bring in some improvements. It has been assembled as a standard node module that may now be imported by frontend code to get access to the runtime methods.
This is going to allow us to improve the runtime with minimal impact on application code.
This release sees a huge refactor of the runtime to improve maintainability and testability. With it come a number of new methods which are designed to simplify coordination between the frontend and backend. For the time being, these are only available in the JS runtime.
Registers a listener that will call a maximum of maxCallbacks
times. After this time, the listener will be removed.
Registers a listener that will be destroyed after being notified once. Shorthand for Events.OnMultiple(eventName, callback, 1)
.
Heartbeat will emit eventName
every until it is acknowledged by Event.Acknowledged
. When that happens, callback
is invoked.
Acknowledge will acknowledge the heartbeat event eventName
.
It’s now possible to bind Go methods with zero return types correctly. This will return an in the promise callback.
wails issue
now includes npm, gcc and node versions. Thanks Byron!wails issue
now also relies on/etc/os-release
in Linux for system information, replacing the requirement for . Thanks !- React template now working on Windows
We will be spending the next month improving documentation and bug fixing. Please let us know what bugs you find in v0.18.2 and we will look at them with the highest priority!