mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-24 03:04:36 +03:00
f3917e7ee8
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
21 KiB
21 KiB
Changelog
[2.0.0-alpha.4]
- Added
android
configuration object undertauri > bundle
.
[2.0.0-alpha.3]
- Read the
IPHONEOS_DEPLOYMENT_TARGET
environment variable to set the Swift iOS target version, defaults to 13.
[2.0.0-alpha.2]
- Add
mobile::PluginBuilder
for running build tasks related to Tauri plugins.
[2.0.0-alpha.1]
- Refactor mobile environment variables.
- Bump the MSRV to 1.64.
- Removed mobile logging initialization, which will be handled by
tauri-plugin-log
.
[2.0.0-alpha.0]
- Set environment variables used by
tauri::mobile_entry_point
. - First mobile alpha release!
[1.2.1]
- Fix
allowlist > app > show/hide
always disabled whenallowlist > app > all: false
.
[1.2.0]
[1.1.1]
- Add missing allowlist config for
set_cursor_grab
,set_cursor_visible
,set_cursor_icon
andset_cursor_position
APIs.
[1.1.0]
- Rerun codegen if assets or icons change.
- Create the
desktop
andmobile
cfg aliases. - Added support to configuration files in TOML format (Tauri.toml file).
- Enhance the dialog style on Windows via the manifest dependency
Microsoft.Windows.Common-Controls v6.0.0.0
. - Fix root of codegen output when using the
CodegenContext
API. - Return an error if a sidecar is configured with the same file name as the application.
- Only rewrite temporary icon files when the content change, avoid needless rebuilds.
[1.0.4]
- Reduce the amount of allocations when converting cases.
[1.0.3]
- Improve configuration deserialization error messages.
- The
TAURI_CONFIG
environment variable now represents the configuration to be merged instead of the entire JSON.
[1.0.2]
- Expose
platform::windows_version
function.
[1.0.1]
- Changed the
BundleConfig::targets
to aBundleTarget
enum to enhance generated documentation. - Added
platform::is_windows_7
. - Suppress unused variable warning in release builds.
- Added webview install mode options.
[1.0.0]
[1.0.0-rc.15]
- Read the tray icon path relatively to the config directory.
- Bumped due to a bump in tauri-codegen.
- 562e8ca2 fix(codegen): tray icon path is relative to the config directory on 2022-06-15
[1.0.0-rc.14]
- Do not copy the tray icon to the output directory on Linux since it is embedded in the binary.
[1.0.0-rc.13]
- Copy
tauri.conf.json > tauri.bundle.windows.webview_fixed_runtime_path
as a resource to the target directory to fix development usage of a fixed Webview2 runtime path. - Improve usage of the GNU toolchain on Windows by copying the Webview2Loader.dll file to the target directory.
- Only statically link the VC runtime when the
STATIC_VCRUNTIME
environment variable is set totrue
(automatically done by the Tauri CLI).
[1.0.0-rc.12]
- Statically link the Visual C++ runtime instead of using a merge module on the installer.
[1.0.0-rc.11]
[1.0.0-rc.10]
- Delete existing sidecar before copying new one.
[1.0.0-rc.9]
- Search
tauri.conf.json > tauri > bundle > icons
for a.ico
file for the window icon instead of simple defaulticons/icon.ico
whenWindowsAttributes::window_icon_path
is not set.
[1.0.0-rc.8]
- Properly set file version information for the Windows executable.
[1.0.0-rc.7]
- Rerun build script if
TAURI_CONFIG
environment variable change.- 7ae9e252 fix(tauri-build): rerun if
TAURI_CONFIG
env var changes on 2022-04-26
- 7ae9e252 fix(tauri-build): rerun if
[1.0.0-rc.6]
- Copy system tray icon resource to the target directory on Linux.
[1.0.0-rc.5]
- Print error context on the
build
panic.
[1.0.0-rc.4]
- Parse window icons at compile time.
[1.0.0-rc.3]
- Automatically emit
cargo:rustc-env=MACOSX_DEPLOYMENT_TARGET
with the value set ontauri.conf.json > tauri > bundle > macos > minimumSystemVersion
.
[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
.