Compare commits

...

112 Commits

Author SHA1 Message Date
Lucas Nogueira
7c6bb5dfd7 refactor: do not proxy dev server when using localhost on iOS/Android 2024-10-03 08:53:40 -03:00
Lucas Fernandes Nogueira
6f3a2b38f0 chore(tauri): enhance Manager::add_capability documentation (#11206)
* chore(tauri): enhance Manager::add_capability documentation

* enhance example

* add note on config
2024-10-03 20:36:36 +09:00
Lucas Fernandes Nogueira
0ab2b33064 fix: downgrade MSRV to 1.77.2 to support Windows 7 (#11205)
* fix: downgrade MSRV to 1.77.2 to support Windows 7

* add chang file
2024-10-03 08:07:50 -03:00
github-actions[bot]
983e7800b6 apply version updates (#11201)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-10-02 10:54:04 -03:00
Lucas Fernandes Nogueira
be683e2ac3 fix: publish NPM packages with latest tag (#11199) 2024-10-02 10:37:42 -03:00
Lucas Fernandes Nogueira
c7b9a53525 chore: promote to v2 stable (#11198)
* chore: promote to v2 stable

- deletes all RC change files
- adds a new change file to promote all packages to v2 stable
- manually fix the tauri-driver, tauri-macos-sign, tauri-bundler versions so the next covector bump will move them to 2.0.0
- manually patch the metadata-v2.json file so the next covector update will mark all packages as 2.0.0

* ignore audit vuln without fixes

* bump msrv to 1.78

* run covector version

* fix sync lockfile covector

* #[allow(clippy::manual_inspect)]
2024-10-02 09:42:45 -03:00
github-actions[bot]
11b5e9c525 apply version updates (#11175)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-10-02 07:36:42 -03:00
Lucas Fernandes Nogueira
a08e6ffa6f feat(cli): enhance Android dev port forwarding, use host IP for android devices, closes #11137 (#11185)
* feat(cli): enhance Android dev port forwarding, closes #11137

this changes the `android dev` port forwarding (that is actually handled by the `android-studio-script` command - triggered by our Gradle plugin) with some enhancements:

- make the whole process more resilient by checking if the port was actually forwarded and rerunning the `adb reverse` command until it tells us the forward is ready
- if the `adb devices` list is empty, retry a few times (waiting a few seconds) to tolerate devices being booted - slows down "raw builds" (Build Project Android Studio menu for instance) that shouldn't happen often anyway - if you're running `android dev` you're usually running the app on a device instead of simply testing builds

* use host IP to run on android physical device
2024-10-02 07:01:29 -03:00
Lucas Fernandes Nogueira
6cfe7edf63 feat(cli): retain log verbosity when running a mobile IDE script (#11186) 2024-10-02 03:58:54 +03:00
Lucas Fernandes Nogueira
11e9f2eb83 feat(cli): add clap parse test (#11189)
lets us catch runtime errors early on the testing phase - for instance when we add two arguments with the same flag
2024-10-01 20:53:39 -03:00
Lucas Fernandes Nogueira
f5d61822bf fix(cli): iOS app signature not retaining entitlements, closes #11089 (#11184)
* fix(cli): iOS app signature not retaining entitlements, closes #11089

The IPA does not retain the entitlements as a regression from #10854 which removed the signing step from the build() and archive(), deferring to the export() call

To retain the entitlements we need to force sign one of the files in the app bundle. The most reliable way to do this is to use a self signed certificate as a dummy signature - it is replaced by the export() call so we do not rely on any user provided certificate

Additionally the export options are incorrectly configuring a manual signing, preventing Xcode from properly managing provisioning profiles, which is also part of the fix

* fix header
2024-10-01 10:15:42 -03:00
Lucas Fernandes Nogueira
60a5aea53d feat(cli): support Trunk for iOS dev out of the box (#11181) 2024-09-30 13:54:13 -03:00
Amr Bashir
e10fdb786c revert: revert #10969, consistent product_code (#11182)
closes #11178
2024-09-30 19:42:09 +03:00
renovate[bot]
0c87e05513 chore(deps) Update dependency @rollup/plugin-typescript to v12 (#11123)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-29 07:42:43 -03:00
renovate[bot]
25e7833701 chore(deps) Update Tauri Bundler (#11122)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-29 07:42:18 -03:00
Amr Bashir
354be36d4e refactor(core)!: pass webview label to uri scheme protocol handlers (#11163)
* refactor!(core): pass webview label to uri scheme protocol handlers

close #10691

* Add `UriSchemeContext`

* doctests
2024-09-29 07:41:26 -03:00
github-actions[bot]
12de4fa7c7 apply version updates (#11062)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-09-27 17:51:55 -03:00
Lucas Fernandes Nogueira
df24cb9442 fix(cli): pbxproj parser not expecting underlines in build config IDs (#11168) 2024-09-27 14:36:38 -03:00
Amr Bashir
de7414aab9 feat: add Window::set_enabled and Window::is_enabled (#11154)
* feat: add `Window::set_enabled` and `Window::is_enabled`

closes #6660

* license headers

* fix build

* fix mobile and macos

* fix macos

* again

* unsafe

* fix macos is_enabled

* update example

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-09-27 14:35:01 -03:00
Amr Bashir
a49fc999fc fix(core): store the hosting Window directly on Webview and WebviewWindow (#11161)
closes #11159
2024-09-27 14:15:38 -03:00
Amr Bashir
1d8b67b297 feat(core): support async functions in mobile_entry_point macro (#11162)
closes #11158
2024-09-27 14:06:23 -03:00
Amr Bashir
d9d2502b41 feat: add Webview::show and Webview::hide (#11140)
closes #11126
2024-09-27 08:30:29 +03:00
Olivier Lemasle
58bab8b35b docs: fix formatting of JS comments for API reference (#11148) 2024-09-26 15:05:56 +02:00
Fabian-Lars
9e46e07784 Revert "chore(cli/deps): temporarily add tower dependency to fix compile error without --locked (#11136)" (#11146) 2024-09-26 15:05:33 +02:00
Tony
95df53a2ed chore: add missing set theme change file in #10210 (#11143) 2024-09-26 07:26:04 +03:00
Amr Bashir
0b4495996d refactor!: simplify TrayIconEvent in JS by tagging it with type field (#11121)
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
2024-09-26 06:12:02 +03:00
Amr Bashir
544328d5a3 fix(nsis): properly handle Webview2 download return value (#11139)
port of #11131 to 2.x
2024-09-26 04:53:05 +03:00
chip
5621174b05 feat: add ScopeObjectMatch trait for easy scope validation (#11132) 2024-09-26 02:22:37 +03:00
Fabian-Lars
2a654fdb8d chore(cli/deps): temporarily add tower dependency to fix compile error without --locked (#11136) 2024-09-26 02:08:07 +03:00
Amr Bashir
a944b9b05b feat(cli): add --github-workflows (#11118)
closes #11117
2024-09-25 03:11:38 +03:00
thep0y
06718b4569 feat(bundler): improve GitHub mirror URL generation with custom templates (#11096) 2024-09-24 19:04:41 +03:00
Lucas Fernandes Nogueira
9af08f93e4 fix(core): state tests (#11116) 2024-09-24 12:09:34 -03:00
Olivier Lemasle
dfba0ede68 fix(bundler): Detect ARM gnueabi as soft-float (fix: #10970) (#11084)
* Detect ARM gnueabi as soft-float (armel)

Detect ARM gnueabi as soft-float (armel) instead of hard-float (armhf).
Also change the signature of `tauri_bundler::bundle::Settings::binary_arch`
to return an enum instead of a `&str`.

* Update .changes/bundler-gnueabi-armel.md

* fix dmg

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-09-24 11:13:22 -03:00
Lucas Fernandes Nogueira
1efa5e7184 fix(core): rerun build script if platform config changes, closes #10963 (#11099) 2024-09-24 11:02:34 -03:00
Amr Bashir
8f3f010e6d refactor(core): return state in unmanage (#11105)
* refactor(core): return state in `unmanage`

* Update crates/tauri/src/lib.rs [skip ci]

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-09-24 10:53:15 -03:00
Fabian-Lars
4078923f6b fix(ios): Don't set macOS deployment target when building for iOS (#11115)
* fix(ios): Don't set macOS deployment target when building for iOS

fixes #11103

* make it look nice :)
2024-09-24 10:51:36 -03:00
Amr Bashir
8d381a71e8 test: add tests for StateManager (#11106)
* test: add tests for StateManager

* clippy

* update lockfile

* fix audit

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-09-24 08:51:54 -03:00
Lucas Fernandes Nogueira
948772a657 refactor(api): change button_state to camelCase (#11114) 2024-09-24 08:18:52 -03:00
Tillmann
e08c4e6888 Change V1 links to V2 site (#11111)
* Change V1 links to V2 site

* update lockfile

---------

Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
2024-09-24 08:09:00 -03:00
Amr Bashir
cbe3bd80d8 fix(api): convert Position to PhsyicalPosition for TrayIconEvent (#11104)
* fix(api): convert `Position` to `PhsyicalPosition` for `TrayIconEvent`

ref: https://github.com/tauri-apps/plugins-workspace/pull/1822#issuecomment-2365442240

* fix lint

* Add missing `doubleClick` event type

* change file

* update lockfile

* Update .changes/api-tray-icon-event-value-mismatch-type.md [skip ci]

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-09-24 08:04:53 -03:00
dependabot[bot]
ae12f3cc90 build(deps-dev): bump rollup from 4.21.0 to 4.22.4 in /packages/api (#11109)
Bumps [rollup](https://github.com/rollup/rollup) from 4.21.0 to 4.22.4.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.21.0...v4.22.4)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-24 05:20:45 +03:00
Tony
11db7be6c2 feat(core): add a new function to set theme dynamically (#10210)
closes #5279
2024-09-24 05:18:53 +03:00
Lucas Fernandes Nogueira
8d22c0c814 fix(cli): only modify iOS code sign style when manually signing (#11101) 2024-09-23 18:35:15 -03:00
Lucas Fernandes Nogueira
56e087471a fix(cli): ios xcode-script arg parsing when using bun, closes #10742 (#11100) 2024-09-23 18:31:29 -03:00
Amr Bashir
d369e8db5f chore(deps): update muda to 0.15 and tray-icon to 0.18 (#11097) 2024-09-23 18:20:40 -03:00
Alex
28169ae097 fix(cli): Fix crate type (#11080)
* Fix crate type

Fixes https://github.com/tauri-apps/tauri/issues/9547

* Fix crate type

Fixes https://github.com/tauri-apps/tauri/issues/9547

* Fix crate type

Fixes https://github.com/tauri-apps/tauri/issues/9547

* Fix crate type

Fixes https://github.com/tauri-apps/tauri/issues/9547
2024-09-21 07:57:35 -03:00
Amr Bashir
62b3a5cd1c fix(core): share webcontext between webviews (#11043)
* fix(core): share webcontext between webviews

closes #10981

* update wry version

* Update crates/tauri-runtime-wry/src/lib.rs [skip ci]

* on linux, only register protocol once per context

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-09-21 07:42:07 -03:00
Amr Bashir
67b8a9a17a feat(cli): generate signatures for non-zipped targets with createUpdaterArtifacts: v1Compatible (#10940) 2024-09-20 08:47:36 -03:00
Amr Bashir
f57a729cd8 feat: add upgradeCode config option (#11039)
* feat: add `upgradeCode` config option

* fix build on other platforms

* Update crates/tauri-bundler/src/bundle/settings.rs [skip ci]

* move to subcommand, use same product name fallback as the bundler

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-09-20 08:44:41 -03:00
renovate[bot]
3f1a8a4e7e chore(deps) Update Tauri Bundler (#11048)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-20 08:21:59 -03:00
Amr Bashir
8ab2e3cc3e refactor(core): simplify and document push_pattern (#11065) 2024-09-20 08:21:30 -03:00
Amr Bashir
9014a3f176 feat: add webview.clear_all_browsing_data (#11066)
* feat: add `webview.clear_all_browsing_data`

closes #6567

* fix build on iOS and android

* fix command name references

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-09-20 08:18:07 -03:00
Amr Bashir
0ddfc59d67 feat(core): add Manager::unmanage (#11071)
* feat(core): add `Manager::unmanage`

closes #10897

* remove state craet

* fix typo

* Update crates/tauri/src/lib.rs

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-09-20 07:53:58 -03:00
Fabian-Lars
b88e22a5fe fix(cli): set ios deployment target only when building for ios (#11063) 2024-09-20 07:31:51 -03:00
Alex Moon
40a45b564d fix(windows): Handle root paths that cannot be canonicalized (#10838) 2024-09-20 02:33:55 +03:00
Amr Bashir
62b52f60a2 fix(cli/add): use >= for npm and ~ for other package managers (#11064)
* fix(cli/add): use `>=` for npm and `~` for other package managers

closes #10906

* headers

* fix audit

* fix headers
2024-09-19 23:11:40 +03:00
SpikeHD
a247170e1f feat: Expose ability to enable browser extensions in WebView2 (#11056) 2024-09-19 18:46:23 +03:00
Amr Bashir
fbff6388ad refactor(bundler): group and organize template file structure (#11046)
This PR groups files in a predictable mannar, so instead of

```
windows/
  |_ templates
     |_ main.wxs
     |_ installer.nsi
  |_ nsis.rs
  |_ msi.rs
```
we group them next to each other
```
windows/
  |_ msi
     |_ main.wxs
     |_ mod.rs
  |_ nsis
    |_ installer.nsi
    |_ mod.rs
```
2024-09-18 17:00:27 +03:00
renovate[bot]
4f374a26a3 chore(deps) Update Tauri Build to v1.0.89 (#11045)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 21:26:58 +08:00
renovate[bot]
4d4e7bf318 chore(deps) Update Rust crate syn to v2.0.77 (#11044)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 21:25:59 +08:00
github-actions[bot]
cbdcee61dc Apply Version Updates From Current Changes (#11029)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-09-17 09:02:10 -03:00
Lucas Fernandes Nogueira
96c1ec3b89 fix(cli): test timeout (#11035) 2024-09-17 08:33:45 -03:00
Amr Bashir
5ff0bbc547 docs: add RELEASING.md handbook (#11026)
* docs: add RELEASING.md handbook

* Update .github/RELEASING.md

Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>

* Update .github/RELEASING.md

Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>

* Update .github/RELEASING.md

Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>

* Update .github/RELEASING.md

Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>

* Update .github/RELEASING.md

Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>

* Update .github/RELEASING.md

Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>

* Update .github/RELEASING.md

Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>

* Update .github/RELEASING.md

Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>

* Update .github/RELEASING.md

Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>

* Update .github/RELEASING.md

Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>

* Update .github/RELEASING.md

Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>

* Update .github/RELEASING.md

---------

Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-09-17 07:38:15 -03:00
Amr Bashir
09de8c6593 refactor(cli/node): migrate jest to vitest for tests (#11034)
* refactor(cli/node): migrate `jest` to `vitest` for tests

* fix js audit
2024-09-17 07:36:03 -03:00
Amr Bashir
5f694c3d4c ci: use correct version for cloudflare/wrangler-action action (#11033) 2024-09-17 11:10:46 +02:00
Amr Bashir
a1cce04260 feat: add tauri-schema-worker (#10871) 2024-09-17 00:52:56 +03:00
Amr Bashir
ad294d274d feat(core): add app > windows > create option to disable window creation at startup (#11032)
* feat(core): add `app > windows > create` option to disable window creation at startup

closes #10950

* clippy

* clippy

* update docs

* Update .changes/window-config-create.md

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-09-16 17:03:25 -03:00
Amr Bashir
ddf69157b5 feat(api): add {LogicalPosition,LogicalSize}.toPhysical method (#11031)
closes #11008
2024-09-16 16:43:54 -03:00
Amr Bashir
9bb8fc6189 feat(cli/plugin): add --no-example flag (#11030)
closes #11009
2024-09-16 16:41:21 -03:00
Lucas Fernandes Nogueira
551e0624a9 refactor(core): remove responder from custom invoke systems (#11027)
* refactor(core): remove responder from custom invoke systems

the responder can be set directly in the WebviewWindow::on_message call

* fix tests
2024-09-16 12:20:50 -03:00
Lucas Fernandes Nogueira
e7fd676c27 feat(core): inject invoke key in custom invoke system script (#11025)
* feat(core): inject invoke key in custom invoke system script

* fix fmt
2024-09-16 12:10:01 -03:00
Felix Salazar
e266f2f35e docs: update CONTRIBUTING.md with .changes instructions (#11013) 2024-09-16 16:22:35 +03:00
github-actions[bot]
c530de4fd0 Apply Version Updates From Current Changes (#11019)
Co-authored-by: Legend-Master <Legend-Master@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-09-16 10:52:24 +02:00
Amr Bashir
e5f0372775 chore: add change file for #11016 (#11018) 2024-09-16 13:17:01 +08:00
Tony
58465d4f7d fix(core): missing NSImage feature on objc2-app-kit (#11016) 2024-09-16 07:40:26 +03:00
github-actions[bot]
b1dacd539a Apply Version Updates From Current Changes (#11014)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-09-15 18:36:42 -03:00
Lucas Nogueira
a12bf148d6 fix(covector): unexpected preminor bump 2024-09-15 17:53:44 -03:00
Mads Marquart
bc4804d484 feat: Migrate to objc2 (#10924)
* Migrate from objc/cocoa to objc2

* Update crates/tauri-runtime-wry/src/webview.rs

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-09-15 17:15:47 -03:00
github-actions[bot]
63264a2914 Apply Version Updates From Current Changes (#11010)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-09-15 16:56:23 -03:00
Amr Bashir
94e9d476ef fix: fix main_binary_name includes .exe regression on Windows (#11011)
* fix: fix `main_binary_name` includes `.exe` regression on Windows

* Update crates/tauri-bundler/src/bundle/settings.rs

* Update .changes/main_binary_name-exe.md

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-09-15 16:30:47 -03:00
Lucas Fernandes Nogueira
5a0e922d40 feat(cli): discover src/main.rs binary automatically (#11007) 2024-09-15 11:21:31 -03:00
github-actions[bot]
4f44ebf8a7 Apply Version Updates From Current Changes (#10953)
* apply version updates

* bundler back to 2.0.0-rc

---------

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-09-15 09:54:50 -03:00
renovate[bot]
db64d088ba chore(deps) Update Rust crate syn to v2.0.77 (#10954)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-15 08:37:32 -03:00
renovate[bot]
0b00428365 chore(deps) Update Tauri Build to v1.0.87 (#10955)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-15 08:37:24 -03:00
renovate[bot]
71f4ca564b chore(deps) Update Tauri Bundler (#10957)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-15 08:37:10 -03:00
renovate[bot]
184f0ad22b chore(deps) Update Tauri Codegen (#10958)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-15 08:36:58 -03:00
renovate[bot]
54be2f72d7 chore(deps) Update Tauri macOSSign to v1.0.87 (#10960)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-15 08:36:47 -03:00
Guilherme Oenning
44d54a0710 fix(bundler): Use appimage files instead of debian files when building appimage (#11005)
* use appimage settings instead of deb

* add changeset
2024-09-15 08:36:04 -03:00
Lucas Fernandes Nogueira
6c5340f8b2 feat(cli): add log plugin to the app template (#11004)
* feat(cli): add log plugin to the app template

The log plugin is really important for mobile development - without it you don't have a clue about logs and stdout for iOS apps

* patch tauri dep for local testing

* clippy
2024-09-15 08:35:38 -03:00
Amr Bashir
35bd9dd3dc feat: add mainBinaryName option (#10977)
* feat: add `mainBinaryName` option

* remove unused imports [skip ci]

* enhance error message [skip ci]

* migrate `mainBinaryName`

* change file

* revert bin src_path

* add link

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-09-15 07:51:01 -03:00
Lucas Fernandes Nogueira
3ad2427dc0 feat(cli): enhance iOS logs (#10961)
enhance simulator and device run output by only displaying app logs by default, and printing full process logs when pedantic verbosity is requested

ref https://github.com/tauri-apps/cargo-mobile2/pull/388
2024-09-15 07:37:56 -03:00
Lucas Fernandes Nogueira
5eb036f339 feat(core): restart() handles binary name change for macOS (#11002) 2024-09-14 13:30:00 -03:00
Amr Bashir
4ba7b94b59 refactor(bundler/nsis): fix migration from MSI to NSIS (#10996)
* refactor(bundler/nsis): fix migration from MSI to NSIS

* read into $OldMainBinaryName
2024-09-14 16:45:58 +03:00
Tony
def875193a fix(nsis): check main binary name is not empty (#11000)
* Check main binary name is not empty

* Missing !=
2024-09-14 13:33:43 +03:00
Amr Bashir
b13cb208a3 fix(bundler): store and remove old main binary on updates if main binary name has change (#10962) 2024-09-13 16:09:17 +03:00
Lucas Fernandes Nogueira
00182ebf89 fix(core): requestPermissions not resolving on Android (#10988)
the checkPermissions command is also a PermissionCallback, and the annotation check is incorrectly ignoring that fact, so the requestPermissions is never resolved for the geolocation plugin
2024-09-13 09:08:31 -03:00
Amr Bashir
63649d82d2 fix(core/acl): fix core:default schema generation (#10971)
* remove dbg! in resources test

* use methods from `fs` and `env` qualified

* share `ACL_MANIFESTS_FILE_NAME` and `CAPABILITIES_FILE_NAME` consts across crates

* simplifiy `Manifest::new` code for better readability

* move reading global api scripts logic next to the function that defines it

* [tauri-build] move acl logic from lib.rs to acl.rs

* use const value for schema instead of enum value with a single variant

* remove unnecessary info from permissions hover

* move related functions next to each other & improve readability of others

* use methods from `fs` and `env` qualified

* fix warning, unused return in test

* document some functions

* improve generated schema for better scope schema completion, simplify, reorganize and document the logic

previously if you had `fs` and `http` plugins added in a project
and then try to write an extended permission for `fs:allow-app-meta`
```json
{
      "identifier": "fs:allow-app-meta",
      "allow": [ <here> ]
}
```
and even though identifier is from `fs` plugin,
the JSON schema suggests `path` and `url`.
Now it will only suggest  relevant field which is `path`

* resolve permissions from other plugins, generate `core:default` as a normal set instead of special logic

* move `PERMISSION_SCHEMAS_FOLDER_NAME` to acl module

* use gneric trait because of MSRV

* ensure `gen/schemas` dir is created

* clippy
2024-09-13 08:58:26 -03:00
Amr Bashir
a1e88d2b57 enhance(bundler/wix): generate consistent product code for MSI installer derived from identifier (#10969)
* enhance(bundler/wix): generate consistent product code for MSI installer derived from identifier

* Update .changes/wix-consistent-product-code.md [skip ci]

* Update .changes/wix-consistent-product-code.md [skip ci]

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-09-13 08:45:03 -03:00
Lucas Fernandes Nogueira
fe5ff1228c refactor(core)!: rename plugin::PermissionState::Unknown to plugin::PermissionState::Prompt (#10978)
* fix(core): plugin::PermissionState::Unknown wrong display impl

* prompt

* rename variant

* fix
2024-09-13 08:38:59 -03:00
Lucas Fernandes Nogueira
be18ed50d8 fix(core): prevent Proguard from optimizing away custom ser/de classes (#10982) 2024-09-12 23:04:25 -03:00
Lucas Fernandes Nogueira
c901d9fdf9 fix(tauri-utils): docs for config::DeepLinkProtocol (#10979) 2024-09-12 23:39:08 +03:00
Fabian-Lars
9d468774a9 fix(core): Use productName for FileDescription (#10975)
* fix(core): Use productName for FileDescription

fixes #10968
fixes #10890

* just unwrap since winres will panic anyway or use the cargo.toml description which we don't want

* regen

* nsis
2024-09-12 20:36:48 +03:00
Amr Bashir
7eb1171e3a fix(bundler/wix): use product name to generate UpgradeCode for MSI (#10967)
The upgrade code generation was changed due to an accidental regression in #9375. Previously `UpgradeCode` was calculated using the main binary name which was `<product_name>.exe`, but #9375 changed the default main binary name to `<cargo-crate-name>.exe` and thus a different UpgradeCode was generetad.

This PR reverts this change to use product name for `UpgradeCode` generation.
2024-09-12 09:22:27 -03:00
thep0y
6566182258 feat(bundler): add TAURI_BUNDLER_TOOLS_GITHUB_MIRRORto specify a GitHub mirror (#10866)
closes #7338
2024-09-11 05:36:12 +03:00
github-actions[bot]
d8ccf9d76a apply version updates (#10949)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-09-10 13:05:58 -03:00
Lucas Fernandes Nogueira
a5848af65b fix(cli): synchronize version with iOS Info.plist (#10944) 2024-09-10 12:31:15 -03:00
Lucas Fernandes Nogueira
fafceec309 fix(core): mobile dev server proxy URL (#10943) 2024-09-10 12:30:58 -03:00
Fabian-Lars
0a47bf0430 fix(core): Mark identifier as a required field. (#10946)
* fix(core): Mark `identifier` as a required field.

* change tag

* inject identifier in tests
2024-09-10 10:08:04 -03:00
github-actions[bot]
ffa33cd28a apply version updates (#10903)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-09-05 14:06:28 -03:00
Lucas Fernandes Nogueira
faa259bacf refactor(core)!: change Assets::iter item to use Cow (#10907)
* refactor(core): change `Assets::iter` item to use `Cow`

make the iterator more flexible to support Assets implementations that do not rely on static assets

* fix test?

* lint

* lint

* clippy again
2024-09-05 13:42:22 -03:00
Tony
d9c8d3cc8d chore(deps): update infer, tray icon, urlpattern, image (#10902) 2024-09-05 14:10:08 +02:00
Lucas Nogueira
e568956e48 fix(ci): pin artifact actions 2024-09-04 19:48:48 -03:00
360 changed files with 10126 additions and 6018 deletions

9
.cargo/audit.toml Normal file
View File

@@ -0,0 +1,9 @@
[advisories]
ignore = [
# rsa Marvin Attack
"RUSTSEC-2023-0071",
# difference is unmaintained
"RUSTSEC-2020-0095",
# proc-macro-error is unmaintained
"RUSTSEC-2024-0370",
]

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Include notarization error output in the error message if it fails.

View File

@@ -1,5 +0,0 @@
---
"tauri-build": patch:feat
---
Added `InlinedPlugin::default_permission` to autogenerate the default permission of an inlined plugin.

View File

@@ -1,7 +0,0 @@
---
"tauri": patch:breaking
"tauri-runtime-wry": patch:breaking
---
The `linux-ipc-protocol` feature is now always enabled, so the Cargo feature flag was removed.
This increases the minimum webkit2gtk version to a release that does not affect the minimum target Linux distros for Tauri apps.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Fixes running `android dev --open`.

View File

@@ -1,6 +0,0 @@
---
'tauri-cli': 'patch:enhance'
'@tauri-apps/cli': 'patch:enhance'
---
Update gradle to 8.9 and the gradle android plugin to 8.5.1 in the android templates (requires latest Android Studio). This should add support for Java 21 but Java 17 keeps being the recommended version.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Fixes `android dev` port forward failing under some conditions, add better logging and error handling.

View File

@@ -1,5 +0,0 @@
---
"@tauri-apps/api": patch:enhance
---
Added `PermissionState`, `checkPermissions` and `requestPermissions` base APIs to the core module, designed for plugin authors to extend.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:enhance
---
Added `Builder::append_invoke_initialization_script`.

View File

@@ -1,6 +0,0 @@
---
"tauri": patch:enhance
"tauri-codegen": patch:enhance
---
Enhance `AssetResolver::get` in development mode by reading distDir directly as a fallback to the embedded assets.

View File

@@ -1,7 +0,0 @@
---
"tauri": patch:bug
"tauri-build": patch:bug
"tauri-utils": patch:bug
---
Prevent build script from rerunning unnecessarily by only writing files when the content changes.

View File

@@ -1,6 +0,0 @@
---
"tauri-codegen": patch:deps
"tauri-utils": patch:deps
---
Updated brotli to v6.

View File

@@ -1,8 +0,0 @@
---
"tauri-bundler": patch:feat
"tauri-utils": patch:feat
"@tauri-apps/cli": patch:feat
"tauri-cli": patch:feat
---
Custom sign command with object notation for whitespaces in the command path and arguments.

View File

@@ -1,5 +0,0 @@
---
"tauri-utils": patch:enhance
---
Validate duplicate capability identifier.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:changes
"@tauri-apps/cli": patch:changes
---
Change iOS template default export method from deprecated `development` to `debugging`.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:bug
---
Fix Specta remote implementation target for `Channel`.

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": patch:bug
---
Correct nsis pre-uninstall hook to post-uninstall

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": "patch:bug"
---
Fixed an issue that caused the bundler to not be able to download the AppImage tooling when building for ARM 32bit.

View File

@@ -1,6 +0,0 @@
---
"@tauri-apps/cli": 'patch:bug'
"tauri-cli": 'patch:bug'
---
Change plugin template call to `register_ios_plugin` params to snake case

View File

@@ -1,6 +0,0 @@
---
"tauri": 'patch:bug'
"tauri-utils": 'patch:bug'
---
Update swift-rs fixing a plugin build when native dependencies are used.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:enhance
"@tauri-apps/cli": patch:enhance
---
Check if the Rust library contains the symbols required at runtime for Android and iOS apps.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": "patch:enhance"
"@tauri-apps/cli": "patch:enhance"
---
Added `--no-fmt` option to the `add` command to skip formatting the code after applying changes.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": "patch:feat"
"@tauri-apps/cli": "patch:feat"
---
Add necessary options to `AndroidManifest.xml` in android template to support AndroidTV.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": "patch:enhance"
"@tauri-apps/cli": "patch:enhance"
---
Changes the default behavior of the `dev` command to only expose to localhost (`127.0.0.1`) instead of the default system interface.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:enhance
"@tauri-apps/cli": patch:enhance
---
Include architecture in the `tauri info` output.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": "patch:feat"
"@tauri-apps/cli": "patch:feat"
---
Add plugins information in `tauri info` output

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
CLI commands will now consistently search for the `app_dir` (the directory containing `package.json`) from the current working directory of the command invocation.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:enhance
"@tauri-apps/cli": patch:enhance
---
Check if identifier or lib name changed when running mobile commands.

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": patch:feat
---
`TAURI_WINDOWS_SIGNTOOL_PATH` environment variable for specifying the path to signtool.exe.

View File

@@ -23,14 +23,14 @@
"prepublish": [
"cargo install cargo-audit --features=fix",
{
"command": "cargo generate-lockfile",
"command": "echo '<details>\n<summary><em><h4>Cargo Audit</h4></em></summary>\n\n```'",
"dryRunCommand": true,
"runFromRoot": true,
"pipe": true
},
{
"command": "echo '<details>\n<summary><em><h4>Cargo Audit</h4></em></summary>\n\n```'",
"command": "cargo generate-lockfile",
"dryRunCommand": true,
"runFromRoot": true,
"pipe": true
},
{
@@ -79,15 +79,15 @@
}
},
"prepublish": [
{
"command": "pnpm i --frozen-lockfile",
"dryRunCommand": true
},
{
"command": "echo '<details>\n<summary><em><h4>PNPM Audit</h4></em></summary>\n\n```'",
"dryRunCommand": true,
"pipe": true
},
{
"command": "pnpm i --frozen-lockfile",
"dryRunCommand": true
},
{
"command": "pnpm audit",
"dryRunCommand": true,
@@ -107,7 +107,7 @@
"pipe": true
},
{
"command": "pnpm publish --access public --loglevel silly --tag next --no-git-checks",
"command": "pnpm publish --access public --loglevel silly --no-git-checks",
"dryRunCommand": "npm publish --dry-run --access public --no-git-checks",
"pipe": true
},
@@ -191,16 +191,7 @@
"path": "./crates/tauri-build",
"manager": "rust",
"dependencies": ["tauri-codegen", "tauri-utils"],
"postversion": [
"node ../../.scripts/ci/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
"cargo build --manifest-path ../tauri-schema-generator/Cargo.toml"
],
"assets": [
{
"path": "./crates/tauri-schema-generator/schemas/config.schema.json",
"name": "config.schema.json"
}
]
"postversion": "node ../../.scripts/ci/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }"
},
"tauri": {
"path": "./crates/tauri",
@@ -212,16 +203,16 @@
"tauri-runtime-wry",
"tauri-build"
],
"postversion": "node ../../.scripts/ci/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }"
"postversion": [
"node ../../.scripts/ci/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
"cargo build --manifest-path ../tauri-schema-generator/Cargo.toml"
]
},
"@tauri-apps/cli": {
"path": "./packages/cli",
"manager": "javascript",
"dependencies": ["tauri-cli"],
"postversion": [
"node ../../.scripts/ci/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
"cargo build --manifest-path ../../crates/tauri-schema-generator/Cargo.toml"
],
"postversion": "node ../../.scripts/ci/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
"prepublish": [],
"publish": [],
"postpublish": []
@@ -229,16 +220,11 @@
"tauri-cli": {
"path": "./crates/tauri-cli",
"manager": "rust",
"dependencies": ["tauri-bundler", "tauri-utils", "tauri-macos-sign"],
"postversion": [
"cargo check",
"cargo build --manifest-path ../tauri-schema-generator/Cargo.toml"
]
"dependencies": ["tauri-bundler", "tauri-utils", "tauri-macos-sign"]
},
"tauri-driver": {
"path": "./crates/tauri-driver",
"manager": "rust",
"postversion": "cargo check"
"manager": "rust"
}
}
}

View File

@@ -1,9 +0,0 @@
---
"tauri": patch:breaking
"tauri-plugin": patch:breaking
"@tauri-apps/cli": patch:breaking
"tauri-cli": patch:breaking
---
Core plugin permissions are now prefixed with `core:`, the `core:default` permission set can now be used and the `core` plugin name is reserved.
The `tauri migrate` tool will automate the migration process, which involves prefixing all `app`, `event`, `image`, `menu`, `path`, `resources`, `tray`, `webview` and `window` permissions with `core:`.

View File

@@ -1,9 +0,0 @@
---
"tauri-cli": patch:breaking
"@tauri-apps/cli": patch:breaking
---
`ios dev` and `android dev` now uses localhost for the development server unless running on an iOS device,
which still requires connecting to the public network address. To conditionally check this on your frontend
framework's configuration you can check for the existence of the `TAURI_DEV_HOST`
environment variable instead of checking if the target is iOS or Android (previous recommendation).

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Do not quit `ios dev` and `android dev` process when we fail to attach the logger.

View File

@@ -1,6 +0,0 @@
---
"tauri-codegen": patch:changes
"tauri": patch:changes
---
Changes how the Info.plist is embedded on macOS development to avoid a clippy warning.

View File

@@ -1,6 +0,0 @@
---
'tauri-cli': 'patch:enhance'
'@tauri-apps/cli': 'patch:enhance'
---
Enhance iOS library validation, checking libs built with link time optimization.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:enhance
---
Include more information in the IPC permission error message.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Ensure gradlew is executable and does not use CRLF so it can be used on UNIX systems.

View File

@@ -1,7 +0,0 @@
---
"tauri": patch:changes
"@tauri-apps/cli": patch:changes
"tauri-cli": patch:changes
---
Remove targetSdk from gradle files

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Fixes running `adb reverse` in Node.js context.

View File

@@ -1,6 +0,0 @@
---
'tauri-cli': 'patch:bug'
'@tauri-apps/cli': 'patch:bug'
---
Fix the `add` command NPM version specifier for known plugins from `2.0.0-rc` (unknown version requirement) to `^2.0.0-rc`.

View File

@@ -1,5 +0,0 @@
---
"tauri-utils": patch:bug
---
Properly remove isolation script on Android.

View File

@@ -1,6 +0,0 @@
---
'tauri-cli': 'patch:bug'
'@tauri-apps/cli': 'patch:bug'
---
Changed the `add` command to use a version requirement that matches the CLI's stable and prerelease numbers.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Fixes `android dev` not working when using the builtin dev server.

View File

@@ -1,5 +0,0 @@
---
"@tauri-apps/cli": patch:bug
---
Exit with code 1 if a panic occurs when running the CLI with `bun`.

View File

@@ -1,5 +0,0 @@
---
"tauri-utils": "patch:bug"
---
Fixed an issue where permission files will be generated with ':' in the file path.

View File

@@ -1,7 +0,0 @@
---
"tauri-utils": "patch:bug"
---
Fixed an issue where configuration parsing errors always displayed 'tauri.conf.json' as the file path, even when using 'Tauri.toml' or 'tauri.conf.json5'.
The error messages now correctly shows the actual config file being used.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Fixes `[android|ios] build --config <config>` failing to resolve.

View File

@@ -1,5 +0,0 @@
---
"tauri-codegen": patch:bug
---
Generate context in a separate thread to prevent a stack overflow.

View File

@@ -1,5 +0,0 @@
---
"tauri-build": patch:bug
---
Correctly export `DefaultPermissionsRule`

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Fixes iOS code signing failing on CI due to a missing development certificate.

View File

@@ -1,6 +0,0 @@
---
'tauri-cli': 'patch:bug'
'@tauri-apps/cli': 'patch:bug'
---
Fix Swift plugin compilation on older versions.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Fixes `ios build --target [aarch64-sim | x86_64]` failing to generate the app bundle for the iOS simulator.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Fixes running `ios dev` and `ios build` using `bun`.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Fixes `ios build` failing to build iOS app in CI when using an API key for automatic signing.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:bug
---
Fix IPC fallback (postMessage implementation when custom protocol fails) hanging when sending responses.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:bug
---
Fixes IPC postMessage raw body processing when using the isolation pattern.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Fixes v1 migration of Cargo.toml dependencies and features.

View File

@@ -1,5 +0,0 @@
---
"tauri-macos-sign": patch:bug
---
Fixes output not visible when running on Node.js via NAPI.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Fix `tauri plugin ios init` not generating the iOS folder.

View File

@@ -1,5 +0,0 @@
---
"@tauri-apps/api": patch:bug
---
Fix tslib path in dist.

View File

@@ -1,6 +0,0 @@
---
"tauri": patch:bug
"tauri-codegen": patch:bug
---
Fixes asset resolving when not using the `compression` feature.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Fixes v1 frontend code migration when using plugin default imports.

View File

@@ -1,7 +0,0 @@
---
'tauri-cli': 'patch:bug'
'@tauri-apps/cli': 'patch:bug'
---
Do not include the target arch when building and archiving the iOS application,
which makes Xcode project modifications more flexible.

View File

@@ -1,9 +0,0 @@
---
"@tauri-apps/api": patch:breaking
---
Changed `WebviewWindow.getAll`, `WebviewWindow.getByLabel`, `getAllWebviewWindows`,
`Window.getAll`, `Window.getByLabel`, `getAllWindows`,
`Webview.getAll`, `Webview.getByLabel`, `getAllWebviews`
to be async so their return value are synchronized with the state from the Rust side,
meaning new and destroyed windows are reflected.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:enhance
"@tauri-apps/cli": patch:enhance
---
Improve the `init` command behavior by detecting the project NPM package manager.

View File

@@ -1,7 +0,0 @@
---
"tauri-bundler": patch:enhance
"tauri-cli": patch:enhance
"@tauri-apps/cli": patch:enhance
---
Infer macOS codesign identity from the `APPLE_CERTIFICATE` environment variable when provided, meaning the identity no longer needs to be provided when signing on CI using that option. If the imported certificate name does not match a provided signingIdentity configuration, an error is returned.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:feat
"@tauri-apps/cli": patch:feat
---
Inject configured resources on mobile apps.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:breaking
"@tauri-apps/cli": patch:breaking
---
The `IOS_CERTIFICATE`, `IOS_CERTIFICATE_PASSWORD` and `IOS_MOBILE_PROVISION` environment variables are now read by the `ios build` command instead of `ios init`.

View File

@@ -1,7 +0,0 @@
---
"tauri-utils": patch:feat
"tauri-cli": patch:feat
"@tauri-apps/cli": patch:feat
---
Added `bundle > ios > template` configuration option for custom Xcode project YML Handlebars template using XcodeGen.

View File

@@ -1,7 +0,0 @@
---
'tauri-utils': 'patch:bug'
'tauri-cli': 'patch:bug'
'@tauri-apps/cli': 'patch:bug'
---
Fixed an issue causing `tauri ios init` to fail if `iOS.minimumSystemVersion` was not configured explicitly.

View File

@@ -1,7 +0,0 @@
---
"tauri-utils": patch:feat
"@tauri-apps/cli": patch:feat
"tauri-cli": patch:feat
---
Added `bundle > iOS > frameworks` configuration to define a list of frameworks that are linked to the Xcode project when it is generated.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:bug
---
Fixes a warning when using a null value on the `invoke.resolve()` iOS plugin API.

View File

@@ -1,6 +0,0 @@
---
"tauri": "patch:sec"
"tauri-utils": "patch:sec"
---
Explicitly check that the main frame's origin is the sender of Isolation Payloads

View File

@@ -1,6 +0,0 @@
---
"tauri-utils": "patch:enhance"
"tauri": "patch:enhance"
---
Make the set of gtk application id optional, to allow more then one instance of the app running at the same time.

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": patch:enhance
---
The debian `Maintainer` field now defaults to the Cargo.toml authors, but fallbacks to the `publisher` config value and the second part of the bundle identifier.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Migrate v1 plugins to their v2 releases.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Prevent duplicate permissions on v1 migration.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Migrate v1 plugins NPM packages.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:feat
"@tauri-apps/cli": patch:feat
---
v1 migrate script now migrates Svelte and Vue.js code.

View File

@@ -1,7 +0,0 @@
---
"tauri-utils": patch:feat
"tauri-cli": patch:feat
"@tauri-apps/cli": patch:feat
---
Added `bundle > ios > minimumSystemVersion` configuration option.

View File

@@ -1,8 +0,0 @@
---
"tauri-cli": patch:bug
"tauri-build": patch:bug
"@tauri-apps/cli": patch:bug
"tauri-runtime-wry": patch:bug
---
Allow hyphens and underscores on app identifiers.

View File

@@ -1,6 +0,0 @@
---
"tauri": patch:enhance
---
Added `getArgs` and `getRawArgs` methods to the plugin `Invoke` class (Kotlin and Swift),
which lets you parse the arguments manually instead of through the `parseArgs` method.

View File

@@ -1,17 +1,16 @@
---
"tauri": patch:changes
"tauri-utils": patch:changes
"tauri-runtime": patch:changes
"tauri-runtime-wry": patch:changes
"tauri-utils": patch:changes
"tauri-macros": patch:changes
"tauri-codegen": patch:changes
"tauri-build": patch:changes
"tauri-macros": patch:changes
"tauri-plugin": patch:changes
"tauri-driver": patch:changes
"tauri-build": patch:changes
"tauri-cli": patch:changes
"@tauri-apps/cli": patch:changes
"@tauri-apps/api": patch:changes
"tauri-macos-sign": patch:changes
"tauri-bundler": patch:changes
"tauri-driver": patch:changes
---
Update documentation icon path.
Downgrade MSRV to 1.77.2 to support Windows.

View File

@@ -1,6 +0,0 @@
---
"tauri-bundler": "patch:feat"
"tauri-utils": "patch:feat"
---
Add a new option `minimumWebview2Version` for Windows NSIS installer to trigger a webview2 update if the user's webview2 is older than this version

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Only validate the output iOS library on debug builds.

View File

@@ -1,7 +0,0 @@
---
"tauri-cli": patch:enhance
"@tauri-apps/cli": patch:enhance
---
`permission add` and `add` commands now check if the plugin is known and if it is either desktop or mobile only
we add the permission to a target-specific capability.

View File

@@ -1,5 +0,0 @@
---
"tauri": "patch:enhance"
---
Add `tauri::plugin::Builder::try_build` to allow plugins to check if their `TauriPlugin` initialization is valid.

View File

@@ -1,121 +0,0 @@
{
"tag": "rc",
"changes": [
".changes/add-notarize-error.md",
".changes/allow-commands-by-default.md",
".changes/always-enable-linux-ipc-custom-protocol.md",
".changes/android-dev-open-adb-fix.md",
".changes/android-gradle-8-9.md",
".changes/android-port-forward-fixes.md",
".changes/api-permissions-plugin.md",
".changes/append_invoke_initialization_script.md",
".changes/asset-resolver-dev-fallback.md",
".changes/avoid-rebuilds.md",
".changes/brotli-6.md",
".changes/bundler-object-custom-sign-command.md",
".changes/capability-id-already-exists.md",
".changes/change-default-export-option-debugging.md",
".changes/change-pr-10435.md",
".changes/change-pr-10498.md",
".changes/change-pr-10619.md",
".changes/change-pr-10676.md",
".changes/change-pr-10718.md",
".changes/check-android-lib-symbols.md",
".changes/cli-add-no-fmt.md",
".changes/cli-android-template-androidtv.md",
".changes/cli-desktop-port-exposure.md",
".changes/cli-info-include-arch.md",
".changes/cli-info-plugins.md",
".changes/cli-make-app-dir-consistent.md",
".changes/cli-mobile-checks.md",
".changes/cli-signtool-path.md",
".changes/core-plugin-namespace.md",
".changes/dev-url-localhost-mobile.md",
".changes/do-not-exit-on-log-fail.md",
".changes/embed-plist-no-unit-val.md",
".changes/enhance-ios-lib-validation.md",
".changes/enhance-permission-error-message.md",
".changes/ensure-gradlew-unix.md",
".changes/feat-remove-target-sdk.md",
".changes/fix-adb.md",
".changes/fix-add-plugin-npm-version-req.md",
".changes/fix-android-remove-current-script.md",
".changes/fix-cli-add-plugin-version.md",
".changes/fix-cli-dev-server-android.md",
".changes/fix-cli-panic-bun.md",
".changes/fix-colon-in-file-path.md",
".changes/fix-conf-parsing-error-filepath.md",
".changes/fix-config-override.md",
".changes/fix-context-stack-size.md",
".changes/fix-export-default-permissions.md",
".changes/fix-ios-automatic-signing-ci.md",
".changes/fix-ios-build-older-swift.md",
".changes/fix-ios-build-simulator.md",
".changes/fix-ios-bun-support.md",
".changes/fix-ios-signing-api-key.md",
".changes/fix-ipc-fallback.md",
".changes/fix-isolation-parse-raw-body.md",
".changes/fix-manifest-migration.md",
".changes/fix-missing-codesign-error-macos.md",
".changes/fix-tauri-plugin-ios-init.md",
".changes/fix-tslib-path.md",
".changes/fix-usage-without-compression.md",
".changes/fix-v1-frontend-migration.md",
".changes/fix-xcodebuild-arch.md",
".changes/get-window-async.md",
".changes/improve-cli-init.md",
".changes/infer-signing-identity.md",
".changes/inject-mobile-resources.md",
".changes/ios-codesign-on-build.md",
".changes/ios-custom-project-template.md",
".changes/ios-default-minversion.md",
".changes/ios-frameworks.md",
".changes/ios-invoke-response-null.md",
".changes/isolation-main-frame-origin.md",
".changes/linux-option-gtk-app-id.md",
".changes/maintainer-fallback.md",
".changes/migrate-plugins.md",
".changes/migrate-prevent-duplications.md",
".changes/migrate-v1-plugin-npm.md",
".changes/migrate-vue-svelte.md",
".changes/min-ios-version.md",
".changes/mobile-identifier.md",
".changes/mobile-plugin-get-args.md",
".changes/nsis-ensure-webview2-version.md",
".changes/only-validate-ios-lib-debug.md",
".changes/permissions-add-target-specific.md",
".changes/plugin-builder-failable.md",
".changes/proguard-keep-json-deserializer-classes.md",
".changes/provisioning-signing-ios.md",
".changes/rc-migration.md",
".changes/readd-target-sdk-app.md",
".changes/refactor-ipc-error.md",
".changes/refactor-ipc-response.md",
".changes/remove-cargo-config-creation.md",
".changes/remove-open-command.md",
".changes/remove-unsecure-configs.md",
".changes/remove-webview_fixed_runtime_path.md",
".changes/resource-dir-android.md",
".changes/resource-dir-ios.md",
".changes/resources-map-becoming-dirs.md",
".changes/rust-permission-state.md",
".changes/safe-file-path-serialize.md",
".changes/safe-path-buf-from-str.md",
".changes/serialize-array-buffer.md",
".changes/synchronize-config-and-xcode-project.md",
".changes/synchronize-pbxproj-export-options.md",
".changes/tauri-build.md",
".changes/tauri-driver-1.x.md",
".changes/tray-double-click.md",
".changes/universal-bin-build-fails.md",
".changes/update-android-plugin-template.md",
".changes/update-docs-icon-path.md",
".changes/update-pbxproj-codesign.md",
".changes/update-tao-wry.md",
".changes/update-wry.md",
".changes/utils-autogenerated-command-return-list.md",
".changes/utils-fix-plugin-reference.md",
".changes/v1-migrate-updater.md",
".changes/v1-migration-improvement.md"
]
}

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:bug
---
Change the Android Proguard rules to keep custom JSON deserializers.

View File

@@ -1,7 +0,0 @@
---
'tauri-cli': 'patch:feat'
'@tauri-apps/cli': 'patch:feat'
---
Allow Xcode to manage iOS code sign and provisioning profiles by default.
On CI, the `APPLE_API_KEY`, `APPLE_API_ISSUER` and `APPLE_API_KEY_PATH` environment variables must be provided for authentication.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:feat
"@tauri-apps/cli": patch:feat
---
Added migration from `2.0.0-beta` to `2.0.0-rc`.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Reintroduce the `targetSdk` value in the Android application template.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:changes
---
Change how IPC handles errors to simplify what's logged in the console.

View File

@@ -1,6 +0,0 @@
---
"tauri": patch:breaking
---
Added a dedicated type for IPC response body `InvokeResponseBody` for performance reasons.
This is only a breaking change if you are directly using types from `tauri::ipc`.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:enhance
"@tauri-apps/cli": patch:enhance
---
Remove the `.cargo/config` file creation that used to fix mobile build caches.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:changes
"@tauri-apps/cli": patch:changes
---
Removed the `[android|ios] open` command. It is recommended to use `[android|ios] dev --open` or `[android|ios] build --open` instead.

View File

@@ -1,8 +0,0 @@
---
"tauri-cli": patch:sec
"@tauri-apps/cli": patch:sec
"tauri": patch:sec
---
Re-enable TLS checks that were previously disabled to support an insecure HTTPS custom protocol on Android which is no longer used.

View File

@@ -1,8 +0,0 @@
---
"tauri-utils": patch:breaking
"@tauri-apps/cli": patch:breaking
"tauri-cli": patch:breaking
"tauri-bundler": patch:breaking
---
Removed the deprecated `webview_fixed_runtime_path` config option, use the `webview_install_mode` instead.

View File

@@ -1,5 +0,0 @@
---
"tauri-utils": patch:bug
---
Implemented `resource_dir` on Android, which returns a URI that needs to be resolved using [AssetManager::open](https://developer.android.com/reference/android/content/res/AssetManager#open(java.lang.String,%20int)). This will be handled by the file system plugin.

View File

@@ -1,5 +0,0 @@
---
"tauri-utils": patch:bug
---
Fix `resource_dir` on iOS.

Some files were not shown because too many files have changed in this diff Show More