tauri-cli@1.0.0-rc.0
Ce contenu n’est pas encore disponible dans votre langue.
- Do not force Tauri application code on
src-taurifolder and use a glob pattern to look for a subfolder with atauri.conf.jsonfile. - Define
TAURI_PLATFORM,TAURI_ARCH,TAURI_FAMILY,TAURI_PLATFORM_TYPE,TAURI_PLATFORM_VERSIONandTAURI_DEBUGenvironment variables for thebeforeDevCommandandbeforeBuildCommandscripts. - Allow
configarg to be a path to a JSON file on thedevandbuildcommands. - Add
rustupversion and active rust toolchain to theinfocommand output. - Add
Visual Studio Build Toolsinstalled versions to theinfocommand output. - The inferred development server port for Svelte is now
8080(assumes latest Svelte withsirv-cli >= 2.0.0).- de0543f3 feat(cli.rs): change inferred dev server port to 8080 for Svelte apps on 2022-02-05
- Detect if tauri is used from git in the
infocommand. - Drop the
dialoguersoft fork and use the published version instead. - Fix
buildcommand when executed on a 32-bit Windows machine when pulling from thebinary-releasesrepo. - The
generateandsigncommands are now available under asignersubcommand. - Use
tauri-utilsto get theConfigtypes.- 4de285c3 feat(core): validate Cargo features matching allowlist [TRI-023] on 2022-01-09
- Print warning and exit if
distDircontainsnode_modules,src-tauriortargetfolders. - Fix
tauri buildfailing on Windows iftauri.conf.json > tauri > bundle > Windows > wix > licenseis used. - Added
dev_cspto thesecurityconfiguration object. - Kill process if
beforeDevCommandexits with a non-zero status code. - Fixes output directory detection when using Cargo workspaces.
- Allow using a fixed version for the Webview2 runtime via the
tauri > bundle > windows > webviewFixedRuntimePathconfig option. - 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_jsonb. Parse it withjson5ifserde_jsonfails c. Return originalserde_jsonerror if all above steps failed - Check if
tauri.conf.json5exists a. Parse it withjson5b. 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
- Added
$ tauri plugin initcommand, which initializes a Tauri plugin. - Breaking change: Add
macos-private-apifeature flag, enabled viatauri.conf.json > tauri > macOSPrivateApi. - 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. - The minimum Rust version is now
1.56. - Automatically
stripthe built binary on Linux and macOS if--debugis not specified. - Fixes pnpm error when running
pnpm tauri info. - Add support to building Universal macOS Binaries through the virtual target
universal-apple-darwin(runtauri build --target universal-apple-darwin). - Wait for
devPathURL to be reachable before starting the application. Skipped if theTAURI_SKIP_DEVSERVER_CHECKenvironment variable is set totrue. - On Windows, Fix
beforeDevCommandandbeforeBuildCommandnot executing the expected command if it contains quotes. This is done by executing them withCMD /S /C {command}instead ofCMD /C {command}on Windows. - Allow setting the localization file for WiX.
© 2025 Tauri Contributors. CC-BY / MIT