mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-25 03:33:36 +03:00
fbb9017840
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
40 KiB
40 KiB
Changelog
[1.0.0-rc.7]
- 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
. - Change the
plugin init
templates to use the newtauri::plugin::Builder
syntax.
[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 sign
command to not have duplicated short flags.
[1.0.0-rc.5]
- Allow passing arguments to the
build
runner (tauri build -- <ARGS>...
). - Improve error message when the dev runner command fails.
- 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. - Breaking change: The extra arguments passed to
tauri dev
using-- <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
init
template configuration to disable CSP for better usability for new users.
[1.0.0-rc.4]
- Change default value for the
freezePrototype
configuration tofalse
.
[1.0.0-rc.3]
- Fixes Tauri path resolution on projects without Git or a
.gitignore
file.
[1.0.0-rc.2]
- 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.1]
- Include
vswhere.exe
on the published package.- 3227502e fix(cli.rs): package
vswhere.exe
on 2022-02-10
- 3227502e fix(cli.rs): package
[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. - Define
TAURI_PLATFORM
,TAURI_ARCH
,TAURI_FAMILY
,TAURI_PLATFORM_TYPE
,TAURI_PLATFORM_VERSION
andTAURI_DEBUG
environment variables for thebeforeDevCommand
andbeforeBuildCommand
scripts. - Allow
config
arg to be a path to a JSON file on thedev
andbuild
commands. - Add
rustup
version and active rust toolchain to theinfo
command output. - Add
Visual Studio Build Tools
installed versions to theinfo
command 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
info
command. - Drop the
dialoguer
soft fork and use the published version instead. - Fix
build
command when executed on a 32-bit Windows machine when pulling from thebinary-releases
repo. - The
generate
andsign
commands are now available under asigner
subcommand. - Use
tauri-utils
to get theConfig
types.- 4de285c3 feat(core): validate Cargo features matching allowlist [TRI-023] on 2022-01-09
- Print warning and exit if
distDir
containsnode_modules
,src-tauri
ortarget
folders. - Fix
tauri build
failing on Windows iftauri.conf.json > tauri > bundle > Windows > wix > license
is used. - Added
dev_csp
to thesecurity
configuration object. - Kill process if
beforeDevCommand
exits 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 > webviewFixedRuntimePath
config option. - Adds support for using JSON5 format for the
tauri.conf.json
file, along with also supporting the.json5
extension.
Here is the logic flow that determines if JSON or JSON5 will be used to parse the config:
- Check if
tauri.conf.json
exists a. Parse it withserde_json
b. Parse it withjson5
ifserde_json
fails c. Return originalserde_json
error if all above steps failed - Check if
tauri.conf.json5
exists a. Parse it withjson5
b. 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 init
command, which initializes a Tauri plugin. - Breaking change: Add
macos-private-api
feature flag, enabled viatauri.conf.json > tauri > macOSPrivateApi
. - Move the copying of resources and sidecars from
cli.rs
totauri-build
so using the Cargo CLI directly processes the files for the application execution in development. - The minimum Rust version is now
1.56
. - Automatically
strip
the built binary on Linux and macOS if--debug
is 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
devPath
URL to be reachable before starting the application. Skipped if theTAURI_SKIP_DEVSERVER_CHECK
environment variable is set totrue
. - On Windows, Fix
beforeDevCommand
andbeforeBuildCommand
not 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_IDENTITY
as 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
.desktop
Name
field with the original configured value. - Merge platform-specific
tauri.linux.conf.json
,tauri.windows.conf.json
andtauri.macos.conf.json
into the config JSON fromtauri.conf.json
. - Update minimum Rust version to 1.54.0.
[1.0.0-beta.5]
- Run powershell commands with
-NoProfile
flag - Adds
release
argument to thedev
command. Allowing to run the backend in release mode during development. - Fixes
center
andfocus
not being allowed intauri.conf.json > tauri > windows
and 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
build
command when thetarget
arg is set.
[1.0.0-beta.2]
- Support
cargo tauri build
on Apple M1 chip. - Infer
app name
andwindow title
frompackage.json > productName
orpackage.json > name
. InferdistDir
anddevPath
by reading the package.json and trying to determine the UI framework (Vue.js, Angular, React, Svelte and some UI frameworks). - Watch workspace crates on
dev
command. - Adds
features
argument to thedev
andbuild
commands. - Fixes the libwebkit2gtk package name.
- Properly keep all
tauri
features that are not managed by the CLI. - Copy resources and binaries to
OUT_DIR
ontauri dev
command. - Read cargo features from
tauri.conf.json > build > features
and propagate them ondev
andbuild
. - Fixes
tauri.conf.json > tauri > bundle > targets
not applying to the bundler. - Fixes
info
command not striping\r
from 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
csp
value on the template to includewss:
andtauri:
to thedefault-src
attribute. - Adds
tauri > bundle > windows > wix > language
config 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
info
command. - Adds
--runner [PROGRAM]
argument on thedev
andbuild
command, allowing using the specified program to run and build the application (example program:cross
). - Adds
--target [TARGET_TRIPLE]
option to thebuild
command (example:--target arm-unknown-linux-gnueabihf
). - Rename
--target
option on thebuild
command to--bundle
. - Automatically add Tauri dependencies to the debian package
Depends
section. - Properly kill
beforeDevCommand
process. - Adds support to
tauri
dependency as string and table onCargo.toml
. - Show
framework
andbundler
on theinfo
command by reading thepackage.json
file and matching known dependencies.
[1.0.0-beta-rc.4]
- Fixes the Message
command
name value on plugin invoke handler. - The package info APIs now checks the
package
object ontauri.conf.json
.
[1.0.0-beta-rc.3]
- Check if distDir assets are built after running
beforeDevCommand
. - Fixes
tauri info
display version for the@tauri-apps/api
package. - Fixes crash on usage of modifier keys on Windows when running
tauri init
. - Enable
tauri
updater
feature whentauri.conf.json > tauri > updater > active
is set totrue
.
[1.0.0-beta-rc.2]
- Add missing camelcase rename for config
- Fix
tauri info
- Properly detect
yarn
andnpm
versions on windows. - Fix a panic caused by a wrong field name in
metadata.json
- 71666e9 fix(cli.rs): fix panic & use
cmd
to runyarn
&npm
on windows (#1511) on 2021-04-17 - Sync
metadata.json
via script to update version reference to cli.js, tauri (core) and tauri-build.
[1.0.0-beta-rc.1]
- Missing the
files
property in the package.json which mean that thedist
directory was not published and used.
[1.0.0-beta-rc.0]
- You can now run
cargo tauri build -t none
to speed up the build if you don't need executables. - The
dev
andbuild
pipeline is now written in Rust. - Run
beforeDevCommand
andbeforeBuildCommand
in a shell. - Fixes
<a target="_blank">
polyfill. - Update all code files to have our license header.
- Adds
productName
andversion
configs ontauri.conf.json > package
. - The
info
command was rewritten in Rust. - The
init
command 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
README
for more details.