From 01729ae22a0c7b62434670870a3cf30214cecaa4 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Fri, 8 Sep 2023 18:45:42 +1000 Subject: [PATCH] Add what's new section --- mkdocs-website/docs/whats-new.md | 40 ++++++++++++++++++++++++++++++++ mkdocs-website/mkdocs.yml | 1 + 2 files changed, 41 insertions(+) create mode 100644 mkdocs-website/docs/whats-new.md diff --git a/mkdocs-website/docs/whats-new.md b/mkdocs-website/docs/whats-new.md new file mode 100644 index 000000000..4a85034ef --- /dev/null +++ b/mkdocs-website/docs/whats-new.md @@ -0,0 +1,40 @@ +# What's new in v3? + +!!! note + The features that will be included in the v3 release may change from this list. + +## Multiple Windows + +It's now possible to create multiple windows and configure each one independently. + +## Systrays + +Systrays allow you to add an icon in the system tray area of your desktop and have the following features: + - Attach window (the window will be centered to the systray icon) + - Full menu support + - Light/Dark mode icons + +## Plugins + +Plugins allow you to extend the functionality of the Wails system. Not only can plugin methods be used in Go, but also called from Javascript. Included plugins: + - kvstore - A key/value store + - browser - open links in a browser + - log - custom logger + - oauth - handles oauth authentication and supports 60 providers + - single_instance - only allow one copy of your app to be run + - sqlite - add a sqlite db to your app. Uses the modernc pure go library + - start_at_login - Register/Unregister your application to start at login + +## Improved bindings generation + +v3 uses a new static analyser to generate bindings. This makes it extremely fast and maintains comments and parameter names in your bindings. + +## Improved events + +Events are now emitted for a lot of the runtime operations, allowing you to hook into application/system events. Cross-platform (common) events are also emitted where there are common platform events, allowing you to write the same event handling methods cross platform. + +Event hooks can also be registered. These are like the `On` method but are synchronous and allow you to cancel the event. An example of this would be to show a confirmation dialog before closing a window. + +## Wails Markup Language (wml) + +An experimental feature to call runtime methods using plain html, similar to [htmx](https://htmx.org). diff --git a/mkdocs-website/mkdocs.yml b/mkdocs-website/mkdocs.yml index 470df6f29..ca49ecc6d 100644 --- a/mkdocs-website/mkdocs.yml +++ b/mkdocs-website/mkdocs.yml @@ -80,6 +80,7 @@ nav: # - Links: community/links.md - Next Steps: getting-started/next-steps.md - Feedback: getting-started/feedback.md + - What's New in v3?: whats-new.md - Development: - Introduction: development/introduction.md - Status: development/status.md