tauri/tooling/cli/CHANGELOG.md
github-actions[bot] 18ff84fc81
Apply Version Updates From Current Changes (#8775)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-02-19 15:49:28 -03:00

126 KiB

Changelog

[2.0.0-beta.2]

Enhancements

  • 83a68deb(#8797) Update app template following capabilities configuration change.

Bug Fixes

  • aa06a053(#8810) Fix tauri plugin android init printing invalid code that has a missing closing ".
  • 3cee26a5(#8865) On Windows, fixed tauri info fails to detect the build tool when the system language is CJK.
  • 052e8b43(#8838) Downgrade minisign dependency fixing updater signing key bug and prevent it from happening in the future.
  • fb0d9971(#8783) Fixes a regression on the --config argument not accepting file paths.
  • baca704d(#8768) Do not migrate updater configuration if the active flag is set to false.

Dependencies

  • Upgraded to tauri-utils@2.0.0-beta.2
  • Upgraded to tauri-bundler@2.0.0-beta.2

[2.0.0-beta.1]

Enhancements

  • 4e101f80(#8756) Moved the capability JSON schema to the src-tauri/gen folder so it's easier to track changes on the capabilities folder.
  • 4e101f80(#8756) Update app and plugin templates following generated files change from tauri-build and tauri-plugin.

Dependencies

  • Upgraded to tauri-utils@2.0.0-beta.1
  • Upgraded to tauri-bundler@2.0.0-beta.1

[2.0.0-beta.0]

New Features

  • 7fcc0bcd(#8490) Add plugin initialization rust code when using tauri add
  • 1878766f(#8667) Migrate the allowlist config to the new capability file format.

Enhancements

  • d6c7568c(#8720) Add files option to the AppImage Configuration.
  • b3209bb2(#8688) Ignore global .gitignore when searching for tauri directory.
  • e691208e(#7837) Prevent unneeded double Cargo.toml rewrite on dev and build.
  • f492efd7(#8666) Update app and plugin template following the new access control permission model.

Bug Fixes

  • 9cb9aa79(#8672) Allow license field in Cargo.toml to be { workspace = true }

Dependencies

  • Upgraded to tauri-utils@2.0.0-beta.0
  • Upgraded to tauri-bundler@2.0.0-beta.0

Breaking Changes

  • 8de308d1(#8723) Restructured Tauri config per RFC#5:

    • Moved package.productName, package.version and tauri.bundle.identifier fields to the top-level.
    • Removed package object.
    • Renamed tauri object to app.
    • Moved tauri.bundle object to the top-level.
    • Renamed build.distDir field to frontendDist.
    • Renamed build.devPath field to devUrl and will no longer accepts paths, it will only accept URLs.
    • Moved tauri.pattern to app.security.pattern.
    • Removed tauri.bundle.updater object, and its fields have been moved to the updater plugin under plugins.updater object.
    • Moved build.withGlobalTauri to app.withGlobalTauri.
    • Moved tauri.bundle.dmg object to bundle.macOS.dmg.
    • Moved tauri.bundle.deb object to bundle.linux.deb.
    • Moved tauri.bundle.appimage object to bundle.linux.appimage.
    • Removed all license fields from each bundle configuration object and instead added bundle.license and bundle.licenseFile.
    • Renamed AppUrl to FrontendDist and refactored its variants to be more explicit.

[2.0.0-alpha.21]

New Features

  • 27bad32d(#7798) Add files object on the tauri > bundle > macOS configuration option.
  • 0ec28c39(#8529) Include tauri-build on the migration script.

Enhancements

Bug Fixes

  • 4f73057e(#8486) Prevent Invalid target triple warnings and correctly set TAURI_ENV_ vars when target triple contains 4 components.

Dependencies

  • Upgraded to tauri-bundler@2.0.0-alpha.14
  • Upgraded to tauri-utils@2.0.0-alpha.13

Breaking Changes

  • 4f73057e(#8486) Removed TAURI_ENV_PLATFORM_TYPE which will not be set for CLI hook commands anymore, use TAURI_ENV_PLATFORM instead. Also Changed value of TAURI_ENV_PLATFORM and TAURI_ENV_ARCH values to match the target triple more accurately:

    • darwin and androideabi are no longer replaced with macos and android in TAURI_ENV_PLATFORM.
    • i686 and i586 are no longer replaced with x86 in TAURI_ENV_ARCH.

[2.0.0-alpha.20]

Dependencies

  • Upgraded to tauri-utils@2.0.0-alpha.12
  • Upgraded to tauri-bundler@2.0.0-alpha.13

[2.0.0-alpha.19]

Enhancements

  • 803c3a79(#8327) Read the following env vars when using the tauri signer sign command to make it easier to use in CI.

    • TAURI_PRIVATE_KEY
    • TAURI_PRIVATE_KEY_PASSWORD
    • TAURI_PRIVATE_KEY_PATH

[2.0.0-alpha.18]

New Features

  • 50f7ccbb(#6444) Add suport to SVG input image for the tauri icon command.
  • 25e5f91d(#8200) Merge src-tauri/Info.plist and src-tauri/Info.ios.plist with the iOS project plist file.

Enhancements

  • 01a7a983(#8128) Transform paths to relative to the mobile project for the IDE script runner script.

Bug Fixes

  • 88dac86f(#8149) Ensure tauri add prints rust_code with plugin name in snake case.
  • 977d0e52(#8202) Fixes android build --open and ios build --open IDE failing to read CLI options.
  • bfbbefdb(#8161) Fix invalid plugin template.
  • 92b50a3a(#8209) Added support to Xcode's archive. This requires regenerating the Xcode project.

Dependencies

  • Upgraded to tauri-bundler@2.0.0-alpha.12
  • Upgraded to tauri-utils@2.0.0-alpha.11

[2.0.0-alpha.17]

Enhancements

  • c6c59cf2 Pull changes from Tauri 1.5 release.

Dependencies

  • Upgraded to tauri-bundler@2.0.0-alpha.11
  • Upgraded to tauri-utils@2.0.0-alpha.10

Breaking Changes

  • 198abe3c(#8076) Updated the mobile plugin templates following the tauri v2.0.0-alpha.17 changes.

[2.0.0-alpha.16]

New Features

  • 8b166e9b(#7949) Add --no-dev-server-wait option to skip waiting for the dev server to start when using tauri dev.
  • 880266a7(#8031) Bump the MSRV to 1.70.

Dependencies

  • Upgraded to tauri-utils@2.0.0-alpha.9
  • Upgraded to tauri-bundler@2.0.0-alpha.10

Breaking Changes

  • 8b166e9b(#7949) Changed a number of environment variables used by tauri CLI for consistency and clarity:

    • TAURI_PRIVATE_KEY -> TAURI_SIGNING_PRIVATE_KEY
    • TAURI_KEY_PASSWORD -> TAURI_SIGNING_PRIVATE_KEY_PASSWORD
    • TAURI_SKIP_DEVSERVER_CHECK -> TAURI_CLI_NO_DEV_SERVER_WAIT
    • TAURI_DEV_SERVER_PORT -> TAURI_CLI_PORT
    • TAURI_PATH_DEPTH -> TAURI_CLI_CONFIG_DEPTH
    • TAURI_FIPS_COMPLIANT -> TAURI_BUNDLER_WIX_FIPS_COMPLIANT
    • TAURI_DEV_WATCHER_IGNORE_FILE -> TAURI_CLI_WATCHER_IGNORE_FILENAME
    • TAURI_TRAY -> TAURI_LINUX_AYATANA_APPINDICATOR
    • TAURI_APPLE_DEVELOPMENT_TEAM -> APPLE_DEVELOPMENT_TEAM
  • 4caa1cca(#7990) The tauri plugin subcommand is receving a couple of consitency and quality of life improvements:

    • Renamed tauri plugin android/ios add command to tauri plugin android/ios init to match the tauri plugin init command.
    • Removed the -n/--name argument from the tauri plugin init, tauri plugin android/ios init, and is now parsed from the first positional argument.
    • Added tauri plugin new to create a plugin in a new directory.
    • Changed tauri plugin init to initalize a plugin in an existing directory (defaults to current directory) instead of creating a new one.
    • Changed tauri plugin init to NOT generate mobile projects by default, you can opt-in to generate them using --android and --ios flags or --mobile flag or initalize them later using tauri plugin android/ios init.
  • 8b166e9b(#7949) Removed checking for a new version of the CLI.

  • ebcc21e4(#8057) Renamed the beforeDevCommand, beforeBuildCommand and beforeBundleCommand hooks environment variables from TAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUG to TAURI_ENV_PLATFORM, TAURI_ENV_ARCH, TAURI_ENV_FAMILY, TAURI_ENV_PLATFORM_VERSION, TAURI_ENV_PLATFORM_TYPE and TAURI_ENV_DEBUG to differentiate the prefix with other CLI environment variables.

[2.0.0-alpha.15]

New Features

  • b2f17723(#7971) Use devicectl to connect to iOS 17+ devices on macOS 14+.

Bug Fixes

  • 100d9ede(#7802) Properly read platform-specific configuration files for mobile targets.
  • 228e5a4c(#7902) Fixes icon command not writing files to the correct Android project folders.

Dependencies

  • Upgraded to tauri-utils@2.0.0-alpha.8
  • Upgraded to tauri-bundler@2.0.0-alpha.9

[2.0.0-alpha.14]

Breaking Changes

  • d5074af5(#7801) The custom protocol on Android now uses the http scheme instead of https.

[2.0.0-alpha.13]

Breaking Changes

  • 4cb51a2d(#7779) The custom protocol on Windows now uses the http scheme instead of https.
  • 974e38b4(#7744) Renamed the plugin add command to add.

[2.0.0-alpha.12]

Bug Fixes

  • b75a1210(#7762) Fixes a regression on alpha.11 where iOS logs aren't being displayed when using ios dev with a real device.
  • 8faa5a4a(#7765) Ensure asset directory exists on the iOS project.

Dependencies

  • Upgraded to tauri-bundler@2.0.0-alpha.8

[2.0.0-alpha.11]

New Features

  • 522de0e7(#7447) Expose an environment variable TAURI_${PLUGIN_NAME}_PLUGIN_CONFIG for each defined plugin configuration object.
  • c7dacca4(#7446) Expose the TAURI_IOS_PROJECT_PATH and TAURI_IOS_APP_NAME environment variables when using ios commands.
  • aa94f719(#7445) Generate empty entitlements file for the iOS project.
  • d010bc07(#7554) Set the iOS project PRODUCT_NAME value to the string under tauri.conf.json > package > productName if it is set.
  • 8af24974(#7561) The migrate command now automatically reads all JavaScript files and updates @tauri-apps/api import paths and install the missing plugins.

Enhancements

  • fbeb5b91(#7170) Update migrate command to update the configuration CSP to include ipc: on the connect-src directive, needed by the new IPC using custom protocols.

Bug Fixes

  • 5eb85543(#7282) Fix tauri info failing when there is no available iOS code signing certificate.

Dependencies

  • Upgraded to tauri-utils@2.0.0-alpha.7
  • Upgraded to tauri-bundler@2.0.0-alpha.7

[2.0.0-alpha.10]

New Features

Enhancements

  • aa6c9164(#7007) Don't build library files when building desktop targets.
  • a28fdf7e(#7044) Skip Rust target installation if they are already installed.
  • 735db1ce(#7044) Add --skip-targets-install flag for tauri android init and tauri ios init to skip installing needed rust targets vie rustup.

Bug Fixes

  • 3f4c4ce8(#7028) Fix --split-per-abi not building any targets unless specified by --target flag.
  • 1ed2600d(#6771) Set current directory to tauri directory before reading config file.
  • 4847b87b(#7209) Fix tauri (android|ios) (dev|build) failing when using npx tauri
  • 655c714e(#7240) Fixes panic when exiting the ios dev command with Ctrl + C.
  • 6252380f(#7241) Exit beforeDevCommand process if the android or iOS dev command fails.

[2.0.0-alpha.9]

  • 19cd0e49(#6811) Add key.properties file to android's .gitignore.
  • 124d5c5a(#6788) On mobile, fix regression introduced in tauri-cli version 2.0.0-alpha.3 where library not found error was thrown.
  • 31444ac1(#6725) Update mobile template to wry@0.28
  • 6d1fa49f(#6881) Clear Android plugin JSON file before building Rust library to ensure removed plugins are propagated to the Android project.
  • 5a9307d1(#6890) Update android template to gradle 8.0
  • 73c803a5(#6837) Inject Tauri configuration in the Android assets.
  • e1e85dc2(#6925) Moved the updater configuration to the BundleConfig.
  • 3188f376(#6883) Bump the MSRV to 1.65.
  • 2969d1cb(#6773) Use absolute path to each Android plugin project instead of copying the files to enhance developer experience.
  • d48aaa15(#6894) Add Cargo manifest files for the plugin example templates.
  • e1e85dc2(#6925) Removed the allowlist configuration.

[2.0.0-alpha.8]

  • Do not gitignore the Android project's buildSrc folder by default since we removed absolute paths from it.
    • ee2d3b97 fix(cli): remove buildSrc from Android project gitignored paths (#6702) on 2023-04-13
  • Fixes iOS build script using the wrong path for the app library file.
    • abc5f91f fix(cli): iOS Xcode script using incorrect library path (#6699) on 2023-04-13

[2.0.0-alpha.7]

  • Add --release flag for tauri android dev however you will need to sign your Android app, see https://next--tauri.netlify.app/next/guides/distribution/sign-android
    • 63f088e5 feat(cli): add --release for android dev (#6638) on 2023-04-05
  • Build only specified rust targets for tauri android build instead of all.
    • d03e47d1 fix: only build specified rust targets for aab/apk build (#6625) on 2023-04-05
  • Use local ip address for built-in dev server on mobile.
    • 7fec0f08 fix(cli): use local ip addr for built-in server on mobile, closes #6454 (#6631) on 2023-04-04
  • Change minimum Android SDK version to 21 for the plugin library.
    • db4c9dc6 feat(core): add option to configure Android's minimum SDK version (#6651) on 2023-04-07
  • Readd the Cargo.toml file to the plugin template.
    • 5288a386 fix(cli): readd Cargo.toml to the plugin template (#6637) on 2023-04-04

[2.0.0-alpha.6]

  • Use Ubuntu 20.04 to compile the CLI for cargo-binstall, increasing the minimum libc required.
  • Automatically enable the rustls-tls tauri feature on mobile and native-tls on desktop if rustls-tls is not enabled.
    • cfdee00f refactor(core): fix tls features, use rustls on mobile (#6591) on 2023-03-30

[2.0.0-alpha.5]

  • Fixes the iOS project script to build the Rust library.
    • 6e3e4c22 fix(cli): use correct variable on script to build Rust iOS code (#6581) on 2023-03-29
  • Fix tauri android build/dev crashing when used with standalone pnpm executable on Windows.
    • 39df2c98 fix(cli/android): fallback to ${program}.cmd (#6576) on 2023-03-29

[2.0.0-alpha.4]

  • Fix android project build crashing when using pnpm caused by extra --.
    • c787f749 fix(cli): only add -- to generated android template for npm (#6508) on 2023-03-21
  • Fixes the Android build gradle plugin implementation on Windows.
    • 00241fa9 fix(cli): append .cmd on the gradle plugin binary on Windows, fix #6502 (#6503) on 2023-03-21

[2.0.0-alpha.3]

  • Added plugin android add and plugin ios add commands to add mobile plugin functionality to existing projects.
    • 14d03d42 refactor(cli): enhance plugin commands for mobile (#6289) on 2023-02-16
  • Add --port to specify the port used for static files dev server. It can also be specified through TAURI_DEV_SERVER_PORT env var.
  • Auto select an external IP for mobile development and fallback to prompting the user. Use --force-ip-prompt to force prompting.
    • ec007ef0 feat: use local_ip() and fallback to prompt (#6290) on 2023-02-16
    • 4d090744 feat(cli): add --force-ip-prompt (#6406) on 2023-03-16
  • Add commands to add native Android and iOS functionality to plugins.
    • 05dad087 feat: initial work for iOS plugins (#6205) on 2023-02-11
  • In mobile commands, correctly detect when nodejs binary has the version in its name, for example node-18
    • 58d4709f fix: update nodejs detection in mobile commands (#6451) on 2023-03-16
  • Use temp file instead of environment variable to pass CLI IPC websocket address to the IDE.
    • 894a8d06 refactor(cli): use temp file to communicate IPC websocket address (#6219) on 2023-02-08
  • Change the Android template to enable minification on release and pull ProGuard rules from proguard-tauri.pro.
    • bef4ef51 feat(android): enable minify on release, add proguard rules (#6257) on 2023-02-13
  • Print an error if the Android project was generated with an older bundle identifier or package name.
    • 79eb0542 feat(cli): handle Android package identifier change (#6314) on 2023-02-19
  • Fixes the generated mobile build script when using an NPM runner.
    • 62f15265 fix(cli): generate build script using NPM runner if it was used (#6233) on 2023-02-10
  • Resolve Android package name from single word bundle identifiers.
    • 60a8b07d fix: handle single word bundle identifier when resolving Android domain (#6313) on 2023-02-19
  • Update Android project template with fix to crash on orientation change.
    • 947eb391 fix(android): crash on orientation change due to activity recreation (#6261) on 2023-02-13
  • Added --ios-color option to the tauri icon command.
    • 67755425 feat(cli): add --ios-color option to set iOS icon background color (#6247) on 2023-02-12
  • Fixes HMR on mobile when devPath is configured to load a filesystem path.
    • 4a82da29 fix(cli): use local ip address for reload (#6285) on 2023-02-16
  • Ignore the gen folder on the dev watcher.
    • cab4ff95 fix(cli): ignore the gen folder on the dev watcher (#6232) on 2023-02-09
  • Correctly pass arguments from npm run to tauri.
    • 1b343bd1 fix(cli): use npm run tauri -- foo for correctly passing args to tauri (#6448) on 2023-03-16
  • Changed the --api flag on plugin init to --no-api.
    • 14d03d42 refactor(cli): enhance plugin commands for mobile (#6289) on 2023-02-16

[2.0.0-alpha.2]

  • Fixes TAURI_* environment variables for hook scripts on mobile commands.
    • 1af9be90 feat(cli): properly fill target for TAURI_ env vars on mobile (#6116) on 2023-01-23
  • Force colored logs on mobile commands.
    • 2c4a0bbd feat(cli): force colored logs on mobile commands (#5934) on 2022-12-28
  • Keep the process alive even when the iOS application is closed.
    • dee9460f feat: keep CLI alive when iOS app exits, show logs, closes #5855 (#5902) on 2022-12-27
  • Show all application logs on iOS.
    • dee9460f feat: keep CLI alive when iOS app exits, show logs, closes #5855 (#5902) on 2022-12-27
  • Print log output for all tags on Android development.
    • 8cc11149 fix(cli): print Android logs for all tags on 2023-01-17
  • Add support to custom and kebab case library names for mobile apps.
    • 50f6dd87 feat: improvements to support hyphens in crate name (#5989) on 2023-01-06
  • Bump the MSRV to 1.64.
  • Fix target directory detection when compiling for Android.
    • e873bae0 fix(cli): Cargo target dir detection on Android, closes #5865 (#5932) on 2022-12-28

[2.0.0-alpha.1]

  • Fixes running on device using Xcode 14.
    • 1e4a6758 fix(cli): run on iOS device on Xcode 14 (#5807) on 2022-12-12
  • Improve local IP address detection with user selection.
    • 76204b89 feat(cli): improve local IP detection (#5817) on 2022-12-12

[2.0.0-alpha.0]

  • Added android build command.
    • 4c9ea450 feat(cli): add android build command (#4999) on 2022-08-22
  • Added ios build command.
    • 403859d4 feat(cli): add ios build command (#5002) on 2022-08-22
  • Added android dev and ios dev commands.
    • 6f061504 feat(cli): add android dev and ios dev commands (#4982) on 2022-08-20
  • Added android init and ios init commands.
    • d44f67f7 feat: add android init and ios init commands (#4942) on 2022-08-15
  • Added android open and ios open commands.
    • a9c8e565 feat: add android open and ios open commands (#4946) on 2022-08-15
  • First mobile alpha release!

[1.5.10]

New Features

  • 89911296(#8259) On macOS, support for signing nested .dylib, .app, .xpc and .framework under predefined directories inside the bundled frameworks ("MacOS", "Frameworks", "Plugins", "Helpers", "XPCServices" and "Libraries").

Bug Fixes

  • b0f27814(#8776) Fix fail to rename app when using --profile dev.
  • 0bff8c32(#8697) Fix the built-in dev server failing to serve files when URL had queries ? and other url components.
  • 67d7877f(#8520) The cli now also watches cargo workspace members if the tauri folder is the workspace root.

Dependencies

  • Upgraded to tauri-bundler@1.5.0

[1.5.9]

Bug Fixes

  • 0a2175ea(#8439) Expand glob patterns in workspace member paths so the CLI would watch all matching pathhs.

Dependencies

  • Upgraded to tauri-bundler@1.4.8
  • Upgraded to tauri-utils@1.5.2

[1.5.8]

Dependencies

  • Upgraded to tauri-bundler@1.4.7

[1.5.7]

Bug Fixes

  • 1d5aa38a(#8162) Fixes errors on command output, occuring when the output stream contains an invalid UTF-8 character, or ends with a multi-bytes UTF-8 character.
  • f26d9f08(#8263) Fixes an issue in the NSIS installer which caused the uninstallation to leave empty folders on the system if the resources feature was used.
  • 92bc7d0e(#8233) Fixes an issue in the NSIS installer which caused the installation to take much longer than expected when many resources were added to the bundle.

Dependencies

  • Upgraded to tauri-bundler@1.4.6

[1.5.6]

Bug Fixes

  • 5264e41d(#8082) Downgraded rust-minisign to 0.7.3 to fix signing updater bundles with empty passwords.

Dependencies

  • Upgraded to tauri-bundler@1.4.5

[1.5.5]

Enhancements

Bug Fixes

Dependencies

  • Upgraded to tauri-bundler@1.4.4

[1.5.4]

Dependencies

  • Upgraded to tauri-bundler@1.4.3

[1.5.3]

Dependencies

  • Upgraded to tauri-bundler@1.4.2

[1.5.2]

Dependencies

  • Upgraded to tauri-bundler@1.4.1

[1.5.1]

Bug Fixes

  • d6eb46cf(#7934) On macOS, fix the apple-id option name when using notarytools submit.

[1.5.0]

New Features

Enhancements

  • 13279917(#7713) Add version of Rust Tauri CLI installed with Cargo to tauri info command.

Bug Fixes

  • dad4f54e(#7277) Removed the automatic version check of the CLI that ran after tauri commands which caused various issues.

Dependencies

  • Upgraded to tauri-bundler@1.4.0
  • Upgraded to tauri-utils@1.5.0

[1.4.0]

New Features

  • 0ddbb3a1(#7015) Provide prebuilt CLIs for Windows ARM64 targets.
  • 35cd751a(#5176) Added the desktop_template option on tauri.conf.json > tauri > bundle > deb.
  • 6c5ade08(#4537) Added tauri completions to generate shell completions scripts.
  • 29488205(#6867) Allow specifying custom language files of Tauri's custom messages for the NSIS installer
  • e092f799(#6887) Add nsis > template option to specify custom NSIS installer template.

Enhancements

  • d75c1b82(#7181) Print a useful error when updater bundle target is specified without an updater-enabled target.
  • 52474e47(#7141) Enhance injection of Cargo features.
  • 2659ca1a(#6900) Add rustls as default Cargo feature.
  • c7056d1b(#6982) Improve Visual Studio installation detection in tauri info command to check for the necessary components instead of whole workloads. This also fixes the detection of minimal installations and auto-installations done by rustup.

Bug Fixes

[1.3.1]

  • Correctly escape XML for resource files in WiX bundler.

    • Bumped due to a bump in tauri-bundler.
    • 6a6b1388 fix(bundler): correctly escape resource xml, fixes #6853 (#6855) on 2023-05-04
  • Added the following languages to the NSIS bundler:

  • Spanish

  • SpanishInternational

  • Bumped due to a bump in tauri-bundler.

  • 422b4817 Add Spanish and SpanishInternational languages (#6871) on 2023-05-06

  • Correctly escape arguments in NSIS script to fix bundling apps that use non-default WebView2 install modes.

    • Bumped due to a bump in tauri-bundler.
    • 2915bd06 fix(bundler): Fix webview install modes in NSIS bundler (#6854) on 2023-05-04

[1.3.0]

  • Look for available port when using the built-in dev server for static files.
    • a7ee5ca7 fix(cli): look for available ports for built-in dev server, closes #6511 (#6514) on 2023-03-31
  • Add --port to specify the port used for static files dev server. It can also be specified through TAURI_DEV_SERVER_PORT env var.
  • Fix tauri info panicking when parsing crates version on a newly created project without a Cargo.lock file.
    • c2608423 fix(cli): don't panic when a crate version couldn't be parsed (#5873) on 2022-12-26
  • Improve the error message when rustc couldn't be found.
    • 7aab3e20 fix(cli.rs): improve rustc not found error msg (#6021) on 2023-01-17
  • Add --ci flag and respect the CI environment variable on the signer generate command. In this case the default password will be an empty string and the CLI will not prompt for a value.
    • 8fb1df8a feat(cli): add --ci flag to signer generate, closes #6089 (#6097) on 2023-01-19
  • Fix Outdated Github Actions in the Plugin Templates with-api and backend
    • a926b49a Fix Github Actions of Tauri Plugin with-api template (#6603) on 2023-04-03
  • Do not crash on Cargo.toml watcher.
    • e8014a7f fix(cli): do not crash on watcher (#6303) on 2023-02-17
  • On Windows, printing consistent paths on Windows with backslashs only.
    • 9da99607 fix(cli): fix printing paths on Windows (#6137) on 2023-01-26
  • Add --png option for the icon command to generate custom icon sizes.
    • 9d214412 feat(cli): add option to make custom icon sizes, closes #5121 (#5246) on 2022-12-27
  • Skip the password prompt on the build command when TAURI_KEY_PASSWORD environment variable is empty and the --ci argument is provided or the CI environment variable is set.
    • d4f89af1 feat: skip password prompt on the build command if CI is set fixes #6089 on 2023-01-18
  • Fix default-run not deserialized.
    • 57c6bf07 fix(cli): fix default-run not deserialized (#6584) on 2023-03-30
  • Fixes HTML serialization removing template tags on the dev server.
    • 314f0e21 fix(cli): web_dev_server html template serialization (fix #6165) (#6166) on 2023-01-29
  • Use escaping on Handlebars templates.
    • 6d6b6e65 feat: configure escaping on handlebars templates (#6678) on 2023-05-02
  • Fix building apps with unicode characters in their productName.
    • 72621892 fix(cli): use unicode feature for heck crate, closes #5860 (#5872) on 2022-12-26
  • Bump minimum supported Rust version to 1.60.
    • 5fdc616d feat: Use the zbus-backed of notify-rust (#6332) on 2023-03-31
  • Add initial support for building nsis bundles on non-Windows platforms.
    • 60e6f6c3 feat(bundler): Add support for creating NSIS bundles on unix hosts (#5788) on 2023-01-19
  • Add nsis bundle target
  • Remove default features from Cargo.toml template.
    • b08ae637 fix(cli): remove default features from template (#6074) on 2023-01-17
  • Added support for Cargo's workspace inheritance for package information. The cli now also detects inherited tauri and tauri-build dependencies and disables manifest rewrites accordingly.
    • cd8c074a feat(cli): add support for Cargo's workspace inheritance for the package version, closes #5070 (#5775) on 2022-12-14
    • d20a7288 feat: Further improve workspace inheritance, closes #6122, #5070 (#6144) on 2023-01-26
  • Use Ubuntu 20.04 to compile the CLI for cargo-binstall, increasing the minimum libc required.

[1.2.3]

  • Pin ignore to =0.4.18.
    • adcb082b chore(deps): pin ignore to =0.4.18 on 2023-01-17

[1.2.2]

  • Detect SvelteKit and Vite for the init and info commands.
    • 9d872ab8 feat(cli): detect SvelteKit and Vite (#5742) on 2022-12-02
  • Detect SolidJS and SolidStart for the init and info commands.
    • 9e7ce0a8 feat(cli): detect SolidJS and SolidStart (#5758) on 2022-12-08
  • Use older icon types to work around a macOS bug resulting in corrupted 16x16px and 32x32px icons in bundled apps.
    • 2d545eff fix(cli): corrupted icons in bundled macOS icons (#5698) on 2022-11-28
  • Add --no-dev-server flag to the cli to disable the dev server for static files in dev mode.

[1.2.1]

  • Fixes injection of Cargo features defined in the configuration file.
    • 1ecaeb29 fix(cli): inject config feature flags when features arg is not provided on 2022-11-18

[1.2.0]

  • Keep tauri dev watcher alive when the configuration is invalid.
    • cc186c7a fix(cli): keep dev watcher alive if config is incorrect, closes #5173 (#5495) on 2022-10-28
  • Ignore workspace members in dev watcher if they are ignored by .taurignore
    • 9417ce40 fix(cli): apply .taurignore rules to workspace members, closes #5355 (#5460) on 2022-10-28
  • Detect JSON5 and TOML configuration files in the dev watcher.
    • e7ccbd85 feat(cli): detect JSON5 and TOML configuration files in the dev watcher (#5439) on 2022-10-19
  • Fix cli passing --no-default-features to the app instead of the runner (Cargo).
    • a3a70218 fix(cli): pass --no-default-features to runner instead of app, closes #5415 (#5474) on 2022-10-25
  • Validate package > productName in the tauri config and produce errors if it contains one of the following characters /\:*?\"<>|
  • Hot-reload the frontend when tauri.conf.json > build > devPath points to a directory.
    • 54c337e0 feat(cli): hotreload support for frontend static files, closes #2173 (#5256) on 2022-09-28
  • Expose TAURI_TARGET_TRIPLE to beforeDevCommand, beforeBuildCommand and beforeBundleCommand
    • a4aec9f0 feat(cli): expose TAURI_TARGET_TRIPLE to before*Commands, closes #5091 (#5101) on 2022-10-03
  • Log dev watcher file change detection.
    • 9076d5d2 feat(cli): add prompt information when file changing detected, closes #5417 (#5428) on 2022-10-19
  • Set TAURI_PLATFORM_TYPE, TAURI_FAMILY, TAURI_ARCH and TAURI_PLATFORM env vars for hook commands to based on the app not the cli.
    • a4aec9f0 feat(cli): expose TAURI_TARGET_TRIPLE to before*Commands, closes #5091 (#5101) on 2022-10-03
  • Add tauri.conf.json > bundle > publisher field to specify the app publisher.
  • Changed the project template to not enable all APIs by default.
    • 582c25a0 refactor(cli): disable api-all on templates (#5538) on 2022-11-03

[1.1.1]

  • Fix wrong cli metadata that caused new projects (created through tauri init) fail to build

[1.1.0]

  • Allow adding build > beforeBundleCommand in tauri.conf.json to run a shell command before the bundling phase.
  • Change before_dev_command and before_build_command config value to allow configuring the current working directory.
  • Allow configuring the before_dev_command to force the CLI to wait for the command to finish before proceeding.
  • Check if the default build target is set in the Cargo configuration.
    • 436f3d8d feat(cli): load Cargo configuration to check default build target (#4990) on 2022-08-21
  • Add support to cargo-binstall.
    • 90d5929f feat(cli.rs): add support to cargo-binstall, closes #4651 (#4817) on 2022-08-02
  • Use cargo metadata to detect the workspace root and target directory.
    • fea70eff refactor(cli): Use cargo metadata to detect the workspace root and target directory, closes #4632, #4928. (#4932) on 2022-08-21
  • Prompt for beforeDevCommand and beforeBuildCommand in tauri init.
  • Add icon command to generate icons.
    • 12e9d811 feat(cli): Add icon command (tauricon) (#4992) on 2022-09-03
  • Added support to configuration files in TOML format (Tauri.toml file).
    • ae83d008 feat: add support to TOML config file Tauri.toml, closes #4806 (#4813) on 2022-08-02
  • Automatically use any .taurignore file as ignore rules for dev watcher and app path finder.
  • Enable WiX FIPS compliance when the TAURI_FIPS_COMPLIANT environment variable is set to true.
    • d88b9de7 feat(core): add fips_compliant wix config option, closes #4541 (#4843) on 2022-08-04
  • Fixes dev watcher incorrectly exiting the CLI when sequential file updates are detected.
    • 47fab680 fix(cli): dev watcher incorrectly killing process on multiple file write (#4684) on 2022-07-25
  • Set the MACOSX_DEPLOYMENT_TARGET environment variable with the configuration minimum_system_version value.
    • fa23310f fix(cli): set MACOSX_DEPLOYMENT_TARGET env var, closes #4704 (#4842) on 2022-08-02
  • Added --no-watch argument to the dev command to disable the file watcher.
    • 0983d7ce feat(cli): add --no-watch argument to the dev command, closes #4617 (#4793) on 2022-07-29
  • Validate updater signature matches configured public key.
    • b2a8930b feat(cli): validate updater private key when signing (#4754) on 2022-07-25

[1.0.5]

  • Correctly fill the architecture when building Debian packages targeting ARM64 (aarch64).
    • Bumped due to a bump in tauri-bundler.
    • 635f23b8 fix(bundler): correctly set debian architecture for aarch64 (#4700) on 2022-07-17

[1.0.4]

  • Do not capture and force colors of cargo build output.
    • c635a0da refactor(cli): do not capture and force colors of cargo build output (#4627) on 2022-07-12
  • Reduce the amount of allocations when converting cases.
    • bc370e32 feat: reduce the amount of heck-related allocations (#4634) on 2022-07-11

[1.0.3]

  • Changed the app template to not set the default app menu as it is now set automatically on macOS which is the platform that needs a menu to function properly.
    • 91055883 feat: add implicit default menu for macOS only, closes #4551 (#4570) on 2022-07-04
  • Improved bundle identifier validation showing the exact source of the configuration value.
    • 8e3e7fc6 feat(cli): improve bundle identifier validation, closes #4589 (#4596) on 2022-07-05
  • Improve configuration deserialization error messages.
    • 9170c920 feat(core): improve config deserialization error messages (#4607) on 2022-07-06
  • Skip the static link of the vcruntime140.dll if the STATIC_VCRUNTIME environment variable is set to false.
  • The TAURI_CONFIG environment variable now represents the configuration to be merged instead of the entire JSON.
    • fa028ebf refactor: do not pass entire config from CLI to core, send patch instead (#4598) on 2022-07-06
  • Watch for Cargo workspace members in the dev file watcher.
    • dbb8c87b feat(cli): watch Cargo workspaces in the dev command, closes #4222 (#4572) on 2022-07-03

[1.0.2]

  • Fixes a crash on the signer sign command.
    • 8e808fec fix(cli.rs): conflicts_with arg doesn't exist closes (#4538) on 2022-06-30

[1.0.1]

  • No longer adds the pkg-config dependency to .deb packages when the systemTray is used. This only works with recent versions of libappindicator-sys (including https://github.com/tauri-apps/libappindicator-rs/pull/38), so a cargo update may be necessary if you create .deb bundles and use the tray feature.
    • 0e6edeb1 fix(cli): Don't add pkg-config to deb (#4508) on 2022-06-29
  • AppImage bundling will now prefer bundling correctly named appindicator library (including .1 version suffix). With a symlink for compatibility with the old naming.
    • bf45ca1d fix(cli,bundler): prefer AppImage libraries with ABI version (#4505) on 2022-06-29
  • Improve error message when cargo is not installed.
    • e0e5f772 feat(cli): improve cargo not found error message, closes #4428 (#4430) on 2022-06-21
  • The app template now only sets the default menu on macOS.
    • 5105b428 feat(cli): change app template to only set default menu on macOS (#4518) on 2022-06-29
  • Warn if updater is enabled but not in the bundle target list.
    • 31c15cd2 docs(config): enhance documentation for bundle targets, closes #3251 (#4418) on 2022-06-21
  • Check if target exists and is installed on dev and build commands.
    • 13b8a240 feat(cli): validate target argument (#4458) on 2022-06-24
  • Fixes the covector configuration on the plugin templates.
    • b8a64d01 fix(cli): add prepublish scripts to the plugin templates on 2022-06-19
  • Set the binary name to the product name in development.
    • b025b9f5 refactor(cli): set binary name on dev (#4447) on 2022-06-23
  • Allow registering a .gitignore file to skip watching some project files and directories via the TAURI_DEV_WATCHER_IGNORE_FILE environment variable.
  • Fix shebang for kill-children.sh.
  • Update plugin templates to use newer tauri-apps/create-pull-request GitHub action.
    • 07f90795 chore(cli): update plugin template tauri-apps/create-pull-request on 2022-06-19
  • Use UNIX path separator on the init $schema field.
    • 01053045 chore(cli): use unix path separator on $schema (#4384) on 2022-06-19
  • The info command now can check the Cargo lockfile on workspaces.
    • 12f65219 fix(cli): read lockfile from workspace on the info command, closes #4232 (#4423) on 2022-06-21
  • Preserve the Cargo.toml formatting when the features array is not changed.
    • 6650e5d6 fix(cli): preserve Cargo manifest formatting when possible (#4431) on 2022-06-21
  • Change the updater signature metadata to include the file name instead of its full path.
    • 094b3eb3 fix(cli): file name instead of path on updater sig comment, closes #4467 (#4484) on 2022-06-27
  • Validate bundle identifier as it must only contain alphanumeric characters, hyphens and periods.
    • 0674a801 fix: assert config.bundle.identifier to be only alphanumeric, hyphens or dots. closes #4359 (#4363) on 2022-06-17

[1.0.0]

  • Upgrade to stable!

[1.0.0-rc.16]

  • Use the default window menu in the app template.

[1.0.0-rc.15]

  • Removed the tray icon from the Debian and AppImage bundles since they are embedded in the binary now.
    • 4ce8e228 refactor(core): use Icon for tray icons (#4342) on 2022-06-14

[1.0.0-rc.14]

  • Set the TRAY_LIBRARY_PATH environment variable to make the bundle copy the appindicator library to the AppImage.
    • 34552444 feat(cli): bundle appindicator library in the AppImage, closes #3859 (#4267) on 2022-06-07
  • Set the APPIMAGE_BUNDLE_GSTREAMER environment variable to make the bundler copy additional gstreamer files to the AppImage.
    • d335fae9 feat(bundler): bundle additional gstreamer files, closes #4092 (#4271) on 2022-06-10
  • Configure the AppImage bundler to copy the /usr/bin/xdg-open binary if it exists and the shell open API is enabled.
    • 2322ac11 fix(bundler): bundle /usr/bin/xdg-open in appimage if open API enabled (#4265) on 2022-06-04
  • Fixes multiple occurrences handling of the bundles and features arguments.
    • f685df39 fix(cli): parsing of arguments with multiple values, closes #4231 (#4233) on 2022-05-29
  • Log command output in real time instead of waiting for it to finish.
    • 76d1eaae feat(cli): debug command output in real time (#4318) on 2022-06-12
  • Configure the STATIC_VCRUNTIME environment variable so tauri-build statically links it on the build command.
    • d703d27a fix(build): statically link VC runtime only on tauri build (#4292) on 2022-06-07
  • Use the TAURI_TRAY environment variable to determine which package should be added to the Debian depends section. Possible values are ayatana and gtk.
    • 6216eb49 refactor(core): drop ayatana-tray and gtk-tray Cargo features (#4247) on 2022-06-02

[1.0.0-rc.13]

  • Check if $CWD/src-tauri/tauri.conf.json exists before walking through the file tree to find the tauri dir in case the whole project is gitignored.
    • bd8f3e29 fix(cli): manual config lookup to handle gitignored folders, fixes #3527 (#4224) on 2022-05-26
  • Statically link the Visual C++ runtime instead of using a merge module on the installer.

[1.0.0-rc.12]

  • Properly fetch the NPM dependency information when using Yarn 2+.
    • cdfa6255 fix(cli): properly read info when using yarn 2+, closes #4106 (#4193) on 2022-05-23

[1.0.0-rc.11]

  • Allow configuring the display options for the MSI execution allowing quieter updates.
    • 9f2c3413 feat(core): configure msiexec display options, closes #3951 (#4061) on 2022-05-15

[1.0.0-rc.10]

  • Resolve binary file extension from target triple instead of compile-time checks to allow cross compilation.
    • 4562e671 fix(build): append .exe binary based on target triple instead of running OS, closes #3870 (#4032) on 2022-05-03
  • Fixes text overflow on tauri dev on Windows.
    • 094534d1 fix(cli): dev command stderr text overflow on Windows, closes #3995 (#4000) on 2022-04-29
  • Improve CLI's logging output, making use of the standard rust log system.
  • Don't override the default keychain on macOS while code signing.
    • Remove startup delay in tauri dev caused by checking for a newer cli version. The check is now done upon process exit.
  • Add TAURI_SKIP_UPDATE_CHECK env variable to skip checking for a newer CLI version.
  • bbabc8cd fix(cli.rs): remove startup delay in tauri dev (#3999) on 2022-04-29
  • Fix tauri info panic when a package isn't installed.
    • 4f0f3187 fix(cli.rs): fix tauri info panic when a package isn't installed, closes #3985 (#3996) on 2022-04-29
  • Added $schema support to tauri.conf.json.
    • 715cbde3 feat(config): add $schema to tauri.conf.json, closes #3464 (#4031) on 2022-05-03
  • Breaking change: The dev command now reads the custom config file from CWD instead of the Tauri folder.
    • a1929c6d fix(cli): always read custom config file from CWD, closes #4067 (#4074) on 2022-05-07
  • Fixes a Powershell crash when sending SIGINT to the dev command.
  • Prevent building when the bundle identifier is the default com.tauri.dev.
    • 95726ebb feat(cli): prevent default bundle identifier from building, closes #4041 (#4042) on 2022-05-04

[1.0.0-rc.9]

  • Exit CLI when Cargo returns a non-compilation error in tauri dev.
    • b5622882 fix(cli): exit on non-compilation Cargo errors, closes #3930 (#3942) on 2022-04-22
  • Notify CLI update when running tauri dev.
    • a649aad7 feat(cli): check and notify about updates on tauri dev, closes #3789 (#3960) on 2022-04-25
  • The CLI will not automatically run strip on release binaries anymore. Use the [strip][strip] profile setting stabilized with Cargo 1.59.
  • 62106224 refactor: drop strip from build command. closes #3559 (#3863) on 2022-04-06
  • Kill the beforeDevCommand and app processes if the dev command returns an error.
    • 485c9743 fix(cli): kill beforeDevCommand if dev code returns an error (#3907) on 2022-04-19
  • Fix info command showing outdated text for latest versions.
    • 73a4b74a fix(cli.rs/info): don't show outdated text for latest versions (#3829) on 2022-04-02
  • Breaking change: Enable default Cargo features except tauri/custom-protocol on the dev command.
    • f2a30d8b refactor(core): use ayatana appindicator by default, keep option to use gtk (#3916) on 2022-04-19
  • Kill the beforeDevCommand process recursively on Unix.
    • e251e1b0 fix(cli): kill before dev command recursively on Unix, closes #2794 (#3848) on 2022-04-03

[1.0.0-rc.8]

  • Allows the tauri.conf.json file to be git ignored on the path lookup function.
    • cc7c2d77 feat(cli): allow conf path to be gitignored, closes #3636 (#3683) on 2022-03-13
  • Remove minimumSystemVersion: null from the application template configuration.
    • c81534eb feat(cli): use default macOS minimum system version when it is empty (#3658) on 2022-03-13
  • Improve readability of the info subcommand output.
  • Properly terminate the beforeDevCommand process.
    • 94d78efb fix(cli.rs): terminate the beforeDevCommand, closes #2794 (#2883) on 2022-03-27
  • Fixes DMG bundling on macOS 12.3.
    • 348a1ab5 fix(bundler): DMG bundling on macOS 12.3 cannot use bless, closes #3719 (#3721) on 2022-03-18
  • Fixes resources bundling on Windows when the path is on the root of the Tauri folder.
    • 4c84559e fix(cli): root resource bundling on Windows, closes #3539 (#3685) on 2022-03-13

[1.0.0-rc.7]

  • Added tsp config option under tauri > bundle > windows, which enables Time-Stamp Protocol (RFC 3161) for the timestamping server under code signing on Windows if set to true.
    • bdd5f7c2 fix: add support for Time-Stamping Protocol for Windows codesigning (fix #3563) (#3570) on 2022-03-07
  • Change the plugin init templates to use the new tauri::plugin::Builder syntax.
    • f7acb061 feat(cli): use plugin::Builder syntax on the plugin template (#3606) on 2022-03-03

[1.0.0-rc.6]

  • Improve "waiting for your dev server to start" message.
    • 5999379f chore(cli): improve "waiting for dev server" message, closes #3491 (#3504) on 2022-02-18
  • Do not panic if the updater private key password is wrong.
    • 17f17a80 fix(cli): do not panic if private key password is wrong, closes #3449 (#3495) on 2022-02-17
  • Check the current folder before checking the directories on the app and tauri dir path lookup function.
    • a06de376 fix(cli): path lookup should not check subfolder before the current one (#3465) on 2022-02-15
  • Fixes the signature of the signer sign command to not have duplicated short flags.
    • a9755514 fix(cli): duplicated short flag for signer sign, closes #3483 (#3492) on 2022-02-17

[1.0.0-rc.5]

  • Allow passing arguments to the build runner (tauri build -- <ARGS>...).
    • 679fe1fe feat(cli.rs): allow passing arguments to the build runner, closes #3398 (#3431) on 2022-02-13
  • Improve error message when the dev runner command fails.
    • 759d1afb feat(cli): improve error message when dev runner command fails (#3447) on 2022-02-13
  • Increase tauri.conf.json directory lookup depth to 3 and allow changing it with the TAURI_PATH_DEPTH environment variable.
    • c6031c70 feat(cli): increase lookup depth, add env var option (#3451) on 2022-02-13
  • Added tauri-build, tao and wry version to the info command output.
    • 16f1173f feat(cli): add tao and wry version to the info output (#3443) on 2022-02-13
  • Breaking change: The extra arguments passed to tauri dev using -- <ARGS>... are now propagated to the runner (defaults to cargo). To pass arguments to your binary using Cargo, you now need to run tauri dev -- -- <ARGS-TO-YOUR-BINARY>... (notice the double --).
    • 679fe1fe feat(cli.rs): allow passing arguments to the build runner, closes #3398 (#3431) on 2022-02-13
  • Change the init template configuration to disable CSP for better usability for new users.
    • 102a5e9b refactor(cli.rs): change template config CSP to null, closes #3427 (#3429) on 2022-02-13

[1.0.0-rc.4]

  • Change default value for the freezePrototype configuration to false.
    • Bumped due to a bump in tauri-utils.
    • 3a4c0160 fix(core): change default freezePrototype to false, closes #3416 #3406 (#3423) on 2022-02-12

[1.0.0-rc.3]

  • Fixes Tauri path resolution on projects without Git or a .gitignore file.
    • d8acbe11 fix(cli.rs): app path resolution on projects without git, closes #3409 (#3410) on 2022-02-11

[1.0.0-rc.2]

  • Fix init command prompting for values even if the argument has been provided on the command line.
    • def76840 fix(cli.rs): do not prompt for init values if arg set (#3400) on 2022-02-11
    • 41052dee fix(covector): add cli.js to change files on 2022-02-11
  • Fixes CLI freezing when running light.exe on Windows without the --verbose flag.
  • Respect .gitignore configuration when looking for the folder with the tauri.conf.json file.
    • 9c6c5a8c perf(cli.rs): improve performance of tauri dir lookup reading .gitignore (#3405) on 2022-02-11
    • 41052dee fix(covector): add cli.js to change files on 2022-02-11

[1.0.0-rc.1]

  • Include vswhere.exe on the published package.
    • 3227502e fix(cli.rs): package vswhere.exe on 2022-02-10

[1.0.0-rc.0]

  • Do not force Tauri application code on src-tauri folder and use a glob pattern to look for a subfolder with a tauri.conf.json file.
    • a8cff6b3 feat(cli): do not enforce src-tauri folder structure, closes #2643 (#2654) on 2021-09-27
  • Define TAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_TYPE, TAURI_PLATFORM_VERSION and TAURI_DEBUG environment variables for the beforeDevCommand and beforeBuildCommand scripts.
    • 8599313a feat(cli.rs): env vars for beforeDev/beforeBuild commands, closes #2610 (#2655) on 2021-09-26
    • b5ee03a1 feat(cli.rs): expose debug flag to beforeDev/beforeBuild commands (#2727) on 2021-10-08
    • 9bb68973 fix(cli.rs): prefix the "before script" env vars with TAURI_ (#3274) on 2022-01-24
  • Allow config arg to be a path to a JSON file on the dev and build commands.
    • 7b81e5b8 feat(cli.rs): allow config argument to be a path to a JSON file (#2938) on 2021-11-22
  • Add rustup version and active rust toolchain to the info command output.
    • 28aaec87 feat(cli.rs): add active toolchain and rustup to tauri info, closes #2730 (#2986) on 2021-12-09
  • Add Visual Studio Build Tools installed versions to the info command output.
  • The inferred development server port for Svelte is now 8080 (assumes latest Svelte with sirv-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 info command.
    • 65ad5b5e feat(cli.rs/info): detect if tauri is used from git (#3309) on 2022-02-05
  • Drop the dialoguer soft fork and use the published version instead.
    • b1f5c6d7 refactor(cli.rs): drop dialoguer and console soft fork (#2790) on 2021-10-22
  • Fix build command when executed on a 32-bit Windows machine when pulling from the binary-releases repo.
  • The generate and sign commands are now available under a signer subcommand.
    • 1458ab3c refactor(cli.rs): signer and plugin subcommands, use new clap derive syntax (#2928) on 2021-12-09
  • Use tauri-utils to get the Config types.
    • 4de285c3 feat(core): validate Cargo features matching allowlist [TRI-023] on 2022-01-09
  • Print warning and exit if distDir contains node_modules, src-tauri or target folders.
  • Fix tauri build failing on Windows if tauri.conf.json > tauri > bundle > Windows > wix > license is used.
    • 17a1ad68 fix(cli.rs): ensure target/release/wix exists, closes #2927 (#2987) on 2021-12-07
  • 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
  • Kill process if beforeDevCommand exits with a non-zero status code.
    • a2d5929a feat(cli.rs): wait for dev URL to be reachable, exit if command fails (#3358) on 2022-02-08
  • Fixes output directory detection when using Cargo workspaces.
  • 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
  • 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
  • Added $ tauri plugin init command, which initializes a Tauri plugin.
    • ac8e69a9 feat(cli.rs): add init plugin command, bootstraps a plugin project (#2669) on 2021-09-27
    • db275f0b refactor(cli.rs): rename init plugin subcommand to plugin init (#2885) on 2021-11-13
  • Breaking change: Add macos-private-api feature flag, enabled via tauri.conf.json > tauri > macOSPrivateApi.
    • 6ac21b3c feat: add private api feature flag (#7) on 2022-01-09
  • 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
  • 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
  • Automatically strip the built binary on Linux and macOS if --debug is not specified.
    • 2f3a582c feat(cli.rs): strip release binaries [TRI-031] (#22) on 2022-01-09
  • Fixes pnpm error when running pnpm tauri info.
    • 2026134f fix(cli.rs): pnpm tauri info exits with error (fix #2509) (#2510) on 2021-08-24
  • Add support to building Universal macOS Binaries through the virtual target universal-apple-darwin (run tauri build --target universal-apple-darwin).
    • 83f52fdb feat: Add universal-darwin-macos build target, closes #3317 (#3318) on 2022-02-04
  • Wait for devPath URL to be reachable before starting the application. Skipped if the TAURI_SKIP_DEVSERVER_CHECK environment variable is set to true.
    • a2d5929a feat(cli.rs): wait for dev URL to be reachable, exit if command fails (#3358) on 2022-02-08
  • On Windows, Fix beforeDevCommand and beforeBuildCommand not executing the expected command if it contains quotes. This is done by executing them with CMD /S /C {command} instead of CMD /C {command} on Windows.
    • 52e9a6d8 fix: Make CMD handle quotes " properly. (#3334) on 2022-02-06
  • Allow setting the localization file for WiX.

[1.0.0-beta.7]

  • Update cli.yml to pass clap ArgSettings::MultipleValues assertion.
    • 0391ac3d fix: Update cli.yml to pass clap ArgSettings::MultipleValues assertion. (#2506) (#2507) on 2021-08-22

[1.0.0-beta.6]

  • Added APPLE_SIGNING_IDENTITY as supported environment variable for the bundler.
    • 44f6ee4c chore(ci): add step to detect code signing (#2245) on 2021-08-08
  • Added configuration for the WiX banner icon under tauri.conf.json > tauri > bundle > windows > wix > bannerPath.
    • 13003ec7 feat(bundler): add config for WiX banner path, closes #2175 (#2448) on 2021-08-16
  • Added configuration for the WiX dialog background bitmap under tauri.conf.json > tauri > bundle > windows > wix > dialogImagePath.
    • 9bfdeb42 feat(bundler): add config for WiX dialog image path (#2449) on 2021-08-16
  • Only convert package name and binary name to kebab-case, keeping the .desktop Name field with the original configured value.
    • 3f039cb8 fix: keep original productName for .desktop Name field, closes #2295 (#2384) on 2021-08-10
  • Merge platform-specific tauri.linux.conf.json, tauri.windows.conf.json and tauri.macos.conf.json into the config JSON from tauri.conf.json.
    • 71d687b7 feat(cli.rs): platform-specific conf.json (#2309) on 2021-07-28
  • Update minimum Rust version to 1.54.0.

[1.0.0-beta.5]

  • Run powershell commands with -NoProfile flag
    • 3e6f3416 fix(cli.rs): run powershell kill command without profile (#2130) on 2021-06-30
  • Adds release argument to the dev command. Allowing to run the backend in release mode during development.
    • 7ee2dc8b feat(cli.rs): add release argument to the dev command (#2192) on 2021-07-12
  • Fixes center and focus not being allowed in tauri.conf.json > tauri > windows and ignored in WindowBuilderWrapper.
    • bc2c331d fix: center and focus not being allowed in config (#2199) on 2021-07-12

[1.0.0-beta.4]

  • Improve error message when the product name is invalid.
    • 1a41e9f0 feat(cli.rs): improve error message on app rename, closes #2101 (#2114) on 2021-06-28

[1.0.0-beta.3]

  • Properly detect target platform's architecture.
    • 628a53eb fix(cli): properly detect target architecture, closes #2040 (#2102) on 2021-06-28
  • Fixes build command when the target arg is set.
    • 8e238701 fix(cli.rs): fix out dir detection when target arg is set, closes #2040 (#2098) on 2021-06-27

[1.0.0-beta.2]

  • Support cargo tauri build on Apple M1 chip.
    • 3bf853d7 feat(cli.rs): support tauri build on M1 chip (#1915) on 2021-05-29
  • Infer app name and window title from package.json > productName or package.json > name. Infer distDir and devPath by reading the package.json and trying to determine the UI framework (Vue.js, Angular, React, Svelte and some UI frameworks).
    • 21a971c3 feat(cli.rs): infer devPath/distDir/appName from package.json (#1930) on 2021-05-31
  • Watch workspace crates on dev command.
    • 86a23ff3 added support for cargo workspaces for dev command (#1827) on 2021-05-13
  • Adds features argument to the dev and build commands.
    • 6ec8e84d feat(cli.rs): add features arg to dev/build (#1828) on 2021-05-13
  • Fixes the libwebkit2gtk package name.
  • Properly keep all tauri features that are not managed by the CLI.
    • 17c7c439 refactor(core): use attohttpc by default (#1861) on 2021-05-19
  • Copy resources and binaries to OUT_DIR on tauri dev command.
    • 8f29a260 fix(cli.rs): copy resources and binaries on dev, closes #1298 (#1946) on 2021-06-04
  • Read cargo features from tauri.conf.json > build > features and propagate them on dev and build.
    • 2b814e9c added cargo features to tauri config (#1824) on 2021-05-13
  • Fixes tauri.conf.json > tauri > bundle > targets not applying to the bundler.
    • 8be35ced fix(cli.rs): tauri.conf.json > tauri > bundle > targets being ignored (#1945) on 2021-06-04
  • Fixes info command not striping \r from child process version output.
    • 6a95d7ac fix(cli.rs): info version checks not striping \r on Windows (#1952) on 2021-06-05
  • Allow setting a path to a license file for the Windows Installer (tauri.conf.json > bundle > windows > wix > license).
  • Change the csp value on the template to include wss: and tauri: to the default-src attribute.
    • 463fd00d fix(csp): add wss and tauri to conf template (#1974) on 2021-06-15
  • Adds tauri > bundle > windows > wix > language config option. See https://docs.microsoft.com/en-us/windows/win32/msi/localizing-the-error-and-actiontext-tables.

[1.0.0-beta.1]

  • Add 'self' to default CSP because otherwise no joy on macOS.
  • Fix a typo that would result in bundle arg being ignored.
    • 71f6a5e fix(cli.rs/build): fix typo getting bundle arg (#1783) on 2021-05-12

[1.0.0-beta.0]

  • Fixes a cargo target/ cache issue.
    • 79feb6a fix(cli.rs): cargo build failed due to cache issue, closes #1543 (#1741) on 2021-05-07
  • Improve error logging.
    • 5cc4b11 feat(cli.rs): add context to errors (#1674) on 2021-05-01
  • Adds Webview2 version on info command.
    • 2b4e2b7 feat(cli.rs/info): get webview2 version on windows (#1669) on 2021-05-04
  • Adds --runner [PROGRAM] argument on the dev and build command, allowing using the specified program to run and build the application (example program: cross).
    • 5c1fe52 feat(cli.rs): allow using cross instead of cargo, add target triple arg (#1664) on 2021-04-30
  • Adds --target [TARGET_TRIPLE] option to the build command (example: --target arm-unknown-linux-gnueabihf).
    • 5c1fe52 feat(cli.rs): allow using cross instead of cargo, add target triple arg (#1664) on 2021-04-30
  • Rename --target option on the build command to --bundle.
    • 5c1fe52 feat(cli.rs): allow using cross instead of cargo, add target triple arg (#1664) on 2021-04-30
  • Automatically add Tauri dependencies to the debian package Depends section.
    • 72b8048 feat(cli.rs): fill debian depends with tauri dependencies (#1767) on 2021-05-10
  • Properly kill beforeDevCommand process.
  • Adds support to tauri dependency as string and table on Cargo.toml.
    • df8bdcf feat(cli.rs): add support to string and table dependency, closes #1653 (#1654) on 2021-04-29
  • Show framework and bundler on the info command by reading the package.json file and matching known dependencies.
    • 152c755 feat(cli.rs): framework and bundler on info cmd, closes #1681 (#1682) on 2021-05-02

[1.0.0-beta-rc.4]

  • Fixes the Message command name value on plugin invoke handler.
    • Bumped due to a bump in tauri.
    • 422dd5e fix(core): command name on plugin invoke handler (#1577) on 2021-04-21
    • f575aaa fix: change files not referencing core packages (#1619) on 2021-04-25
  • The package info APIs now checks the package object on tauri.conf.json.
    • Bumped due to a bump in tauri.
    • 8fd1baf fix(core): pull package info from tauri.conf.json if set (#1581) on 2021-04-22
    • f575aaa fix: change files not referencing core packages (#1619) on 2021-04-25

[1.0.0-beta-rc.3]

  • Check if distDir assets are built after running beforeDevCommand.
    • a670d3a fix(cli.rs): check if distDir exists after running beforeDevCommand (#1586) on 2021-04-22
  • Fixes tauri info display version for the @tauri-apps/api package.
    • 0012782 fix(cli.rs): info command npm_package_version parsing beta-rc (#1587) on 2021-04-22
  • Fixes crash on usage of modifier keys on Windows when running tauri init.
    • d623d95 fix(cli.rs): inliner dialoguer & console until they publish, fixes #1492 (#1610) on 2021-04-25
  • Enable tauri updater feature when tauri.conf.json > tauri > updater > active is set to true.
    • 9490b25 fix(cli.rs): enable the updater feature on cli (#1597) on 2021-04-23

[1.0.0-beta-rc.2]

  • Add missing camelcase rename for config
    • bdf7072 fix(cli.rs/info): add missing camelCase rename (#1505) on 2021-04-14
  • Fix tauri info
  • Properly detect yarn and npm versions on windows.
  • Fix a panic caused by a wrong field name in metadata.json
  • 71666e9 fix(cli.rs): fix panic & use cmd to run yarn&npm on windows (#1511) on 2021-04-17
  • Sync metadata.json via script to update version reference to cli.js, tauri (core) and tauri-build.
    • 1f64927 chore: sync cli.rs metadata.json file versions (#1534) on 2021-04-19

[1.0.0-beta-rc.1]

  • Missing the files property in the package.json which mean that the dist directory was not published and used.
    • Bumped due to a bump in api.
    • b2569a7 fix(js-api): dist (#1498) on 2021-04-15

[1.0.0-beta-rc.0]

  • You can now run cargo tauri build -t none to speed up the build if you don't need executables.
    • 4d507f9 feat(cli/core): add support for building without targets (#1203) on 2021-02-10
    • aea6145 refactor(repo): add /tooling folder (#1457) on 2021-04-12
  • The dev and build pipeline is now written in Rust.
    • 3e8abe3 feat(cli) rewrite the core CLI in Rust (#851) on 2021-01-30
    • aea6145 refactor(repo): add /tooling folder (#1457) on 2021-04-12
  • Run beforeDevCommand and beforeBuildCommand in a shell.
    • 32eb0d5 feat(cli): run beforeDev and beforeBuild in a shell, closes #1295 (#1399) on 2021-03-28
    • aea6145 refactor(repo): add /tooling folder (#1457) on 2021-04-12
  • Fixes <a target="_blank"> polyfill.
    • 4ee044a fix(cli): use correct arg in _blanks links polyfill (#1362) on 2021-03-17
    • aea6145 refactor(repo): add /tooling folder (#1457) on 2021-04-12
  • Update all code files to have our license header.
    • bf82136 feat(license): SPDX Headers (#1449) on 2021-04-11
    • a6def70 Refactor(tauri): move tauri-api and tauri-updater to tauri (#1455) on 2021-04-11
    • aea6145 refactor(repo): add /tooling folder (#1457) on 2021-04-12
  • Adds productName and version configs on tauri.conf.json > package.
    • 5b3d9b2 feat(config): allow setting product name and version on tauri.conf.json (#1358) on 2021-03-22
    • aea6145 refactor(repo): add /tooling folder (#1457) on 2021-04-12
  • The info command was rewritten in Rust.
    • c3e06ee refactor(cli): rewrite info in Rust (#1389) on 2021-03-25
    • aea6145 refactor(repo): add /tooling folder (#1457) on 2021-04-12
  • The init command was rewritten in Rust.
    • f72b93b refactor(cli): rewrite init command in Rust (#1382) on 2021-03-24
    • aea6145 refactor(repo): add /tooling folder (#1457) on 2021-04-12
  • All the arguments passed after tauri dev -- are now propagated to the binary.
    • 4e9d31c feat(cli): propagate args passed after dev --, closes #1406 (#1407) on 2021-03-30
    • aea6145 refactor(repo): add /tooling folder (#1457) on 2021-04-12
  • Alpha version of tauri-updater. Please refer to the README for more details.
    • 6d70c8e feat(updater): Alpha version (#643) on 2021-04-05
    • a6def70 Refactor(tauri): move tauri-api and tauri-updater to tauri (#1455) on 2021-04-11
    • aea6145 refactor(repo): add /tooling folder (#1457) on 2021-04-12