mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-23 18:53:33 +03:00
88a1dd17c3
* apply version updates * promote to beta * fix check version * update dependencies section [skip ci] * update npm versions --------- Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com> Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
31 KiB
31 KiB
Changelog
[2.0.0-beta.0]
New Features
Enhancements
e8d3793c
(#8732) Addconfig-json
cargo feature flag (enabled by default) to. Disabling this feature flag will stop cargo from rebuilding whentauri.conf.json
changes, see #8721 for more info.
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.0
- Upgraded to
tauri-codegen@2.0.0-beta.0
Breaking Changes
-
8de308d1
(#8723) Restructured Tauri config per RFC#5:- Moved
package.productName
,package.version
andtauri.bundle.identifier
fields to the top-level. - Removed
package
object. - Renamed
tauri
object toapp
. - Moved
tauri.bundle
object to the top-level. - Renamed
build.distDir
field tofrontendDist
. - Renamed
build.devPath
field todevUrl
and will no longer accepts paths, it will only accept URLs. - Moved
tauri.pattern
toapp.security.pattern
. - Removed
tauri.bundle.updater
object, and its fields have been moved to the updater plugin underplugins.updater
object. - Moved
build.withGlobalTauri
toapp.withGlobalTauri
. - Moved
tauri.bundle.dmg
object tobundle.macOS.dmg
. - Moved
tauri.bundle.deb
object tobundle.linux.deb
. - Moved
tauri.bundle.appimage
object tobundle.linux.appimage
. - Removed all license fields from each bundle configuration object and instead added
bundle.license
andbundle.licenseFile
. - Renamed
AppUrl
toFrontendDist
and refactored its variants to be more explicit.
- Moved
-
0cdfda28
(#8737) Movedmobile::PluginBuilder
,mobile::update_entitlements
,config::plugin_config
andmobile::update_android_manifest
to the newtauri-plugin
crate. -
74a2a603
(#8661)CodegenContext::build
andCodegenContext::try_build
have been removed, usetauri_build::try_build(tauri_build::Attributes::new().codegen(codegen))
instead.
[2.0.0-alpha.14]
Dependencies
- Upgraded to
tauri-utils@2.0.0-alpha.13
- Upgraded to
tauri-codegen@2.0.0-alpha.13
[2.0.0-alpha.13]
Dependencies
- Upgraded to
tauri-utils@2.0.0-alpha.12
- Upgraded to
tauri-codegen@2.0.0-alpha.12
[2.0.0-alpha.12]
Bug Fixes
a5479712
(#8168) Fixed an issue that caused the resource compiler to not run on Windows whenpackage.version
was not set intauri.conf.json
preventing the app from starting.
Dependencies
- Upgraded to
tauri-utils@2.0.0-alpha.11
- Upgraded to
tauri-codegen@2.0.0-alpha.11
[2.0.0-alpha.11]
Enhancements
c6c59cf2
Pull changes from Tauri 1.5 release.
Dependencies
- Upgraded to
tauri-codegen@2.0.0-alpha.10
- Upgraded to
tauri-utils@2.0.0-alpha.10
[2.0.0-alpha.10]
New Features
Dependencies
- Upgraded to
tauri-utils@2.0.0-alpha.9
- Upgraded to
tauri-codegen@2.0.0-alpha.9
Breaking Changes
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.9]
Dependencies
- Upgraded to
tauri-codegen@2.0.0-alpha.8
- Upgraded to
tauri-utils@2.0.0-alpha.8
[2.0.0-alpha.8]
Bug Fixes
[2.0.0-alpha.7]
New Features
522de0e7
(#7447) Added theconfig::plugin_config
function to read the plugin configuration set from the CLI.1e1d839e
(#7450) Added themobile::update_android_manifest
function.aba04fa8
(#7448) Added themobile::update_entitlements
function for iOS.
Dependencies
- Upgraded to
tauri-utils@2.0.0-alpha.7
- Upgraded to
tauri-codegen@2.0.0-alpha.7
[2.0.0-alpha.6]
Bug Fixes
[2.0.0-alpha.5]
3188f376
(#6883) Bump the MSRV to 1.65.2969d1cb
(#6773) Use absolute path to each Android plugin project instead of copying the files to enhance developer experience.cdad6e08
(#6774) Changed how thetauri-android
dependency is injected. This requires thegen/android
project to be recreated.5a768d5c
(#6886) RemoveWindowsAttributes::sdk_dir
.
[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.5.0]
What's Changed
[1.4.1]
Bug Fixes
5ecb46b3
(#7773) Automatically set rpath on macOS if frameworks are bundled and copy frameworks tosrc-tauri/target/Frameworks
for usage in development.290e366a
(#7419) Correctly copy the WebView2 runtime in development whenwebviewInstallMode
is used instead ofwebviewFixedRuntimePath
.
Dependencies
- Upgraded to
tauri-utils@1.5.0
- Upgraded to
tauri-codegen@1.4.1
[1.4.0]
Enhancements
52474e47
(#7141) Enhance Cargo features check.af937290
(#6676) On Windows, setLegalCopyright
andFileDescription
file properties on the executable fromtauri.bundle.copyright
andtauri.bundle.shortDescription
,d2710e9d
(#6944) Unpintime
,ignore
, andwinnow
crate versions. Developers now have to pin crates if needed themselves. A list of crates that need pinning to adhere to Tauri's MSRV will be visible in Tauri's GitHub workflow: https://github.com/tauri-apps/tauri/blob/dev/.github/workflows/test-core.yml#L85.
[1.3.0]
- Bump minimum supported Rust version to 1.60.
- Add initial support for building
nsis
bundles on non-Windows platforms. - Add
WindowsAttributes::app_manifest
to specify the application manifest on Windows. - Added support for Cargo's workspace inheritance for package information. The cli now also detects inherited
tauri
andtauri-build
dependencies and disables manifest rewrites accordingly. - Pin
winnow
crate to 0.4.1 to keep the 1.60 MSRV.
[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
.