mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-26 20:42:18 +03:00
bf05c3aeb4
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
6.6 KiB
6.6 KiB
Changelog
[1.0.0-rc.2]
- Rerun if sidecar or resource change.
[1.0.0-rc.1]
- Remove
cargo:rerun-if-changed
check for non-existent file that caused projects to always rebuild.
[1.0.0-rc.0]
- Allow user to specify windows sdk path in build.rs.
- 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
- 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
. - Validate
tauri
dependencyfeatures
underCargo.toml
matchingtauri.conf.json
'sallowlist
.- 4de285c3 feat(core): validate Cargo features matching allowlist [TRI-023] on 2022-01-09
[1.0.0-beta.4]
- Implement
Debug
on public API structs and enums.
[1.0.0-beta.3]
- Improve ESM detection with regexes.
- Inject invoke key on
script
tags withtype="module"
.
[1.0.0-beta.2]
- Detect ESM scripts and inject the invoke key directly instead of using an IIFE.
- Improve invoke key code injection performance time rewriting code at compile time.
[1.0.0-beta.1]
- Pull Windows resource information (
FileVersion
,ProductVersion
,ProductName
andFileDescription
) fromtauri.conf.json > package
configuration.
[1.0.0-beta.0]
- The
try_build
method now has aAttributes
argument to allow specifying the window icon path used on Windows.
[1.0.0-beta-rc.1]
- The package info APIs now checks the
package
object ontauri.conf.json
.