1284 Commits

Author SHA1 Message Date
Fabian-Lars
0a9a39b662 ci: Build win-arm64 cli with rustls (#13989) 2025-08-11 21:50:00 +02:00
FabianLars
fd88343816 ci(covector): Reset lock file after audit 2025-07-22 10:30:59 +02:00
Fabian-Lars
56fd1edeae fix(bundler): Move AppRun to mirror (#13864) 2025-07-21 18:22:02 +02:00
renovate[bot]
df7ac78c24 chore(deps): update rust crate brotli to v8 (#13265)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-17 15:44:01 +02:00
github-actions[bot]
0cfcd46609 Apply Version Updates From Current Changes (v1) (#12625)
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
Co-authored-by: Fabian-Lars <github@fabianlars.de>
2025-05-17 15:08:33 +02:00
Fabian-Lars
b19a78ce5b ci: Remove actions-rs usage (#13454) 2025-05-17 12:58:32 +02:00
Fabian-Lars
820e9d3293 chore(deps/cli): upgrade yarn.lock (v1) (#13393) 2025-05-12 14:41:25 +02:00
Fabian-Lars
348dafb07a fix(v1): Fix updater test (#12863) 2025-03-01 12:54:20 +01:00
renovate[bot]
0fefb27e86 chore(deps): update dependency prettier to v3.5.2 (1.x) (#12781)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <github@fabianlars.de>
2025-02-22 23:12:01 +01:00
Lucas Fernandes Nogueira
73267dcfc1 fix(ci): downgrade string_cache, string_cache_codegen and openssl crates (#12613) 2025-02-04 08:00:43 -03:00
jLynx
f72d0e18eb fix(macOS): Tauri Update Permission Denied Error (#10427)
* Fix mac admin update

* Fixed linting

* add change file

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2025-02-02 17:29:21 -03:00
github-actions[bot]
089939bb97 Apply Version Updates From Current Changes (v1) (#12203)
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2025-01-10 20:20:41 +01:00
Fabian-Lars
e98cd594ae chore: Fix clippy 1.84 warnings (#12339) 2025-01-10 19:10:25 +01:00
renovate[bot]
ff19056aad chore(deps): update rust crate ico to 0.4 (1.x) (#12303)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-07 23:16:06 +01:00
renovate[bot]
5466aa1b3d chore(deps): update rust crate brotli to v7 (1.x) (#12262)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-06 10:10:46 +01:00
Mariela Sassi
a3584c143e backport: always check parent directory to 1.x (#11960)
Co-authored-by: griffi-gh <prasol258@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Fabian-Lars <github@fabianlars.de>
fix #8679)
2025-01-04 01:04:48 +01:00
renovate[bot]
4667315d4a chore(deps): update rust crate http to 0.2.12 (1.x) (#12176)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
Co-authored-by: Fabian-Lars <github@fabianlars.de>
2025-01-04 00:09:48 +01:00
github-actions[bot]
e7153a85a3 apply version updates (#11075)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-10-14 13:13:53 -03:00
Lucas Fernandes Nogueira
3c7258d651 fix(ci): run on ubuntu 22.04 (#11358)
* fix(ci): install libsoup2.4-dev

* update action

* ubuntu 22.04

* fix image

* latest for cli checks

* ubuntu 20.04

* Revert "ubuntu 20.04"

This reverts commit 6fd0ebb2c3.

* fix audit

* fix cli audit
2024-10-14 10:28:14 -03:00
Lucas Fernandes Nogueira
c72cd45ccd fix(core): deadlock when creating new window with tracing feature (#11213) 2024-10-04 16:13:44 -03:00
Amr Bashir
9ef1be46e8 fix(updater): encode version when making requests (#11070)
* fix(updater): encode version when making requests

closes #10908

* encode `+` only

* use normal const
2024-09-20 07:57:47 -03:00
github-actions[bot]
bd3c153145 Apply Version Updates From Current Changes (v1) (#11012)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-09-15 16:23:08 -03:00
Lucas Nogueira
328b11f2cd fix(ci): increase timeout, cache updater fixtures 2024-09-15 15:40:08 -03:00
Lucas Nogueira
649e01f4e0 fix(tests): start updater server once 2024-09-15 14:37:39 -03:00
Lucas Nogueira
02dfb0302f fix(tests): use hyper instead of tiny-http to serve updates 2024-09-15 13:16:10 -03:00
Lucas Nogueira
963411a86a chore(tests): enhance e2e test logs and delay for CI 2024-09-15 11:34:52 -03:00
Lucas Nogueira
6d629cbf93 fix: integration tests 2024-09-15 09:54:07 -03:00
Lucas Nogueira
5f5c7c7a32 fix(ci): downgrade mac-notification-sys to 0.6.1
fixes a cc build script usage
2024-09-15 08:47:58 -03:00
Lucas Fernandes Nogueira
26d243f43a fix(core): restart cannot handle binary name change on macOS (#10991)
* fix(core): `restart` cannot handle binary name change on macOS

Tauri v2 changed the default binary name of the bundled apps (no longer follows the productName, just uses the default name from Cargo instead). This breaks the `restart` function, which expects the current binary path to match the new one.

Due to this change, the restart() function for macOS is broken - the .app is correctly replaced even if the productName changed, but the restart() function cannot handle the new binary path. This change adds a simple check on macOS to read the `Contents/MacOS` folder and if it only contains a single binary, we use it to restart instead.
This inference cannot be used if there's sidecars, so in this case we just let the existing implementation run and if it fails to restart, we do not panic but only warn and exit instead.

AppImage updates are not affected by this, and the Windows installer is responsible for restarting, so this change is only applied to macOS binaries.

* fix: use Info.plist to determine binary name

* use log instead of eprintln

* move log
2024-09-14 10:51:29 -03:00
Hans-Joachim Michl
8a0e93b5d8 fixes iframes in windows causes window.__TAURI_INVOKE__ is not a function error in console. (#10989)
* fix #10935

Check if window has __TAURI_INVOKE__ before using it blindly.

* Update core/tauri/scripts/init.js

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-09-14 10:19:23 -03:00
Fabian-Lars
2e87e85f85 fix(core): Use productName for FileDescription (#10976) 2024-09-12 20:51:46 +03:00
Amr Bashir
14443a1319 refactor(updater/wix): launch app after update, maintain args (#10966)
* refactor(updater/wix): launch app after update, maintain args

* change files
2024-09-12 16:07:04 +03:00
Amr Bashir
50fbf7bf1d feat(updater): support updating using non-zipped files (#10939)
* feat(updater): support updating using non-zipped files

* minor

* fix compilation

* clippy

* pass `/UPDATE` to NSIS installer on updates

* clippy

* revert user-agent change

* add v1 -> v2 migration e2e test

* fix npm exec on windows

* downgrade serial-test for msrv

* fix sig ext for nsis v2

* fix windows e2e test

* add lcense headers

* fix conflict on e2e test on windows [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-09-11 17:55:25 -03:00
Al Duncanson
bb8846efab docs: fix grammar in TitleBarStyle api config documentation (#10874) 2024-09-03 11:17:38 +02:00
github-actions[bot]
1f45808ba0 Apply Version Updates From Current Changes (v1) (#10220)
* apply version updates

* use audit-ci

* fmt

---------

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-23 15:16:33 -03:00
Lucas Fernandes Nogueira
c3a90e5c27 fix(tauri-runtime-wry): ensure tray is created when event loop ready (#10611) 2024-08-15 08:21:48 -03:00
Lucas Fernandes Nogueira
937849f28c refactor(tauri-runtime-wry): Arc instead of Rc, closes #9775 (#10587) 2024-08-13 08:37:46 -03:00
Lucas Fernandes Nogueira
48a7415c21 chore(deps): update serialize-to-javascript to 0.1.2 (#10594) 2024-08-13 14:37:22 +03:00
renovate[bot]
60f7443ce0 chore(deps) Update Tauri CLI (1.x) (#8229)
* chore(deps) Update Tauri CLI

* fix build

* fix msrv

* update lockfile

* revert api test

* lint

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-08-12 12:25:06 -03:00
renovate[bot]
1aba10963e chore(deps) Update Tauri Utils (1.x) (#8232)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2024-08-05 14:11:05 +02:00
renovate[bot]
bc69b03101 chore(deps) Update Tauri Core (1.x) (#8103)
* chore(deps) Update Tauri Core

* Update Cargo.toml

* up and comments

* update covector for comment support

* fix mock deprecation warnings

* Revert "fix mock deprecation warnings"

This reverts commit d49f022ecc.

* downgrade mockito

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-08-05 13:02:23 +02:00
Lucas Fernandes Nogueira
a3946222b3 fix(core): usage without the compression feature (#10433) 2024-07-31 18:39:51 -03:00
Lucas Fernandes Nogueira
67b7ca6ef4 feat(core): fallback to file system for AssetResolver::get, closes #8411 (#10356)
* fix(core): fallback to file system for AssetResolver::get, closes #8411

Changes the AssetResolver::get implementation to fallback to reading the distDir directly when using the development mode pointing to a external URL (which is the way most people use the dev mode and means there's no embedded assets to pull from).

* fix clippy

* fix test

* clippy

* clippy2

* update time
2024-07-31 07:13:52 -03:00
Fabian-Lars
eb58ac382b fix(core): Return early in core.js if it's inside an iframe (#10300)
* fix(core): Return early in core.js if it's inside an iframe

* ipc.js
2024-07-30 16:27:40 +09:00
Lucas Fernandes Nogueira
b59b755a4b fix: clippy warnings (#10415) 2024-07-29 23:08:59 +02:00
anatawa12
fbcbc5ef7c chore: emit rustc-check-cfg for rust 1.80 (#10392)
* chore: emit rustc-check-cfg for rust 1.80

* build: add lints.rust.unexpected_cfgs to suppress false positive warnings
2024-07-29 12:58:26 -03:00
chip
51d043209b integration tests related to recent security advisory (#9983)
* test if an uninitialized iframe can call the ipc

* test that calls without __TAURI_INVOKE_KEY__ fail

* fix cargo manifest newline change

* add comment to help unknown error message changes

* license headers

* add identifier and icons to config

* fix clippy error

* Create change-pr-9983.md

* add tag to changefile

* rename changefile
2024-07-23 11:23:29 +09:00
Fabian-Lars
56ffd29bc8 fix(core/windows): Remove UNC prefix from tempdir fn (#10288)
fixes #10285
2024-07-15 20:00:43 +03:00
Amr Bashir
220bf92ed8 fix(core/updater): pass /NS to nsis installer to disable creating shortcuts on updates (#9413)
* fix(core/updater): pass `/NS` to nsis installer to disable creating shortcuts on updates

closes #9395

* Update .changes/utils-nsis-args-ns.md [skip ci]

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-07-08 20:57:31 -03:00
Fabian-Lars
0aa0378c8d feat(cli): add macos hardened runtime signing config option (#9318) (#10199)
* feat(cli): add macos signing config option

* rename option to hardened_runtime

* chore(cli): use default true in hardened runtime config

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-07-08 15:51:20 +03:00