mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-01 10:01:07 +02:00
59 KiB
59 KiB
Changelog
[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 appincidator 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.