Compare commits

...

231 Commits

Author SHA1 Message Date
github-actions[bot]
be12ad3a6f apply version updates (#6211)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-03-20 08:14:51 -03:00
Lucas Nogueira
bfd97a5802 Merge remote-tracking branch 'origin/dev' into next 2023-03-19 08:56:36 -03:00
Lucas Nogueira
31a205247a chore(examples): update tauri-plugin-log 2023-03-19 08:53:03 -03:00
Lucas Fernandes Nogueira
9c8276fe03 refactor(mobile): use shared .tauri folder to inject dependencies (#6495) 2023-03-19 08:51:01 -03:00
Lucas Nogueira
6669f1659a chore(cli): pin tauri-mobile to crates.io 0.2.5 2023-03-18 11:33:38 -03:00
Lucas Nogueira
02b8bfb989 chore(examples): update tauri-plugin-log 2023-03-18 11:32:26 -03:00
Lucas Fernandes Nogueira
56b528e481 refactor(build): change tauri-api dependency path to skip rebuilds (#6490)
* refactor(build): change tauri-api dependency path to skip rebuilds

The tauri-api Swift package cannot be injected inside the iOS plugin project because swift-rs reruns when the project folder changes. We will now inject the project in the parent folder instead.

* revert tauri-plugin-log [skip ci]
2023-03-18 11:31:11 -03:00
Lucas Nogueira
153b4627e5 chore(build): remove rerun-if-changed instruction for Swift package
Let's leave that to swift-rs
2023-03-18 10:59:38 -03:00
Lucas Fernandes Nogueira
6a8888dc85 refactor(ios): add macro to generate plugin glue fn, pass name parameter (#6489) 2023-03-18 10:57:05 -03:00
Lucas Nogueira
88838e2898 chore(deps): update swift-rs to 1.0.3, fixing iOS simulator support 2023-03-18 10:49:22 -03:00
Lucas Fernandes Nogueira
aefc5bcb08 chore(cli): remove unused dependencies (#6481) 2023-03-17 16:16:10 -03:00
Lucas Nogueira
5bc8322f7d chore(android): simplify PermissionState code 2023-03-17 15:25:22 -03:00
Lucas Nogueira
c88fdbca3a chore(android): remove deprecated AndroidManifest package id setter 2023-03-17 15:24:11 -03:00
Lucas Nogueira
a6fea4644e refactor(android): rename PluginMethod to Command 2023-03-17 15:20:39 -03:00
Lucas Fernandes Nogueira
22c09871c3 fix(ios): link clang_rt.ios to include isPlatformVersionAtLeast (#6476)
* fix(ios): link clang_rt.ios to include isPlatformVersionAtLeast

See https://github.com/alexcrichton/curl-rust/pull/283

* lint [skip ci]

* update swift-rs to 1.0.2
2023-03-17 13:07:39 -03:00
Lucas Nogueira
7765bbcba1 chore(ios): use semver on SwiftRs dependency instead of git revision 2023-03-17 10:56:45 -03:00
Lucas Fernandes Nogueira
ae296f3de1 refactor(tauri-runtime-wry): register runtime plugin after run() (#6478) 2023-03-17 10:28:28 -03:00
Lucas Fernandes Nogueira
30e94677b0 chore(deps): pin wry to 0.27 (#6477)
* chore(deps): pin wry to 0.27

* update index.js [skip ci]

* fmt
2023-03-17 09:23:11 -03:00
Lucas Fernandes Nogueira
dddaa943e7 refactor(core): remove attohttpc client, closes #6415 (#6468)
* refactor(core): remove attohttpc client, closes #6415

* lint [skip ci]
2023-03-17 09:09:13 -03:00
Amr Bashir
1798c5901d feat: use start detached for emulators (#6465) 2023-03-16 22:06:14 -03:00
amrbashir
2ec736721e chore: provide a helpful message when waiting for emulator 2023-03-16 15:00:28 +02:00
Lucas Nogueira
9c1029e11a chore(changes): remove changelog from 1.3 2023-03-16 09:56:46 -03:00
Lucas Nogueira
9639caf33f Merge remote-tracking branch 'origin/dev' into next 2023-03-16 09:51:07 -03:00
Lucas Nogueira
8241ef13e9 chore(examples): update tauri-plugin-log 2023-03-16 09:37:46 -03:00
Lucas Fernandes Nogueira
5d94eaa3bc feat(core): update swift-rs (#6355)
* feat(core): update swift-rs

* update tauri-plugin-log

* use env var for min iOS version

* test x86_64-apple-ios

* Revert "test x86_64-apple-ios"

This reverts commit 3ae6b79e5f.

* chore: swift min version 5.3 [skip ci]

* fix build [skip ci]

* fix cgrect usage

* test CI

* Revert "test CI"

This reverts commit 76ce0c5992.

* update swift-rs to 1.0.1

* lint

* lint [skip ci]
2023-03-16 09:34:41 -03:00
Bo
1b343bd116 fix(cli): use npm run tauri -- foo for correctly passing args to tauri (#6448)
* fix(cli): use `npm run tauri -- foo` for correctly pass args to tauri

* fix xcode-script current dir, GCC_PREPROCESSOR_DEFINITIONS optional

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-03-16 09:27:40 -03:00
Amr Bashir
4d09074454 feat(cli): add --force-ip-prompt (#6406)
* feat(cli): add `--force-ip-prompt`

* Restore tooling/cli/Cargo.lock

* Restore tooling/cli/Cargo.toml

* fix macos build
2023-03-16 09:04:09 -03:00
Amr Bashir
58d4709f7e fix: update nodejs detection in mobile commands (#6451)
* fix: update nodejs detection in mobile commands

* changefile
2023-03-16 07:53:12 -03:00
Lucas Nogueira
2b22f64972 fix(ios): correctly use lib-name field 2023-03-15 13:43:31 -03:00
Amr Bashir
d1752fb1f6 fix(cli): use correct lib name in xcode project (#6387) 2023-03-08 16:19:37 +01:00
Lucas Nogueira
8631eec038 chore(android): remove unused returnType field 2023-02-25 08:37:26 -03:00
Lucas Fernandes Nogueira
971ad7ae06 fix(cli): fix template and Xcode script to work when running with Xcode (#6350) 2023-02-24 10:22:59 -03:00
Lucas Nogueira
4eae21ffeb chore(examples): ignore changes on tauri-plugin-sample on dev watcher 2023-02-24 10:22:43 -03:00
Lucas Fernandes Nogueira
d11af5be8d fix(cli): adjust iOS project to work on simulator again (#6349) 2023-02-23 18:01:17 -03:00
Lucas Nogueira
c4cb609bcd chore(cli): update iOS template comments 2023-02-23 14:37:01 -03:00
Lucas Fernandes Nogueira
105fe3fa24 refactor(build): fill settings.gradle and build.gradle.kts on app build (#6342) 2023-02-22 13:57:19 -03:00
Lucas Fernandes Nogueira
1035a83187 feat(core): use camel case on mobile command name (#6340) 2023-02-22 13:55:04 -03:00
Lucas Fernandes Nogueira
9cd8735574 fix(core): properly handle command not found error (#6341) 2023-02-22 13:54:52 -03:00
Lucas Nogueira
ed879513d3 feat(templates): fill AndroidManifest.xml manifest.package field 2023-02-20 17:21:38 -03:00
Lucas Nogueira
12c947632d feat(plugin): add app getter on PluginHandle 2023-02-20 15:55:25 -03:00
Lucas Fernandes Nogueira
037d488dee feat(mobile): add command member to Invoke class (#6323) 2023-02-20 13:09:30 -03:00
Lucas Nogueira
6fca895695 fix(cli): create WRY_ANDROID_KOTLIN_FILES_OUT_DIR folder 2023-02-20 13:08:55 -03:00
Lucas Nogueira
3a8488ddb5 chore(cli): update tauri-mobile to 0.2.3 2023-02-19 19:21:53 -03:00
Lucas Nogueira
dc26cc839a feat(cli): update tauri-mobile to 0.2.2 2023-02-19 11:38:09 -03:00
Lucas Nogueira
1fd329935e Merge branch 'dev' into next 2023-02-19 11:34:02 -03:00
Lucas Fernandes Nogueira
60a8b07dc7 fix: handle single word bundle identifier when resolving Android domain (#6313) 2023-02-19 11:12:04 -03:00
Lucas Fernandes Nogueira
79eb054292 feat(cli): handle Android package identifier change (#6314) 2023-02-19 11:08:55 -03:00
Lucas Fernandes Nogueira
dffd8eb5a8 feat(android): add Plugin assetUrl function (#6299) 2023-02-17 12:44:28 -03:00
Lucas Fernandes Nogueira
897a1547a1 feat(cli): update plugin template including trait to access mobile APIs (#6293) 2023-02-17 12:12:05 -03:00
Lucas Nogueira
2b55f47c2c fix(cli): force Cargo build logs to show on ios build 2023-02-17 10:51:03 -03:00
Lucas Fernandes Nogueira
df5766ec2f refactor(plugin): simplify run_mobile_plugin return types (#6298) 2023-02-17 10:15:57 -03:00
Amr Bashir
4a82da2919 fix(cli): use local ip address for reload (#6285)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-02-16 14:59:56 -03:00
Lucas Nogueira
2dc71a4793 chore(android): remove unnecessary not-null assertion operator 2023-02-16 14:54:35 -03:00
Lucas Fernandes Nogueira
6aaba83476 refactor(plugin): add PluginApi and PluginHandle, expose on setup hook (#6291) 2023-02-16 13:33:50 -03:00
Amr Bashir
ec007ef0d0 feat: use local_ip() and fallback to prompt (#6290) 2023-02-16 13:00:49 -03:00
Lucas Fernandes Nogueira
14d03d426e refactor(cli): enhance plugin commands for mobile (#6289) 2023-02-16 12:24:49 -03:00
Lucas Nogueira
f5e272b0ef chore(android): remove unused code 2023-02-15 19:01:54 -03:00
Lucas Fernandes Nogueira
ea7fd016ca feat(ios): add Logger class (#6284) 2023-02-15 18:00:18 -03:00
Lucas Fernandes Nogueira
d42fd0710c feat(ios): expose UIViewController (#6281) 2023-02-15 11:42:47 -03:00
Lucas Fernandes Nogueira
1b75839701 fix(ios): properly access IPC data (#6280) 2023-02-15 10:56:04 -03:00
Lucas Fernandes Nogueira
bce87c1a67 feat(android): implement plugin permissions and startActivityForResult (#6272) 2023-02-14 21:36:44 -03:00
Lucas Fernandes Nogueira
b9c303a0dc fix(tauri-runtime-wry): tray event listener not registered (#6270) 2023-02-14 14:57:00 -03:00
Lucas Nogueira
5ab78fcafa feat(tauri-build): enhance mobile build script 2023-02-14 14:38:01 -03:00
Lucas Nogueira
aeade94d5e fix(tauri-runtime-wry): re-export wry
Regression from the latest merge from dev
2023-02-14 14:37:50 -03:00
Lucas Nogueira
3d5cc7ab86 Merge remote-tracking branch 'origin/dev' into next 2023-02-14 10:58:46 -03:00
Lucas Fernandes Nogueira
947eb391ca fix(android): crash on orientation change due to activity recreation (#6261) 2023-02-13 20:20:52 -03:00
Lucas Fernandes Nogueira
65e487f344 fix(cli): adjust plugin template to use correct package name (#6258) 2023-02-13 10:54:48 -03:00
Lucas Fernandes Nogueira
bef4ef51bc feat(android): enable minify on release, add proguard rules (#6257) 2023-02-13 10:22:03 -03:00
Lucas Fernandes Nogueira
7258a64730 fix(android): force build script to rerun project injection on dir clear (#6249) 2023-02-13 09:50:29 -03:00
Lucas Fernandes Nogueira
677554257e feat(cli): add --ios-color option to set iOS icon background color (#6247) 2023-02-12 15:29:43 -03:00
Lucas Fernandes Nogueira
96b5e92169 refactor(core): inject API project on plugin's Android and iOS projects (#6246) 2023-02-12 15:29:34 -03:00
Lucas Nogueira
0b51e2f657 chore(ci): rename test-mobile workflow to test-android, fix paths 2023-02-12 14:11:59 -03:00
Lucas Fernandes Nogueira
98867a9680 feat(build): use swift workspace to resolve tauri dep path (#6243) 2023-02-12 10:04:14 -03:00
Lucas Fernandes Nogueira
bfb2ab24e0 feat: add API to call iOS plugin (#6242) 2023-02-11 19:45:51 -03:00
Lucas Fernandes Nogueira
05dad08768 feat: initial work for iOS plugins (#6205) 2023-02-11 10:30:44 -03:00
Lucas Nogueira
f379e2f3da chore: remove unused code 2023-02-10 17:46:53 -03:00
Lucas Fernandes Nogueira
f28a181039 refactor: move Android project to the tauri crate (#6241) 2023-02-10 17:43:50 -03:00
Lucas Fernandes Nogueira
9feab904bf feat(core): add API to call Android plugin (#6239) 2023-02-10 16:32:01 -03:00
Lucas Fernandes Nogueira
62f1526592 fix(cli): generate build script using NPM runner if it was used (#6233) 2023-02-10 08:31:13 -03:00
Lucas Fernandes Nogueira
6f8ba2850e feat(ci): improve test-mobile.yml run conditions (#6231) 2023-02-10 08:16:21 -03:00
Lucas Fernandes Nogueira
cab4ff95b9 fix(cli): ignore the gen folder on the dev watcher (#6232) 2023-02-09 14:50:33 -03:00
Lucas Fernandes Nogueira
da57e7c087 fix(cli): use Target::build to run initial Android build (#6220) 2023-02-09 14:50:23 -03:00
Lucas Fernandes Nogueira
78176edf4a fix: keep build artifacts on Android lib and plugins (#6229) 2023-02-09 13:11:31 -03:00
Lucas Fernandes Nogueira
f2da21c7b4 refactor(cli): use environment variables instead of .config/cargo (#6230) 2023-02-09 13:11:02 -03:00
Lucas Fernandes Nogueira
894a8d060c refactor(cli): use temp file to communicate IPC websocket address (#6219) 2023-02-08 23:19:34 -03:00
Lucas Fernandes Nogueira
481d9de739 refactor(android): use tauri.settings.gradle and tauri.build.gradle.kts to define tauri plugins (#6217) 2023-02-08 12:52:53 -03:00
Amr Bashir
a81750d779 feat(core): add shadow APIs (#6206)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-02-07 19:38:10 -03:00
Lucas Fernandes Nogueira
17f26764c8 feat: initial work for Android plugins (#6167) 2023-02-06 08:56:00 -03:00
Lucas Fernandes Nogueira
84998532d6 fix(ci): use vendored openSSL on the CLI (#6191) 2023-02-03 13:19:49 -03:00
Lucas Nogueira
7500a0e23a chore(ci): use jbolda/covector again
The patches we needed have been released!
2023-02-02 18:22:34 -03:00
github-actions[bot]
0111b88d75 (NEXT) Apply Version Updates From Current Changes (#5924)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-02-02 17:55:23 -03:00
Ngo Iok Ui (Wu Yu Wei)
f0a1d9cdbc chore: update rfd and wry versions (#6174)
Co-authored-by: Wu Yu Wei <wusyong9104@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-02-02 16:44:57 -03:00
Lucas Nogueira
553a81f48c feat(examples): add tauri-plugin-log to API example 2023-01-30 12:04:42 -03:00
Ngo Iok Ui (Wu Yu Wei)
7eb9aa75cf Update gtk to 0.16 (#6155)
Co-authored-by: Wu Yu Wei <wusyong9104@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-29 15:08:27 -03:00
Lucas Nogueira
8835633955 fix(cli): do not prompt for device when --open is provided 2023-01-26 12:33:52 -03:00
Lucas Fernandes Nogueira
1af9be904a feat(cli): properly fill target for TAURI_ env vars on mobile (#6116) 2023-01-23 18:26:13 -03:00
Lucas Fernandes Nogueira
78eaadae2e refactor(core): only proxy on mobile (#6126)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-01-23 18:25:25 -03:00
Lucas Nogueira
8cc111494d fix(cli): print Android logs for all tags 2023-01-17 19:27:23 -03:00
Lucas Fernandes Nogueira
630a7f4b18 refactor: remove mobile log initialization, ref #6049 (#6081) 2023-01-17 13:13:53 -03:00
Lucas Nogueira
276a0362de chore(deps): update wry 2023-01-17 12:42:27 -03:00
Simon Hyll
c36d451bcd fix: removed greet from template (#6066)
* fix: removed greet from template

* fix: removed the entire line instead as per request
2023-01-16 17:35:23 +02:00
Amr Bashir
50f6dd87b1 feat: improvements to support hyphens in crate name (#5989)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-06 14:31:48 -03:00
Lucas Fernandes Nogueira
2c4a0bbd1f feat(cli): force colored logs on mobile commands (#5934) 2022-12-28 17:58:14 -03:00
Lucas Fernandes Nogueira
17d80ab236 feat(cli): improve error message when lib is not found, closes #5867 (#5933) 2022-12-28 15:02:07 -03:00
Lucas Fernandes Nogueira
e873bae09f fix(cli): Cargo target dir detection on Android, closes #5865 (#5932) 2022-12-28 14:46:58 -03:00
Lucas Fernandes Nogueira
dee9460f9c feat: keep CLI alive when iOS app exits, show logs, closes #5855 (#5902) 2022-12-27 18:12:01 -03:00
Jonas Kruckenberg
ced8e9a7be docs: iOS config is under the bundlekey (#5856) 2022-12-27 10:41:23 -03:00
github-actions[bot]
7945e549b7 (NEXT) Apply Version Updates From Current Changes (#5892)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-12-22 11:42:10 -03:00
Lucas Nogueira
6999cdf99e chore(ci): update covector 2022-12-22 11:38:44 -03:00
Amr Bashir
9ad0a9a0aa Merge pull request from GHSA-6mv3-wm7j-h4w5
* fix(core): use `require_literal_separator` when matching paths

* document the need for `require_literal_separator`

* use `require_literal_leading_dot`
2022-12-22 11:37:58 -03:00
Lucas Nogueira
0189c1dbef chore: remove println statement 2022-12-19 11:13:30 -03:00
github-actions[bot]
61af5ce1ed (NEXT) Apply Version Updates From Current Changes (#5814)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-12-15 18:32:12 -03:00
Lucas Nogueira
d21c4a0a89 chore: fix clippy warnings 2022-12-15 17:56:23 -03:00
Lucas Nogueira
d600405a10 chore(deps): bump wry to 0.23.4 2022-12-15 17:21:27 -03:00
Lucas Nogueira
8301d17ab8 chore: use covector branch that sets the target_commitish release field 2022-12-15 17:14:17 -03:00
Lucas Nogueira
fc33c4218c fix(ci): use client-payload input to trigger cli.js publish workflow 2022-12-14 12:18:20 -03:00
Lucas Fernandes Nogueira
3ad5e72ff1 feat(core): cache dev server proxy responses for 304 status code (#5818) 2022-12-12 23:00:03 -03:00
Lucas Fernandes Nogueira
76204b8938 feat(cli): improve local IP detection (#5817) 2022-12-12 22:59:51 -03:00
Lucas Fernandes Nogueira
a9b4cf20a3 fix(core): use entire request URL on dev server proxy (#5819) 2022-12-12 22:59:39 -03:00
Lucas Nogueira
8f47825aac chore: remove unused imports on mobile builds 2022-12-12 15:14:04 -03:00
Lucas Fernandes Nogueira
1e4a675843 fix(cli): run on iOS device on Xcode 14 (#5807) 2022-12-12 10:36:47 -03:00
三咲智子 Kevin Deng
2620ab294d fix(cli): ios build description (#5809) 2022-12-12 09:41:26 -03:00
Lucas Fernandes Nogueira
be446a8665 fix(cli): use vendored openSSL (#5805) 2022-12-10 11:37:16 -03:00
Lucas Nogueira
dd65bc99b2 chore(ci): remove integration tests 2022-12-09 15:17:14 -03:00
Lucas Nogueira
1d20db7410 chore: update bundle.global.js 2022-12-09 15:11:15 -03:00
github-actions[bot]
25416a64ba (NEXT) Apply Version Updates From Current Changes (#5787)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-09 14:27:41 -03:00
Lucas Nogueira
35040076ea feat(ci): publish cli.js with --tag next 2022-12-09 10:11:41 -03:00
Lucas Fernandes Nogueira
fa3a10988a feat(ci): prepare 2.0.0-alpha.0 (#5786) 2022-12-08 16:28:12 -03:00
Lucas Nogueira
1092865e67 Merge branch 'dev' into next 2022-12-08 14:19:44 -03:00
Lucas Nogueira
aa18c7d671 chore(cli): pin tauri-mobile to v0.1.0 2022-12-07 15:53:41 -03:00
Lucas Nogueira
02706c92f6 chore(cli): force iOS cargo build stdout 2022-12-06 14:04:30 -03:00
Lucas Nogueira
1172783506 fix(cli): update cargo-mobile fixing adb pidof check 2022-12-06 09:58:59 -03:00
Lucas Nogueira
b874d139f9 fix(cli): emulator.start called twice 2022-12-06 09:50:37 -03:00
Lucas Nogueira
c1cd0f5253 chore(deps): rename cargo-mobile to tauri-mobile 2022-12-06 09:19:04 -03:00
Lucas Nogueira
626faf9ec1 chore(examples): move API dev server config from CLI to vite.config.js 2022-12-03 10:20:04 -03:00
Lucas Nogueira
5024f7905c chore(cli): update cargo-mobile including logcat improvement 2022-11-30 12:48:24 -03:00
Lucas Nogueira
ad65b95070 refactor(core): move local ip address resolve to CLI 2022-11-30 11:53:17 -03:00
Lucas Nogueira
debe73ab0e fix(core): remove window setters command handlers on mobile 2022-11-30 11:45:22 -03:00
Lucas Fernandes Nogueira
fa6d10e39c refactor(core): remove window APIs on mobile (#5713) 2022-11-30 10:30:25 -03:00
Lucas Nogueira
e938c3dff5 feat(core): map 304 status code to 200 on dev proxy
Fixes an Android issue when reloading Vite pages
2022-11-30 10:00:44 -03:00
Lucas Nogueira
eca131dfbb feat(cli): show all Android error logs 2022-11-30 09:59:52 -03:00
Lucas Fernandes Nogueira
4a72d5e0ca feat(cli): replace $HOST variable on beforeDevCommand - public IP usage (#5709) 2022-11-28 08:53:26 -03:00
Lucas Fernandes Nogueira
d38204907e feat(cli): run local dev server on public IP on mobile development (#5705) 2022-11-28 08:30:48 -03:00
Lucas Fernandes Nogueira
87e47ce1dc feat(core): proxy request headers, simplify response headers (#5704) 2022-11-28 08:27:02 -03:00
Lucas Fernandes Nogueira
d33fcbc81c feat(cli): generate icons for iOS (#5667) 2022-11-22 11:18:56 -03:00
Lucas Fernandes Nogueira
c1f31ebe5e feat(cli): generate icons for Android (#5665) 2022-11-21 17:56:22 -03:00
Lucas Fernandes Nogueira
8baf20dd34 feat(cli): update Android project dependencies (#5663) 2022-11-21 12:50:41 -03:00
Lucas Fernandes Nogueira
be808a9f5c feat(ci): add Android test workflow (#5661) 2022-11-21 11:47:12 -03:00
Lucas Fernandes Nogueira
6dcb7fbb81 fix(core): manage mobile logs, fix Android logcat filtering (#5659) 2022-11-20 10:55:38 -03:00
Lucas Fernandes Nogueira
f6f9192aa5 fix(core): Android compilation on Windows (#5658) 2022-11-20 09:49:23 -03:00
Lucas Fernandes Nogueira
03d6c6a68f refactor(cli): use jsonrpsee for mobile CLI options communication (#5657) 2022-11-20 09:48:02 -03:00
Lucas Nogueira
538e21e2e7 fix(cli): iOS development team is required on init 2022-11-19 14:25:23 -03:00
Lucas Fernandes Nogueira
658bb1165e feat(cli): automatically enable native-tls-vendored feature on mobile (#5651) 2022-11-18 13:10:20 -03:00
Lucas Nogueira
634c6b832c feat(cli): update cargo-mobile including Android env var cleanup 2022-11-14 19:59:46 -03:00
Lucas Fernandes Nogueira
8c576222ba feat(cli): find development teams for iOS development (#5627) 2022-11-14 18:31:51 -03:00
Lucas Nogueira
169d2434ff Merge remote-tracking branch 'origin/dev' into next 2022-11-11 11:46:15 -03:00
Lucas Nogueira
f9b529a96e feat(cli): update project.yml syntax 2022-11-11 11:43:25 -03:00
Lucas Nogueira
7c26514340 fix(cli): kill beforeDevCommand process when mobile fails to compile 2022-11-11 11:41:20 -03:00
Lucas Nogueira
69414a487f chore(cli): lint 2022-11-09 11:50:41 -03:00
Lucas Nogueira
602d3ed3f6 Merge branch 'dev' into next 2022-11-09 11:04:54 -03:00
Lucas Nogueira
348b26ffed fix(ci): minimum rustc is now 1.59 2022-10-31 13:27:22 -03:00
Lucas Nogueira
d0ad0d2f48 Merge remote-tracking branch 'origin/dev' into next 2022-10-31 10:13:57 -03:00
Amr Bashir
10ab3e2f5e feat(cli/mobile): allow checking gen folder into source control (#5146)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-12 16:46:09 -03:00
Jeffrey Hutchins
8ea87e9c9c feat(android): with_webview access for jni execution (#5148) 2022-09-08 10:57:10 -03:00
Amr Bashir
c9ad2a73af fix(cli/mobile): use one write_all call (#5155)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-07 12:05:11 -03:00
Lucas Fernandes Nogueira
bc1622c5ab feat(core): use native window dialogs on Android (#5137) 2022-09-05 16:16:59 -03:00
Lucas Nogueira
e1b8ee2b7a refactor(cli): move generated Kotlin files to the generated folder 2022-09-04 22:06:56 -03:00
Lucas Nogueira
f333656876 fix(core): set response mimetype on dev 2022-09-04 14:16:52 -03:00
Lucas Nogueira
4c1c78ebf0 chore(cli): update lockfile 2022-09-04 13:49:49 -03:00
Lucas Nogueira
610aab7045 Merge branch 'dev' into next 2022-09-04 13:45:59 -03:00
Amr Bashir
30d0e190bb fix(cli/templates): fix desktop entrypoint template (#5127) 2022-09-02 12:21:15 -03:00
Amr Bashir
5643ece77c fix(cli/mobile): strip \n before parsing json (#5126) 2022-09-02 10:30:42 -03:00
Lucas Nogueira
aae91a9b53 refactor(tauri-codegen): panic if local IP address cannot be resolved 2022-09-01 16:58:41 -03:00
Lucas Nogueira
349895b296 refactor(cli): remove mobile assets folder symlink 2022-09-01 12:25:08 -03:00
Lucas Nogueira
5d82357166 feat(cli): add --reinstall-deps option to ios init 2022-09-01 12:07:06 -03:00
Lucas Fernandes Nogueira
8f3a9c5cf6 feat(cli): improve device/simulator prompt logic (#5114) 2022-09-01 12:00:17 -03:00
Lucas Fernandes Nogueira
6593f267b3 feat(cli): iOS simulator support on Intel based devices (#5112) 2022-08-31 21:40:51 -03:00
Lucas Nogueira
5d3242c496 fix(examples): keep the target fallback 2022-08-31 20:53:21 -03:00
Lucas Fernandes Nogueira
68e80ffaa9 feat(cli): add option to run on specific iOS simulator/device (#5098) 2022-08-30 16:09:06 -03:00
Lucas Nogueira
9f9e3ae54d fix: improve target check on context codegen 2022-08-30 13:22:26 -03:00
Lucas Fernandes Nogueira
82e8751ae8 feat(cli): add option to run on specific Android emulator/device (#5093) 2022-08-30 10:27:53 -03:00
Lucas Fernandes Nogueira
e22d21beaf fix(cli): add timeout on interprocess communication (#5090) 2022-08-29 14:46:37 -03:00
Lucas Fernandes Nogueira
b36ccb7e99 feat(ci): test mobile targets (#5078) 2022-08-28 23:02:32 -03:00
Lucas Nogueira
65e7085d2f fix(ci): checkout repo in udeps.yml 2022-08-28 17:57:36 -03:00
Lucas Nogueira
c4d323b70f fix(ci): set target on test-core.yml 2022-08-28 17:57:31 -03:00
Lucas Nogueira
914c5f299f Merge remote-tracking branch 'origin/dev' into next 2022-08-28 16:27:01 -03:00
Lucas Fernandes Nogueira
1d9226b28c refactor:move iOS configuration to the bundle object (#5072) 2022-08-28 15:34:41 -03:00
Lucas Fernandes Nogueira
8cf9af93eb refactor(cli): remove mobile Error enum, use anyhow instead (#5076) 2022-08-28 15:32:50 -03:00
Jeffrey Hutchins
0a203a13ae fix(cli): config issues on macos (#5075)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-08-28 14:48:15 -03:00
Lucas Fernandes Nogueira
dee19784f9 fix(cli): only require development team when running iOS commands (#5071) 2022-08-27 16:35:57 -03:00
Lucas Fernandes Nogueira
53a3398beb feat(cli): improve DX on android dev and ios dev commands (#5059) 2022-08-26 16:08:44 -03:00
Lucas Fernandes Nogueira
69aaff5507 feat(cli): persist verbosity for the IDE scripts (#5047) 2022-08-26 09:24:23 -03:00
Lucas Fernandes Nogueira
80a301ea63 feat(cli): add mobile support to the app template (#5046) 2022-08-25 16:43:29 -03:00
Lucas Fernandes Nogueira
badad2b9a1 feat(cli): implement verbosity on mobile commands (#5044) 2022-08-25 16:06:00 -03:00
Lucas Fernandes Nogueira
927ccc465d refactor(cli): improve security of android dev/build (#5043) 2022-08-25 15:30:05 -03:00
Lucas Fernandes Nogueira
4a5f2ec1ae feat(android): enable dev HMR in both HTTP and HTTPS dev servers (#5033) 2022-08-25 00:19:47 -03:00
Lucas Fernandes Nogueira
752ad3b203 feat(cli): use templates from wry (#5030) 2022-08-24 16:06:14 -03:00
Lucas Fernandes Nogueira
ff4cb56b2e fix(tauri-macros): escape _ in mobile entry point's app name (#5029) 2022-08-24 14:02:08 -03:00
Lucas Fernandes Nogueira
641d56dcb3 feat(android): improve initialization scripts (#5028) 2022-08-24 13:06:45 -03:00
Lucas Fernandes Nogueira
0500d3b4b1 fix(core): mobile app name must match the crate name (#5027) 2022-08-24 12:41:57 -03:00
Amr Bashir
1f84385e8a chore: update cargo-mobile to latest (#5025)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-08-24 10:01:32 -03:00
Lucas Fernandes Nogueira
3668a1fdc8 fix(cli): resolve absolute tauri binary path for the android template (#5015) 2022-08-23 13:54:41 -03:00
Amr Bashir
2b846f413c feat(examples/api): use strict port (#5013) 2022-08-23 12:40:02 -03:00
Amr Bashir
4e26b05d20 fix(cli/template/android): use raw string for executable (#5012) 2022-08-23 12:39:26 -03:00
Lucas Nogueira
a70f7b26bc feat(cli): improve error messages in mobile commands 2022-08-23 11:34:16 -03:00
Lucas Fernandes Nogueira
e56a9dd729 refactor(cli): move mobile commands to their own module (#5005) 2022-08-22 21:59:17 -03:00
Lucas Fernandes Nogueira
403859d47e feat(cli): add ios build command (#5002) 2022-08-22 17:47:52 -03:00
Lucas Fernandes Nogueira
4c9ea450c3 feat(cli): add android build command (#4999) 2022-08-22 12:49:58 -03:00
Lucas Fernandes Nogueira
b3a3afc7de feat(core): detect android and ios platform configuration files (#4997) 2022-08-22 10:48:06 -03:00
Lucas Nogueira
3d992a8899 Merge branch 'dev' into next 2022-08-21 17:48:56 -03:00
Lucas Fernandes Nogueira
9bb81bc328 refactor(android): rename BuildTask.kt command to android-studio-script (#4991) 2022-08-21 17:48:38 -03:00
Lucas Fernandes Nogueira
9890486321 feat(core): add mobile_entry_point macro (#4983) 2022-08-21 10:35:34 -03:00
Lucas Nogueira
16360aed33 chore(cli): update cargo-mobile to fix cli.js mobile script running 2022-08-21 10:35:11 -03:00
Lucas Fernandes Nogueira
e55d96acc1 feat(cli): enhance iOS build task arguments (#4987) 2022-08-21 10:34:38 -03:00
Lucas Fernandes Nogueira
8aad710064 feat(cli): enhance android build task arguments (#4986) 2022-08-21 09:58:27 -03:00
Lucas Fernandes Nogueira
6f0615044d feat(cli): add android dev and ios dev commands (#4982) 2022-08-20 16:53:07 -03:00
Lucas Nogueira
f445f374a3 feat(android): update project dependencies 2022-08-18 11:31:07 -03:00
Lucas Nogueira
a3680ef2bc feat(cli): skip dev tools installation on mobile init 2022-08-17 16:40:04 -03:00
Lucas Nogueira
e20145cccc fix(examples): change API example domain, export mobile mod 2022-08-16 11:48:01 -03:00
Lucas Nogueira
c2b120be51 Merge branch 'dev' into next 2022-08-16 10:13:55 -03:00
Lucas Fernandes Nogueira
3f655d6280 refactor: pull mobile config from tauri config instead of mobile.toml (#4948) 2022-08-16 09:44:55 -03:00
Lucas Fernandes Nogueira
a9c8e565c6 feat: add android open and ios open commands (#4946) 2022-08-15 13:38:17 -03:00
Lucas Nogueira
a9f8ac7f96 fix(examples): set API lib crate-type 2022-08-15 13:24:26 -03:00
Lucas Fernandes Nogueira
d44f67f7af feat: add android init and ios init commands (#4942) 2022-08-15 12:43:50 -03:00
Lucas Nogueira
d3179b84b5 chore(examples): readd gitignore rules for mobile api example 2022-08-14 20:54:14 -03:00
Lucas Nogueira
4c9c64c429 Merge branch 'dev' into next 2022-08-14 18:40:06 -03:00
Lucas Nogueira
d14322de68 chore(deps): update to wry 0.20.2 refactor 2022-08-14 17:52:20 -03:00
Lucas Nogueira
899f9b917a Merge remote-tracking branch 'origin/dev' into next 2022-08-12 20:34:51 -03:00
Lucas Nogueira
11d50e8474 Merge remote-tracking branch 'origin/dev' into next 2022-08-12 20:09:23 -03:00
Lucas Nogueira
6aee91a181 feat(core): prepare for Android 2022-08-12 14:11:14 -03:00
Lucas Fernandes Nogueira
b4622ea4d3 refactor(app): run setup and window creation when event loop is ready (#4914) 2022-08-11 10:30:55 -03:00
495 changed files with 18010 additions and 3414 deletions

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
Add dylib support to `tauri.bundle.macOS.frameworks`.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": minor
"cli.js": minor
---
Added `plugin android add` and `plugin ios add` commands to add mobile plugin functionality to existing projects.

View File

@@ -1,5 +0,0 @@
---
"api": minor
---
Added the `additionalBrowserArgs` option when creating a window.

View File

@@ -1,5 +0,0 @@
---
"tauri-utils": minor
---
Added the `additional_browser_args` option to the window configuration.

View File

@@ -1,7 +0,0 @@
---
"tauri": minor
"tauri-runtime-wry": minor
"tauri-runtime": minor
---
Added the `additional_browser_args` option when creating a window.

View File

@@ -0,0 +1,6 @@
---
"tauri-runtime": minor
"tauri-runtime-wry": minor
---
Add `find_class`, `run_on_android_context` on `RuntimeHandle`.

View File

@@ -0,0 +1,5 @@
---
"tauri-build": patch
---
Set environment variables used by `tauri::mobile_entry_point`.

View File

@@ -1,5 +0,0 @@
---
'tauri-bundler': 'minor'
---
Added support for pre-release identifiers and build numbers for the `.msi` bundle target. Only one of each can be used and it must be numeric only. The version must still be semver compatible according to https://semver.org/.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": minor
"cli.js": minor
---
Added `android build` command.

View File

@@ -1,5 +0,0 @@
---
'tauri': 'patch'
---
Fix passing `--profile` to cargo in `tauri build` causing conflict with `--release` passed by the CLI.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": "patch"
---
Fix `tauri info` panicking when parsing crates version on a newly created project without a `Cargo.lock` file.

View File

@@ -3,4 +3,4 @@
"cli.js": patch
---
Do not crash on Cargo.toml watcher.
Added `ios build` command.

View File

@@ -0,0 +1,5 @@
---
'cli.rs': 'patch'
---
Auto select an external IP for mobile development and fallback to prompting the user. Use `--force-ip-prompt` to force prompting.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": minor
"cli.js": minor
---
Added `android dev` and `ios dev` commands.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": minor
"cli.js": minor
---
Add commands to add native Android and iOS functionality to plugins.

View File

@@ -0,0 +1,5 @@
---
'cli.rs': 'patch'
---
In mobile commands, correctly detect when nodejs binary has the version in its name, for example `node-18`

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Use temp file instead of environment variable to pass CLI IPC websocket address to the IDE.

View File

@@ -1,5 +0,0 @@
---
"cli.rs": "patch"
---
Improve the error message when `rustc` couldn't be found.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Add `--ci` flag and respect the `CI` environment variable on the `signer generate` command. In this case the default password will be an empty string and the CLI will not prompt for a value.

View File

@@ -1,7 +0,0 @@
---
"cli.rs": "patch"
"tauri-bundler": "patch"
---
On Windows, printing consistent paths on Windows with backslashs only.

View File

@@ -1,5 +0,0 @@
---
'cli.js': patch
---
Fix crash when nodejs binary has the version in its name, for example `node-18`

View File

@@ -0,0 +1,5 @@
---
"tauri-codegen": patch
---
Change `devPath` URL to use the local IP address on iOS and Android.

View File

@@ -3,12 +3,11 @@
"timeout": 3600000,
"pkgManagers": {
"rust": {
"errorOnVersionRange": "^2.0.0-0",
"version": true,
"getPublishedVersion": "node ../../.scripts/covector/package-latest-version.js cargo ${ pkgFile.pkg.package.name } ${ pkgFile.pkg.package.version }",
"prepublish": [
"sudo apt-get update",
"sudo apt-get install -y webkit2gtk-4.0 libayatana-appindicator3-dev",
"sudo apt-get install -y webkit2gtk-4.1 libayatana-appindicator3-dev",
"cargo install cargo-audit --features=fix",
{
"command": "cargo generate-lockfile",
@@ -68,7 +67,6 @@
]
},
"javascript": {
"errorOnVersionRange": "^2.0.0-0",
"version": true,
"getPublishedVersion": "node ../../.scripts/covector/package-latest-version.js npm ${ pkgFile.pkg.name } ${ pkgFile.pkg.version }",
"prepublish": [
@@ -105,7 +103,7 @@
"pipe": true
},
{
"command": "yarn publish --access public --loglevel silly",
"command": "yarn publish --access public --loglevel silly --tag next",
"dryRunCommand": "npm publish --dry-run --access public",
"pipe": true
},

View File

@@ -1,5 +0,0 @@
---
"api": "minor"
---
Added the `WindowOptions::contentProtected` option and `WebviewWindow#setContentProtected` to change it at runtime.

View File

@@ -1,5 +0,0 @@
---
"tauri-utils": "patch"
---
Added the `content_protected` option to the window configuration.

View File

@@ -1,7 +0,0 @@
---
"tauri": "minor"
"tauri-runtime": "minor"
"tauri-runtime-wry": "minor"
---
Added the `content_protected` option when creating a window and `Window::set_content_protected` to change it at runtime.

View File

@@ -1,5 +0,0 @@
---
"tauri": "patch"
---
Fix serialization of js `Map` when used in `invoke`.

View File

@@ -1,5 +0,0 @@
---
"tauri": minor
---
Added `Window::on_navigation`.

View File

@@ -1,5 +0,0 @@
---
"tauri": "patch"
---
Sync `__TAURI_METADATA__.__windows` across all windows.

View File

@@ -1,5 +0,0 @@
---
"tauri-utils": patch
---
Correctly determine mime type of `.less`, `.sass` and `.styl` files.

View File

@@ -1,5 +0,0 @@
---
"api": minor
---
Allow setting the text of the dialog buttons.

View File

@@ -1,5 +0,0 @@
---
"tauri": minor
---
Added `OkWithLabel` and `OkCancelWithLabels` variants to the `api::dialog::MessageDialogButtons` enum to set the text of the dialog buttons.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": minor
"cli.js": minor
---
Add `--png` option for the `icon` command to generate custom icon sizes.

View File

@@ -0,0 +1,5 @@
---
"tauri": major
---
Added the `default-tls` and `reqwest-default-tls` Cargo features for enabling TLS suppport to connect over HTTPS.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Implement response cache on the dev server proxy, used when the server responds with status 304.

5
.changes/dev-proxy.md Normal file
View File

@@ -0,0 +1,5 @@
---
"tauri": major
---
**Breaking change:** Use the custom protocol as a proxy to the development server on all platforms except Linux.

View File

@@ -3,4 +3,4 @@
"tauri": patch
---
Fixes tray events not being delivered.
Allow a wry plugin to be registered at runtime.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Skip the password prompt on the build command when `TAURI_KEY_PASSWORD` environment variable is empty and the `--ci` argument is provided or the `CI` environment variable is set.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Change the Android template to enable minification on release and pull ProGuard rules from proguard-tauri.pro.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Print an error if the Android project was generated with an older bundle identifier or package name.

View File

@@ -1,7 +0,0 @@
---
"tauri-runtime-wry": minor
"tauri-runtime": minor
"tauri": minor
---
Added `Builder::device_event_filter` and `App::set_device_event_filter` methods.

View File

@@ -1,5 +0,0 @@
---
"tauri": "patch"
---
Fix resize glitch when double clicking a custom titlebar in the top resize area.

View File

@@ -1,5 +0,0 @@
---
'tauri-bundler': 'patch'
---
Fixed error during bundling process for the appimage target on subsequent bundling attempts.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Fixes the generated mobile build script when using an NPM runner.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Fixes HTML serialization removing template tags on the dev server.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Properly proxy dev server requests with query strings and fragments.

View File

@@ -0,0 +1,7 @@
---
"cli.rs": patch
"cli.js": patch
"tauri-macros": patch
---
Resolve Android package name from single word bundle identifiers.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Fixes running on device using Xcode 14.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Fixes `TAURI_*` environment variables for hook scripts on mobile commands.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Update Android project template with fix to crash on orientation change.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Force colored logs on mobile commands.

View File

@@ -1,5 +0,0 @@
---
"tauri": "patch"
---
Fix the filesystem scope allowing sub-directories of the directory picked by the dialog when `recursive` option was `false`.

View File

@@ -4,4 +4,5 @@
"tauri": minor
---
Added window's `url()` getter.
Update gtk to 0.16.

View File

@@ -1,5 +0,0 @@
---
"cli.rs": "patch"
---
Fix building apps with unicode characters in their `productName`.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Improve local IP address detection with user selection.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Inject `proguard-tauri.pro` file in the Android project.

View File

@@ -0,0 +1,7 @@
---
"tauri-macros": major
"tauri-codegen": major
"tauri": major
---
Return `bool` in the invoke handler.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Added `--ios-color` option to the `tauri icon` command.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Keep the process alive even when the iOS application is closed.

7
.changes/ios-logs.md Normal file
View File

@@ -0,0 +1,7 @@
---
"cli.rs": patch
"cli.js": patch
"tauri": patch
---
Show all application logs on iOS.

View File

@@ -0,0 +1,5 @@
---
'tauri': 'patch'
---
Use correct lib name in xcode project.

View File

@@ -1,5 +0,0 @@
---
"tauri-runtime-wry": patch
---
Disable cursor mouse events on Linux.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Fixes HMR on mobile when devPath is configured to load a filesystem path.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Print log output for all tags on Android development.

View File

@@ -0,0 +1,5 @@
---
"tauri-utils": minor
---
Parse `android` and `ios` Tauri configuration files.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Ignore the `gen` folder on the dev watcher.

View File

@@ -0,0 +1,5 @@
---
"tauri-macros": minor
---
Added the `mobile_entry_point` macro.

View File

@@ -0,0 +1,6 @@
---
"tauri-build": patch
"tauri-macros": patch
---
Refactor mobile environment variables.

6
.changes/mobile-init.md Normal file
View File

@@ -0,0 +1,6 @@
---
"cli.rs": minor
"cli.js": minor
---
Added `android init` and `ios init` commands.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Add support to custom and kebab case library names for mobile apps.

6
.changes/mobile-open.md Normal file
View File

@@ -0,0 +1,6 @@
---
"cli.rs": minor
"cli.js": minor
---
Added `android open` and `ios open` commands.

View File

@@ -0,0 +1,5 @@
---
"tauri": minor
---
Run Android and iOS native plugins on the invoke handler if a Rust plugin command is not found.

View File

@@ -0,0 +1,6 @@
---
"tauri-runtime-wry": minor
"tauri": minor
---
Support `with_webview` for Android platform alowing execution of JNI code in context.

13
.changes/mobile.md Normal file
View File

@@ -0,0 +1,13 @@
---
"api": major
"tauri-utils": major
"tauri-bundler": major
"tauri-codegen": major
"tauri-macros": major
"tauri-build": major
"tauri": major
"cli.rs": major
"cli.js": major
---
First mobile alpha release!

13
.changes/msrv-1.64.md Normal file
View File

@@ -0,0 +1,13 @@
---
"cli.rs": minor
"tauri-bundler": minor
"tauri": minor
"tauri-build": minor
"tauri-codegen": minor
"tauri-macros": minor
"tauri-utils": minor
"tauri-runtime": minor
"tauri-runtime-wry": minor
---
Bump the MSRV to 1.64.

View File

@@ -0,0 +1,6 @@
---
'cli.rs': 'patch'
"cli.js": patch
---
Correctly pass arguments from `npm run` to `tauri`.

View File

@@ -1,9 +0,0 @@
---
"tauri-bundler": minor
"tauri-utils": minor
"cli.rs": minor
"cli.js": minor
"tauri-build": minor
---
Add initial support for building `nsis` bundles on non-Windows platforms.

View File

@@ -1,8 +0,0 @@
---
"tauri-bundler": minor
"tauri-utils": minor
"cli.rs": minor
"cli.js": minor
---
Add `nsis` bundle target

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Only proxy the dev server on mobile to simplify desktop usage.

View File

@@ -1,5 +0,0 @@
---
"tauri": minor
---
Added support to `mailto:` and `tel:` links on the shell API.

View File

@@ -0,0 +1,6 @@
---
"tauri-utils": patch
"tauri-codegen": patch
---
Added `crate_name` field on `PackageInfo`.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Pin `os_info` to `=3.5`.

View File

@@ -1,7 +0,0 @@
---
"tauri": patch
"tauri-runtime": patch
"tauri-runtime-wry": patch
---
Pin raw-window-handle to 0.5.0 to keep MSRV.

View File

@@ -1,6 +0,0 @@
---
"tauri": patch
"tauri-codegen": patch
---
Pin `time` to `0.3.15`.

View File

@@ -0,0 +1,5 @@
---
"tauri": minor
---
Added `initialize_android_plugin` and `initialize_ios_plugin` APIs on `AppHandle`.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": minor
"cli.js": minor
---
Changed the `--api` flag on `plugin init` to `--no-api`.

View File

@@ -0,0 +1,5 @@
---
"tauri": major
---
Changed the plugin setup hook to take a second argument of type `PluginApi`.

71
.changes/pre.json Normal file
View File

@@ -0,0 +1,71 @@
{
"tag": "alpha",
"changes": [
".changes/add-mobile-to-plugin.md",
".changes/android-apis-runtime.md",
".changes/build-android-env-vars.md",
".changes/cli-android-build.md",
".changes/cli-dev-server-port.md",
".changes/cli-ios-build.md",
".changes/cli-mobile-auto-ip.md",
".changes/cli-mobile-dev.md",
".changes/cli-mobile-plugin.md",
".changes/cli-nodejs-detection.md",
".changes/cli-refactor-ipc-mobile.md",
".changes/codegen-mobile-devurl.md",
".changes/default-tls-features.md",
".changes/dev-proxy-response-cache.md",
".changes/dev-proxy.md",
".changes/dynamic-wry-plugin.md",
".changes/enable-minify.md",
".changes/error-on-identifier-change.md",
".changes/fix-build-script-mobile-runner-npm.md",
".changes/fix-dev-server-proxy-path.md",
".changes/fix-empty-identifier.md",
".changes/fix-ios-run-xcode14.md",
".changes/fix-mobile-env-vars.md",
".changes/fix-orientation-crash.md",
".changes/force-colored-logs.md",
".changes/gtk16.md",
".changes/improve-local-ip-detection.md",
".changes/inject-proguard.md",
".changes/invoke-return-bool.md",
".changes/ios-icon-color.md",
".changes/ios-keep-alive.md",
".changes/ios-logs.md",
".changes/lib-name-xcode.md",
".changes/local-dev-path-mobile.md",
".changes/logcat-all-tags.md",
".changes/mobile-config.md",
".changes/mobile-dev-watcher-ignore-gen.md",
".changes/mobile-entry-point-macro.md",
".changes/mobile-env-vars-rename.md",
".changes/mobile-init.md",
".changes/mobile-lib-name.md",
".changes/mobile-open.md",
".changes/mobile-plugins.md",
".changes/mobile-webview-access.md",
".changes/mobile.md",
".changes/msrv-1.64.md",
".changes/npm-pass-args.md",
".changes/only-proxy-on-mobile.md",
".changes/package-info-crate-name.md",
".changes/plugin-init-fns.md",
".changes/plugin-init-refactor.md",
".changes/plugin-setup-refactor.md",
".changes/refactor-macros.md",
".changes/refactor-setup.md",
".changes/remove-attohttpc.md",
".changes/remove-mobile-log.md",
".changes/rfd101.md",
".changes/run-mobile-plugin.md",
".changes/shadow-api.md",
".changes/shadow-config.md",
".changes/shadow.md",
".changes/target-dir-detection.md",
".changes/tauri-build-mobile.md",
".changes/tauri-mobile-entry-point.md",
".changes/with-webview.md",
".changes/wry26.md"
]
}

View File

@@ -0,0 +1,6 @@
---
"tauri-macros": patch
"tauri": patch
---
Refactored the implementation of the `mobile_entry_point` macro.

View File

@@ -0,0 +1,5 @@
---
"tauri": major
---
**Breaking change:** The window creation and setup hook are now called when the event loop is ready.

View File

@@ -0,0 +1,5 @@
---
"tauri": major
---
Removed the attohttpc client. The `reqwest-*` Cargo features were also removed.

View File

@@ -0,0 +1,7 @@
---
"tauri": patch
"tauri-macros": patch
"tauri-build": patch
---
Removed mobile logging initialization, which will be handled by `tauri-plugin-log`.

6
.changes/rfd101.md Normal file
View File

@@ -0,0 +1,6 @@
---
"tauri": minor
---
Update rfd to 0.11.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Added `App::run_mobile_plugin` and `AppHandle::run_mobile_plugin`.

View File

@@ -1,5 +0,0 @@
---
"tauri-runtime": minor
---
Added `navigation_handler` field on `PendingWindow`.

5
.changes/shadow-api.md Normal file
View File

@@ -0,0 +1,5 @@
---
'api': minor
---
Added the `shadow` option when creating a window and `setShadow` function.

View File

@@ -0,0 +1,5 @@
---
'tauri-utils': minor
---
Added the `shadow` option to the window configuration and `set_shadow` option to the `window` allow list.

7
.changes/shadow.md Normal file
View File

@@ -0,0 +1,7 @@
---
'tauri': minor
'tauri-runtime-wry': minor
'tauri-runtime': minor
---
Added the `shadow` option when creating a window and `Window::set_shadow`.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Fix target directory detection when compiling for Android.

View File

@@ -0,0 +1,5 @@
---
"tauri-build": minor
---
Add `mobile::PluginBuilder` for running build tasks related to Tauri plugins.

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