53 KiB
53 KiB
Changelog
[1.6.0]
New Features
253595a22(#9809) Add RPM packaginga301be52d(#9914) Use cargo's target directory to store and cache bundling tools whenbundle > useLocalToolsDiroption is active.
Bug Fixes
08f57efef(#10136) Fix parsing of cargo profile when using--profile=<profile>syntax.674accad7(#10015) Add missing dependencylibayatana-appindicator3.so.1for rpm package.
Dependencies
- Upgraded to
tauri-cli@1.6.0
[1.5.14]
Dependencies
- Upgraded to
tauri-cli@1.5.14
[1.5.13]
Dependencies
- Upgraded to
tauri-cli@1.5.13
[1.5.12]
Bug Fixes
1675e41f0(#9481) Fixed an issue with the CLI renaming the main executable in kebab-case when building for Windows on a non-Windows system which caused the bundler step to fail.9dd67abd9(#9298) Upgradeheckto v0.5 to better support Chinese and Japanese product name, because Chinese do not have word separation.f9638b631(#9491) Fixed an issue that caused the CLI to rename app binaries incorrectly if the product name contained a.which resulted in the bundling step to fail.77cc49ac3(#9188) Fixed an issue causing thebuild.runnerandbuild.featuresconfigs to not take effect.aeddc40b9(#9411) Fixtauri infocrashing when Node.js is not installed.
Dependencies
- Upgraded to
tauri-cli@1.5.12
[1.5.11]
Bug Fixes
Dependencies
- Upgraded to
tauri-cli@1.5.11
[1.5.10]
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-cli@1.5.10
[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-cli@1.5.9
[1.5.8]
Dependencies
- Upgraded to
tauri-cli@1.5.8
[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-cli@1.5.7
[1.5.6]
Bug Fixes
5264e41d(#8082) Downgradedrust-minisignto0.7.3to fix signing updater bundles with empty passwords.
Dependencies
- Upgraded to
tauri-cli@1.5.6
[1.5.5]
Enhancements
Bug Fixes
Dependencies
- Upgraded to
tauri-cli@1.5.5
[1.5.4]
Dependencies
- Upgraded to
tauri-cli@1.5.4
[1.5.3]
Dependencies
- Upgraded to
tauri-cli@1.5.3
[1.5.2]
Dependencies
- Upgraded to
tauri-cli@1.5.2
[1.5.1]
Bug Fixes
Dependencies
- Upgraded to
tauri-cli@1.5.1
[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-cli@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.e092f799(#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.
Bug Fixes
3cb7a3e6(#6997) Fix built-in devserver adding hot-reload code to non-html files.fb7ef8da(#6667) Fix nodejs binary regex when0is in the version name, for examplenode-201253bbf7(#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.
- Bumped due to a bump in cli.rs.
-
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]
- 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.
- Fix crash when nodejs binary has the version in its name, for example
node-18 - 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.
- Add initial support for building
nsisbundles on non-Windows platforms. - Add
nsisbundle target - Remove default features from Cargo.toml template.
- Use Ubuntu 20.04 to compile the CLI, increasing the minimum libc version 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.
[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]
- Detect JSON5 and TOML configuration files in the dev watcher.
- Log dev watcher file change detection.
- Fix crash when nodejs binary has the version in its name, for example
node18or when running through deno. - 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.
- Use
cargo metadatato detect the workspace root and target directory. - Prompt for
beforeDevCommandandbeforeBuildCommandintauri init. - 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.
- Add
libcfield to Node packages. - 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.
- Revert the
runcommand to run in a separate thread.- f65eb4f8 fix(cli.js): revert
runcommand to be nonblocking on 2022-07-04
- f65eb4f8 fix(cli.js): revert
- 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. - 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. - 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.6]
- 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. - Added
i686-pc-windows-msvcto the prebuilt targets. - Change the
plugin inittemplates to use the newtauri::plugin::Buildersyntax.
[1.0.0-rc.5]
- 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.4]
- Change the
runfunction to take a callback and run asynchronously instead of blocking the event loop. - Improve error message when the dev runner command fails.
- Show full error message from
cli.rsinstead of just the outermost underlying error message. - Increase
tauri.conf.jsondirectory lookup depth to3and allow changing it with theTAURI_PATH_DEPTHenvironment variable. - Added
tauri-build,taoandwryversion to theinfocommand output.
[1.0.0-rc.3]
- Change default value for the
freezePrototypeconfiguration tofalse.
[1.0.0-rc.2]
- Fixes Tauri path resolution on projects without Git or a
.gitignorefile.
[1.0.0-rc.1]
- 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.0]
- Do not force Tauri application code on
src-taurifolder and use a glob pattern to look for a subfolder with atauri.conf.jsonfile. - Added CommonJS output to the
distfolder. - Fixes
.icoicon generation. - Automatically unplug
@tauri-apps/cliin yarn 2+ installations to fix the download of the rust-cli. - Read
package.jsonand check for atauriobject containing theappPathstring, which points to the tauri crate path. - Removed the
iconcommand, now exposed as a separate package, see https://github.com/tauri-apps/tauricon.