Skip to content

tauri-macros v1.0.0-beta.0

Compare
Choose a tag to compare
@github-actions github-actions released this 11 May 20:34
· 3269 commits to dev since this release

Updating crates.io index

Cargo Audit

Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
      Loaded 301 security advisories (from /home/runner/.cargo/advisory-db)
    Updating crates.io index
    Scanning Cargo.lock for vulnerabilities (420 crate dependencies)

[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>.

Cargo Publish

Updating crates.io index
   Packaging tauri-macros v1.0.0-beta.0 (/home/runner/work/tauri/tauri/core/tauri-macros)
   Uploading tauri-macros v1.0.0-beta.0 (/home/runner/work/tauri/tauri/core/tauri-macros)