tauri/core/tauri-macros/CHANGELOG.md
github-actions[bot] 7c7a0777ca
Apply Version Updates From Current Changes (#1629)
* 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>
2021-05-11 16:20:35 -03:00

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.
    • bb8dafb feat(core): #[command] return with autoref specialization workaround fix #1672 (#1734) on 2021-05-09
  • #[command] now generates a macro instead of a function to allow passing through Params and other generics. generate_handler! has been changed to consume the generated #[command] macro
    • 1453d4b feat(core): support generics (especially Param) in #[command] (#1622) on 2021-05-05
  • Improves support for commands returning Result.
    • bb8dafb feat(core): #[command] return with autoref specialization workaround fix #1672 (#1734) on 2021-05-09
  • 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.
    • 422dd5e fix(core): command name on plugin invoke handler (#1577) on 2021-04-21
    • f575aaa fix: change files not referencing core packages (#1619) on 2021-04-25

[1.0.0-beta-rc.0]

  • Update all code files to have our license header.
    • bf82136 feat(license): SPDX Headers (#1449) on 2021-04-11
    • a6def70 Refactor(tauri): move tauri-api and tauri-updater to tauri (#1455) on 2021-04-11
    • aea6145 refactor(repo): add /tooling folder (#1457) on 2021-04-12
  • Added new macros to simplify the creation of commands that can be called by the webview.
    • 1f2e7a3 feat(core): improved command matching with macros, fixes #1157 (#1301) on 2021-02-28