Commit Graph

5787 Commits

Author SHA1 Message Date
Lucas Nogueira
fca850ca73 proxy dev server 2025-11-01 21:16:42 -03:00
Lucas Nogueira
8c3539ab99 initial pass window APIs 2025-11-01 18:38:52 -03:00
Lucas Nogueira
8f1eb882cc some webview APIs 2025-11-01 18:08:00 -03:00
Lucas Nogueira
5066091746 implement exit and window close events 2025-11-01 17:38:09 -03:00
Lucas Nogueira
ca8fdc0068 unique identifier 2025-11-01 17:20:35 -03:00
Lucas Nogueira
533a35ccbb set root cache path 2025-11-01 17:14:40 -03:00
Lucas Nogueira
23fe60dfee fix multiwebview positionining 2025-11-01 17:01:44 -03:00
Lucas Nogueira
93efa5706e fix init scripts for remote URLs (android-like impl) 2025-11-01 16:11:37 -03:00
Lucas Nogueira
9132d90e95 prepare multiwebview 2025-11-01 15:30:11 -03:00
Lucas Nogueira
0f00219976 update example ui 2025-11-01 13:30:52 -03:00
Lucas Nogueira
28bcd6f86e run init_script before app loads 2025-11-01 13:27:40 -03:00
Lucas Nogueira
def097e278 fix body reading 2025-10-31 20:28:07 -03:00
Lucas Nogueira
f59495ea6d wip init scripts 2025-10-31 18:46:33 -03:00
Lucas Nogueira
3013a14ee8 fix devtools crash due to custom context 2025-10-31 14:57:38 -03:00
Lucas Nogueira
9d158651b3 fill more req/resource 2025-10-31 06:26:12 -03:00
Lucas Nogueira
2518fa3397 actually run protocol handler 2025-10-30 19:25:27 -03:00
Lucas Nogueira
05f8268acb missing mime type 2025-10-30 19:25:19 -03:00
Lucas Nogueira
70bb11538c Merge remote-tracking branch 'origin/dev' into feat/cef 2025-10-30 15:14:15 -03:00
Lucas Nogueira
1423ea2324 update runtime impl 2025-10-30 15:13:42 -03:00
Fabian-Lars
75a1fec705 ci: don't cache pnpm files in version-or-publish workflow (#14392) 2025-10-30 10:25:12 +01:00
github-actions[bot]
100dc94c48 apply version updates (#14378)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@tauri-apps/cli-v2.9.2 tauri-v2.9.2 tauri-bundler-v2.7.2 tauri-cli-v2.9.2
2025-10-29 15:15:51 +01:00
Fabian-Lars
7f710b8f3b fix(bundler): inline linuxdeploy plugin scripts (#14390) 2025-10-29 14:50:33 +01:00
Braden Wong
bda1d22369 docs(webviewWindow): fix incorrect import in JSDoc example (#14388)
The getByLabel method is a static method on WebviewWindow, not Webview.
Updated the JSDoc example to import and use the correct class name.
2025-10-29 15:34:16 +08:00
Tony
28b9e7c7b8 fix: throw on custom protocol IPC fails (#14377) 2025-10-28 18:07:50 +08:00
renovate[bot]
3056d44d96 chore(deps): update dependency @rollup/plugin-typescript to v12.3.0 (#14364)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-28 15:57:47 +08:00
kandrelczyk
fc017ee257 add info to error message (fix 14186) (#14368)
* add info to error message

* changes file and  linux only warning

Signed-off-by: Krzysztof Andrelczyk <cristof@curiana.net>

* Update change file

---------

Signed-off-by: Krzysztof Andrelczyk <cristof@curiana.net>
Co-authored-by: Tony <legendmastertony@gmail.com>
2025-10-28 15:03:48 +08:00
github-actions[bot]
67c7418c06 apply version updates (#14348)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
tauri-v2.9.1 tauri-plugin-v2.5.1 tauri-runtime-wry-v2.9.1 tauri-macos-sign-v2.3.0 @tauri-apps/cli-v2.9.1 tauri-runtime-v2.9.1 tauri-cli-v2.9.1 tauri-build-v2.5.1 tauri-bundler-v2.7.1
2025-10-22 13:38:43 +02:00
Fabian-Lars
f59bf9d539 chore: Add missing changefile for tauri-macos-sign (#14337) 2025-10-22 12:28:10 +02:00
Fabian-Lars
4b6b8690ab chore: remove --cfg docsrs to fix docs.rs builds (#14347) 2025-10-22 11:33:30 +02:00
renovate[bot]
cdc5594286 chore(deps): update dependency rollup to v4.52.5 (#14339)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-21 17:09:40 +08:00
dependabot[bot]
a1c231ec29 chore(deps-dev): bump vite from 7.1.5 to 7.1.11 (#14336)
* chore(deps-dev): bump vite from 7.1.5 to 7.1.11

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 7.1.5 to 7.1.11.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.1.11/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 7.1.11
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* Dedupe

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tony <legendmastertony@gmail.com>
2025-10-21 16:30:28 +08:00
Tony
752c923002 chore: fix some typos (#14334) 2025-10-20 22:51:28 +08:00
github-actions[bot]
cb28f4368c apply version updates (#14137)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
tauri-plugin-v2.5.0 tauri-macros-v2.5.0 @tauri-apps/cli-v2.9.0 tauri-runtime-v2.9.0 tauri-v2.9.0 tauri-runtime-wry-v2.9.0 tauri-cli-v2.9.0 @tauri-apps/api-v2.9.0 tauri-codegen-v2.5.0 tauri-build-v2.5.0 tauri-utils-v2.8.0 tauri-bundler-v2.7.0
2025-10-20 09:49:46 -03:00
Lucas Nogueira
6aa7f2d852 chore(deps): minor bump plugin, codegen and macros crates 2025-10-20 09:25:07 -03:00
Lucas Nogueira
06f26bbb24 chore(deps): update tao to 0.34.5 2025-10-20 09:20:13 -03:00
Lucas Fernandes Nogueira
68cb318979 feat(core): add stop, restart, destroy and configuration changed Android hooks (#14328)
* feat(core): add pause, destroy and configuration changed Android hooks

* Apply suggestions from code review
2025-10-20 08:49:26 -03:00
Lucas Fernandes Nogueira
3397fd9bfe feat(core): back button event on Android, closes #8142 (#14133)
* feat(core): back button event and exit on Android, closes #8142

I've used https://github.com/ionic-team/capacitor-plugins/blob/main/app/android/src/main/java/com/capacitorjs/plugins/app/AppPlugin.java as a reference here, checking if there's a back button event handler with a default of webview's goBack implementation

* missing change file

* remove exit impl

* fmt

* update wry

* fix default back press

* add remove_listener
2025-10-15 20:50:15 -03:00
Bipin Pandey
3b4fac2017 feat(android): add auto_increment_version_code option for Android builds (#14194)
* add new api (auto_increment_version_code) in android configuration

* ensure increment is only ran once

* skip on dev

* update doc

* change file

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2025-10-14 15:01:54 -03:00
Bill Avery
dc922fa6c4 fix: fill in content through request handler 2025-10-14 09:53:37 -07:00
Lucas Nogueira
9619014311 update cef 2025-10-14 09:53:13 -07:00
Felix Häcker
684791efa6 fix(macos): Always try to create webview, even if webkit runtime isn't detected correctly (#14276) 2025-10-14 11:58:43 -03:00
Lucas Fernandes Nogueira
25e920e169 fix(cli): wait for dev command to exit with --no-watch, closes #14284 (#14298) 2025-10-14 07:28:18 -03:00
Lucas Nogueira
a279485856 chore(cli): update cargo-mobile2 to 0.21.1
applies https://github.com/tauri-apps/cargo-mobile2/pull/491
2025-10-10 13:44:33 -03:00
Lucas Fernandes Nogueira
7b0d4e7322 fix(core): SHA256 hash for JS scripts CSP on Windows (#14265)
* fix(core): SHA256 hash for JS scripts CSP on Windows

we hash JS scripts as SHA256 for the Content-Security-Policy (CSP) header. The isolation pattern is broken on Windows due to the hash including carriage return characters, which are not processed when the webview checks the script hash to see if the CSP allows the script.

* fmt, clippy
2025-10-10 08:11:38 -03:00
Tony
c5008b829d fix: skip empty script tag for CSP hash properly (#14274)
* fix: skip empty script tag for CSP hash properly

* add change file

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2025-10-10 08:11:08 -03:00
Lucas Fernandes Nogueira
b5aa018702 feat(cli): update cargo-mobile2 to 0.21, closes #14238 (#14268) 2025-10-09 08:30:36 -03:00
Tony
55453e8453 enhance(cli): check mismatched packages in info (#14262) 2025-10-08 19:53:55 +08:00
Lucas Fernandes Nogueira
75082cc5b3 feat(cli): add mobile run commands, closes #13196 (#14120)
* feat(cli): add mobile run commands, closes #13196

* headers

* debug by default

* fix android env

* implement watcher

* clippy

* skip ipa build
2025-10-08 07:58:17 -03:00
Lucas Fernandes Nogueira
006d592837 fix(core): parse Android plugin args starting with is, closes #14254 (#14260)
by default Jackson treats the `isX` as a getter, so it looks for the `x` key in the JSON. To match behavior on other platforms we now configure Jackson to treat it as the field name itself.
2025-10-08 07:53:35 -03:00
Tony
d2938486e9 fix(cli): js icon in tauri info (#14261) 2025-10-08 17:58:47 +08:00