mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-17 07:31:52 +03:00
7c7a0777ca
* apply version updates * fix metadata.json [skip ci] Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com> Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
3.2 KiB
3.2 KiB
Changelog
[1.0.0-beta.0]
- Only commands with a
async fn
are executed on a separate task.#[command] fn command_name
runs on the main thread. #[command]
now generates a macro instead of a function to allow passing throughParams
and other generics.generate_handler!
has been changed to consume the generated#[command]
macro- Improves support for commands returning
Result
. - Adds support to command state, triggered when a command argument is
arg: State<'_, StateType>
.
[1.0.0-beta-rc.1]
- Fixes the Message
command
name value on plugin invoke handler.
[1.0.0-beta-rc.0]
- Update all code files to have our license header.
- Added new macros to simplify the creation of commands that can be called by the webview.