Lucas Fernandes Nogueira
0802529031
fix(cli): iOS dev broken on Xcode 16.3, closes #13128 ( #13210 )
...
* fix(cli): iOS dev broken on Xcode 16.3, closes #13128
Looks like we cannot use the arm64-sim custom architecture on Xcode 16.3, as it incorrectly appends the -sim suffix on some clang build scripts which ends up with an invalid target triple.
Currently we do not have automation to update Xcode/Android projects, so a manual intervention is required by our users, either recreating the project or modifying it manually (the arm64-sim arch must be removed and all its references).
ref https://github.com/tauri-apps/cargo-mobile2/pull/445
* fix dev on macOS with intel chip
2025-04-12 12:50:06 -03:00
Tony
66e6325f43
fix: channel callback never cleaned up from window ( #13136 )
...
* Fix channel cb never cleaned up from `window`
* Should be `_{id}`
* Still need to manually impl clone
* Regenerate bundle.global.js
* Remove current_index from ChannelInner
* Move phantom to `Channel`
* `Channel` not `Self`
* Clean up
* Clean up
* Fix missing end quote
* Add change file
* Rename id to index to match js side
* Improve channel speed on small data
* do the same perf check for IPC responses and raw bytes
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2025-04-12 10:31:25 -03:00
Matthew Richardson
0aa48fb9e4
feat: Support custom CFBundleVersion for iOS and macOS ( #13030 )
...
* feat: Add bundleVersion for iOS and macOS
* feat: Use bundleVersion for CFBundleVersion
* feat: Synchronize bundleVersion with Info.plist
* cleanup
* fix bundle version, enhance prerelease/buildnumber support and checks
* fix change file
* tauri-bundler to change file
* expand doc
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2025-04-12 09:28:48 -03:00
renovate[bot]
628f4a97e4
chore(deps): update dependency rollup to v4.40.0 ( #13214 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-12 18:16:09 +08:00
Tony
fca5154e7a
chore(core)!: remove re-exported WebviewAttributes ( #13130 )
2025-04-11 20:34:15 -03:00
Tony
fbd57a1afd
feat(core): make invoke_system take AsRef<str> ( #13175 )
...
* feat(core): make `invoke_system` take `AsRef<str>`
* Use minor bump
2025-04-11 20:30:05 -03:00
The1111mp
dd4f13ce4b
feat: add set_dock_visibility method ( #13185 )
...
* feat: add `set_dock_visibility` method
Signed-off-by: The1111mp <The1111mp@outlook.com >
* add api
* retain focus
* fmt
* make SetDockVisibility message conditional (macos only)
* lint
---------
Signed-off-by: The1111mp <The1111mp@outlook.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2025-04-11 15:13:07 -03:00
dependabot[bot]
7b14531f24
chore(deps-dev): bump vite from 6.2.5 to 6.2.6 ( #13206 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 6.2.5 to 6.2.6.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.6/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v6.2.6/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 6.2.6
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-11 23:48:57 +08:00
Trivikram Kamat
7a86e0f8a1
ci: remove redundant corepack enable ( #13203 )
2025-04-11 09:04:19 -03:00
Simon Laux
c1cd0a2ddb
feat: macOS/iOS: add option to disable or enable link previews when building a webview ( #13090 )
...
* macOS/iOS: add option to disable or enable link previews when building a webview (the webkit api has it enabled by default)
- `WebViewBuilderExtDarwin.allow_link_preview(allow_link_preview: bool)`
- `WebViewBuilder.allow_link_preview(allow_link_preview: bool)`
- `WebviewWindowBuilder.allow_link_preview(allow_link_preview: bool)`
* also call on iOS
* add api
* fix tests
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2025-04-11 09:00:34 -03:00
dependabot[bot]
073dbc3953
chore(deps): bump crossbeam-channel from 0.5.14 to 0.5.15 ( #13194 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-10 16:54:11 +02:00
renovate[bot]
47df696dfb
chore(deps): update dependency eslint-config-prettier to v10.1.2 ( #13192 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-10 15:03:40 +02:00
Tony
9ea76503dc
fix(nsis): can't include resources with $ ( #13186 )
2025-04-09 20:03:35 +08:00
Lucas Fernandes Nogueira
bb5faa21f4
chore: update tao, wry, windows, webview2-com ( #13163 )
...
* chore: update tao, wry, windows, webview2-com
* update docs
* Use `impl Into<String>`
* More docs
---------
Co-authored-by: Tony <legendmastertony@gmail.com >
2025-04-09 08:15:31 -03:00
renovate[bot]
b32153b437
chore(deps): update rust crate tokio to v1.43.1 [security] ( #13172 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-08 09:35:03 +08:00
dependabot[bot]
c71755fd5f
chore(deps-dev): bump vite from 6.2.4 to 6.2.5 ( #13138 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 6.2.4 to 6.2.5.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.5/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v6.2.5/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 6.2.5
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-05 10:08:12 +08:00
dependabot[bot]
7b81825144
chore(deps): bump openssl from 0.10.70 to 0.10.72 ( #13140 )
...
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.70 to 0.10.72.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.70...openssl-v0.10.72 )
---
updated-dependencies:
- dependency-name: openssl
dependency-version: 0.10.72
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-05 10:07:41 +08:00
Tony
ebd3dcb92f
enhance(core): change eval to take Into<String> ( #13135 )
2025-04-04 10:06:22 +02:00
Tony
80dccb6a2e
chore: fix a few internal docs and apply clippy suggestions ( #13131 )
...
* chore: fix a few internal docs
* Remove label clone
* Unused allow lint
* No way clippy just updated
* `cargo clippy --fix -- -W clippy::redundant_clone`
* format
2025-04-03 17:57:36 +02:00
WofWca
cf0b3588a3
docs: add SafePathBuf examples ( #13122 )
2025-04-02 14:02:48 -03:00
Tony
b8c0d7e402
fix: run_return not responding to restart ( #13040 )
...
* fix: `run_return` not responding to `restart`
* Document run_return will handle restart requests
* Add change file
2025-04-02 09:54:38 -03:00
renovate[bot]
e4982dff73
chore(deps): update dependency rollup to v4.39.0 ( #13125 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-02 17:17:43 +08:00
Simon Laux
8cf662e34b
feat: expose api to run initialization scripts on all frames. ( #13076 )
...
* api!: expose api to run initialisation scripts on all frames.
* remove breaking change, add new api instead.
* Update .changes/init-script-on-all-frames.md
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com >
* use struct `InitializationScript` instead of tuple
* Update crates/tauri-runtime/src/webview.rs
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com >
* Apply suggestions from code review
* Update crates/tauri/src/webview/webview_window.rs
---------
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com >
2025-04-02 08:41:34 +08:00
github-actions[bot]
b154826881
apply version updates ( #13060 )
...
Co-authored-by: lucasfernog <20051258+lucasfernog@users.noreply.github.com >
@tauri-apps/cli-v2.4.1
tauri-cli-v2.4.1
tauri-bundler-v2.3.1
tauri-plugin-v2.1.1
tauri-build-v2.1.1
tauri-runtime-v2.5.1
tauri-v2.4.1
@tauri-apps/api-v2.4.1
tauri-utils-v2.3.1
tauri-runtime-wry-v2.5.1
tauri-macros-v2.1.1
tauri-codegen-v2.1.1
2025-04-01 13:52:38 -03:00
Lucas Nogueira
dade232592
chore: change bumps to patches
2025-04-01 13:14:28 -03:00
Tony
aa6b4d4edf
fix(cli): preserve null when merging patches ( #13120 )
...
* fix(cli): preserve null when merging patches
* add test
* remove commented out code
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2025-04-01 13:09:50 -03:00
Tony
794af778e4
fix(cli): merge config based on the first one ( #13117 )
...
* fix(cli): merge config based on the first one
* Add change file
2025-04-01 17:18:13 +08:00
dependabot[bot]
4e22ae29d3
chore(deps-dev): bump vite from 6.2.3 to 6.2.4 ( #13111 )
...
* chore(deps-dev): bump vite from 6.2.3 to 6.2.4
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 6.2.3 to 6.2.4.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.4/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v6.2.4/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update esbuild
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tony <legendmastertony@gmail.com >
2025-04-01 09:05:10 +08:00
Tony
4ae14bf2f2
fix: suppress deprecated warning in tray icon codegen ( #13093 )
2025-03-31 09:54:07 +08:00
Pietagorh
f805061d11
feat(cli): allow for toml and json5 files in --config arg ( #13079 )
2025-03-30 18:11:47 +02:00
Tony
30beb6fee7
fix(cli): tauri info can't find the latest version for rust crates ( #13096 )
...
* fix(cli): `tauri info` can't find the latest version for rust crates
* Forget to remove dbg!
* Use strip_suffix
* Add change file
2025-03-29 23:45:38 +08:00
renovate[bot]
22c7a877e3
chore(deps): update dependency rollup to v4.38.0 ( #13094 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-29 17:32:15 +08:00
Tony
2138bbc212
fix(nsis): in wrong language if SpanishInternational is included ( #13087 )
2025-03-28 03:45:13 -07:00
dependabot[bot]
5c2b3b8b65
chore(deps-dev): bump vite from 6.2.0 to 6.2.3 ( #13072 )
...
* chore(deps-dev): bump vite from 6.2.0 to 6.2.3
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 6.2.0 to 6.2.3.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.3/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v6.2.3/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update esbuilds to the same version
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tony <legendmastertony@gmail.com >
2025-03-26 15:10:34 +08:00
阿豪
dd13728334
enhance(api): add generic parameter to emit and emitTo functions ( #13066 )
...
closes #13059
2025-03-25 05:34:20 +02:00
renovate[bot]
f235ec0113
chore(deps): update dependency rollup to v4.37.0 ( #13062 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-24 21:14:02 +08:00
Matthew Richardson
f182b0bb93
docs: Update general setup in contributing guide ( #13065 )
2025-03-24 05:51:09 -07:00
Tony
a851b6597f
enhance: include permission group permissions in the generated schema ( #13057 )
...
* enhance: include permissions in default permission description
* Only include in schema
* Remove 'which includes` to tauri's build script
* Also bump utils
* Clippy
My local clippy didn't report this, weird
* Use `which enables all commands`
for default permissions that enables everything
* Extract description into a variable
* Generate permissions with or without description
* Tweak the docs and generate 'which includes'
* Simplify to just `includes`
* Docs change change file
* Put the change in minor
* Update .changes/include-permissions-in-schema.md
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
* Remove unused change file
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
2025-03-23 21:35:45 +08:00
WofWca
be31675fbc
docs: improve Builder::run docs ( #13058 )
...
Otherwise people might use it and not realize
that `App::run` also takes the callback argument,
which could be useful for some.
2025-03-23 15:07:33 +02:00
Lőrik Levente
dea8bbf6cd
docs: Improve BaseDirectory documentation ( #13043 )
...
* add notes
* Add links
* fix fmt
2025-03-21 13:57:34 +02:00
github-actions[bot]
be3a79c864
apply version updates ( #12856 )
...
Co-authored-by: lucasfernog <20051258+lucasfernog@users.noreply.github.com >
tauri-v2.4.0
tauri-bundler-v2.3.0
tauri-plugin-v2.1.0
@tauri-apps/cli-v2.4.0
tauri-runtime-wry-v2.5.0
tauri-runtime-v2.5.0
tauri-codegen-v2.1.0
tauri-cli-v2.4.0
@tauri-apps/api-v2.4.0
tauri-build-v2.1.0
tauri-utils-v2.3.0
tauri-macros-v2.1.0
2025-03-20 15:34:59 -03:00
Lucas Nogueira
ba42a1f553
chore: pin tao and wry to latest patch versions
...
they include necessary bug fixes for the 2.4 release
2025-03-20 14:52:38 -03:00
Tony
1cd8f55eed
fix: don't ship global api bundle if withGlobalTauri is false ( #13033 )
...
* fix: don't ship global api bundle if withGlobalTauri is false
* Comment and prettier
2025-03-20 12:37:31 -03:00
Tony
8603e42a6b
fix: channel no longer being always allowed ( #13032 )
...
* fix: channel no longer being always allowed
* Prettier
* Don't change the plugin name just yet
* Handle TAURI_CHANNEL as a special case in macro
* remove commented out code
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2025-03-20 12:19:55 -03:00
Akshanabha Chakraborty
c32bd722d3
prettify: Remove beta tag and alert users that tauri for android currently doesn't work on android 7 ( #12646 )
2025-03-18 08:33:47 -03:00
Lucas Fernandes Nogueira
bcdd510254
feat(core): resolve file names from Android content URIs ( #13012 )
...
* feat(core): resolve file names from Android content URIs
This PR adds a new Android path plugin function to resolve file names from content URIs. `PathResolver::file_name` was added to expose this API on Rust, and the existing `@tauri-apps/api/path` basename and extname function now leverages it on Android.
Closes https://github.com/tauri-apps/plugins-workspace/issues/1775
Tauri core port from https://github.com/tauri-apps/plugins-workspace/pull/2421
Co-authored-by: VulnX
* update change file [skip ci]
Co-authored-by: VulnX <62636727+VulnX@users.noreply.github.com >
---------
Co-authored-by: VulnX <62636727+VulnX@users.noreply.github.com >
2025-03-18 08:29:07 -03:00
WofWca
71cb1e26d7
docs: update .disable_javascript() docs ( #13013 )
...
The initial version of the MR that introduced this to Wry
(https://github.com/tauri-apps/wry/pull/1496 )
had no Android implementation, but it has been added
in a later version of the MR, so the comment is no longer valid.
2025-03-18 09:47:27 +02:00
WofWca
b459f1d405
docs: improve Capability docs: mention webviews ( #13015 )
2025-03-18 09:46:48 +02:00
dependabot[bot]
8cc0067165
chore(deps): bump zip from 2.2.2 to 2.3.0 ( #13016 )
...
Bumps [zip](https://github.com/zip-rs/zip2 ) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/zip-rs/zip2/releases )
- [Changelog](https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zip-rs/zip2/compare/v2.2.2...v2.3.0 )
---
updated-dependencies:
- dependency-name: zip
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-18 11:35:36 +08:00
Lucas Fernandes Nogueira
f2c94aaca0
feat(core): add startIntentSenderForResult Android API for plugins ( #12682 )
2025-03-17 11:52:11 -03:00