Compare commits

..

372 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
6b81d70a1a Merge pull request #7217 from tauri-apps/fix/unused-deps 2023-06-15 08:59:14 -07:00
Lucas Nogueira
d0e5dbf33e fix(core): remove unused dependencies 2023-06-15 12:29:37 -03:00
Lucas Fernandes Nogueira
cafaf69fd7 fix(ci): add missing license headers, adjust script to properly ignore (#7216) 2023-06-15 11:05:59 -03:00
Lucas Nogueira
93afa71d9a chore: fix merge conflicts from dev 2023-06-15 10:37:02 -03:00
Lucas Fernandes Nogueira
7bbc626cc3 Merge remote-tracking branch 'origin/dev' into next (#7212) 2023-06-15 09:52:33 -03:00
Amr Bashir
28921cb8e8 ci: fix getting release id (#7207) 2023-06-15 08:36:05 -03:00
Amr Bashir
2d2fd6abe2 fix(core): use correct http method for proxied server, closes #7191 (#7208) 2023-06-15 08:29:20 -03:00
Lucas Fernandes Nogueira
2071265fea add to additionals (#7206) 2023-06-14 16:10:52 -07:00
Fabian-Lars
3fb3f11fc8 docs(api.js): fix since version for locale() (#7205) 2023-06-14 20:30:57 +03:00
Amr Bashir
0fa0fa4ccf fix: check if url local with platform custom protocol, closes #7176 (#7202)
* fix: check if url local with platform custom protocol, closes #7176

* Update core/tauri/src/window.rs
2023-06-14 19:39:38 +03:00
Amr Bashir
b66e7d60f2 feat(core): impl clone for Channel (#7174) 2023-06-10 14:38:02 -03:00
Lucas Fernandes Nogueira
8124145d6c fix(core): path commands not added (#7171) 2023-06-08 17:08:46 -07:00
Amr Bashir
6d3f3138b9 fix(core/path): change sep and delimiter to functions (#7160)
* fix(core/path): change `sep` and `delimiter` to functions

* fix impl

* semicolons

* return types

* generated

* fix init js

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-06-08 03:40:14 +03:00
Amr Bashir
bfaf624a4c chore: fix doc link (#7147) 2023-06-07 15:11:48 +03:00
Amr Bashir
4652c446b3 feat: add tempDir to path plugin (#7144)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2023-06-06 14:51:29 -03:00
Hyph
f2d68cf7d4 feat(core): expose Wry's with_incognito to Tauri on the WindowBuilder::incognito function. (#6767) 2023-06-06 18:30:37 +03:00
Fabian-Lars
3480047ec1 feat(cli): Build the CLI for Windows ARM64, closes #7015 (#7098) (#7106)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
closes #7015 (#7098)
2023-06-06 09:21:57 -03:00
Lucas Fernandes Nogueira
9e3a18e046 feat(api): expose window target option on event APIs (#7132) 2023-06-05 16:00:44 -03:00
Lucas Fernandes Nogueira
a50f24b2bd Merge remote-tracking branch 'origin/dev' into next (#7067)
Co-authored-by: wusyong <wusyong@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Simon Hyll <hyllsimon@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Raphii <iam@raphii.co>
Co-authored-by: Ronie Martinez <ronmarti18@gmail.com>
Co-authored-by: hanaTsuk1 <101488209+hanaTsuk1@users.noreply.github.com>
Co-authored-by: nathan-fall <39990940+nathan-fall@users.noreply.github.com>
Co-authored-by: Akshay <nerdy@peppe.rs>
Co-authored-by: KurikoMoe <kurikomoe@gmail.com>
Co-authored-by: Guilherme Oenning <me@goenning.net>
Co-authored-by: Pierre Cashon <biaocy91@gmail.com>
Co-authored-by: Jack Wills <32690432+mrjackwills@users.noreply.github.com>
Co-authored-by: Amirhossein Akhlaghpour <m9.akhlaghpoor@gmail.com>
Co-authored-by: Risto Stevcev <me@risto.codes>
Co-authored-by: Soumt <rltks1305@naver.com>
Co-authored-by: yutotnh <57719497+yutotnh@users.noreply.github.com>
Co-authored-by: Gökçe Merdun <agmmnn@gmail.com>
Co-authored-by: Nathanael Rea <Nathan@NathanaelRea.com>
Co-authored-by: Usman Rajab <usman.rajab@gmail.com>
Co-authored-by: Francis The Basilisk <36006338+snorkysnark@users.noreply.github.com>
Co-authored-by: Lej77 <31554212+Lej77@users.noreply.github.com>
Co-authored-by: Tomáš Diblík <dibla.tomas@post.cz>
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
Co-authored-by: Pascal Sommer <Pascal-So@users.noreply.github.com>
Co-authored-by: Bo <bertonzh@gmail.com>
Co-authored-by: Kevin Yue <k3vinyue@gmail.com>
fixed grammar and typos (#6937)
Fix api.js docs pipeline with updated typedoc dependencies (#6945)
closes #6887 (#6922)
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865 (#6921)
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865
fix broken symlinks in license files (#6336)
fix(cli): fix cli connection timeout to dev server (fix #6045) (#6046)
fix(bundler): ensure that there are no duplicate extension arguments when bundling on Windows, fixes #6103 (#6917)
fix(bundler): ensure that there are no duplicate extension arguments during bundling on Windows (fix #6103)
closes #5491 (#6408)
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928 (#6935)
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928
fix(updater): emit `UPTODATE` when server responds with 204, closes #6934 (#6970)
fix(core): unpin all dependencies, closes #6944 (#6966)
fix(bundler): Add new lang_file option in persian variant. (#6972)
fix(core/ipc): access url through webview native object, closes #6889 (#6976)
fix(core): remove trailing slash in http scope url, closes #5208 (#6974)
fix(core): remove trailing slash in http scope url, closes #5208
fix(cli): find correct binary when `--profile` is used, closes #6954 (#6979)
fix(cli): find correct binary when `--profile` is used, closes #6954
closes #6955 (#6987)
closes #6955
closes #6158 (#6969)
closes #6158
fix(cli): improve vs build tools detection (#6982)
fix: updated appimage script to follow symlinks for /usr/lib* (fix: #6992) (#6996)
fix(cli): correctly remove Cargo features (#7013)
Fix typo (#7012)
fix(cli): revert metadata.json field rename from #6795 (#7029)
closes #6732 (#6736)
fix: add missing file properties on Windows, closes #6676 (#6693)
fix(cli.js): detect node-20 binary (#6667)
fix version-or-publish workflow (#7031)
fix(cli/devserver): inject autoreload into HTML only, closes #6997 (#7032)
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036 (#7040)
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036
fix(core): rewrite `asset` protocol streaming, closes #6375 (#6390)
closes #5939 (#5960)
fix(core): use `safe_block_on` (#7047)
closes #6859 (#6933)
closes #6955 (#6998)
fix(core): populate webview_attrs from config, closes #6794 (#6797)
closes #5176 (#5180)
fix: sound for notifications on windows (fix #6652) (#6680)
close native window's buttons, closes #2353 (#6665)
fix(bundler/nsis): calculate accurate app size, closes #7056 (#7057)
fix(tests): only download update when it is available (#7061)
closes #6706 (#6712)
fix(doc): correct the doc of `content_protected()` (#7065)
closes #6472 (#6530)
fix(macros): use full path to Result to avoid issues with type aliases (#7071)
2023-05-29 21:29:24 -03:00
Amr Bashir
1ed2600da6 fix(cli): set current dir to tauri dir before reading config, closes #6771 (#6782)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
fix(cli): set current dir to tauri dir before reading config, closes #6771
2023-05-26 13:45:20 -03:00
Lucas Fernandes Nogueira
735db1ce83 feat(cli/mobile/init): add --skip-targets-install, ref #7044 #7058 (#7062) 2023-05-26 12:49:51 -03:00
chip
7fee3d3a2a use cargo workspace package table (#6885) 2023-05-26 10:04:01 -03:00
chip
160489454d fix clippy errors on macOS (#7064)
* fix clippy errors on macOS

* cargo clippy --fix
2023-05-26 15:24:23 +08:00
Amr Bashir
a28fdf7ec7 feat(cli/mobile/init): skip installing already installed targets, closes #7044 (#7058)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
closes #7044
2023-05-25 23:36:06 -03:00
Amr Bashir
e0f0dce220 feat: add window effects api (#6442)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-05-23 15:29:46 -03:00
Lucas Fernandes Nogueira
7e5905ae1d feat(cli): plugin add command (#7023) 2023-05-23 11:39:42 -03:00
Philipp Renoth
9770032860 feat(cli): improve logic to copy Rust library to iOS project Externals folder (#6610)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-05-22 13:54:44 -03:00
Amr Bashir
3f4c4ce88b fix(cli/android): fallback to all targets (#7028)
fix regression introduced in d03e47d141
2023-05-22 19:00:18 +03:00
Flysoft
aa6c9164e6 fix(cli): don't build library when building desktop targets, closes #7007 (#7014)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-22 11:32:20 -03:00
Andzej Korovacki
8e85576506 fix: default log path for linux and windows updated (fix: #6809) (#6827)
* fix: default log path for linux and windows updated (fix: #6809)

* fix impl after reset
2023-05-21 16:38:20 +03:00
Lucas Fernandes Nogueira
3256a37263 fix(build): inject Android proguard rules, closes #7016 (#7017) 2023-05-21 13:03:20 +08:00
Lucas Fernandes Nogueira
b0f947752a feat(cli): add migrate command (#7008) 2023-05-20 20:28:46 -03:00
github-actions[bot]
d1304ffa12 (NEXT) Apply Version Updates From Current Changes (#6707)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-05-18 09:10:12 -03:00
Lucas Fernandes Nogueira
8ce32e74b5 feat(core): expose default_window_icon on App and AppHandle (#6986) 2023-05-17 19:54:15 -03:00
Lucas Fernandes Nogueira
2344aea176 fix(ci): use workflow-dispatch action to trigger next branch workflow (#6977) 2023-05-16 20:44:52 -03:00
Amr Bashir
994e4fd6d9 chore: reuse defaultArchList (#6978) 2023-05-17 02:08:05 +03:00
Lucas Fernandes Nogueira
e5bd34cb34 refactor(core): remove init scripts related to plugin APIs (#6975) 2023-05-16 11:46:32 -03:00
Lucas Fernandes Nogueira
59db76af4c refactor(android): fix race conditions processing Android plugin project as dependency (#6968) 2023-05-16 10:22:46 -03:00
Lucas Fernandes Nogueira
6fb5734d2f feat(mobile): add event APIs for plugins (#6946) 2023-05-15 11:36:25 -03:00
Lucas Fernandes Nogueira
6d25c4d07f fix(config): properly reference updater configuration on ToTokens impl (#6957) 2023-05-13 10:30:35 -03:00
Amr Bashir
e1e85dc2a5 chore: fix ci and cleanup leftovers (#6925)
* chore: fix ci and cleanup leftovers

1. removed leftover feature flags
2. remove zip/extract apis which are not used anymore
3. removed leftoever scopes
4. removed leftover allowlist and updater options
5. updated the example api

* remove leftover updater structs

* move updater under bundle and remove uneeded options

* fix cli on linux

* remove create_proxy

* clippy

* more clippy

* clippppy

* readd path api

* fix api example

* remove window allowlist

* remove window from allowlist config

* remove `all` allowlist option

* remove file_move

* lint

* fix windows build

* remvoe unused deps

* remvoe allowlist config option, move protocol to `security > asset_protocol`

* fix diffing features

* fmt and test

* fix scope alias

* change files

* android lint

* simplify allow_file impl

* Revert "simplify allow_file impl"

This reverts commit b8882f2fd0.

* expose scopes

* remove unused error variants

* protocol-asset on docs.rs

* ignore reqwest on udeps

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-05-13 13:48:28 +03:00
Lucas Fernandes Nogueira
9a79dc0858 refactor(core): remove window endpoints (#6947) 2023-05-12 08:18:00 -03:00
Amr Bashir
5a9307d11c feat(cli): update android template to gradle 8.0 (#6890)
* feat(cli): update android template to gradle 8.0

* update java in CI to 17

* updat to latest tauri-mobile
2023-05-12 14:06:50 +03:00
Lucas Fernandes Nogueira
39f1b04f7b refactor(core): move event JS API to a core plugin (#6943) 2023-05-12 07:55:39 -03:00
Lucas Fernandes Nogueira
0ab5f40d3a feat(core): add IPC channel (#6813) 2023-05-11 07:25:32 -03:00
Lucas Fernandes Nogueira
b072daa3bd refactor(core): move updater to a plugin (#6919) 2023-05-09 16:43:31 -07:00
Lucas Fernandes Nogueira
60cf9ed2fc refactor(core): move process endpoints to plugins-workspace (#6905) 2023-05-09 12:00:41 -03:00
Amr Bashir
c4171152c1 fix: enable shadows by default, closes #6909 (#6916) 2023-05-09 15:56:13 +03:00
Lucas Fernandes Nogueira
29ce9ce2ce refactor(core): move os endpoints to a dedicated plugin (#6902)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2023-05-08 12:05:12 -03:00
Lucas Fernandes Nogueira
3245d14b9e refactor(core): remove app module (#6895) 2023-05-08 10:29:36 -03:00
Lucas Fernandes Nogueira
2cc282c129 fix(build): rerun plugin build when plugins.json changes, wait write (#6893) 2023-05-08 10:29:09 -03:00
Lucas Fernandes Nogueira
d48aaa150a fix(cli): readd plugin example template Cargo.toml files (#6894) 2023-05-07 17:19:51 -07:00
Lucas Nogueira
4585a1cbb0 Merge branch 'dev' into next 2023-05-07 10:42:44 -03:00
Lucas Fernandes Nogueira
5a768d5ce6 refactor(build): remove WindowsAttributes::sdk_dir (#6886) 2023-05-06 17:49:22 -03:00
Lucas Fernandes Nogueira
3188f37649 feat: update MSRV to 1.65 (#6883) 2023-05-06 17:16:52 -03:00
Lucas Fernandes Nogueira
6d1fa49fce fix(cli): clear plugin JSON file before rebuilding (#6881) 2023-05-06 15:59:33 -03:00
Lucas Fernandes Nogueira
7a4b1fb96d feat(macros): add support to attributes on generate_handler (#6839) 2023-05-06 10:44:24 -07:00
Lucas Fernandes Nogueira
256c30c72b feat(android): support private plugin callbacks and commands (#6863) 2023-05-05 09:19:02 -03:00
Lucas Fernandes Nogueira
73c803a561 feat(android): inject tauri.conf.json asset, add plugin config load API (#6837) 2023-05-03 08:16:05 -03:00
Lucas Fernandes Nogueira
bb2a8ccf13 fix(ios): use correct class to call plugin command with throws (#6830) 2023-05-01 14:19:28 -03:00
Lucas Fernandes Nogueira
edb16d13a5 fix(android): adjust Android plugin command exception to use e.message (#6831) 2023-05-01 14:16:05 -03:00
Lucas Nogueira
e68a08da51 feat(android): allow JSObject::getString to return null 2023-04-29 12:50:04 -03:00
Amr Bashir
19cd0e4960 feat: add key.properties to android gitignore (#6811) 2023-04-27 16:04:53 +02:00
Lucas Fernandes Nogueira
41cb06172a fix(ios): update wry, fix plugin config load (#6810) 2023-04-27 05:55:48 -07:00
Amr Bashir
124d5c5adf fix(cli): use snake_case fallback of app_name (#6788)
fix regression introduced in 2b22f64972
2023-04-25 18:21:06 -03:00
Lucas Fernandes Nogueira
942249060e refactor(core): generate TauriActivity on build script (#6783) 2023-04-24 11:17:59 -03:00
Amr Bashir
ecc9ac9603 fix(tauri-build): escape path to tauri-android project (#6785) 2023-04-24 11:14:43 -03:00
Lucas Fernandes Nogueira
d693e526e8 feat(android): add onNewIntent plugin hook (#6780) 2023-04-23 19:59:46 -03:00
Lucas Fernandes Nogueira
2a5175a8f8 feat(android): enhance JSObject return types (#6779) 2023-04-23 17:06:31 -03:00
Amr Bashir
31444ac196 chore(deps): update wry to 0.28 (#6725)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-04-23 16:59:39 -03:00
Lucas Fernandes Nogueira
cdad6e0837 refactor(core): use absolute path for the tauri Android library (#6774) 2023-04-23 15:40:47 -03:00
Lucas Fernandes Nogueira
2969d1cbba refactor(core): use absolute path to plugin Android project (#6773) 2023-04-23 11:21:36 -03:00
Lucas Fernandes Nogueira
dfa407ffcb feat(mobile): add plugin config to the Plugin class (#6763) 2023-04-23 09:15:13 -03:00
Lucas Fernandes Nogueira
41f49aeae6 fix(cli.js): adb commands not working, closes #6659 (#6708)
fix(cli.js): adb commands not working, closes #6659
2023-04-23 09:14:54 -03:00
Lucas Fernandes Nogueira
96639ca239 refactor(core): remove shell APIs (#6749) 2023-04-20 09:19:47 -03:00
Lucas Fernandes Nogueira
0c11023bcf refactor(core): remove http-multipart Cargo feature (#6748) 2023-04-19 20:17:41 -03:00
Lucas Fernandes Nogueira
ae102980fc refactor(core): read tray icon only on desktop, refactor Context (#6719) 2023-04-19 19:44:10 -03:00
Lucas Fernandes Nogueira
86488a6ad8 refactor(core): remove notification API (#6745) 2023-04-19 19:03:34 -03:00
Lucas Fernandes Nogueira
f78a378344 refactor(core): remove http features (#6742) 2023-04-19 11:47:29 -03:00
Lucas Fernandes Nogueira
2d5378bfc1 refactor(core): move dialog API to its own plugin (#6717) 2023-04-18 22:18:22 -03:00
Lucas Fernandes Nogueira
3f17ee82f6 refactor(core): remove global shortcut APIs (#6737) 2023-04-18 14:57:51 -03:00
Lucas Fernandes Nogueira
db9c12c1ad refactor(runtime): remove clipboard APIs (#6735) 2023-04-18 09:11:27 -03:00
Lucas Fernandes Nogueira
8e46695b7e Revert "feat(core): expose runtime_handle on AppHandle (#6727)"
This reverts commit 276e4a3fdb.
2023-04-18 08:30:25 -03:00
Lucas Fernandes Nogueira
cebd75261a refactor(core): remove the clipboard APIs (#6728) 2023-04-17 15:35:12 -03:00
Lucas Fernandes Nogueira
276e4a3fdb feat(core): expose runtime_handle on AppHandle (#6727) 2023-04-17 13:49:09 -03:00
Lucas Fernandes Nogueira
e6e586ad75 chore(examples): update API example plugin usage (#6715) 2023-04-16 09:31:38 -03:00
Lucas Fernandes Nogueira
fc4d687ef0 refactor(core): move file system endpoints to its own plugin (#6716) 2023-04-16 09:20:58 -03:00
Lucas Fernandes Nogueira
22a7633816 feat(core): expose SafePathBuf (#6713) 2023-04-15 15:44:05 -03:00
Lucas Fernandes Nogueira
09376af594 refactor(core): remove cli feature (#6704) 2023-04-14 15:33:53 -03:00
Lucas Fernandes Nogueira
34b8f339a4 feat(core): add app method on PluginApi (#6705) 2023-04-14 15:33:41 -03:00
github-actions[bot]
06fdcc0edd (NEXT) Apply Version Updates From Current Changes (#6701)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-04-13 19:43:17 -03:00
Lucas Fernandes Nogueira
ee2d3b971d fix(cli): remove buildSrc from Android project gitignored paths (#6702) 2023-04-13 19:29:18 -03:00
Lucas Fernandes Nogueira
9de897919a fix(core): iOS plugin freezing when receiving a bool parameter (#6700) 2023-04-13 18:26:45 -03:00
Lucas Fernandes Nogueira
abc5f91fa3 fix(cli): iOS Xcode script using incorrect library path (#6699) 2023-04-13 18:26:32 -03:00
Lucas Fernandes Nogueira
57fa569161 fix(ci): send ref to publish CLI workflows (#6674) 2023-04-12 11:32:23 -03:00
github-actions[bot]
f3917e7ee8 (NEXT) Apply Version Updates From Current Changes (#6633)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-04-10 10:12:04 -03:00
Lucas Fernandes Nogueira
055e9b3997 chore(deps): update wry, closes #6658 (#6671) 2023-04-10 09:55:24 -03:00
Lucas Fernandes Nogueira
f436cf8609 refactor(core): remove PathExt trait, add path function to Manager (#6670) 2023-04-09 11:25:08 -03:00
Lucas Nogueira
a8153b9ff4 chore(cli): gitignore iOS Externals folder 2023-04-07 21:03:26 -03:00
Lucas Fernandes Nogueira
f0570d9fee feat(core): improve run_mobile_plugin error handling (#6655) 2023-04-07 17:08:25 -03:00
Lucas Fernandes Nogueira
be941b9719 feat(core): add path plugin, implement mobile APIs (#6339) 2023-04-07 12:48:14 -03:00
Vilian Gerdzhikov
1eacd51d18 overloaded the open function for convenient type inference (#5619)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-04-07 12:40:25 -03:00
Lucas Fernandes Nogueira
db4c9dc655 feat(core): add option to configure Android's minimum SDK version (#6651) 2023-04-07 11:21:42 -03:00
Amr Bashir
63f088e5fc feat(cli): add --release for android dev (#6638)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
closes #6594
2023-04-05 16:10:43 -03:00
Amr Bashir
d03e47d141 fix: only build specified rust targets for aab/apk build (#6625)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-04-05 15:14:14 -03:00
Lucas Fernandes Nogueira
052c5822b5 feat(core): implement Clone for PluginHandle (#6644) 2023-04-05 12:32:10 -03:00
Lucas Nogueira
d37808197d chore(cli): only create .tauri/plugins folder on Android 2023-04-04 15:52:48 -03:00
Lucas Nogueira
ec7d24b1ac chore(cli): update Android template gitignore files 2023-04-04 15:46:16 -03:00
Lucas Fernandes Nogueira
5288a386f1 fix(cli): readd Cargo.toml to the plugin template (#6637) 2023-04-04 15:11:47 -03:00
Lucas Fernandes Nogueira
5769ee6d29 fix(ci): use ubuntu-20.04 to build the CLI (#6632) 2023-04-04 10:58:09 -03:00
Amr Bashir
7fec0f083c fix(cli): use local ip addr for built-in server on mobile, closes #6454 (#6631)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
fix(cli): use local ip addr for built-in server on mobile, closes #6454
2023-04-04 09:59:29 -03:00
github-actions[bot]
29ee62342a (NEXT) Apply Version Updates From Current Changes (#6622)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-04-03 16:19:10 -03:00
Lucas Fernandes Nogueira
a813792786 fix(core): compilation issues without execute or sidecar features (#6621) 2023-04-03 16:10:03 -03:00
Si Yang
09d5dd520f style: warn(clippy::useless_format) (#6619) 2023-04-03 12:04:08 -03:00
Lucas Nogueira
f6c373e989 chore(cli): update lockfile 2023-04-03 12:03:30 -03:00
Lucas Nogueira
e9482430ff chore(changes): add changes for 1.3 release merge 2023-04-03 11:32:53 -03:00
github-actions[bot]
afc3237d0c (NEXT) Apply Version Updates From Current Changes (#6593)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-04-03 10:56:08 -03:00
Lucas Nogueira
f992e7f58b chore(changes): readd change file 2023-04-03 10:40:57 -03:00
Lucas Nogueira
f84fbe459f chore(cli): cherry pick #6603, fix webkit2gtk version 2023-04-03 10:01:59 -03:00
Lucas Nogueira
55900a2968 Merge branch 'dev' into next 2023-04-03 09:58:27 -03:00
Lucas Fernandes Nogueira
4c3b9ecfdc fix(build): iOS deployment target env var is IPHONEOS_DEPLOYMENT_TARGET (#6602) 2023-03-31 14:32:30 -03:00
filip
509d4678b1 Support sending raw byte data to the "data" event for child command's stdout and stderr (#5789)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-03-31 12:51:27 -03:00
Lucas Fernandes Nogueira
adf4627b73 fix(core): adjust ProGuard rules (#6588) 2023-03-31 10:03:50 -03:00
Lucas Nogueira
56fa900dbe fix(core): adjust TLS feature usage on dev 2023-03-30 12:09:02 -03:00
Lucas Fernandes Nogueira
cfdee00f2b refactor(core): fix tls features, use rustls on mobile (#6591) 2023-03-30 10:59:08 -03:00
Lucas Fernandes Nogueira
76668b3196 chore(cli): update dependencies (#6587) 2023-03-29 20:19:07 -03:00
github-actions[bot]
249db9e49b (NEXT) Apply Version Updates From Current Changes (#6586)
* apply version updates

* fix changelog

* typo

---------

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-03-29 16:11:42 -03:00
Lucas Nogueira
6b469c40c6 chore(changes): adjust change file for Android script execution fix 2023-03-29 16:01:09 -03:00
github-actions[bot]
1c7e5cae10 Revert "apply version updates (#6582)"
This reverts commit 3ad7414a3e.
2023-03-29 15:59:29 -03:00
github-actions[bot]
3ad7414a3e apply version updates (#6582)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-03-29 15:56:38 -03:00
Amr Bashir
39df2c982e fix(cli/android): fallback to ${program}.cmd (#6576)
* fix(cli/android): fallback to `${program}.cmd`

* cleanup [skip ci]

* revert variable to tauri-binary [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-03-29 14:44:19 -03:00
Lucas Fernandes Nogueira
6e3e4c22be fix(cli): use correct variable on script to build Rust iOS code (#6581) 2023-03-29 11:35:18 -03:00
Lucas Fernandes Nogueira
332b3fc419 fix(cli): adjust jsonrpsee feature flags for CI (#6521) 2023-03-21 19:10:42 -03:00
github-actions[bot]
a031e4a8a0 apply version updates (#6518) 2023-03-21 14:42:18 -03:00
Lucas Fernandes Nogueira
00241fa92d fix(cli): append .cmd on the gradle plugin binary on Windows, fix #6502 (#6503) 2023-03-21 13:43:09 -03:00
Amr Bashir
c787f749de fix(cli): only add -- to generated android template for npm (#6508) 2023-03-21 13:42:37 -03:00
Amr Bashir
d5ac76b53c chore(deps): update napi-rs, closes #6502 (#6513) 2023-03-21 13:40:21 -03:00
Lucas Fernandes Nogueira
8a1b1281ac fix(ci): adjust publish cli.js workflow (#6500)
* fix(ci): enable openssl vendored feature for cli.js

* enable feature on CI

* add openssl dep

* avoid openssl on Linux

* vendored openssl on macOS CI

* fix dep install

* lint [skip ci]
2023-03-20 11:54:33 -03:00
Lucas Fernandes Nogueira
1a24e4cafd chore(deps): unpin dependencies from 1.59 MSRV (#6499) 2023-03-20 11:54:09 -03:00
Lucas Nogueira
9c324bae61 chore(examples): update tauri-plugin-log 2023-03-20 09:06:49 -03:00
Lucas Nogueira
46e2def0ee fix(ci): set tauri-build dependency version on tauri crate 2023-03-20 08:45:26 -03:00
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
763 changed files with 21647 additions and 33676 deletions

6
.changes/add-command.md Normal file
View File

@@ -0,0 +1,6 @@
---
"tauri-cli": 'patch:feat'
"@tauri-apps/cli": 'patch:feat'
---
Added `tauri plugin add` command to add a plugin to the Tauri project.

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": 'minor:feat'
"@tauri-apps/cli": 'minor:feat'
---
Added `plugin android add` and `plugin ios add` commands to add mobile plugin functionality to existing projects.

View File

@@ -0,0 +1,5 @@
---
'tauri': 'minor:feat'
---
Added `tauri::VERSION` const to get Tauri's version from Rust.

View File

@@ -0,0 +1,5 @@
---
'tauri': 'minor:feat'
---
Added `tauri::webview_version` , to get webview version.

View File

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

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": 'patch:enhance'
"@tauri-apps/cli": 'patch:enhance'
---
Do not gitignore the Android project's `buildSrc` folder by default since we removed absolute paths from it.

View File

@@ -0,0 +1,5 @@
---
"tauri": 'patch:enhance'
---
Enhance parsing of annotated Android plugin methods to support private functions.

View File

@@ -0,0 +1,5 @@
---
"tauri": 'patch:enhance'
---
Added static function `loadConfig` on the Android `PluginManager` class.

View File

@@ -0,0 +1,5 @@
---
"tauri": 'patch:enhance'
---
Adjust Android plugin exception error.

View File

@@ -0,0 +1,5 @@
---
'@tauri-apps/api': 'patch:enhance'
---
Add `locale` function in the `os` module to get the system locale.

View File

@@ -0,0 +1,5 @@
---
"tauri": "patch:enhance"
---
Add `tauri::api::os::locale` function to get the system locale.

View File

@@ -0,0 +1,6 @@
---
'tauri-bundler': 'patch:bug'
---
- Updated the AppImage bundler to follow symlinks for `/usr/lib*`.
- Fixes AppImage bundling for Void Linux, which was failing to bundle webkit2gtk because the `/usr/lib64` is a symlink to `/usr/lib`.

View File

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

10
.changes/bump-1.3.md Normal file
View File

@@ -0,0 +1,10 @@
---
"tauri-bundler": 'patch:enhance'
"tauri-codegen": 'patch:enhance'
"tauri-macros": 'patch:enhance'
"tauri-utils": 'patch:enhance'
"tauri-runtime": 'patch:enhance'
"tauri-runtime-wry": 'patch:enhance'
---
Pull changes from Tauri 1.3 release.

View File

@@ -0,0 +1,5 @@
---
"tauri-bundler": 'patch:enhance'
---
Removed the `UpdaterSettings::dialog` field.

6
.changes/channel-api.md Normal file
View File

@@ -0,0 +1,6 @@
---
"api": 'patch:enhance'
"tauri": 'patch:enhance'
---
Add channel API for sending data across the IPC.

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": 'minor:feat'
"@tauri-apps/cli": 'minor:feat'
---
Added `android build` command.

View File

@@ -0,0 +1,6 @@
---
'tauri-cli': 'patch:enhance'
'@tauri-apps/cli': 'patch:enhance'
---
Add `--release` flag for `tauri android dev` however you will need to sign your Android app, see https://next--tauri.netlify.app/next/guides/distribution/sign-android

View File

@@ -0,0 +1,6 @@
---
'tauri-cli': 'patch:enhance'
'@tauri-apps/cli': 'patch:enhance'
---
Build only specified rust targets for `tauri android build` instead of all.

View File

@@ -0,0 +1,5 @@
---
'tauri-cli': 'patch:bug'
---
Fix `--split-per-abi` not building any targets unless specified by `--target` flag.

View File

@@ -0,0 +1,6 @@
---
'tauri-cli': 'patch:bug'
'@tauri-apps/cli': 'patch:bug'
---
Fix built-in devserver adding hot-reload code to non-html files.

View File

@@ -0,0 +1,6 @@
---
'tauri-cli': 'patch:enhance'
'@tauri-apps/cli': 'patch:enhance'
---
Use local ip address for built-in dev server on mobile.

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": 'patch:enhance'
"@tauri-apps/cli": 'patch:enhance'
---
Added `ios build` command.

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": 'patch:enhance'
"@tauri-apps/cli": 'patch:enhance'
---
Add `key.properties` file to android's `.gitignore`.

View File

@@ -0,0 +1,6 @@
---
'tauri-cli': 'patch:enhance'
'@tauri-apps/cli': 'patch:enhance'
---
On mobile, fix regression introduced in `tauri-cli` version `2.0.0-alpha.3` where library not found error was thrown.

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": 'patch:enhance'
"@tauri-apps/cli": 'patch:enhance'
---
Don't build library files when building desktop targets.

View File

@@ -0,0 +1,5 @@
---
'tauri-cli': 'patch:enhance'
---
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 @@
---
'tauri-cli': 'patch:bug'
'@tauri-apps/cli': 'patch:bug'
---
Set current directory to tauri directory before reading config file.

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": 'minor:feat'
"@tauri-apps/cli": 'minor:feat'
---
Added `android dev` and `ios dev` commands.

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": 'minor:feat'
"@tauri-apps/cli": 'minor:feat'
---
Add commands to add native Android and iOS functionality to plugins.

View File

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

6
.changes/cli-pnpm.md Normal file
View File

@@ -0,0 +1,6 @@
---
'tauri-cli': 'patch:enhance'
'@tauri-apps/cli': 'patch:enhance'
---
Fix android project build crashing when using `pnpm` caused by extra `--`.

5
.changes/cli-profile.md Normal file
View File

@@ -0,0 +1,5 @@
---
'tauri-cli': 'patch:bug'
---
Fix building with a custom cargo profile

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": 'patch:enhance'
"@tauri-apps/cli": 'patch:enhance'
---
Use temp file instead of environment variable to pass CLI IPC websocket address to the IDE.

View File

@@ -0,0 +1,6 @@
---
'tauri-cli': 'patch:enhance'
'@tauri-apps/cli': 'patch:enhance'
---
Skip Rust target installation if they are already installed.

View File

@@ -0,0 +1,6 @@
---
'tauri-cli': 'minor:feat'
'@tauri-apps/cli': 'minor:feat'
---
Provide prebuilt CLIs for Windows ARM64 targets.

6
.changes/cli-wry-0-28.md Normal file
View File

@@ -0,0 +1,6 @@
---
'tauri-cli': 'patch:enhance'
'@tauri-apps/cli': 'patch:enhance'
---
Update mobile template to `wry@0.28`

View File

@@ -0,0 +1,5 @@
---
'@tauri-apps/cli': 'patch:bug'
---
Fix nodejs binary regex when `0` is in the version name, for example `node-20`

View File

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

View File

@@ -0,0 +1,5 @@
---
'tauri': 'patch:feat'
---
Add `incognito` option to the window configuration object.

View File

@@ -0,0 +1,5 @@
---
'tauri-utils': 'minor:feat'
---
Add option to configure `require_literal_leading_dot` on `fs` and `asset` protcol scopes.

View File

@@ -0,0 +1,5 @@
---
'tauri': 'patch:bug'
---
Fix parsing `allowlist > http > scope` urls that added a trailing slash which broke matching the incoming requests url.

View File

@@ -12,12 +12,11 @@
"defaultChangeTag": "changes",
"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",
@@ -77,7 +76,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": [
@@ -114,7 +112,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
},
@@ -236,7 +234,8 @@
"tauri-macros",
"tauri-utils",
"tauri-runtime",
"tauri-runtime-wry"
"tauri-runtime-wry",
"tauri-build"
],
"postversion": "node ../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }"
},

View File

@@ -0,0 +1,5 @@
---
'tauri': 'patch:enhance'
---
Use correct HTTP method when making requests to the proxied server on mobile.

View File

@@ -0,0 +1,5 @@
---
'tauri': 'patch:enhance'
---
Enhance the `asset` protocol to support streaming of large files.

View File

@@ -0,0 +1,5 @@
---
'tauri': 'patch:enhance'
---
Implement `Clone` for `Channel`

View File

@@ -0,0 +1,5 @@
---
'tauri': 'patch:feat'
---
Add `WindowBuilder::incognito`

View File

@@ -0,0 +1,5 @@
---
'tauri': 'patch:bug'
---
Fix IPC failing after a failed navigation to an external URL.

View File

@@ -0,0 +1,5 @@
---
'tauri': 'patch:bug'
---
Fix `WindowBuilder::on_navigation` handler not registered properly.

View File

@@ -0,0 +1,5 @@
---
'tauri': 'patch:bug'
---
Emit `UPTODATE` update status to javascript when the updater server returns status code `204`

View File

@@ -0,0 +1,5 @@
---
'tauri': 'patch:enhance'
---
Fix some configurations not applied when creating the window through Javascript.

View File

@@ -0,0 +1,5 @@
---
"tauri": "patch:enhance"
---
Play a sound when showing a notification on Windows.

View File

@@ -0,0 +1,5 @@
---
'tauri': 'patch:enhance'
---
On Android, update proguard rules.

View File

@@ -0,0 +1,7 @@
---
"tauri-utils": 'patch:enhance'
"tauri-cli": 'patch:enhance'
"@tauri-apps/cli": 'patch:enhance'
---
Added the `desktop_template` option on `tauri.conf.json > tauri > bundle > deb`.

View File

@@ -0,0 +1,5 @@
---
"tauri-bundler": "minor:feat"
---
Added `desktop_template` option on `DebianSettings`.

View File

@@ -0,0 +1,5 @@
---
"tauri": major:feat
---
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:enhance'
---
Add `default_window_icon` getter on `App` and `AppHandle`.

View File

@@ -0,0 +1,5 @@
---
"tauri": 'patch:enhance'
---
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:feat
---
**Breaking change:** Use the custom protocol as a proxy to the development server on all platforms except Linux.

View File

@@ -0,0 +1,5 @@
---
'@tauri-apps/api': 'minor:feat'
---
Added the `maximizable`, `minimizable` and `closable` fields on `WindowOptions`.

View File

@@ -0,0 +1,5 @@
---
'@tauri-apps/api': 'minor:feat'
---
Added the `setMaximizable`, `setMinimizable`, `setClosable`, `isMaximizable`, `isMinimizable` and `isClosable` methods.

View File

@@ -0,0 +1,5 @@
---
'tauri-utils': 'minor:feat'
---
Added the `maximizable`, `minimizable` and `closable` options to the window configuration.

View File

@@ -0,0 +1,6 @@
---
'tauri-runtime-wry': 'minor:feat'
'tauri-runtime': 'minor:feat'
---
Added the `maximizable`, `minimizable` and `closable` methods to `WindowBuilder`.

View File

@@ -0,0 +1,6 @@
---
'tauri-runtime-wry': 'minor:feat'
'tauri-runtime': 'minor:feat'
---
Added `set_maximizable`, `set_minimizable`, `set_closable`, `is_maximizable`, `is_minimizable` and `is_closable` methods to the `Dispatch` trait.

View File

@@ -0,0 +1,5 @@
---
'tauri': 'minor:feat'
---
Added the `maximizable`, `minimizable` and `closable` options to the window builder.

View File

@@ -0,0 +1,5 @@
---
'tauri': 'minor:feat'
---
Added the `set_maximizable`, `set_minimizable`, `set_closable`, `is_maximizable`, `is_minimizable` and `is_closable` methods on `Window`.

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": 'patch:enhance'
"tauri": 'patch:enhance'
---
Change minimum Android SDK version to 21 for the plugin library.

View File

@@ -0,0 +1,6 @@
---
"tauri-runtime-wry": 'patch:enhance'
"tauri": 'patch:enhance'
---
Allow a wry plugin to be registered at runtime.

View File

@@ -0,0 +1,5 @@
---
"tauri-codegen": 'patch:enhance'
---
Early panic if the PNG icon is not RGBA.

View File

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

View File

@@ -0,0 +1,5 @@
---
"tauri": 'patch:enhance'
---
Fixes path commands not being added.

View File

@@ -0,0 +1,5 @@
---
"tauri": 'patch:enhance'
---
Enhance Android's `JSObject` return types.

View File

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

View File

@@ -0,0 +1,5 @@
---
"@tauri-apps/api": 'patch:enhance'
---
Expose the window target option on event APIs.

View File

@@ -0,0 +1,6 @@
---
'tauri-cli': 'minor:feat'
'@tauri-apps/cli': 'minor:feat'
---
Added `tauri completions` to generate shell completions scripts.

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": 'patch:enhance'
"@tauri-apps/cli": 'patch:enhance'
---
Fixes the generated mobile build script when using an NPM runner.

View File

@@ -0,0 +1,5 @@
---
'tauri-runtime': 'patch:bug'
---
Fixes typo in `CursorIcon` deserialization of the `ZoomIn` variant.

View File

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

View File

@@ -0,0 +1,7 @@
---
"tauri-cli": 'patch:enhance'
"@tauri-apps/cli": 'patch:enhance'
"tauri-macros": 'patch:enhance'
---
Resolve Android package name from single word bundle identifiers.

View File

@@ -0,0 +1,6 @@
---
'tauri-cli': 'patch:bug'
'@tauri-apps/cli': 'patch:bug'
---
Fixes Cargo.toml feature rewriting.

View File

@@ -0,0 +1,5 @@
---
"tauri": 'patch:enhance'
---
Use actual iOS plugin instance to run command with `throws`.

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": 'patch:enhance'
"@tauri-apps/cli": 'patch:enhance'
---
Fixes running on device using Xcode 14.

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": 'patch:enhance'
"@tauri-apps/cli": 'patch:enhance'
---
Fixes the iOS project script to build the Rust library.

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": 'patch:enhance'
"@tauri-apps/cli": 'patch:enhance'
---
Fixes `TAURI_*` environment variables for hook scripts on mobile commands.

View File

@@ -0,0 +1,5 @@
---
"@tauri-apps/cli": 'patch:enhance'
---
Update tauri-mobile to fix running ADB scripts.

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": 'patch:enhance'
"@tauri-apps/cli": 'patch:enhance'
---
Update Android project template with fix to crash on orientation change.

View File

@@ -0,0 +1,5 @@
---
"tauri": 'patch:enhance'
---
Fixes boolean plugin parameters freezing the application.

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": 'patch:enhance'
"@tauri-apps/cli": 'patch:enhance'
---
Clear Android plugin JSON file before building Rust library to ensure removed plugins are propagated to the Android project.

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": 'patch:enhance'
"@tauri-apps/cli": 'patch:enhance'
---
Readd the Cargo.toml file to the plugin template.

View File

@@ -0,0 +1,5 @@
---
"tauri-build": 'patch:bug'
---
Fixes injection of the proguard rules on the Android project.

View File

@@ -0,0 +1,5 @@
---
"tauri": 'patch:enhance'
---
Fixes ProGuard rules.

View File

@@ -0,0 +1,5 @@
---
"tauri": 'patch:enhance'
---
Fix compilation issues without the shell API features.

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": 'patch:enhance'
"@tauri-apps/cli": 'patch:enhance'
---
Fixes the Android build gradle plugin implementation on Windows.

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": 'patch:enhance'
"@tauri-apps/cli": 'patch:enhance'
---
Fixes iOS build script using the wrong path for the app library file.

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": 'patch:enhance'
"@tauri-apps/cli": 'patch:enhance'
---
Force colored logs on mobile commands.

View File

@@ -0,0 +1,5 @@
---
"tauri": 'patch:enhance'
---
Generate `TauriActivity` Kotlin class on the build script.

6
.changes/gradle-8.md Normal file
View File

@@ -0,0 +1,6 @@
---
'tauri-cli': 'patch:enhance'
'@tauri-apps/cli': 'patch:enhance'
---
Update android template to gradle 8.0

8
.changes/gtk16.md Normal file
View File

@@ -0,0 +1,8 @@
---
"tauri-runtime": 'minor:feat'
"tauri-runtime-wry": 'minor:feat'
"tauri": 'minor:feat'
---
Update gtk to 0.16.

View File

@@ -0,0 +1,5 @@
---
"tauri-macros": 'patch:enhance'
---
Improve compiler error message when generating an async command that has a reference input and don't return a Result.

View File

@@ -0,0 +1,6 @@
---
"tauri-cli": 'patch:enhance'
"@tauri-apps/cli": 'patch:enhance'
---
Improve local IP address detection with user selection.

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