tauri/tooling/cli/node/CHANGELOG.md
github-actions[bot] 61cc7d9c5a
Apply Version Updates From Current Changes (v1) (#8203)
* apply version updates

* fmt

---------

Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
2023-12-01 03:05:05 +02:00

49 KiB

Changelog

[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-cli@1.5.7

[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-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

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

Dependencies

  • Upgraded to tauri-cli@1.5.1

[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-cli@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.
  • 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.

Bug Fixes

  • 3cb7a3e6(#6997) Fix built-in devserver adding hot-reload code to non-html files.
  • fb7ef8da(#6667) Fix nodejs binary regex when 0 is in the version name, for example node-20
  • 1253bbf7(#7013) Fixes Cargo.toml feature rewriting.

[1.3.1]

  • Correctly escape XML for resource files in WiX bundler.

    • Bumped due to a bump in tauri-bundler.
      • Bumped due to a bump in cli.rs.
    • 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.

    • 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.

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

[1.3.0]

  • 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
  • Fix crash when nodejs binary has the version in its name, for example node-18
  • 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
  • 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
  • Use Ubuntu 20.04 to compile the CLI, increasing the minimum libc version 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

[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.
    • e7ccbd85 feat(cli): detect JSON5 and TOML configuration files in the dev watcher (#5439) on 2022-10-19
  • Log dev watcher file change detection.
    • 9076d5d2 feat(cli): add prompt information when file changing detected, closes #5417 (#5428) on 2022-10-19
  • Fix crash when nodejs binary has the version in its name, for example node18 or when running through deno.
  • 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
  • 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.
  • 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
  • Add libc field to Node packages.
    • f7d2dfc7 chore: add libc field to node packages (#4856) on 2022-08-04
  • 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 cli.rs.
    • 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
  • Revert the run command to run in a separate thread.
    • f65eb4f8 fix(cli.js): revert run command to be nonblocking on 2022-07-04
  • 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
  • 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.
  • 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.6]

  • 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
  • Added i686-pc-windows-msvc to the prebuilt targets.
    • fb6744da feat(cli.js): add 32bit cli for windows (#3540) on 2022-02-24
  • 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.5]

  • 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.4]

  • Change the run function to take a callback and run asynchronously instead of blocking the event loop.
    • cd9a20b9 refactor(cli.js): run on separate thread (#3436) 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
  • Show full error message from cli.rs instead of just the outermost underlying error message.
    • 63826010 feat(cli.js): show full error message (#3442) 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

[1.0.0-rc.3]

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

[1.0.0-rc.2]

  • 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.1]

  • 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.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
  • Added CommonJS output to the dist folder.
    • 205b0dc8 feat(cli.js): add CommonJS dist files (#2646) on 2021-09-23
  • Fixes .ico icon generation.
  • Automatically unplug @tauri-apps/cli in yarn 2+ installations to fix the download of the rust-cli.
    • 1e336b68 fix(cli.js): Fix package installation on yarn 2+ (#3012) on 2021-12-09
  • Read package.json and check for a tauri object containing the appPath string, which points to the tauri crate path.
    • fb2b9a52 feat(cli.js): allow configuring tauri app path on package.json #2752 (#3035) on 2021-12-09
  • Removed the icon command, now exposed as a separate package, see https://github.com/tauri-apps/tauricon.