Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
72 KiB
Changelog
[2.0.0-alpha.17]
Enhancements
c6c59cf2
Pull changes from Tauri 1.5 release.
Dependencies
- Upgraded to
tauri-cli@2.0.0-alpha.17
Breaking 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 usingtauri dev
.
Dependencies
- Upgraded to
tauri-cli@2.0.0-alpha.16
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) Thetauri plugin
subcommand is receving a couple of consitency and quality of life improvements:- Renamed
tauri plugin android/ios add
command totauri plugin android/ios init
to match thetauri plugin init
command. - Removed the
-n/--name
argument from thetauri 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 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_DEBUG
toTAURI_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
Bug Fixes
100d9ede
(#7802) Properly read platform-specific configuration files for mobile targets.228e5a4c
(#7902) Fixesicon
command not writing files to the correct Android project folders.
Dependencies
- Upgraded to
tauri-cli@2.0.0-alpha.15
[2.0.0-alpha.14]
Dependencies
- Upgraded to
tauri-cli@2.0.0-alpha.14
Breaking Changes
[2.0.0-alpha.13]
Dependencies
- Upgraded to
tauri-cli@2.0.0-alpha.13
Breaking Changes
4cb51a2d
(#7779) The custom protocol on Windows now uses thehttp
scheme instead ofhttps
.974e38b4
(#7744) Renamed theplugin add
command 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 dev
with a real device.8faa5a4a
(#7765) Ensure asset directory exists on the iOS project.
Dependencies
- Upgraded to
tauri-cli@2.0.0-alpha.12
[2.0.0-alpha.11]
New Features
522de0e7
(#7447) Expose an environment variableTAURI_${PLUGIN_NAME}_PLUGIN_CONFIG
for each defined plugin configuration object.c7dacca4
(#7446) Expose theTAURI_IOS_PROJECT_PATH
andTAURI_IOS_APP_NAME
environment variables when usingios
commands.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 > productName
if it is set.8af24974
(#7561) Themigrate
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 includeipc:
on theconnect-src
directive, needed by the new IPC using custom protocols.
Dependencies
- Upgraded to
tauri-cli@2.0.0-alpha.11
[2.0.0-alpha.10]
New Features
7e5905ae
(#7023) Addedtauri plugin add
command to add a plugin to the Tauri project.b0f94775
(#7008) Addedmigrate
command.
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 fortauri android init
andtauri ios init
to skip installing needed rust targets vie rustup.
Bug Fixes
1ed2600d
(#6771) Set current directory to tauri directory before reading config file.4847b87b
(#7209) Fixtauri (android|ios) (dev|build)
failing when usingnpx tauri
655c714e
(#7240) Fixes panic when exiting theios dev
command with Ctrl + C.6252380f
(#7241) ExitbeforeDevCommand
process if the android or iOSdev
command fails.
[2.0.0-alpha.9]
19cd0e49
(#6811) Addkey.properties
file to android's.gitignore
.124d5c5a
(#6788) On mobile, fix regression introduced intauri-cli
version2.0.0-alpha.3
where library not found error was thrown.31444ac1
(#6725) Update mobile template towry@0.28
41f49aea
(#6659) Update tauri-mobile to fix running ADB scripts.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.073c803a5
(#6837) Inject Tauri configuration in the Android assets.e1e85dc2
(#6925) Moved the updater configuration to theBundleConfig
.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. - Fixes iOS build script using the wrong path for the app library file.
[2.0.0-alpha.7]
- Add
--release
flag fortauri android dev
however 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 build
instead of all. - Use local ip address for built-in dev server on mobile.
- Readd the Cargo.toml file to the plugin template.
[2.0.0-alpha.6]
- Use Ubuntu 20.04 to compile the CLI, increasing the minimum libc version required.
- Automatically enable the
rustls-tls
tauri feature on mobile andnative-tls
on desktop ifrustls-tls
is not enabled.
[2.0.0-alpha.5]
- Fixes the iOS project script to build the Rust library.
- Fix
tauri android build/dev
crashing when used with standalonepnpm
executable on Windows.
[2.0.0-alpha.4]
- Fix android project build crashing when using
pnpm
caused by extra--
. - Fixes the Android build gradle plugin implementation on Windows.
- Update
napi-rs
dependencies to latest to fix CLI hanging up forever.
[2.0.0-alpha.3]
- Added
plugin android add
andplugin ios add
commands to add mobile plugin functionality to existing projects. - Add commands to add native Android and iOS functionality to plugins.
- 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-color
option to thetauri icon
command. - Fixes HMR on mobile when devPath is configured to load a filesystem path.
- Ignore the
gen
folder on the dev watcher. - Correctly pass arguments from
npm run
totauri
. - Changed the
--api
flag onplugin init
to--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.
- 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 build
command. - Added
ios build
command. - Added
android dev
andios dev
commands. - Added
android init
andios init
commands. - Added
android open
andios open
commands. - First mobile alpha release!
[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 aftertauri
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 thedesktop_template
option ontauri.conf.json > tauri > bundle > deb
.6c5ade08
(#4537) Addedtauri completions
to generate shell completions scripts.e092f799
(#6887) Addnsis > template
option to specify custom NSIS installer template.
Enhancements
d75c1b82
(#7181) Print a useful error whenupdater
bundle target is specified without an updater-enabled target.52474e47
(#7141) Enhance injection of Cargo features.2659ca1a
(#6900) Addrustls
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 when0
is in the version name, for examplenode-20
1253bbf7
(#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
--ci
flag and respect theCI
environment variable on thesigner generate
command. 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-api
andbackend
- Do not crash on Cargo.toml watcher.
- Fix crash when nodejs binary has the version in its name, for example
node-18
- Add
--png
option for theicon
command to generate custom icon sizes. - Skip the password prompt on the build command when
TAURI_KEY_PASSWORD
environment variable is empty and the--ci
argument is provided or theCI
environment variable is set. - Fix
default-run
not deserialized. - Fixes HTML serialization removing template tags on the dev server.
- Use escaping on Handlebars templates.
- Add initial support for building
nsis
bundles on non-Windows platforms. - Add
nsis
bundle 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
ignore
to=0.4.18
.- adcb082b chore(deps): pin
ignore
to =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
node18
or 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 > beforeBundleCommand
in tauri.conf.json to run a shell command before the bundling phase. - Change
before_dev_command
andbefore_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.
- Use
cargo metadata
to detect the workspace root and target directory. - Prompt for
beforeDevCommand
andbeforeBuildCommand
intauri init
. - Added support to configuration files in TOML format (Tauri.toml file).
- 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 totrue
. - Fixes dev watcher incorrectly exiting the CLI when sequential file updates are detected.
- Add
libc
field to Node packages. - Set the
MACOSX_DEPLOYMENT_TARGET
environment variable with the configurationminimum_system_version
value. - Added
--no-watch
argument to thedev
command 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 build
output. - 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
run
command to run in a separate thread.- f65eb4f8 fix(cli.js): revert
run
command to be nonblocking on 2022-07-04
- f65eb4f8 fix(cli.js): revert
- Skip the static link of the
vcruntime140.dll
if theSTATIC_VCRUNTIME
environment variable is set tofalse
. - The
TAURI_CONFIG
environment variable now represents the configuration to be merged instead of the entire JSON. - Watch for Cargo workspace members in the
dev
file watcher.
[1.0.2]
- Fixes a crash on the
signer sign
command.
[1.0.1]
- No longer adds the
pkg-config
dependency to.deb
packages when thesystemTray
is used. This only works with recent versions oflibappindicator-sys
(including https://github.com/tauri-apps/libappindicator-rs/pull/38), so acargo update
may be necessary if you create.deb
bundles and use the tray feature. - AppImage bundling will now prefer bundling correctly named appindicator library (including
.1
version suffix). With a symlink for compatibility with the old naming. - Improve error message when
cargo
is 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
.gitignore
file to skip watching some project files and directories via theTAURI_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. - The
info
command now can check the Cargo lockfile on workspaces. - Preserve the
Cargo.toml
formatting 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_PATH
environment variable to make the bundle copy the appindicator library to the AppImage. - Set the
APPIMAGE_BUNDLE_GSTREAMER
environment variable to make the bundler copy additional gstreamer files to the AppImage. - Configure the AppImage bundler to copy the
/usr/bin/xdg-open
binary if it exists and the shellopen
API is enabled. - Fixes multiple occurrences handling of the
bundles
andfeatures
arguments. - Log command output in real time instead of waiting for it to finish.
- Configure the
STATIC_VCRUNTIME
environment variable sotauri-build
statically links it on the build command. - Use the
TAURI_TRAY
environment variable to determine which package should be added to the Debiandepends
section. Possible values areayatana
andgtk
.
[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. - 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 dev
on Windows. - 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.
- Remove startup delay in
- 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. - Added
$schema
support totauri.conf.json
. - Breaking change: The
dev
command 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
beforeDevCommand
and app processes if the dev command returns an error. - Fix
info
command showing outdated text for latest versions. - Breaking change: Enable default Cargo features except
tauri/custom-protocol
on the dev command. - Kill the
beforeDevCommand
process recursively on Unix.
[1.0.0-rc.8]
- Allows the
tauri.conf.json
file to be git ignored on the path lookup function. - Remove
minimumSystemVersion: null
from the application template configuration. - Improve readability of the
info
subcommand 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
tsp
config 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-msvc
to the prebuilt targets. - Change the
plugin init
templates to use the newtauri::plugin::Builder
syntax.
[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 sign
command to not have duplicated short flags.
[1.0.0-rc.4]
- Change the
run
function 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.rs
instead of just the outermost underlying error message. - Increase
tauri.conf.json
directory lookup depth to3
and allow changing it with theTAURI_PATH_DEPTH
environment variable. - Added
tauri-build
,tao
andwry
version to theinfo
command output.
[1.0.0-rc.3]
- Change default value for the
freezePrototype
configuration tofalse
.
[1.0.0-rc.2]
- Fixes Tauri path resolution on projects without Git or a
.gitignore
file.
[1.0.0-rc.1]
- Fix
init
command prompting for values even if the argument has been provided on the command line. - Fixes CLI freezing when running
light.exe
on Windows without the--verbose
flag. - Respect
.gitignore
configuration when looking for the folder with thetauri.conf.json
file.
[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 atauri.conf.json
file. - Added CommonJS output to the
dist
folder. - Fixes
.ico
icon generation. - Automatically unplug
@tauri-apps/cli
in yarn 2+ installations to fix the download of the rust-cli. - Read
package.json
and check for atauri
object containing theappPath
string, which points to the tauri crate path. - Removed the
icon
command, now exposed as a separate package, see https://github.com/tauri-apps/tauricon.