Commit Graph

3771 Commits

Author SHA1 Message Date
Fabian-Lars 7c16d0fd84
ci: fix msrv check (#11590) 2024-11-05 17:42:33 +02:00
Fabian-Lars 9752eb638f
ci: Remove `tauri-driver` from covector config (#11588)
we messed up the versions which causes the publishing pipeline to fail all the time.

i doubt we'll release any further v1 tauri-driver updates anyway
2024-11-05 08:14:15 -03:00
Lucas Nogueira 8fd4dbdc18
fix(ci): update syn to 2.0.82 2024-10-21 08:36:21 -03:00
github-actions[bot] b09d8873a1
apply version updates (#11434)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-10-21 08:16:28 -03:00
Lucas Nogueira 3a3c2d0c05
fix(ci): downgrade openssl-sys 2024-10-20 10:43:38 -03:00
Lucas Nogueira 16e4e7b7c0
chore(ci): downgrade openssl 2024-10-20 10:31:40 -03:00
Lucas Fernandes Nogueira 68101c8081
fix(ci): update syn to 2.0.81 (#11424) 2024-10-20 09:07:38 -03:00
Amr Bashir a5f045e527
fix(bundler): try to sign binaries only if targeting windows (#11404)
* fix(bundler): try to sign binaries only if targeting windows

closes #10505

* fmt
2024-10-20 08:56:41 -03:00
Lucas Fernandes Nogueira 7b0aac9129
chore: publish 1.x NPM packages with the v1 tag (#11188) 2024-10-15 06:02:01 +03:00
Lucas Fernandes Nogueira 36ea78613d
fix: aarch64 docker image regression from #11358 (#11360) 2024-10-14 21:14:21 -03: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 c4b77c0567
fix(ci): downgrade MSRV conflicting crates (#11357) 2024-10-14 08:51:02 -03:00
Amr Bashir 343b11d7c7
feat: add deno support (#11305)
* feat: add deno support

ref: denoland/deno#20738

* Update packages_nodejs.rs

* typo

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-10-11 16:47:55 -03:00
Lucas Fernandes Nogueira a5435b0c64
fix(ci): msrv downgrade script (#11286) 2024-10-09 10:30:27 -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
Orvar Segerström 019f94f128
fix(nsis): properly handle Webview2 download return value (#11131) 2024-09-26 02:38:57 +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 70b852595a
fix(ci): install webkit2gtk-4.1 for e2e tests 2024-09-15 09:58:11 -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
Amr Bashir 298f8ca584
feat(bundler/nsis): store main binary name to be used in registry for future updates (#10952)
* feat(bundler): store main binary name to be used in registry for furture updates

* revert wix changes as leftover binaries are fixed by https://github.com/tauri-apps/tauri/pull/10967
2024-09-13 16:08:51 +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
Fabian-Lars bc85e06dae
ci: Fix msrv check (#10875) 2024-09-03 12:12:56 +02:00
Al Duncanson bb8846efab
docs: fix grammar in `TitleBarStyle` api config documentation (#10874) 2024-09-03 11:17:38 +02:00
Lucas Nogueira 7fdc0472b9
chore(cli): remove unused code 2024-08-27 18:29:51 -03: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 Nogueira 9082a39604
fix(cli): env_logger usage 2024-08-23 13:20:24 -03:00
Lucas Nogueira d84ae448e5
fix(cli): downgrade env_logger to 0.10 to satisfy MSRV, fix CI 2024-08-23 13:13:05 -03:00
renovate[bot] 3e1c28b90c
chore(deps) Update dependency @types/node to v20.16.1 (#10722)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 14:05:06 -03:00
renovate[bot] 2b61447dfc
chore(deps) Update Rust crate proc-macro2 to v1.0.86 (#10621)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-15 10:51:27 -03:00
renovate[bot] 0469b6b078
chore(deps) Update Tauri API Definitions (1.x) (#10622)
* chore(deps) Update Tauri API Definitions

* fix lint

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-15 10:51:10 -03:00
renovate[bot] 3b841f28bb
chore(deps) Update Tauri CLI (1.x) (#10628)
* chore(deps) Update Tauri CLI

* fix deps

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-15 10:50:54 -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
Fabian-Lars 297cd55c44
fix: Fix bundler&cli MSRV (#10499)
* chore(deps) Update Tauri Bundler

* ci: Also check bundler and cli in msrv check

* fix

* 1

* 2

* 3

* msrv

* downgrade handlebars again

* x

* x

* x

* x

* x

* x

* this makes no sense

* srsly wtf

* me dumb dumb

* bufreader

* x

* x

* changefile

* fix permissions

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-08 16:50:13 -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