mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-01 03:02:28 +03:00
45 KiB
45 KiB
Changelog
[2.0.2]
Dependencies
- Upgraded to
tauri-utils@2.0.2
[2.0.1]
What's Changed
0ab2b3306
(#11205 by @lucasfernog) Downgrade MSRV to 1.77.2 to support Windows 7.
Dependencies
- Upgraded to
tauri-utils@2.0.1
- Upgraded to
tauri-codegen@2.0.1
[2.0.0]
What's Changed
Dependencies
- Upgraded to
tauri-utils@2.0.0
- Upgraded to
tauri-codegen@2.0.0
[2.0.0-rc.13]
Bug Fixes
1efa5e718
(#11099 by @lucasfernog) Rerun build script if the platform-specific configuration file changes.
Dependencies
- Upgraded to
tauri-utils@2.0.0-rc.13
- Upgraded to
tauri-codegen@2.0.0-rc.13
[2.0.0-rc.12]
Dependencies
- Upgraded to
tauri-utils@2.0.0-rc.12
- Upgraded to
tauri-codegen@2.0.0-rc.12
[2.0.0-rc.11]
Bug Fixes
9d468774a
(#10975 by @FabianLars) The executable and NSIS installer on Windows will now use theproductName
config for theFileDescription
property instead ofshortDescription
.
Dependencies
- Upgraded to
tauri-utils@2.0.0-rc.11
- Upgraded to
tauri-codegen@2.0.0-rc.11
[2.0.0-rc.10]
Dependencies
- Upgraded to
tauri-utils@2.0.0-rc.10
- Upgraded to
tauri-codegen@2.0.0-rc.10
[2.0.0-rc.9]
Dependencies
- Upgraded to
tauri-utils@2.0.0-rc.9
- Upgraded to
tauri-codegen@2.0.0-rc.9
[2.0.0-rc.8]
Dependencies
- Upgraded to
tauri-utils@2.0.0-rc.8
- Upgraded to
tauri-codegen@2.0.0-rc.8
[2.0.0-rc.7]
New Features
ad83d41cb
(#10743 by @amrbashir) AddWindowsAttributes::new_without_app_manifest
to createWindowsAttributes
without the default manifest.
Dependencies
- Upgraded to
tauri-utils@2.0.0-rc.7
- Upgraded to
tauri-codegen@2.0.0-rc.7
[2.0.0-rc.6]
Bug Fixes
793ee0531
(#10700 by @lucasfernog) Allow hyphens and underscores on app identifiers.
What's Changed
f4d5241b3
(#10731 by @amrbashir) Update documentation icon path.
Dependencies
- Upgraded to
tauri-utils@2.0.0-rc.6
- Upgraded to
tauri-codegen@2.0.0-rc.6
[2.0.0-rc.5]
Dependencies
- Upgraded to
tauri-utils@2.0.0-rc.5
- Upgraded to
tauri-codegen@2.0.0-rc.5
[2.0.0-rc.4]
Bug Fixes
5c335ae9a
(#10648 by @Flakebi) Prevent build script from rerunning unnecessarily by only writing files when the content changes.77844529f
(#10678 by @Norbiros) Correctly exportDefaultPermissionsRule
Dependencies
- Upgraded to
tauri-utils@2.0.0-rc.4
- Upgraded to
tauri-codegen@2.0.0-rc.4
[2.0.0-rc.3]
New Features
0bb7b0f35
(#10559 by @Norbiros) AddedInlinedPlugin::default_permission
to autogenerate the default permission of an inlined plugin.
Dependencies
- Upgraded to
tauri-codegen@2.0.0-rc.3
- Upgraded to
tauri-utils@2.0.0-rc.3
[2.0.0-rc.2]
Dependencies
- Upgraded to
tauri-utils@2.0.0-rc.2
- Upgraded to
tauri-codegen@2.0.0-rc.2
[2.0.0-rc.1]
Dependencies
- Upgraded to
tauri-utils@2.0.0-rc.1
- Upgraded to
tauri-codegen@2.0.0-rc.1
[2.0.0-rc.0]
Dependencies
- Upgraded to
tauri-codegen@2.0.0-rc.0
- Upgraded to
tauri-utils@2.0.0-rc.0
[2.0.0-beta.19]
Bug Fixes
69dcfdfe0
(#10267 by @lucasfernog) Fix build script rerun-if-changed instruction if Info.plist do not exist next to tauri.conf.json.
Dependencies
- Upgraded to
tauri-codegen@2.0.0-beta.19
- Upgraded to
tauri-utils@2.0.0-beta.19
[2.0.0-beta.18]
Enhancements
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.18
- Upgraded to
tauri-codegen@2.0.0-beta.18
f955f7b49
(#9929) Switch fromdirs_next
todirs
asdirs_next
is now unmaintained whiledirs
is
[2.0.0-beta.17]
Enhancements
Bug Fixes
What's Changed
9ac930380
(#9850) Emitcargo:rustc-check-cfg
instruction so Cargo validates custom cfg attributes on Rust 1.80 (or nightly-2024-05-05).
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.17
- Upgraded to
tauri-codegen@2.0.0-beta.17
Breaking Changes
1df5cdeb0
(#9858) Usetauri.conf.json > identifier
to set thePackageName
in Android andBundleId
in iOS.aaecb6a72
(#9890) Renameddev
function tois_dev
[2.0.0-beta.16]
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.16
- Upgraded to
tauri-codegen@2.0.0-beta.16
[2.0.0-beta.15]
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.15
- Upgraded to
tauri-codegen@2.0.0-beta.15
[2.0.0-beta.14]
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.14
- Upgraded to
tauri-codegen@2.0.0-beta.14
[2.0.0-beta.13]
Bug Fixes
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.13
- Upgraded to
tauri-codegen@2.0.0-beta.13
[2.0.0-beta.12]
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.12
- Upgraded to
tauri-codegen@2.0.0-beta.12
[2.0.0-beta.11]
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.11
- Upgraded to
tauri-codegen@2.0.0-beta.11
[2.0.0-beta.10]
New Features
e227fe02f
(#9156) Allow plugins to define (at compile time) JavaScript that are initialized whenwithGlobalTauri
is true.
Enhancements
7213b9e47
(#9124) Fallback to an empty permission set if the plugin did not define itsdefault
permissions.
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.10
- Upgraded to
tauri-codegen@2.0.0-beta.10
[2.0.0-beta.9]
Dependencies
- Upgraded to
tauri-codegen@2.0.0-beta.9
- Upgraded to
tauri-utils@2.0.0-beta.9
[2.0.0-beta.8]
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.8
- Upgraded to
tauri-codegen@2.0.0-beta.8
[2.0.0-beta.7]
Bug Fixes
bb23511ea
(#9079) Fixed generation of capability schema for permissions field which previously disallowed mixed (strings and objects) permission definition.
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.7
- Upgraded to
tauri-codegen@2.0.0-beta.7
[2.0.0-beta.6]
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.6
- Upgraded to
tauri-codegen@2.0.0-beta.6
Breaking Changes
3657ad82
(#9008) Allow defining permissions for the application commands viatauri_build::Attributes::app_manifest
.
[2.0.0-beta.5]
Breaking Changes
b9e6a018
(#8937) Thecustom-protocol
Cargo feature is no longer required on your application and is now ignored. To check if running on production, use#[cfg(not(dev))]
instead of#[cfg(feature = "custom-protocol")]
.b9e6a018
(#8937) Removedtauri_build::CodegenContext::dev()
and addedtauri_build::dev()
.
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.5
- Upgraded to
tauri-codegen@2.0.0-beta.5
[2.0.0-beta.4]
Enhancements
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.4
- Upgraded to
tauri-codegen@2.0.0-beta.4
[2.0.0-beta.3]
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.3
- Upgraded to
tauri-codegen@2.0.0-beta.3
[2.0.0-beta.2]
Enhancements
83a68deb
(#8797) Added a new configuration optiontauri.conf.json > app > security > capabilities
to reference existing capabilities and inline new ones. If it is empty, all capabilities are still included preserving the current behavior.edb11c13
(#8781) AddedAttributes::plugin()
to register a plugin that is inlined in the application crate.8d16a80d
(#8802) AddedCodegenContext::capability
to include a capability file dynamically.
Bug Fixes
0e8e9cd0
(#8906) Fixes the capability schema not resolving inner definitions.19fb5f0b
(#8782) Fix generating invalid schema files.
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.2
- Upgraded to
tauri-codegen@2.0.0-beta.2
[2.0.0-beta.1]
Enhancements
4e101f80
(#8756) Moved the capability JSON schema to thesrc-tauri/gen
folder so it's easier to track changes on thecapabilities
folder.
Bug Fixes
4e101f80
(#8756) Do not trigger build script to rerun if the frontendDist directory does not exist.0f2789cd
(#8757) Do not rewrite capability JSON schema if it did not change.
Dependencies
- Upgraded to
tauri-utils@2.0.0-beta.1
- Upgraded to
tauri-codegen@2.0.0-beta.1
[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.1]
Dependencies
- Upgraded to
tauri-utils@1.5.2
- Upgraded to
tauri-codegen@1.4.2
[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
.