tauri-utils v1.0.0-rc.0
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
allowlistconfiguration now includes aclipboardobject, controlling the exposure of thewriteTextandreadTextAPIs. - The dialog allowlist now includes flags for the
message,askandconfirmAPIs. - The
allowlistconfiguration now includes aprocessobject, controlling the exposure of therelaunchandexitAPIs. - The
windowallowlist 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,unmaximizeandunminimize. - Added
assetallowlist configuration, which enables theassetprotocol and defines it access scope. - Change
CliArgnumeric types fromu64tousize. - Apply
noncetoscriptandstyletags and set them on theCSP(script-srcandstyle-srcfetch directives). - The path returned from
tauri::api::process::current_binaryis now cached when loading the binary. - Added
dev_cspto thesecurityconfiguration object. - Fixes resource directory resolution on Linux.
- Allow using a fixed version for the Webview2 runtime via the
tauri > bundle > windows > webviewFixedRuntimePathconfig option. - The updater
pubkeyis now a required field for security reasons. Sign your updates with thetauri signercommand. - Added the
isolationpattern.- d5d6d2ab Isolation Pattern (#43) Co-authored-by: Ngo Iok Ui (Wu Yu Wei) wusyong9104@gmail.com Co-authored-by: Lucas Fernandes Nogueira lucas@tauri.studio on 2022-01-17
- Adds support for using JSON5 format for the
tauri.conf.jsonfile, along with also supporting the.json5extension.
Here is the logic flow that determines if JSON or JSON5 will be used to parse the config:
- Check if
tauri.conf.jsonexists
a. Parse it withserde_json
b. Parse it withjson5ifserde_jsonfails
c. Return originalserde_jsonerror if all above steps failed - Check if
tauri.conf.json5exists
a. Parse it withjson5
b. Return error if all above steps failed - 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.rstotauri-buildso using the Cargo CLI directly processes the files for the application execution in development. - Breaking change* Remove default webview window when
tauri.conf.json > tauri > windowsis not set. - The minimum Rust version is now
1.56. - Adds
scopeglob array config undertauri > allowlist > fs.
AddsassetScopeglob array config undertauri > allowlist > protocol.
AddsscopeURL array config undertauri > allowlist > http. - The
shellallowlist now includes asidecarflag, which enables the use of theshellAPI to execute sidecars. - Force updater endpoint URL to use
httpson release builds.
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)