* apply version updates * fix bundler version * update lockfile --------- Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com> Co-authored-by: Lucas Nogueira <lucas@tauri.app>
138 KiB
Changelog
[2.0.0-beta.19]
New Features
8a1ae2dea(#9843) Added an option to use a Xcode project for the iOS plugin instead of a plain SwiftPM project.9e4b2253f(#9734) Addtauri bundlesubcommand which runs the bundle phase only, best paired withtauri build --no-bundle
Enhancements
8b032c3cf(#9896) Add a blank LaunchScreen.storyboard to the iOS project init template to pass the App Store validation.71a5e2ba2(#9799) On Android, allow using Kotlin keywords as identifiers and escape them in templates.9970d88be(#9892) Update to latest gradle.
What's Changed
Dependencies
- Upgraded to
tauri-bundler@2.0.1-beta.15 - Upgraded to
tauri-utils@2.0.0-beta.17
Breaking Changes
265c23886(#9375) Avoid renaming main binary to product name and perserve the name generated by cargo.1df5cdeb0(#9858) Usetauri.conf.json > identifierto set thePackageNamein Android andBundleIdin iOS.
[2.0.0-beta.18]
Bug Fixes
beda18bce(#9855) Fixed an issue that causedtauri addto fail for multiple rust-only and platform-specific plugins.4a33bc6a6(#9553) Fixespnpmdetection when initializing and running a mobile project.
Dependencies
- Upgraded to
tauri-bundler@2.0.1-beta.14 - Upgraded to
tauri-utils@2.0.0-beta.16
[2.0.0-beta.17]
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.15 - Upgraded to
tauri-bundler@2.0.1-beta.13
[2.0.0-beta.16]
Bug Fixes
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.14 - Upgraded to
tauri-bundler@2.0.1-beta.12
[2.0.0-beta.15]
Bug Fixes
3f0805488(#9603) Usewindows-syscrate instead ofwinapiwhich fixes installing the published cli from crates.io usingcargo install tauri-cli --version "^2.0.0-beta".
[2.0.0-beta.14]
Enhancements
Bug Fixes
e64b8f1dc(#9479) Upgradeheckto v0.5 to better support Chinese and Japanese product name, because Chinese do not have word separation.aaa332c6e(#9540) Fixtauri migratetrying to migrate to a non-existing plugin.e64b8f1dc(#9479) Fixed an issue causing thebuild.runnerandbuild.featuresconfigs to not take effect.
Dependencies
- Upgraded to
tauri-bundler@2.0.1-beta.10 - Upgraded to
tauri-utils@2.0.0-beta.13
[2.0.0-beta.13]
Bug Fixes
73c1c2d33(#9457) Gracefully handle Non-UTF8 files when usingtauri migrate9331435a5(#9412) Fixtauri infocrashing when Node.js is not installed.
What's Changed
Dependencies
- Upgraded to
tauri-bundler@2.0.1-beta.9 - Upgraded to
tauri-utils@2.0.0-beta.12
[2.0.0-beta.12]
New Features
93e0e1392Support specifying a version fortauri addsubcommand, for example:tauri add window-state@2.0.0-beta.2
Enhancements
Dependencies
- Upgraded to
tauri-bundler@2.0.1-beta.8 - Upgraded to
tauri-utils@2.0.0-beta.11
[2.0.0-beta.11]
Enhancements
ac76a22f3(#9183) Allow empty responses fordevUrl,beforeDevCommandandbeforeBuildCommandsquestions intauri init.b525ddadf(#9237)opensslis no longer a required dependency on macOS.
Dependencies
- Upgraded to
tauri-bundler@2.0.1-beta.7
[2.0.0-beta.10]
New Features
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.10 - Upgraded to
tauri-bundler@2.0.1-beta.6
[2.0.0-beta.9]
Bug Fixes
c3ea3a2b7(#9126) Fix bundling whenplugins > updater > windows > installerArgsare set intauri.conf.json
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.9 - Upgraded to
tauri-bundler@2.0.1-beta.5
[2.0.0-beta.8]
Enhancements
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.8 - Upgraded to
tauri-bundler@2.0.1-beta.4
[2.0.0-beta.7]
Enhancements
c68218b36(#8990) Add--no-bundleflag fortauri buildcommand to skip bundling. Previouslynonewas used to skip bundling, it will now be treated as invalid format and a warning will be emitted instead.
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.7 - Upgraded to
tauri-bundler@2.0.1-beta.3 4f7894176(#9034) Update dependencies, fixlogcompilation issue.
[2.0.0-beta.6]
Bug Fixes
f5f3ed5f(#9009) Fixes Android and iOS project initialization when the Tauri CLI is on a different disk partition.d7d03c71(#9017) Fixes dev watcher on mobile dev.b658ded6(#9015) Fixes truncation of existing BuildTask.kt when runningtauri android init.
What's Changed
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.6 - Upgraded to
tauri-bundler@2.0.1-beta.2
[2.0.0-beta.5]
New Features
-
06d63d67(#8827) Add new subcommands for managing permissions and cababilities:tauri permission newtauri permission addtauri permission rmtauri permission lstauri capability new
Breaking Changes
b9e6a018(#8937) Thecustom-protocolCargo feature is no longer required on your application and is now ignored. To check if running on production, use#[cfg(not(dev))]instead of#[cfg(feature = "custom-protocol")].
Enhancements
Bug Fixes
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.5 - Upgraded to
tauri-bundler@2.0.1-beta.1
[2.0.0-beta.4]
Bug Fixes
Dependencies
- Upgraded to
tauri-bundler@2.0.1-beta.0 - Upgraded to
tauri-utils@2.0.0-beta.4
Breaking Changes
a76fb118(#8950) Changed the capability format to allow configuring bothremote: { urls: Vec<String> }andlocal: bool (default: true)instead of choosing one on thecontextfield.
[2.0.0-beta.3]
Enhancements
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.3 - Upgraded to
tauri-bundler@2.0.0-beta.3
[2.0.0-beta.2]
Enhancements
Bug Fixes
aa06a053(#8810) Fixtauri plugin android initprinting invalid code that has a missing closing".3cee26a5(#8865) On Windows, fixedtauri infofails 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--configargument 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 thesrc-tauri/genfolder so it's easier to track changes on thecapabilitiesfolder.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 usingtauri add1878766f(#8667) Migrate the allowlist config to the new capability file format.
Enhancements
d6c7568c(#8720) Addfilesoption to the AppImage Configuration.b3209bb2(#8688) Ignore global.gitignorewhen searching for tauri directory.e691208e(#7837) Prevent unneeded double Cargo.toml rewrite ondevandbuild.f492efd7(#8666) Update app and plugin template following the new access control permission model.
Bug Fixes
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.versionandtauri.bundle.identifierfields to the top-level. - Removed
packageobject. - Renamed
tauriobject toapp. - Moved
tauri.bundleobject to the top-level. - Renamed
build.distDirfield tofrontendDist. - Renamed
build.devPathfield todevUrland will no longer accepts paths, it will only accept URLs. - Moved
tauri.patterntoapp.security.pattern. - Removed
tauri.bundle.updaterobject, and its fields have been moved to the updater plugin underplugins.updaterobject. - Moved
build.withGlobalTauritoapp.withGlobalTauri. - Moved
tauri.bundle.dmgobject tobundle.macOS.dmg. - Moved
tauri.bundle.debobject tobundle.linux.deb. - Moved
tauri.bundle.appimageobject tobundle.linux.appimage. - Removed all license fields from each bundle configuration object and instead added
bundle.licenseandbundle.licenseFile. - Renamed
AppUrltoFrontendDistand refactored its variants to be more explicit.
- Moved
[2.0.0-alpha.21]
New Features
27bad32d(#7798) Addfilesobject on thetauri > bundle > macOSconfiguration option.0ec28c39(#8529) Include tauri-build on the migration script.
Enhancements
Bug Fixes
4f73057e(#8486) PreventInvalid target triplewarnings and correctly setTAURI_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) RemovedTAURI_ENV_PLATFORM_TYPEwhich will not be set for CLI hook commands anymore, useTAURI_ENV_PLATFORMinstead. Also Changed value ofTAURI_ENV_PLATFORMandTAURI_ENV_ARCHvalues to match the target triple more accurately:darwinandandroideabiare no longer replaced withmacosandandroidinTAURI_ENV_PLATFORM.i686andi586are no longer replaced withx86inTAURI_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 thetauri signer signcommand to make it easier to use in CI.TAURI_PRIVATE_KEYTAURI_PRIVATE_KEY_PASSWORDTAURI_PRIVATE_KEY_PATH
[2.0.0-alpha.18]
New Features
50f7ccbb(#6444) Add suport to SVG input image for thetauri iconcommand.25e5f91d(#8200) Mergesrc-tauri/Info.plistandsrc-tauri/Info.ios.plistwith the iOS project plist file.
Enhancements
Bug Fixes
88dac86f(#8149) Ensuretauri addprintsrust_codewith plugin name in snake case.977d0e52(#8202) Fixesandroid build --openandios build --openIDE 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
c6c59cf2Pull 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
[2.0.0-alpha.16]
New Features
8b166e9b(#7949) Add--no-dev-server-waitoption to skip waiting for the dev server to start when usingtauri 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_KEYTAURI_KEY_PASSWORD->TAURI_SIGNING_PRIVATE_KEY_PASSWORDTAURI_SKIP_DEVSERVER_CHECK->TAURI_CLI_NO_DEV_SERVER_WAITTAURI_DEV_SERVER_PORT->TAURI_CLI_PORTTAURI_PATH_DEPTH->TAURI_CLI_CONFIG_DEPTHTAURI_FIPS_COMPLIANT->TAURI_BUNDLER_WIX_FIPS_COMPLIANTTAURI_DEV_WATCHER_IGNORE_FILE->TAURI_CLI_WATCHER_IGNORE_FILENAMETAURI_TRAY->TAURI_LINUX_AYATANA_APPINDICATORTAURI_APPLE_DEVELOPMENT_TEAM->APPLE_DEVELOPMENT_TEAM
-
4caa1cca(#7990) Thetauri pluginsubcommand is receving a couple of consitency and quality of life improvements:- Renamed
tauri plugin android/ios addcommand totauri plugin android/ios initto match thetauri plugin initcommand. - Removed the
-n/--nameargument from thetauri plugin init,tauri plugin android/ios init, and is now parsed from the first positional argument. - Added
tauri plugin newto create a plugin in a new directory. - Changed
tauri plugin initto initalize a plugin in an existing directory (defaults to current directory) instead of creating a new one. - Changed
tauri plugin initto NOT generate mobile projects by default, you can opt-in to generate them using--androidand--iosflags or--mobileflag or initalize them later usingtauri plugin android/ios init.
- Renamed
-
8b166e9b(#7949) Removed checking for a new version of the CLI. -
ebcc21e4(#8057) Renamed the beforeDevCommand, beforeBuildCommand and beforeBundleCommand hooks environment variables fromTAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUGtoTAURI_ENV_PLATFORM, TAURI_ENV_ARCH, TAURI_ENV_FAMILY, TAURI_ENV_PLATFORM_VERSION, TAURI_ENV_PLATFORM_TYPE and TAURI_ENV_DEBUGto differentiate the prefix with other CLI environment variables.
[2.0.0-alpha.15]
New Features
Bug Fixes
100d9ede(#7802) Properly read platform-specific configuration files for mobile targets.228e5a4c(#7902) Fixesiconcommand 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
[2.0.0-alpha.13]
Breaking Changes
4cb51a2d(#7779) The custom protocol on Windows now uses thehttpscheme instead ofhttps.974e38b4(#7744) Renamed theplugin addcommand toadd.
[2.0.0-alpha.12]
Bug Fixes
b75a1210(#7762) Fixes a regression on alpha.11 where iOS logs aren't being displayed when usingios devwith 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 variableTAURI_${PLUGIN_NAME}_PLUGIN_CONFIGfor each defined plugin configuration object.c7dacca4(#7446) Expose theTAURI_IOS_PROJECT_PATHandTAURI_IOS_APP_NAMEenvironment variables when usingioscommands.aa94f719(#7445) Generate empty entitlements file for the iOS project.d010bc07(#7554) Set the iOS project PRODUCT_NAME value to the string undertauri.conf.json > package > productNameif it is set.8af24974(#7561) Themigratecommand now automatically reads all JavaScript files and updates@tauri-apps/apiimport paths and install the missing plugins.
Enhancements
fbeb5b91(#7170) Update migrate command to update the configuration CSP to includeipc:on theconnect-srcdirective, needed by the new IPC using custom protocols.
Bug Fixes
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
7e5905ae(#7023) Addedtauri plugin addcommand to add a plugin to the Tauri project.b0f94775(#7008) Addedmigratecommand.
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-installflag fortauri android initandtauri ios initto skip installing needed rust targets vie rustup.
Bug Fixes
3f4c4ce8(#7028) Fix--split-per-abinot building any targets unless specified by--targetflag.1ed2600d(#6771) Set current directory to tauri directory before reading config file.4847b87b(#7209) Fixtauri (android|ios) (dev|build)failing when usingnpx tauri655c714e(#7240) Fixes panic when exiting theios devcommand with Ctrl + C.6252380f(#7241) ExitbeforeDevCommandprocess if the android or iOSdevcommand fails.
[2.0.0-alpha.9]
19cd0e49(#6811) Addkey.propertiesfile to android's.gitignore.124d5c5a(#6788) On mobile, fix regression introduced intauri-cliversion2.0.0-alpha.3where library not found error was thrown.31444ac1(#6725) Update mobile template towry@0.286d1fa49f(#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.073c803a5(#6837) Inject Tauri configuration in the Android assets.e1e85dc2(#6925) Moved the updater configuration to theBundleConfig.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
buildSrcfolder by default since we removed absolute paths from it. - Fixes iOS build script using the wrong path for the app library file.
[2.0.0-alpha.7]
- Add
--releaseflag fortauri android devhowever you will need to sign your Android app, see https://next--tauri.netlify.app/next/guides/distribution/sign-android - Build only specified rust targets for
tauri android buildinstead of all. - Use local ip address for built-in dev server on mobile.
- Change minimum Android SDK version to 21 for the plugin library.
- Readd the Cargo.toml file to the plugin template.
[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-tlstauri feature on mobile andnative-tlson desktop ifrustls-tlsis not enabled.
[2.0.0-alpha.5]
- Fixes the iOS project script to build the Rust library.
- Fix
tauri android build/devcrashing when used with standalonepnpmexecutable on Windows.
[2.0.0-alpha.4]
- Fix android project build crashing when using
pnpmcaused by extra--. - Fixes the Android build gradle plugin implementation on Windows.
[2.0.0-alpha.3]
- Added
plugin android addandplugin ios addcommands to add mobile plugin functionality to existing projects. - Add
--portto specify the port used for static files dev server. It can also be specified throughTAURI_DEV_SERVER_PORTenv var. - Auto select an external IP for mobile development and fallback to prompting the user. Use
--force-ip-promptto force prompting. - Add commands to add native Android and iOS functionality to plugins.
- In mobile commands, correctly detect when nodejs binary has the version in its name, for example
node-18 - Use temp file instead of environment variable to pass CLI IPC websocket address to the IDE.
- Change the Android template to enable minification on release and pull ProGuard rules from proguard-tauri.pro.
- Print an error if the Android project was generated with an older bundle identifier or package name.
- Fixes the generated mobile build script when using an NPM runner.
- Resolve Android package name from single word bundle identifiers.
- Update Android project template with fix to crash on orientation change.
- Added
--ios-coloroption to thetauri iconcommand. - Fixes HMR on mobile when devPath is configured to load a filesystem path.
- Ignore the
genfolder on the dev watcher. - Correctly pass arguments from
npm runtotauri. - Changed the
--apiflag onplugin initto--no-api.
[2.0.0-alpha.2]
- Fixes
TAURI_*environment variables for hook scripts on mobile commands. - Force colored logs on mobile commands.
- Keep the process alive even when the iOS application is closed.
- Show all application logs on iOS.
- 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.
- Bump the MSRV to 1.64.
- Fix target directory detection when compiling for Android.
[2.0.0-alpha.1]
- Fixes running on device using Xcode 14.
- Improve local IP address detection with user selection.
[2.0.0-alpha.0]
- Added
android buildcommand. - Added
ios buildcommand. - Added
android devandios devcommands. - Added
android initandios initcommands. - Added
android openandios opencommands. - First mobile alpha release!
[1.5.11]
Bug Fixes
97a05145f(#9119) Fix compilation error due to dependency on unstable features oflogcrate.b15948b11(#8903) Fix.taurignorefailing to ignore in some cases.
Dependencies
- Upgraded to
tauri-bundler@1.5.1
[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) Fixfail to rename appwhen 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 theresourcesfeature was used.92bc7d0e(#8233) Fixes an issue in the NSIS installer which caused the installation to take much longer than expected when manyresourceswere added to the bundle.
Dependencies
- Upgraded to
tauri-bundler@1.4.6
[1.5.6]
Bug Fixes
5264e41d(#8082) Downgradedrust-minisignto0.7.3to 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
[1.5.0]
New Features
Enhancements
Bug Fixes
dad4f54e(#7277) Removed the automatic version check of the CLI that ran aftertauricommands 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 thedesktop_templateoption ontauri.conf.json > tauri > bundle > deb.6c5ade08(#4537) Addedtauri completionsto generate shell completions scripts.29488205(#6867) Allow specifying custom language files of Tauri's custom messages for the NSIS installere092f799(#6887) Addnsis > templateoption to specify custom NSIS installer template.
Enhancements
d75c1b82(#7181) Print a useful error whenupdaterbundle target is specified without an updater-enabled target.52474e47(#7141) Enhance injection of Cargo features.2659ca1a(#6900) Addrustlsas default Cargo feature.c7056d1b(#6982) Improve Visual Studio installation detection intauri infocommand to check for the necessary components instead of whole workloads. This also fixes the detection of minimal installations and auto-installations done byrustup.
Bug Fixes
3cb7a3e6(#6997) Fix built-in devserver adding hot-reload code to non-html files.fd3b5a16(#6954) Fix building with a custom cargo profile1253bbf7(#7013) Fixes Cargo.toml feature rewriting.
[1.3.1]
-
Correctly escape XML for resource files in WiX bundler.
-
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.
[1.3.0]
- Look for available port when using the built-in dev server for static files.
- Add
--portto specify the port used for static files dev server. It can also be specified throughTAURI_DEV_SERVER_PORTenv var. - Fix
tauri infopanicking when parsing crates version on a newly created project without aCargo.lockfile. - Improve the error message when
rustccouldn't be found. - Add
--ciflag and respect theCIenvironment variable on thesigner generatecommand. In this case the default password will be an empty string and the CLI will not prompt for a value. - Fix Outdated Github Actions in the Plugin Templates
with-apiandbackend - Do not crash on Cargo.toml watcher.
- On Windows, printing consistent paths on Windows with backslashs only.
- Add
--pngoption for theiconcommand to generate custom icon sizes. - Skip the password prompt on the build command when
TAURI_KEY_PASSWORDenvironment variable is empty and the--ciargument is provided or theCIenvironment variable is set. - Fix
default-runnot deserialized. - Fixes HTML serialization removing template tags on the dev server.
- Use escaping on Handlebars templates.
- Fix building apps with unicode characters in their
productName. - Bump minimum supported Rust version to 1.60.
- Add initial support for building
nsisbundles on non-Windows platforms. - Add
nsisbundle target - Remove default features from Cargo.toml template.
- Added support for Cargo's workspace inheritance for package information. The cli now also detects inherited
tauriandtauri-builddependencies and disables manifest rewrites accordingly. - Use Ubuntu 20.04 to compile the CLI for cargo-binstall, increasing the minimum libc required.
[1.2.3]
- Pin
ignoreto=0.4.18.- adcb082b chore(deps): pin
ignoreto =0.4.18 on 2023-01-17
- adcb082b chore(deps): pin
[1.2.2]
- Detect SvelteKit and Vite for the init and info commands.
- Detect SolidJS and SolidStart for the init and info commands.
- Use older icon types to work around a macOS bug resulting in corrupted 16x16px and 32x32px icons in bundled apps.
- Add
--no-dev-serverflag 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 devwatcher alive when the configuration is invalid. - Ignore workspace members in dev watcher if they are ignored by
.taurignore - Detect JSON5 and TOML configuration files in the dev watcher.
- Fix cli passing
--no-default-featuresto the app instead of the runner (Cargo). - Validate
package > productNamein the tauri config and produce errors if it contains one of the following characters/\:*?\"<>| - Hot-reload the frontend when
tauri.conf.json > build > devPathpoints to a directory. - Expose
TAURI_TARGET_TRIPLEtobeforeDevCommand,beforeBuildCommandandbeforeBundleCommand - Log dev watcher file change detection.
- Set
TAURI_PLATFORM_TYPE,TAURI_FAMILY,TAURI_ARCHandTAURI_PLATFORMenv vars for hook commands to based on the app not the cli. - Add
tauri.conf.json > bundle > publisherfield to specify the app publisher. - Changed the project template to not enable all APIs by default.
[1.1.1]
- Fix wrong cli metadata that caused new projects (created through
tauri init) fail to build
[1.1.0]
- Allow adding
build > beforeBundleCommandin tauri.conf.json to run a shell command before the bundling phase. - Change
before_dev_commandandbefore_build_commandconfig value to allow configuring the current working directory. - Allow configuring the
before_dev_commandto force the CLI to wait for the command to finish before proceeding. - Check if the default build target is set in the Cargo configuration.
- Add support to cargo-binstall.
- Use
cargo metadatato detect the workspace root and target directory. - Prompt for
beforeDevCommandandbeforeBuildCommandintauri init. - Add
iconcommand to generate icons. - Added support to configuration files in TOML format (Tauri.toml file).
- Automatically use any
.taurignorefile as ignore rules for dev watcher and app path finder. - Enable WiX FIPS compliance when the
TAURI_FIPS_COMPLIANTenvironment variable is set totrue. - Fixes dev watcher incorrectly exiting the CLI when sequential file updates are detected.
- Set the
MACOSX_DEPLOYMENT_TARGETenvironment variable with the configurationminimum_system_versionvalue. - Added
--no-watchargument to thedevcommand to disable the file watcher. - Validate updater signature matches configured public key.
[1.0.5]
- Correctly fill the architecture when building Debian packages targeting ARM64 (aarch64).
[1.0.4]
- Do not capture and force colors of
cargo buildoutput. - Reduce the amount of allocations when converting cases.
[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.
- Improved bundle identifier validation showing the exact source of the configuration value.
- Improve configuration deserialization error messages.
- Skip the static link of the
vcruntime140.dllif theSTATIC_VCRUNTIMEenvironment variable is set tofalse. - The
TAURI_CONFIGenvironment variable now represents the configuration to be merged instead of the entire JSON. - Watch for Cargo workspace members in the
devfile watcher.
[1.0.2]
- Fixes a crash on the
signer signcommand.
[1.0.1]
- No longer adds the
pkg-configdependency to.debpackages when thesystemTrayis used. This only works with recent versions oflibappindicator-sys(including https://github.com/tauri-apps/libappindicator-rs/pull/38), so acargo updatemay be necessary if you create.debbundles and use the tray feature. - AppImage bundling will now prefer bundling correctly named appindicator library (including
.1version suffix). With a symlink for compatibility with the old naming. - Improve error message when
cargois not installed. - The app template now only sets the default menu on macOS.
- Warn if updater is enabled but not in the bundle target list.
- Check if target exists and is installed on dev and build commands.
- 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.
- Allow registering a
.gitignorefile to skip watching some project files and directories via theTAURI_DEV_WATCHER_IGNORE_FILEenvironment variable. - Fix shebang for
kill-children.sh. - Update plugin templates to use newer
tauri-apps/create-pull-requestGitHub action.- 07f90795 chore(cli): update plugin template tauri-apps/create-pull-request on 2022-06-19
- Use UNIX path separator on the init
$schemafield. - The
infocommand now can check the Cargo lockfile on workspaces. - Preserve the
Cargo.tomlformatting when the features array is not changed. - Change the updater signature metadata to include the file name instead of its full path.
- Validate bundle identifier as it must only contain alphanumeric characters, hyphens and periods.
[1.0.0]
[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.
[1.0.0-rc.14]
- Set the
TRAY_LIBRARY_PATHenvironment variable to make the bundle copy the appindicator library to the AppImage. - Set the
APPIMAGE_BUNDLE_GSTREAMERenvironment variable to make the bundler copy additional gstreamer files to the AppImage. - Configure the AppImage bundler to copy the
/usr/bin/xdg-openbinary if it exists and the shellopenAPI is enabled. - Fixes multiple occurrences handling of the
bundlesandfeaturesarguments. - Log command output in real time instead of waiting for it to finish.
- Configure the
STATIC_VCRUNTIMEenvironment variable sotauri-buildstatically links it on the build command. - Use the
TAURI_TRAYenvironment variable to determine which package should be added to the Debiandependssection. Possible values areayatanaandgtk.
[1.0.0-rc.13]
- Check if
$CWD/src-tauri/tauri.conf.jsonexists before walking through the file tree to find the tauri dir in case the whole project is gitignored. - 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+.
[1.0.0-rc.11]
- Allow configuring the display options for the MSI execution allowing quieter updates.
[1.0.0-rc.10]
- Resolve binary file extension from target triple instead of compile-time checks to allow cross compilation.
- Fixes text overflow on
tauri devon Windows. - Improve CLI's logging output, making use of the standard rust
logsystem. - Don't override the default keychain on macOS while code signing.
-
- Remove startup delay in
tauri devcaused by checking for a newer cli version. The check is now done upon process exit.
- Remove startup delay in
- Add
TAURI_SKIP_UPDATE_CHECKenv 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 infopanic when a package isn't installed. - Added
$schemasupport totauri.conf.json. - Breaking change: The
devcommand now reads the custom config file from CWD instead of the Tauri folder. - Fixes a Powershell crash when sending SIGINT to the dev command.
- Prevent building when the bundle identifier is the default
com.tauri.dev.
[1.0.0-rc.9]
- Exit CLI when Cargo returns a non-compilation error in
tauri dev. - Notify CLI update when running
tauri dev. - The CLI will not automatically run
stripon 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
beforeDevCommandand app processes if the dev command returns an error. - Fix
infocommand showing outdated text for latest versions. - Breaking change: Enable default Cargo features except
tauri/custom-protocolon the dev command. - Kill the
beforeDevCommandprocess recursively on Unix.
[1.0.0-rc.8]
- Allows the
tauri.conf.jsonfile to be git ignored on the path lookup function. - Remove
minimumSystemVersion: nullfrom the application template configuration. - Improve readability of the
infosubcommand output. - Properly terminate the
beforeDevCommandprocess. - Fixes DMG bundling on macOS 12.3.
- Fixes resources bundling on Windows when the path is on the root of the Tauri folder.
[1.0.0-rc.7]
- Added
tspconfig option undertauri > bundle > windows, which enables Time-Stamp Protocol (RFC 3161) for the timestamping server under code signing on Windows if set totrue. - Change the
plugin inittemplates to use the newtauri::plugin::Buildersyntax.
[1.0.0-rc.6]
- Improve "waiting for your dev server to start" message.
- Do not panic if the updater private key password is wrong.
- Check the current folder before checking the directories on the app and tauri dir path lookup function.
- Fixes the signature of the
signer signcommand to not have duplicated short flags.
[1.0.0-rc.5]
- Allow passing arguments to the
buildrunner (tauri build -- <ARGS>...). - Improve error message when the dev runner command fails.
- Increase
tauri.conf.jsondirectory lookup depth to3and allow changing it with theTAURI_PATH_DEPTHenvironment variable. - Added
tauri-build,taoandwryversion to theinfocommand output. - Breaking change: The extra arguments passed to
tauri devusing-- <ARGS>...are now propagated to the runner (defaults to cargo). To pass arguments to your binary using Cargo, you now need to runtauri dev -- -- <ARGS-TO-YOUR-BINARY>...(notice the double--). - Change the
inittemplate configuration to disable CSP for better usability for new users.
[1.0.0-rc.4]
- Change default value for the
freezePrototypeconfiguration tofalse.
[1.0.0-rc.3]
- Fixes Tauri path resolution on projects without Git or a
.gitignorefile.
[1.0.0-rc.2]
- Fix
initcommand prompting for values even if the argument has been provided on the command line. - Fixes CLI freezing when running
light.exeon Windows without the--verboseflag. - Respect
.gitignoreconfiguration when looking for the folder with thetauri.conf.jsonfile.
[1.0.0-rc.1]
- Include
vswhere.exeon the published package.- 3227502e fix(cli.rs): package
vswhere.exeon 2022-02-10
- 3227502e fix(cli.rs): package
[1.0.0-rc.0]
- 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.
[1.0.0-beta.7]
- Update cli.yml to pass clap ArgSettings::MultipleValues assertion.
[1.0.0-beta.6]
- Added
APPLE_SIGNING_IDENTITYas supported environment variable for the bundler. - Added configuration for the WiX banner icon under
tauri.conf.json > tauri > bundle > windows > wix > bannerPath. - Added configuration for the WiX dialog background bitmap under
tauri.conf.json > tauri > bundle > windows > wix > dialogImagePath. - Only convert package name and binary name to kebab-case, keeping the
.desktopNamefield with the original configured value. - Merge platform-specific
tauri.linux.conf.json,tauri.windows.conf.jsonandtauri.macos.conf.jsoninto the config JSON fromtauri.conf.json. - Update minimum Rust version to 1.54.0.
[1.0.0-beta.5]
- Run powershell commands with
-NoProfileflag - Adds
releaseargument to thedevcommand. Allowing to run the backend in release mode during development. - Fixes
centerandfocusnot being allowed intauri.conf.json > tauri > windowsand ignored inWindowBuilderWrapper.
[1.0.0-beta.4]
- Improve error message when the product name is invalid.
[1.0.0-beta.3]
- Properly detect target platform's architecture.
- Fixes
buildcommand when thetargetarg is set.
[1.0.0-beta.2]
- Support
cargo tauri buildon Apple M1 chip. - Infer
app nameandwindow titlefrompackage.json > productNameorpackage.json > name. InferdistDiranddevPathby reading the package.json and trying to determine the UI framework (Vue.js, Angular, React, Svelte and some UI frameworks). - Watch workspace crates on
devcommand. - Adds
featuresargument to thedevandbuildcommands. - Fixes the libwebkit2gtk package name.
- Properly keep all
taurifeatures that are not managed by the CLI. - Copy resources and binaries to
OUT_DIRontauri devcommand. - Read cargo features from
tauri.conf.json > build > featuresand propagate them ondevandbuild. - Fixes
tauri.conf.json > tauri > bundle > targetsnot applying to the bundler. - Fixes
infocommand not striping\rfrom child process version output. - Allow setting a path to a license file for the Windows Installer (
tauri.conf.json > bundle > windows > wix > license). - Change the
cspvalue on the template to includewss:andtauri:to thedefault-srcattribute. - Adds
tauri > bundle > windows > wix > languageconfig 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.
[1.0.0-beta.0]
- Fixes a cargo
target/cache issue. - Improve error logging.
- Adds Webview2 version on
infocommand. - Adds
--runner [PROGRAM]argument on thedevandbuildcommand, allowing using the specified program to run and build the application (example program:cross). - Adds
--target [TARGET_TRIPLE]option to thebuildcommand (example:--target arm-unknown-linux-gnueabihf). - Rename
--targetoption on thebuildcommand to--bundle. - Automatically add Tauri dependencies to the debian package
Dependssection. - Properly kill
beforeDevCommandprocess. - Adds support to
tauridependency as string and table onCargo.toml. - Show
frameworkandbundleron theinfocommand by reading thepackage.jsonfile and matching known dependencies.
[1.0.0-beta-rc.4]
- Fixes the Message
commandname value on plugin invoke handler. - The package info APIs now checks the
packageobject ontauri.conf.json.
[1.0.0-beta-rc.3]
- Check if distDir assets are built after running
beforeDevCommand. - Fixes
tauri infodisplay version for the@tauri-apps/apipackage. - Fixes crash on usage of modifier keys on Windows when running
tauri init. - Enable
tauriupdaterfeature whentauri.conf.json > tauri > updater > activeis set totrue.
[1.0.0-beta-rc.2]
- Add missing camelcase rename for config
- Fix
tauri info - Properly detect
yarnandnpmversions on windows. - Fix a panic caused by a wrong field name in
metadata.json - 71666e9 fix(cli.rs): fix panic & use
cmdto runyarn&npmon windows (#1511) on 2021-04-17 - Sync
metadata.jsonvia script to update version reference to cli.js, tauri (core) and tauri-build.
[1.0.0-beta-rc.1]
- Missing the
filesproperty in the package.json which mean that thedistdirectory was not published and used.
[1.0.0-beta-rc.0]
- You can now run
cargo tauri build -t noneto speed up the build if you don't need executables. - The
devandbuildpipeline is now written in Rust. - Run
beforeDevCommandandbeforeBuildCommandin a shell. - Fixes
<a target="_blank">polyfill. - Update all code files to have our license header.
- Adds
productNameandversionconfigs ontauri.conf.json > package. - The
infocommand was rewritten in Rust. - The
initcommand was rewritten in Rust. - All the arguments passed after
tauri dev --are now propagated to the binary. - Alpha version of tauri-updater. Please refer to the
READMEfor more details.