Compare commits

..

132 Commits

Author SHA1 Message Date
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
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
Lucas Fernandes Nogueira
7d381495ce fix(ci): gh CLI expects the GH_TOKEN env var (#10334) 2024-07-20 09:42:53 -03:00
Fabian-Lars
56ffd29bc8 fix(core/windows): Remove UNC prefix from tempdir fn (#10288)
fixes #10285
2024-07-15 20:00:43 +03:00
Lucas Fernandes Nogueira
9d8df7cf83 fix(ci): update covector workflow downgrade crates step (#10269) 2024-07-13 07:39:08 -03:00
Fabian-Lars
390b35d87a ci: Fix cli auto publishing (#10222) 2024-07-12 10:46:21 -03:00
Amr Bashir
212001c1df fix(cli): parse cargo--target-dir flag (#10233)
* fix(cli): parse cargo`--target-dir` flag

closes #10190

* clippy
2024-07-10 16:01:13 +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
Fabian-Lars
033a25c3a8 ci: Fix msrv check and audit check (#10219)
* ci: Fix msrv check and audit check

* fix cli js audit too
2024-07-08 15:25:46 +03:00
Amr Bashir
1c2ff81335 fix(bundler): update nsis_tauri_utils to 0.4.1 (#10183) 2024-07-08 13:34:15 +02:00
Fabian-Lars
986b52fa57 ci: Fix v1 docs update trigger (#10208) 2024-07-05 15:57:06 +03:00
github-actions[bot]
0a00375f56 apply version updates (#10178)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-07-02 13:40:45 +02:00
Fabian-Lars
4bffa5cff0 fix(core): fix compilation when shell-execute or shell-sidecar (#10174)
* fix(core): fix compilation when `shell-execute` or `shell-sidecar` (#9729)

* fix(core): fix compilation when `shell-execute` or `shell-sidecar`

regression from: https://github.com/tauri-apps/tauri/pull/9706

* change file

* lint

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-07-02 07:38:46 -03:00
Amr Bashir
3280f88f51 ci: recognize contributors in releases (#10004) 2024-07-02 07:23:23 -03:00
Lucas Nogueira
cf331cdc3e fix(core): lint 2024-07-01 23:54:56 -03:00
Lucas Nogueira
574076541a fix(ci): downgrade crates for MSRV check 2024-07-01 23:52:09 -03:00
github-actions[bot]
89f3048f52 apply version updates (#9871)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-07-01 23:13:05 -03:00
Amr Bashir
08f57efefd fix(cli): parse --profile=<profile> syntax (#10136)
* fix(cli): parse `--profile=<profile>` syntax

ref: https://github.com/tauri-apps/tauri/issues/6255#issuecomment-2192466839

* Update tooling/cli/src/interface/rust.rs

* derive default

* safe check next arg

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-06-27 06:53:29 -03:00
Fabian-Lars
63da834ce4 ci: Fix msrv check (#10118)
* ci: Fix os_pipe precise version

* reading is hard

* downgrade syn

* more specific

* WHO DO YOU CALL UNSTABLE

* i just want to go to bed
2024-06-25 02:58:20 +03:00
chip
c2d3afa4fb prevent uncomment collision in 1.x invoke_key templating (fix #10084) (#10087)
* don't use invoke key template name in comment (fix #10084)

* undo whitespace change
2024-06-18 19:42:19 +03:00
Harry Mallon
924387092e feat: add dmg settings, cherry picked from #7964 (#8334)
* feat(bundler): add dmg settings, closes #4669 (#7964)

* fix(bundler): lint and cleanup for #7964 (#8275)

* fmt

---------

Co-authored-by: Andrew <andrey255@live.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2024-06-17 13:25:12 +02:00
Pylogmon
d2786bf699 chore(template): template format error (#10018)
* chore(template): template format error

* fix
2024-06-12 04:30:24 +03:00
Pylogmon
674accad75 fix: missing depends for rpm package (#10015)
* fix: missing depends for rpm package

* chore: add changes
2024-06-12 04:24:03 +03:00
Fabian-Lars
09152d83e1 ci(msrv-list): Downgrade os_pipe (#10014) 2024-06-11 21:12:44 +03:00
Fabian-Lars
3752eb1e6b ci(msrv-list): downgrade hyper earlier (#10002) 2024-06-06 17:42:42 +03:00
Fabian-Lars
d104abb656 fix(bench): Update time, backport of #9993 (#10000)
* fix(bench): Update time, backport of #9993

* x
2024-06-06 16:07:32 +03:00
anatawa12
940aa183c7 fix(nsis): run app as normal user (#9944) (#9995)
(cherry picked from commit 6f469534b0)

Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
2024-06-06 15:00:23 +02:00
anatawa12
a423c52c1c fix(cli): not working with license.workspace = true (#9998) 2024-06-06 13:17:33 +02:00
anatawa12
c12ed92da5 fix(cli): Cargo.lock is not synchronized with Cargo.toml (#9996) 2024-06-06 13:05:13 +02:00
Pylogmon
8b66174f0d fix(bundler): fix error when renaming the downloaded zip of NSIS (#9956) 2024-06-05 04:47:03 +03:00
Lucas Fernandes Nogueira
07b02c9f96 fix(core): test invoke key, closes #9960 (#9972) 2024-06-04 17:02:18 -03:00
Jerry
8ee8f09390 fix(core): fix check temp path permission on mac os, fix #6256 (#9588)
* fix: check temp path permission on mac os

* chore: format code
2024-06-04 10:02:54 -03:00
Pylogmon
78fc841370 feat(bundler): add provides, conflicts and replaces for deb and rpm (#9942)
Backport of #9331
2024-06-04 04:47:17 +03:00
AnthonyNGarcia
a301be52d2 fix(windows): Fix Windows System User build failures by using the current directory for bundling tools (fix: 9895) (#9914)
Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
2024-06-03 21:45:44 +03:00
muwoo
5909662766 feat(bundler): support custom sign command on Windows (#9902) 2024-06-03 21:34:49 +03:00
Harry Mallon
253595a22d feat(bundler): Add RPM packaging, closes #4402 (#5202) (#9809)
* feat(bundler): Add RPM packaging

* feat(bundler): Update 'rpm' to 0.13.1

* Fix fmt

Co-authored-by: Olivier Lemasle <olivier.lemasle@apalia.net>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-05-28 22:31:29 -03:00
Fabian-Lars
a020828d0e feat(bundler/windows): Update wix to fix vulnerabilities and add arm support (#9861)
* feat(bundler/windows): Update wix to fix vulnerbilities and add arm support

* is this what it's complaining about?

* delete change file

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-05-28 22:31:16 -03:00
Amr Bashir
e48157da2f fix(core/shell/command): retry sending events when it fails, closes #7684 (#9698)
* fix(core/shell/command): retry sending events when it fails, closes #7684

* try normally first

* sleep first
2024-05-28 11:48:57 -03:00
Amr Bashir
44e3335da8 fix(core/shell): speedup Command.execute & fix extra new lines (#9796)
* fix(core/shell): speedup `Command.execute` & fix extra new lines (#9706)

* fix(core/shell): speedup `Command.execute` & fix extra new lines

The speed gains comes from running the Command in Rust fully and returning the result in one go instead of using events.

The extra new lines was a regression from https://github.com/tauri-apps/tauri/pull/6519

ref: https://github.com/tauri-apps/tauri/issues/7684#issuecomment-2100897383

* fix unix build

* clippy

* cleanup

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>

* lock file

* minor

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-05-24 13:40:05 -03:00
github-actions[bot]
bf708a21a8 apply version updates (#9857)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-05-22 23:10:41 -03:00
chip
f6d81dfe08 Merge pull request from GHSA-57fm-592m-34r7
* add __TAURI_INVOKE_KEY__ to ipc calls to detect initialized frames

* move ipc key check to start of on_message

* cargo +nightly fmt

* undo Cargo.toml formatting changes

* undo Cargo.toml formatting changes

* undo Cargo.toml formatting changes

* remove merged changefiles

* undo formatting changes to js files

* undo formatting changes to js files

* Update to patched wry  release

* fix: optional chaining is not supported on older webviews (#9529)

* Revert "undo formatting changes to js files"

This reverts commit a7ef0d91ea1b183e091ea65a2b201d65522cc1d5.

* Revert "undo formatting changes to js files"

This reverts commit 0fcfd4664b915af51b71e7ea68929fd5b6cb5fc3.

* revert core.js

* inject __TAURI_INVOKE_KEY__ to __TAURI_IPC__ instead

* remove unrelated changes file

* remove left over dbg! call

* change file

---------

Co-authored-by: Tillmann <28728469+tweidinger@users.noreply.github.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-05-22 17:49:08 -03:00
木偶
50aabad1f6 refactor(updater/nsis): migrate run updater using powershell to ShellExecute (#9818) 2024-05-22 21:26:17 +03:00
github-actions[bot]
d78fa20d86 Apply Version Updates From Current Changes (v1) (#9793)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2024-05-15 20:09:07 +03:00
Amr Bashir
3b69c1384b Revert "fix(core/shell): speedup Command.execute & fix extra new lines (#9706)" (#9792)
* Revert "fix(core/shell): speedup `Command.execute` & fix extra new lines (#9706)"

This reverts commit 7f885bd5ed.

* change file
2024-05-15 19:28:15 +03:00
Amr Bashir
704260bb3c fix(macos/dialog): avoid setting empty default_path (#9784)
closes #7566

ref: https://github.com/tauri-apps/tauri/issues/4065
ref: https://github.com/tauri-apps/tauri/pull/4028
ref: https://github.com/tauri-apps/tauri/issues/9762
2024-05-15 18:45:11 +03:00
Amr Bashir
36b082a9c8 ci: pull .crate file from workspace target directory (#9732) 2024-05-10 02:32:15 +03:00
github-actions[bot]
f45d35cf06 Apply Version Updates From Current Changes (v1) (#9730)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2024-05-10 00:13:21 +03:00
Amr Bashir
ef35a793c5 fix(core): fix compilation when shell-execute or shell-sidecar (#9729)
* fix(core): fix compilation when `shell-execute` or `shell-sidecar`

regression from: https://github.com/tauri-apps/tauri/pull/9706

* change file
2024-05-09 23:56:52 +03:00
github-actions[bot]
15c62b5d99 Apply Version Updates From Current Changes (v1) (#9721)
* apply version updates

* fmt

---------

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-05-09 15:22:45 -03:00
Lucas Fernandes Nogueira
9b90b67ed2 Revert "Apply Version Updates From Current Changes (v1)" (#9724)
This reverts commit 6bb721cd3d.
2024-05-09 14:02:31 -03:00
Angel S. Moreno
f1b0b00159 docs: added example of tauri.allowlist.protocol (#9726) 2024-05-09 19:52:55 +03:00
github-actions[bot]
6bb721cd3d Apply Version Updates From Current Changes (v1) (#9709)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-05-09 12:28:21 -03:00
Amr Bashir
7f885bd5ed fix(core/shell): speedup Command.execute & fix extra new lines (#9706)
* fix(core/shell): speedup `Command.execute` & fix extra new lines

The speed gains comes from running the Command in Rust fully and returning the result in one go instead of using events.

The extra new lines was a regression from https://github.com/tauri-apps/tauri/pull/6519

ref: https://github.com/tauri-apps/tauri/issues/7684#issuecomment-2100897383

* fix unix build

* clippy

* cleanup

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-05-09 18:14:53 +03:00
Lucas Fernandes Nogueira
2eb21378a6 fix(tauri-runtime-wry): window draw span not closing (#9718)
* fix(tauri-runtime-wry): window draw span not closing

* use .retain
2024-05-09 10:09:48 -03:00
Enkhjil Enkhbaatar
ab9ec42c10 fix(windows): nsis failed to resolve resources with $ in their name, closes #9657 (#9659) 2024-05-08 20:32:09 +03:00
github-actions[bot]
07b6f9fa83 apply version updates (#9683)
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2024-05-06 22:33:33 +02:00
Fabian-Lars
db9ec4e79c ci: fix msrv check (#9682)
* ci: fix msrv check
2024-05-06 21:59:34 +02:00
Fabian-Lars
2a9a28044b ci: fix msrv check (#9681) 2024-05-06 21:48:13 +02:00
Fabian-Lars
5ee5ed4dc6 fix: schemars 0.8.18 compatibility (#9680)
* fix: schemars 0.8.18 compatibility

backport of #9676

Co-authored-by: Hankung <73242257+Hankung7183@users.noreply.github.com>

* fix clippy lol

---------

Co-authored-by: Hankung <73242257+Hankung7183@users.noreply.github.com>
2024-05-06 21:35:01 +02:00
Amr Bashir
b8fd8e1bac refactor(nsis): use nsis's built-in com plugin instead of ApplicationID plugin (#9606)
* Use WinShell instead of ApplicationID

* Uninst shortcut before removing start menu one

* Use nsis's buit-in com plugin instead of WinShell

* Remove download ApplicationID code

* Add change file

* Clippy and format

* Allow dead code on extract_zip

* Qualify extract_zip path to make clippy happy

* Move macro up

Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
2024-04-30 15:11:00 +03:00
Amr Bashir
0749a84ae0 chore(cli/deps): update nsis-tauri-utils to 0.3 (#9605) 2024-04-30 13:05:08 +02:00
Amr Bashir
80db9dff28 ci: use node 16 (#9600)
* ci: use lts node version in CI

* lts/*

* 16

* more 16
2024-04-29 17:33:28 +03:00
Fabian-Lars
532279b724 ci(1.x): Fix publishing of cli-macos-x64 (#9575)
* ci: Fix publishing of cli-macos-x64

* temp: only publish darwin-x64

* temp: wrong version

* temp: disable everything but darwin-x64

* temp: wrong test arch...

* temp: last one

* temp: last one for realsies

* remove temp stuff

* revert more
2024-04-29 16:23:18 +03:00
Lucas Fernandes Nogueira
3e98145ac3 fix(core): run plugin init script in a separate context (#9570)
* fix(core): run plugin init script in a separate context

* fix ci
2024-04-28 11:15:26 -03:00
Fabian-Lars
fd2f8ab774 ci(1.x): Remove nodejs14 test in cli.js publishing workflow (#9569) 2024-04-25 12:45:06 +02:00
github-actions[bot]
caddd5bdd8 Apply Version Updates From Current Changes (v1) (#9544)
* apply version updates

* downgrade tokio deps

---------

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-04-22 12:34:26 -03:00
Lucas Fernandes Nogueira
72c2636527 chore(ci): fix MSRV downgrade (#9543) 2024-04-22 11:17:33 -03:00
Lucas Fernandes Nogueira
83e024c670 chore(ci): downgrade home crate (#9542)
* chore(ci): downgrade home crate

* chore: update deps
2024-04-22 10:57:59 -03:00
Lucas Fernandes Nogueira
07c9e352df fix(ci): downgrade cc crate for MSRV compatibility (#9541) 2024-04-22 10:15:52 -03:00
Fabian-Lars
d00178d60c ci: Fix package downgrades in covector workflow (#9538)
* ci: Fix package downgrades in covector workflow

* some more packages
2024-04-22 09:16:16 -03:00
Lucas Fernandes Nogueira
705da977a9 fix: optional chaining is not supported on older webviews (#9529) 2024-04-21 20:53:51 -03:00
Fabian-Lars
1675e41f05 fix(bundler): don't convert product name to snake case when cross compiling (#9481)
* fix(bundler): Don't convert product name to snake case when cross compiling

fixes #9221

* Update bundler-cross-uppercase-productname.md

* Update .changes/bundler-cross-uppercase-productname.md
2024-04-18 17:04:17 +02:00
Fabian-Lars
f9638b6315 fix(cli): append extension to app binary manually on rename (#9491)
fixes #9488
fixes #8848
2024-04-18 05:31:07 +02:00
Amr Bashir
aeddc40b9e fix(cli/info): fix crash when checking node version (#9411)
closes #9396
2024-04-15 11:39:17 +02:00
Amr Bashir
fe6f81fa88 chore: fix clippy false positive (#9329) 2024-04-01 13:11:09 -03:00
Jet Li
9dd67abd93 fix(cli): upgrade heck to better support Chinese/Japanese prodcut name on Linux (#9298) 2024-04-01 17:23:15 +02:00
Fabian-Lars
dbe81b8410 fix(bundler/nsis): Don't use /R flag on installation dir (#9282) 2024-03-27 00:55:57 +02:00
Fabian-Lars
017861e4d5 fix(bundler): Fix nsis resource paths on non-windows build systems. (#9281)
* fix(bundler): Fix nsis resource paths on non-windows build systems.

* remove leftover from alternative
2024-03-27 00:40:29 +02:00
Fabian-Lars
77cc49ac3c fix(cli): Clone Options struct after mutating it. (#9188) 2024-03-19 10:37:12 -03:00
Amr Bashir
e3b6d38d26 fix(core/path): remove suffix in basename only once (#9166)
* fix(core/path): remove suffix in basename only once

ref: #9064

* Update tooling/api/src/path.ts

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-03-18 08:40:18 -03:00
github-actions[bot]
b705f89a10 Apply Version Updates From Current Changes (v1) (#9074)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-03-07 15:18:27 -03:00
Amr Bashir
97a05145fb fix(cli): migrate to stable features of log crate (#9119)
* fix(cli): migrate to stable features of `log` crate

* to_cow_str
2024-03-07 13:39:32 -03:00
anatawa12
b15948b11c fix(cli): use matched_path_or_any_parents when checking if a file is ignored (#8903)
* fix: taurignore ignoreing folders not working for watch

* docs: add to changes

* fix: panic: path is expected to be under the root

* Update taurignore-ignoring-folders-not-working-for-watch.md

* Update taurignore-ignoring-folders-not-working-for-watch.md
2024-03-06 21:12:41 +02:00
bifs
5163861588 fix(bundler): escape potentially problematic strings in an XML (#9040)
* fix(bundler): escape potentially problematic strings in an XML (#9030)

- replace characters invalid in XML with their escaped form to properly bundle resources with such characters in their pathnames.

* change file
2024-03-04 21:08:12 +02:00
github-actions[bot]
80a215a6f3 Apply Version Updates From Current Changes (v1) (#9013)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-02-28 00:11:02 -03:00
Amr Bashir
01ae1218dc ci: downgrade thread_local to 1.1.7 in msrv list (#9012) 2024-02-27 23:03:28 -03:00
Amr Bashir
d42668ce17 fix(runtime-wry): avoid panic during clipboard initialization on wayland (#9003)
closes #8964
2024-02-27 14:35:22 -03:00
Amr Bashir
1ab0db6352 chore: port PR template from dev branch (#9004) 2024-02-27 18:48:00 +02:00
1138 changed files with 65024 additions and 80679 deletions

View File

@@ -1,8 +0,0 @@
---
"tauri-utils": patch:enhance
"tauri": patch:enhance
"tauri-cli": patch:enhance
"@tauri-apps/cli": patch:enhance
---
Changed the permission and capability platforms to be optional.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:breaking
---
Removed the lifetime parameter from `ipc::GlobalScope` and `ipc::CommandScope`.

View File

@@ -1,6 +0,0 @@
---
"tauri": patch:breaking
"tauri-utils": patch:breaking
---
The ACL configuration for remote URLs now uses the URLPattern standard instead of glob patterns.

View File

@@ -1,5 +0,0 @@
---
"tauri": 'patch:enhance'
---
A file-drop now allows sub-directories recursively when the path is a directory.

View File

@@ -1,9 +0,0 @@
---
'@tauri-apps/api': 'patch:breaking'
---
Renamed the following enum variants of `TauriEvent` enum:
- `TauriEvent.WEBVIEW_FILE_DROP` -> `TauriEvent.FILE_DROP`
- `TauriEvent.WEBVIEW_FILE_DROP_HOVER` -> `TauriEvent.FILE_DROP_HOVER`
- `TauriEvent.WEBVIEW_FILE_DROP_CANCELLED` -> `TauriEvent.FILE_DROP_CANCELLED`

View File

@@ -1,5 +0,0 @@
---
'@tauri-apps/api': 'patch:feat'
---
Add a new `webviewWindow` module that exports `WebviewWindow` class and related methods such as `getCurrent` and `getAll`.

View File

@@ -1,5 +0,0 @@
---
'@tauri-apps/api': 'patch:breaking'
---
Move `WebviewWindow` class from `webview` module to a new `webviewWindow` module.

View File

@@ -1,5 +0,0 @@
---
'@tauri-apps/api': 'patch:feat'
---
Add `Window.onFileDropEvent` method.

View File

@@ -1,9 +0,0 @@
---
"tauri": patch:enhance
"tauri-build": patch:breaking
"tauri-utils": patch:breaking
"tauri-plugin": patch:breaking
"tauri-codegen": patch:breaking
---
Allow defining permissions for the application commands via `tauri_build::Attributes::app_manifest`.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:feat
---
The `Assets` trait now include a `setup` method that lets you run initialization code for your custom asset provider.

View File

@@ -1,15 +0,0 @@
---
"tauri": major:feat
"tauri-plugin": major:feat
"tauri-build": major:feat
"tauri-utils": major:feat
"tauri-codegen": major:feat
"tauri-macros": major:feat
"tauri-runtime": major:feat
"tauri-runtime-wry": major:feat
"tauri-cli": major:feat
"@tauri-apps/api": major:feat
"@tauri-apps/cli": major:feat
---
Move to beta!

View File

@@ -1,5 +0,0 @@
---
"tauri-build": patch:bug
---
Fixed generation of capability schema for permissions field which previously disallowed mixed (strings and objects) permission definition.

View File

@@ -1,5 +0,0 @@
---
'tauri-bundler': 'patch:bug'
---
Fix NSIS installer always containing a license page even though `licenseFile` option is not set in the config.

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": patch:bug
---
Don't fallback to `licenseFile` and use only `license` field when building RPM.

View File

@@ -1,6 +0,0 @@
---
"tauri": patch:enhance
"tauri-utils": patch:enhance
---
Add `webviews` array on the capability for usage on multiwebview contexts.

View File

@@ -1,7 +0,0 @@
---
"tauri-build": patch:breaking
"tauri-utils": patch:enhance
"tauri-codegen": patch:enhance
---
Added a new configuration option `tauri.conf.json > app > security > capabilities` to reference existing capabilities and inline new ones. If it is empty, all capabilities are still included preserving the current behavior.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:feat
---
Added `CapabilityBuilder::platform` to link the runtime capability with a specific platform.

View File

@@ -1,7 +0,0 @@
---
"tauri-utils": patch:breaking
"tauri-cli": patch:breaking
"@tauri-apps/cli": patch:breaking
---
Changed the capability format to allow configuring both `remote: { urls: Vec<String> }` and `local: bool (default: true)` instead of choosing one on the `context` field.

View File

@@ -1,12 +0,0 @@
---
'tauri-cli': 'patch:feat'
'@tauri-apps/cli': 'patch:feat'
---
Add new subcommands for managing permissions and cababilities:
- `tauri permission new`
- `tauri permission add`
- `tauri permission rm`
- `tauri permission ls`
- `tauri capability new`

View File

@@ -1,6 +0,0 @@
---
'tauri-cli': 'patch:enhance'
'@tauri-apps/cli': 'patch:enhance'
---
Add `--no-bundle` flag for `tauri build` command to skip bundling. Previously `none` was used to skip bundling, it will now be treated as invalid format and a warning will be emitted instead.

View File

@@ -1,6 +0,0 @@
---
'tauri-cli': 'patch:bug'
'@tauri-apps/cli': 'patch:bug'
---
Fixes Android and iOS project initialization when the Tauri CLI is on a different disk partition.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Fix `tauri plugin android init` printing invalid code that has a missing closing `"`.

View File

@@ -1,6 +0,0 @@
---
'tauri-cli': 'patch:enhance'
'@tauri-apps/cli': 'patch:enhance'
---
Add plugins to `Cargo.toml` when using `tauri migrate`

View File

@@ -1,5 +0,0 @@
---
"tauri-cli": patch:deps
---
Update dependencies, fix `log` compilation issue.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Fix bundling when `plugins > updater > windows > installerArgs` are set in `tauri.conf.json`

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
On Windows, fixed `tauri info` fails to detect the build tool when the system language is CJK.

View File

@@ -1,6 +0,0 @@
---
"tauri-macros": patch:enhance
"tauri-codegen": patch:enhance
---
The `generate_context` proc macro now accepts a `capabilities` attribute where the value is an array of file paths that can be [conditionally compiled](https://doc.rust-lang.org/reference/conditional-compilation.html). These capabilities are added to the application along the capabilities defined in the Tauri configuration file.

View File

@@ -1,6 +0,0 @@
---
"tauri-macros": patch:feat
"tauri-codegen": patch:feat
---
The `Context` codegen now accepts a `assets` input to define a custom `tauri::Assets` implementation.

View File

@@ -1,6 +0,0 @@
---
'tauri-utils': 'patch:bug'
'tauri': 'patch:bug'
---
Fix compile time error in context generation when using `app.windows.windowEffects.color`

View File

@@ -13,11 +13,12 @@
"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.1 libayatana-appindicator3-dev",
"sudo apt-get install -y webkit2gtk-4.0 libayatana-appindicator3-dev",
"cargo install cargo-audit --features=fix",
{
"command": "cargo generate-lockfile",
@@ -71,12 +72,13 @@
],
"assets": [
{
"path": "${ pkg.path }/target/package/${ pkg.pkg }-${ pkgFile.version }.crate",
"path": "./target/package/${ pkg.pkg }-${ pkgFile.version }.crate",
"name": "${ pkg.pkg }-${ pkgFile.version }.crate"
}
]
},
"javascript": {
"errorOnVersionRange": "^2.0.0-0",
"version": true,
"getPublishedVersion": "node ../../.scripts/covector/package-latest-version.js npm ${ pkgFile.pkg.name } ${ pkgFile.pkg.version }",
"prepublish": [
@@ -85,12 +87,12 @@
"dryRunCommand": true
},
{
"command": "echo '<details>\n<summary><em><h4>Yarn Audit</h4></em></summary>\n\n```'",
"command": "echo '<details>\n<summary><em><h4>Audit</h4></em></summary>\n\n```'",
"dryRunCommand": true,
"pipe": true
},
{
"command": "yarn audit",
"command": "npx audit-ci --config ./audit-ci.jsonc",
"dryRunCommand": true,
"runFromRoot": true,
"pipe": true
@@ -113,7 +115,7 @@
"pipe": true
},
{
"command": "yarn publish --access public --loglevel silly --tag next",
"command": "yarn publish --access public --loglevel silly",
"dryRunCommand": "npm publish --dry-run --access public",
"pipe": true
},
@@ -146,12 +148,12 @@
"dryRunCommand": true
},
{
"command": "echo '<details>\n<summary><em><h4>Yarn Audit</h4></em></summary>\n\n```'",
"command": "echo '<details>\n<summary><em><h4>Audit</h4></em></summary>\n\n```'",
"dryRunCommand": true,
"pipe": true
},
{
"command": "yarn audit",
"command": "npx audit-ci --config ./audit-ci.jsonc",
"dryRunCommand": true,
"runFromRoot": true,
"pipe": true
@@ -191,38 +193,47 @@
"tauri-bundler": {
"path": "./tooling/bundler",
"manager": "rust",
"dependencies": ["tauri-utils"]
"dependencies": [
"tauri-utils"
]
},
"tauri-runtime": {
"path": "./core/tauri-runtime",
"manager": "rust",
"dependencies": ["tauri-utils"]
"dependencies": [
"tauri-utils"
]
},
"tauri-runtime-wry": {
"path": "./core/tauri-runtime-wry",
"manager": "rust",
"dependencies": ["tauri-utils", "tauri-runtime"]
"dependencies": [
"tauri-utils",
"tauri-runtime"
]
},
"tauri-codegen": {
"path": "./core/tauri-codegen",
"manager": "rust",
"dependencies": ["tauri-utils"]
"dependencies": [
"tauri-utils"
]
},
"tauri-macros": {
"path": "./core/tauri-macros",
"manager": "rust",
"dependencies": ["tauri-codegen", "tauri-utils"]
},
"tauri-plugin": {
"path": "./core/tauri-plugin",
"manager": "rust",
"dependencies": ["tauri-utils"],
"postversion": "node ../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }"
"dependencies": [
"tauri-codegen",
"tauri-utils"
]
},
"tauri-build": {
"path": "./core/tauri-build",
"manager": "rust",
"dependencies": ["tauri-codegen", "tauri-utils"],
"dependencies": [
"tauri-codegen",
"tauri-utils"
],
"postversion": [
"node ../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
"cargo build --manifest-path ../tauri-config-schema/Cargo.toml"
@@ -241,8 +252,7 @@
"tauri-macros",
"tauri-utils",
"tauri-runtime",
"tauri-runtime-wry",
"tauri-build"
"tauri-runtime-wry"
],
"postversion": "node ../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }"
},
@@ -250,7 +260,9 @@
"path": "./tooling/cli/node",
"manager": "javascript",
"getPublishedVersion": "node ../../../.scripts/covector/package-latest-version.js npm ${ pkgFile.pkg.name } ${ pkgFile.pkg.version }",
"dependencies": ["tauri-cli"],
"dependencies": [
"tauri-cli"
],
"postversion": [
"node ../../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
"cargo build --manifest-path ../../../core/tauri-config-schema/Cargo.toml"
@@ -262,7 +274,10 @@
"tauri-cli": {
"path": "./tooling/cli",
"manager": "rust",
"dependencies": ["tauri-bundler", "tauri-utils"],
"dependencies": [
"tauri-bundler",
"tauri-utils"
],
"postversion": [
"cargo check",
"cargo build --manifest-path ../../core/tauri-config-schema/Cargo.toml"

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:breaking
---
The `Context` struct and the `Assets` trait now takes a `R: Runtime` generic.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:breaking
---
`Context::assets` now returns `&dyn Assets` instead of `&A` generic.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:breaking
---
The `Context` type no longer uses the `<A: Assets>` generic so the assets implementation can be swapped with `Context::assets_mut`.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:breaking
---
Removed `Context::assets_mut` and added `Context::set_assets`.

View File

@@ -1,5 +0,0 @@
---
"tauri-utils": patch:enhance
---
The `Context` struct now includes the runtime authority instead of the resolved ACL. This does not impact most applications.

View File

@@ -1,6 +0,0 @@
---
'tauri': 'patch:enhance'
'tauri-runtime-wry': 'patch'
---
Enhance centering a newly created window, it will no longer jump to center after being visible.

View File

@@ -1,5 +0,0 @@
---
'tauri': 'patch:bug'
---
Fix `emit` and `emit_to` (when used with `EventTarget::Any`) always skipping the webview listeners.

View File

@@ -1,5 +0,0 @@
---
'tauri': 'patch:bug'
---
Fix JS event listeners registered using JS `listen` api with `EventTarget::Any` never fired.

View File

@@ -1,5 +0,0 @@
---
'tauri': 'patch:enhance'
---
Return an id when using from `Manager::once_any`, `App::once`, `Window::once`, `Webview::once`, `WebviewWindow::once` and `fs::Scope::once`.

View File

@@ -1,7 +0,0 @@
---
"tauri": patch:enhance
"tauri-utils": patch:enhance
"tauri-codegen": patch:enhance
---
Do not include a CSP tag in the application HTML and rely on the custom protocol response header instead.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:enhance
---
Added `tauri::dev()` to determine whether we are running in development mode or not.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Downgrade minisign dependency fixing updater signing key bug and prevent it from happening in the future.

View File

@@ -1,5 +0,0 @@
---
"tauri-utils": patch:enhance
---
Enhance resource directory resolution on development.

View File

@@ -1,6 +0,0 @@
---
"tauri": patch:breaking
"tauri-codegen": patch:breaking
---
Expose `tauri::image` module to export the `JsImage` type and removed the `Image` root re-export.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:bug
---
Fixes capability webview label check.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:bug
---
Fixes `Window::add_child` deadlock.

View File

@@ -1,5 +0,0 @@
---
"tauri-build": patch:bug
---
Fixes the capability schema not resolving inner definitions.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:bug
---
Fix regression on IPC response when using a channel to return objects.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:bug
---
Clear JS event listeneres on page load, which fixes zombie listeners when the page reloads.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:bug
---
Fix `tauri migrate` for http plugin ACL.

View File

@@ -1,5 +0,0 @@
---
"tauri-build": patch:bug
---
Do not trigger build script to rerun if the frontendDist directory does not exist.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Fixes a regression on the `--config` argument not accepting file paths.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:bug
---
Resolve symlinks on the filesystem scope check.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:bug
---
Fix invoking toggle devtools by hotkey.

View File

@@ -1,6 +0,0 @@
---
"@tauri-apps/cli": patch:bug
"tauri-cli": patch:bug
---
Fixes process logs not showing on `ios dev`.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:bug
---
Fix old JS listeners being dropped on page load after it was possible to create new listeners.

View File

@@ -1,6 +0,0 @@
---
"@tauri-apps/cli": patch:bug
"tauri-cli": patch:bug
---
Do not migrate updater configuration if the active flag is set to false.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:bug
---
Convert the command name to camelCase when executing a mobile plugin command.

View File

@@ -1,6 +0,0 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Fixes android and iOS process spawning not working on Node.js.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:bug
---
Fix regression on the JavaScript code that processes the IPC message.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:bug
---
Fixes capability remote domain not allowing subpaths, query parameters and hash when those values are empty.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:bug
---
Fixes `Webview::reparent` not updating the webview parent window reference.

View File

@@ -1,5 +0,0 @@
---
"tauri-build": patch:bug
---
Do not rewrite capability JSON schema if it did not change.

View File

@@ -1,6 +0,0 @@
---
"tauri": patch:bug
"tauri-utils": patch:bug
---
Fixes scope resolution grouping scopes for all windows.

View File

@@ -1,5 +0,0 @@
---
"tauri-utils": patch:bug
---
Fix compile error when `tauri.conf.json` had `bundle > license` set.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:bug
---
Workaround for zbus not enabling the proper Cargo features for its nix dependency.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:bug
---
When using the multiwebview mode, properly remove the webview from memory on `Webview::close`.

View File

@@ -1,5 +0,0 @@
---
"tauri-runtime-wry": patch:bug
---
Fix window centering not taking monitor scale into account

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:bug
---
Fixes a deadlock when the window is destroyed.

View File

@@ -1,6 +0,0 @@
---
"tauri-plugin": patch:enhance
"tauri-utils": patch:enhance
---
Do not generate JSON schema and markdown reference file if the plugin does not define any permissions and delete those files if they exist.

View File

@@ -1,5 +0,0 @@
---
'tauri': 'major:breaking'
---
Renamed `icon-ico` and `icon-png` feature flags to `image-ico` and `image-png` respectively

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:breaking
---
Use the image crate for `tauri::image::Image` and remove the `from_png_bytes` and `from_ico_bytes` APIs.

View File

@@ -1,5 +0,0 @@
---
'tauri-build': patch:enhance
---
Added `Attributes::plugin()` to register a plugin that is inlined in the application crate.

View File

@@ -1,6 +0,0 @@
---
"@tauri-apps/cli": patch:enhance
"tauri-cli": patch:enhance
---
Setting up code signing is no longer required on iOS when using the simulator.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:enhance
---
Fallback to the postMessage IPC interface if we cannot reach the IPC custom protocol.

View File

@@ -1,6 +0,0 @@
---
"@tauri-apps/cli": patch:bug
"tauri-cli": patch:bug
---
Fixes dev watcher on mobile dev.

View File

@@ -1,5 +0,0 @@
---
"tauri-runtime-wry": patch:bug
---
Fixes auto resize and positioning when using the multiwebview mode.

View File

@@ -1,5 +0,0 @@
---
'tauri-build': 'patch:enhance'
---
Enable Hight DPI awareness for NSIS installer so it is not blurry on some systems.

View File

@@ -1,5 +0,0 @@
---
'tauri': 'major:breaking'
---
Removed `tauri::path::Result` and `tauri::path::Error` which were merely an unintentional re-export of `tauri::Result` and `tauri::Error` so use those instead.

View File

@@ -1,6 +0,0 @@
---
"tauri": patch:feat
"tauri-utils": patch:feat
---
Allow defining a permission that only applies to a set of target platforms via the `platforms` configuration option.

View File

@@ -1,5 +0,0 @@
---
"tauri-utils": patch:enhance
---
Changed plugin markdown docs generation to table format.

View File

@@ -1,128 +0,0 @@
{
"tag": "beta",
"changes": [
".changes/acl-platform-refactor.md",
".changes/acl-scope-refactor.md",
".changes/acl-urlpattern.md",
".changes/allow-recursive-asset-scope-on-file-drop-directory.md",
".changes/api-tauri-event-file-drop-rename.md",
".changes/api-webview-window-new-methods.md",
".changes/api-webview-window.md",
".changes/api-window-on-filedrop.md",
".changes/app-manifest.md",
".changes/assets-setup.md",
".changes/beta.md",
".changes/build-schema-generation.md",
".changes/bundler-license.md",
".changes/bundler-rpm-license.md",
".changes/capabilities-multiwebview.md",
".changes/capabilities-tauri-conf.md",
".changes/capability-builder-platform.md",
".changes/capability-context-refactor.md",
".changes/cli-acl-subcommands.md",
".changes/cli-build-no-bundle.md",
".changes/cli-mobile-init-partition.md",
".changes/cli-plugin-android-init.md",
".changes/cli-plugins-migrate.md",
".changes/cli-update-deps-fix-log.md",
".changes/cli-updater-unkown-fields.md",
".changes/cli-windows-build-tools-detect-utf8.md",
".changes/codegen-capabilities-attribute.md",
".changes/codegen-set-assets.md",
".changes/color-context-generation.md",
".changes/context-assets-runtime-generic.md",
".changes/context-assets-unbox.md",
".changes/context-remove-assets-generics.md",
".changes/context-remove-assets-mut.md",
".changes/context-runtime-authority.md",
".changes/core-center-window.md",
".changes/core-emit-js-all-targets.md",
".changes/core-js-event-anytarget.md",
".changes/core-once-event-return-event-id.md",
".changes/csp-header-linux.md",
".changes/dev-fn.md",
".changes/downgrade-minisign.md",
".changes/enhance-resource-dir-resolution.md",
".changes/expose-js-image.md",
".changes/fix-acl-webview-check.md",
".changes/fix-add-child-deadlock.md",
".changes/fix-capability-schema-definitions.md",
".changes/fix-channel-ipc-response.md",
".changes/fix-clear-residual-listeners.md",
".changes/fix-cli-migration-http-acl.md",
".changes/fix-codegen-rerun-if-changed.md",
".changes/fix-config-arg.md",
".changes/fix-fs-scope-check-symlink.md",
".changes/fix-invoke-devtools-by-hotkey.md",
".changes/fix-ios-dev-logs.md",
".changes/fix-js-unlisten-all-race.md",
".changes/fix-migrate-updater.md",
".changes/fix-mobile-cmd-case.md",
".changes/fix-mobile-process-spawn.md",
".changes/fix-process-ipc-message-fn.md",
".changes/fix-remote-domain-url.md",
".changes/fix-reparent.md",
".changes/fix-rewrite-schema.md",
".changes/fix-scope-resolution.md",
".changes/fix-tauri-build-license-field.md",
".changes/fix-tauri-build-unix.md",
".changes/fix-webview-close.md",
".changes/fix-window-center-monitor-scale.md",
".changes/fix-window-destroy-deadlock.md",
".changes/handle-empty-permissions.md",
".changes/ico-featrue-flags.md",
".changes/image-crate.md",
".changes/inline-plugins.md",
".changes/ios-signing-optional.md",
".changes/ipc-post-message-fallback.md",
".changes/mobile-watcher.md",
".changes/multiwebview-bounds-fixes.md",
".changes/nsis-dpi-aware.md",
".changes/path-result-error-rexport.md",
".changes/permission-platforms.md",
".changes/permission-table.md",
".changes/preserve-channel-order.md",
".changes/progress-bar-state-refactor.md",
".changes/re-export-progress-bar-status.md",
".changes/refactor-capabilities-schema.md",
".changes/refactor-capability-remote-option.md",
".changes/refactor-scope-ret-value.md",
".changes/remove-app-custom-protocol-feature.md",
".changes/remove-from-format-image.md",
".changes/remove-unit-uri.md",
".changes/reparent.md",
".changes/rerun-if-permission-created.md",
".changes/runtime-add-capability.md",
".changes/runtime-capability-dynamic.md",
".changes/runtime-icon-lifetime.md",
".changes/rwh-06.md",
".changes/schema_str.md",
".changes/set-auto-resize.md",
".changes/strict-csp-isolation-frame.md",
".changes/tauri-build-codegen-capabilities.md",
".changes/tauri-build-dev-changes.md",
".changes/tauri-close-requested-target-specific.md",
".changes/tauri-context-icon-methods.md",
".changes/tauri-error-sync.md",
".changes/tauri-icon-removed.md",
".changes/tauri-image-codegen.md",
".changes/tauri-image.md",
".changes/tauri-plugin-identifier-alphanumeric.md",
".changes/tauri-runtime-webview-events.md",
".changes/tauri-scope-object-error-sync.md",
".changes/tauri-utils-capability-refactor.md",
".changes/tauri-webview-events.md",
".changes/truncate-before-write-buildtask.md",
".changes/unstable-child-webview.md",
".changes/update-acl-paths-cli.md",
".changes/update-app-template-capabilities-conf.md",
".changes/update-plugin-template.md",
".changes/utils-bundle-target-all.md",
".changes/utils-bundle-type-all.md",
".changes/utils-debug-eprintln.md",
".changes/utils-named-capability-file.md",
".changes/utils-remove-asset-trait.md",
".changes/wry-0.36.md",
".changes/wry-0.37.md"
]
}

View File

@@ -1,6 +0,0 @@
---
"tauri": patch:enhance
"@tauri-apps/api": patch:enhance
---
Added a mechanism to preserve channel message order.

View File

@@ -1,6 +0,0 @@
---
"tauri": patch:breaking
"tauri-utils": patch:breaking
---
Moved `ProgressBarState` from `tauri-utils` to the `tauri::window` module and removed the `unity_uri` field.

View File

@@ -1,5 +0,0 @@
---
'tauri': 'patch:bug'
---
Export `ProgressBarStatus`, regression introduced in `2.0.0-beta.4`

View File

@@ -10,8 +10,8 @@ Use the following format:
```md
---
'package-a': 'patch:enhance'
'package-b': 'patch:enhance'
'package-a': patch
'package-b': patch
---
Change summary goes here
@@ -33,7 +33,7 @@ Additionally you could specify a tag for the change file to group it with other
```md
---
'package-a': 'patch:enhance'
'package-a': patch:bug
---
Change summary goes here

View File

@@ -1,8 +0,0 @@
---
"@tauri-apps/cli": patch:enhance
"tauri-cli": patch:enhance
"tauri-build": patch:enhance
"tauri-utils": patch:enhance
---
Moved the capability JSON schema to the `src-tauri/gen` folder so it's easier to track changes on the `capabilities` folder.

View File

@@ -1,6 +0,0 @@
---
"tauri-utils": patch:breaking
"tauri": patch:breaking
---
Changed the capability `remote` configuration to take a list of `urls` instead of `domains` for more flexibility.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:breaking
---
The `allows` and `denies` methods from `ipc::ScopeValue`, `ipc::CommandScope` and `ipc::GlobalScope` now returns `&Vec<Arc<T>>` instead of `&Vec<T>`.

View File

@@ -1,8 +0,0 @@
---
"@tauri-apps/cli": patch:breaking
"tauri-cli": patch:breaking
"tauri": patch:breaking
"tauri-build": patch:breaking
---
The `custom-protocol` Cargo feature is no longer required on your application and is now ignored. To check if running on production, use `#[cfg(not(dev))]` instead of `#[cfg(feature = "custom-protocol")]`.

View File

@@ -1,5 +0,0 @@
---
"@tauri-apps/api": patch:breaking
---
Remove the `Image.fromPngBytes` and `Image.fromIcoBytes` APIs. Use `Image.fromBytes` instead.

View File

@@ -1,5 +0,0 @@
---
"@tauri-apps/api": patch:breaking
---
Removed the `unityUri` option from the progress bar state, no longer required.

View File

@@ -1,8 +0,0 @@
---
"@tauri-apps/api": patch:feat
"tauri": patch:feat
"tauri-runtime": patch:feat
"tauri-runtime-wry": patch:feat
---
Added the `reparent` function to the webview API.

View File

@@ -1,6 +0,0 @@
---
"tauri-plugin": patch:bug
"tauri-utils": patch:bug
---
Rerun build script when a new permission is added.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:enhance
---
Added `Manager::add_capability` to add a capability file at runtime.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch:enhance
---
`Manager::add_capability` now allows adding a dynamically defined capability instead of only relying on static strings.

View File

@@ -1,5 +0,0 @@
---
'tauri-runtime': 'major:breaking'
---
Add a lifetime parameter for `Icon` type. Also changed `rgba` field to be `Cow<'a, [u8]>`

View File

@@ -1,7 +0,0 @@
---
"tauri": patch:breaking
"tauri-runtime": patch:breaking
"tauri-runtime-wry": patch:breaking
---
Update raw-window-handle to 0.6.

View File

@@ -1,5 +0,0 @@
---
'tauri-build': 'patch:bug'
---
Fix generating invalid schema files.

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