renovate[bot]
add09c8034
chore(deps) Update Rust crate brotli to v7 ( #11195 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-17 10:21:30 -03:00
renovate[bot]
ea50f65f89
chore(deps) Update Rust crate brotli to v7 ( #11197 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-10-17 10:07:20 -03:00
Huang Xin
e1bf6ef8cb
fix(core): expose content-range
header in asset
protocol ( #11374 )
2024-10-17 08:41:27 -03:00
renovate[bot]
20c142f749
chore(deps) Update Rust crate json-patch to v3 ( #11377 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-17 08:38:19 -03:00
Vincent Esche
e4c9268b19
feat(cli): make tauri/cli fully support projects with non-standard structure ( #11258 )
...
* feat(cli): add support for providing custom app/src paths to tauri's CLI via optional env vars
* fix tests
* rename env vars (app vs src is confusing)
* add change file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-10-17 08:24:20 -03:00
Lucas Fernandes Nogueira
2e88633ba4
chore: remove references to unused __TAURI_INTERNALS__.metadata ( #11369 )
2024-10-15 13:26:43 -03:00
Lucas Nogueira
25cc5655c0
chore(ci): delete processed change file
2024-10-14 23:20:41 -03:00
github-actions[bot]
df83e5c7fc
apply version updates ( #11361 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-10-14 22:46:51 -03:00
Lucas Fernandes Nogueira
3cb73d08c6
fix(core): mark event commands as async ( #11355 )
...
* fix(core): mark event commands as async
this fixes a deadlock on certain situations
* add tag
2024-10-14 22:44:22 -03:00
Lucas Fernandes Nogueira
ef2482ddec
fix(core): crash on macOS older than Sequoia ( #11366 )
...
ref https://github.com/tauri-apps/wry/pull/1389
2024-10-14 21:55:42 -03:00
Lucas Fernandes Nogueira
e3b09be7f0
feat(core): add channel interceptor API ( #11362 )
2024-10-14 19:48:22 -03:00
Amr Bashir
bcf279278d
feat(core): add ContextMenu::hpopupmenu
on Windows ( #11354 )
...
* feat(core): add `ContextMenu::hpopupmenu` on Windows
closes #11339
* Update crates/tauri/src/menu/mod.rs
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-10-14 13:46:21 -03:00
Kartonrad
68d4460361
docs(android): warn users that passing raw bytes over ipc is not possible on android ( #11333 )
...
* Warn that android is not supported
* Warn that Android is not supported.
* Update crates/tauri/src/ipc/mod.rs
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-10-14 13:19:46 -03:00
Amr Bashir
f3f521f038
fix(core): fallback to WRY_ANDROID_PACKAGE
with backticks replaced ( #11348 )
...
ref: https://github.com/tauri-apps/tauri/issues/11332
2024-10-14 13:15:15 -03:00
renovate[bot]
e75f0d27ef
chore(deps) Update Rust crate proc-macro2 to v1.0.87 ( #11192 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-13 22:44:29 +08:00
Paul
e63432fbfc
docs: fix "Capability" documentation example ( #11337 )
2024-10-13 13:23:58 +02:00
Lucas Fernandes Nogueira
627e90c304
fix(ci): install librsvg2-dev on the publish cli workflow ( #11331 )
2024-10-12 17:57:18 -03:00
github-actions[bot]
1bfe2485bb
Apply Version Updates From Current Changes ( #11255 )
...
* apply version updates
* tauri 2.0.3 (patch bump)
---------
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-10-12 12:28:16 -03:00
Lucas Fernandes Nogueira
4a2d51a73a
fix(ci): add missing librsvg2-dev dependency for e2e tests ( #11329 )
2024-10-12 11:27:33 -03:00
Lucas Fernandes Nogueira
6a768cb679
fix(cli): verbose output on tests ( #11328 )
2024-10-12 10:58:42 -03:00
Lucas Fernandes Nogueira
e55bd4ba7a
fix(api): docs for core module __TAURI__ usage ( #11324 )
2024-10-12 16:32:54 +03:00
Amr Bashir
61bffa4feb
fix(bundler): match on Path::extension
instead of using Path::ends_with
( #11327 )
2024-10-12 10:31:11 -03:00
Amr Bashir
2d087ee4b7
fix: fix incorrect label passed to ipc
protocol ( #11268 )
...
* fix: fix incorrect label passed to `ipc` protocol
closes #11171
* update lock file
* Update .changes/incorrect-label-linux-command.md
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
* Update .changes/incorrect-label-linux-protocol.md
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
* clippy
* try wry from dev
* fix macos build
* fix ios build
* update wry
* Update .changes/incorrect-label-linux-command.md
* wry 0.46
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-10-12 07:46:51 -03:00
Amr Bashir
069c05e44f
fix(cli): resolve bundle > icon
glob when searching for .ico
for MSI installer ( #11315 )
...
* fix(cli): resolve `bundle > icon` glob when searching for `.ico` for MSI installer
closes #11220
* Update crates/tauri-bundler/src/bundle/settings.rs
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
* Update crates/tauri-bundler/src/bundle/windows/msi/mod.rs
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
* Update crates/tauri-bundler/src/bundle/windows/msi/mod.rs
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-10-11 23:23:55 -03:00
Amr Bashir
b3563e3d6a
feat(cli): add deno support ( #11304 )
...
* feat(cli): add deno support
ref: https://github.com/denoland/deno/issues/20738
* Update packages_nodejs.rs
* typo
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-10-11 16:48:22 -03:00
Amr Bashir
d609bef9fd
fix(cli & core): use unescaped package id in proguard file ( #11314 )
...
* fix(cli & core): use unescaped package id in proguard file
closes #11310
* add monkey patch for wry proguard
* fix tests
* typo
* remove wry fix
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-10-11 16:17:29 -03:00
Lucas Fernandes Nogueira
4731f0cf31
fix(core): expose ipc::Invoke ( #11290 )
2024-10-11 08:52:50 -03:00
Lucas Fernandes Nogueira
504bb8ec8c
fix(bundler): enhance DMG creation script ( #11287 )
2024-10-11 08:52:19 -03:00
Amr Bashir
1d3f51e100
feat: add back tauri::Builder::on_menu_event
( #11228 )
...
* feat: add back `tauri::Builder::on_menu_event`
* fix build
* fix build and fmt
* fix mobile
2024-10-09 11:09:42 -03:00
Huang Xin
04fd3a7db5
fix(core): return empty body for HEAD requests to asset
protocol, closes #11263 ( #11264 )
2024-10-08 04:07:42 +03:00
Alex Sandri
eda5713eab
feat(bundler/nsis): add Italian
language ( #11242 )
2024-10-07 19:56:14 +03:00
Lucas Fernandes Nogueira
3e9fd0665c
fix: npm audit ( #11243 )
...
the audit failed, so the 2.0.2 release is failing. I'm also adding the latest merged change to the 2.0.2 release in this change so we're in sync in the changelog.
2024-10-07 19:23:28 +03:00
Amr Bashir
a49a19ffa3
fix(bundler): wrap Exec
in desktop with quotes, rename appimage main binary if has spaces ( #11218 )
...
* fix(bundler): wrap `Exec` in desktop with quotes, rename appimage main binary if has spaces
* Update .changes/main-binary-name-spaces-linux.md [skip ci[
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-10-06 14:08:38 -03:00
github-actions[bot]
9102faa4b3
apply version updates ( #11209 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-10-06 08:41:18 -03:00
Lucas Fernandes Nogueira
03e7590429
feat(core): expose invoke key for custom IPC implementations ( #11235 )
...
custom IPC systems that manually call Webview::on_message must know the invoke key checked by Tauri. This exposes that key in the App/AppHandle instances.
This is safe because the key is never leaked to remote denied webview URLs
2024-10-06 07:36:00 -03:00
Hamir Mahal
e2a4da027c
fix: usage of node12 which is deprecated
( #11224 )
2024-10-05 13:22:18 -03:00
Lucas Fernandes Nogueira
e968b3d252
fix(api): actually publish with the latest tag ( #11219 )
...
we missed one `--tag next` usage in #11199
2024-10-04 10:13:57 -03:00
Krishna Chaitanya
858b3516a0
fix(windows): fix command bug in update elevated task ( fix #11216 ) ( #11217 )
2024-10-04 10:01:48 +03:00
Lucas Fernandes Nogueira
4475fbb502
chore(cli): update cargo-mobile2 to adjust lib name validation ( #11208 )
2024-10-03 13:46:49 -03:00
github-actions[bot]
6d98f2462b
apply version updates ( #11207 )
...
Co-authored-by: tweidinger <tweidinger@users.noreply.github.com>
2024-10-03 09:01:02 -03:00
Lucas Fernandes Nogueira
6f3a2b38f0
chore(tauri): enhance Manager::add_capability documentation ( #11206 )
...
* chore(tauri): enhance Manager::add_capability documentation
* enhance example
* add note on config
2024-10-03 20:36:36 +09:00
Lucas Fernandes Nogueira
0ab2b33064
fix: downgrade MSRV to 1.77.2 to support Windows 7 ( #11205 )
...
* fix: downgrade MSRV to 1.77.2 to support Windows 7
* add chang file
2024-10-03 08:07:50 -03:00
github-actions[bot]
983e7800b6
apply version updates ( #11201 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-10-02 10:54:04 -03:00
Lucas Fernandes Nogueira
be683e2ac3
fix: publish NPM packages with latest tag ( #11199 )
2024-10-02 10:37:42 -03:00
Lucas Fernandes Nogueira
c7b9a53525
chore: promote to v2 stable ( #11198 )
...
* chore: promote to v2 stable
- deletes all RC change files
- adds a new change file to promote all packages to v2 stable
- manually fix the tauri-driver, tauri-macos-sign, tauri-bundler versions so the next covector bump will move them to 2.0.0
- manually patch the metadata-v2.json file so the next covector update will mark all packages as 2.0.0
* ignore audit vuln without fixes
* bump msrv to 1.78
* run covector version
* fix sync lockfile covector
* #[allow(clippy::manual_inspect)]
2024-10-02 09:42:45 -03:00
github-actions[bot]
11b5e9c525
apply version updates ( #11175 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-10-02 07:36:42 -03:00
Lucas Fernandes Nogueira
a08e6ffa6f
feat(cli): enhance Android dev port forwarding, use host IP for android devices, closes #11137 ( #11185 )
...
* feat(cli): enhance Android dev port forwarding, closes #11137
this changes the `android dev` port forwarding (that is actually handled by the `android-studio-script` command - triggered by our Gradle plugin) with some enhancements:
- make the whole process more resilient by checking if the port was actually forwarded and rerunning the `adb reverse` command until it tells us the forward is ready
- if the `adb devices` list is empty, retry a few times (waiting a few seconds) to tolerate devices being booted - slows down "raw builds" (Build Project Android Studio menu for instance) that shouldn't happen often anyway - if you're running `android dev` you're usually running the app on a device instead of simply testing builds
* use host IP to run on android physical device
2024-10-02 07:01:29 -03:00
Lucas Fernandes Nogueira
6cfe7edf63
feat(cli): retain log verbosity when running a mobile IDE script ( #11186 )
2024-10-02 03:58:54 +03:00
Lucas Fernandes Nogueira
11e9f2eb83
feat(cli): add clap parse test ( #11189 )
...
lets us catch runtime errors early on the testing phase - for instance when we add two arguments with the same flag
2024-10-01 20:53:39 -03:00
Lucas Fernandes Nogueira
f5d61822bf
fix(cli): iOS app signature not retaining entitlements, closes #11089 ( #11184 )
...
* fix(cli): iOS app signature not retaining entitlements, closes #11089
The IPA does not retain the entitlements as a regression from #10854 which removed the signing step from the build() and archive(), deferring to the export() call
To retain the entitlements we need to force sign one of the files in the app bundle. The most reliable way to do this is to use a self signed certificate as a dummy signature - it is replaced by the export() call so we do not rely on any user provided certificate
Additionally the export options are incorrectly configuring a manual signing, preventing Xcode from properly managing provisioning profiles, which is also part of the fix
* fix header
2024-10-01 10:15:42 -03:00