github tauri-apps/tauri tauri-codegen-v1.0.0-rc.0
tauri-codegen v1.0.0-rc.0

2 years ago

Updating crates.io index

Cargo Audit

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

[1.0.0-rc.0]

  • Apply nonce to script and style tags and set them on the CSP (script-src and style-src fetch directives).
    • cf54dcf9 feat: improve CSP security with nonces and hashes, add devCsp [TRI-004] (#8) on 2022-01-09
  • Added the isolation pattern.
  • Adds support for using JSON5 format for the tauri.conf.json file, along with also supporting the .json5 extension.

Here is the logic flow that determines if JSON or JSON5 will be used to parse the config:

  1. Check if tauri.conf.json exists
    a. Parse it with serde_json
    b. Parse it with json5 if serde_json fails
    c. Return original serde_json error if all above steps failed
  2. Check if tauri.conf.json5 exists
    a. Parse it with json5
    b. Return error if all above steps failed
  3. Return error if all above steps failed
  • 995de57a Add seamless support for using JSON5 in the config file (#47) on 2022-02-03
  • The minimum Rust version is now 1.56.
    • a9dfc015 feat: update to edition 2021 and set minimum rust to 1.56 (#2789) on 2021-10-22

Cargo Publish

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

Don't miss a new tauri release

NewReleases is sending notifications on new releases.