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

latest releases: tauri-cli-v2.0.0-beta.16, @tauri-apps/cli-v2.0.0-beta.16, tauri-v2.0.0-beta.18...
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]

  • The allowlist configuration now includes a clipboard object, controlling the exposure of the writeText and readText APIs.
    • d660cab3 feat: enhance allowlist configuration [TRI-027] (#11) on 2022-01-09
  • The dialog allowlist now includes flags for the message, ask and confirm APIs.
    • d660cab3 feat: enhance allowlist configuration [TRI-027] (#11) on 2022-01-09
  • The allowlist configuration now includes a process object, controlling the exposure of the relaunch and exit APIs.
    • d660cab3 feat: enhance allowlist configuration [TRI-027] (#11) on 2022-01-09
  • The window allowlist now includes options to enable all window modification APIs: center, close, create, hide, maximize, minimize, print, requestUserAttention, setAlwaysOnTop, setDecorations, setFocus, setFullscreen, setIcon, setMaxSize, setMinSize, setPosition, setResizable, setSize, setSkipTaskbar, setTitle, show, startDragging, unmaximize and unminimize.
    • d660cab3 feat: enhance allowlist configuration [TRI-027] (#11) on 2022-01-09
  • Added asset allowlist configuration, which enables the asset protocol and defines it access scope.
    • 7920ff14 feat: scope the fs API and the asset protocol [TRI-026] [TRI-010] [TRI-011] (#10) on 2022-01-09
  • Change CliArg numeric types from u64 to usize.
  • 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
  • The path returned from tauri::api::process::current_binary is now cached when loading the binary.
    • 7c3db7a3 cache current binary path much sooner (#45) on 2022-02-01
  • Added dev_csp to the security configuration object.
    • cf54dcf9 feat: improve CSP security with nonces and hashes, add devCsp [TRI-004] (#8) on 2022-01-09
  • Fixes resource directory resolution on Linux.
    • 1a28904b fix(core): resource path resolution on Linux, closes #2493 on 2021-08-22
  • Allow using a fixed version for the Webview2 runtime via the tauri > bundle > windows > webviewFixedRuntimePath config option.
    • 85df94f2 feat(core): config for fixed webview2 runtime version path (#27) on 2021-11-02
  • The updater pubkey is now a required field for security reasons. Sign your updates with the tauri signer command.
    • d95cc831 feat: enforce updater public key [TRI-015] (#42) 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
  • Move the copying of resources and sidecars from cli.rs to tauri-build so using the Cargo CLI directly processes the files for the application execution in development.
    • 5eb72c24 refactor: copy resources and sidecars on the Cargo build script (#3357) on 2022-02-08
  • Breaking change* Remove default webview window when tauri.conf.json > tauri > windows is not set.
    • c119060e refactor(core): empty default value for config > tauri > windows (#3380) on 2022-02-10
  • 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
  • Adds scope glob array config under tauri > allowlist > fs.
    Adds assetScope glob array config under tauri > allowlist > protocol.
    Adds scope URL array config under tauri > allowlist > http.
    • 7920ff14 feat: scope the fs API and the asset protocol [TRI-026] [TRI-010] [TRI-011] (#10) on 2022-01-09
    • 0ad1c651 feat(core): add http allowlist scope [TRI-008] (#24) on 2021-10-29
  • The shell allowlist now includes a sidecar flag, which enables the use of the shell API to execute sidecars.
    • eed01728 feat(core): add shell > sidecar allowlist and process feature flag [TRI-037] (#18) on 2021-10-24
  • Force updater endpoint URL to use https on release builds.
    • c077f449 feat: force endpoint URL to use https on release [TRI-015] (#41) on 2022-01-09

Cargo Publish

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

Don't miss a new tauri release

NewReleases is sending notifications on new releases.