Compare commits

...

1037 Commits

Author SHA1 Message Date
amrbashir
c8065744d0 feat: add handler method on menu item builders
closes #9060
2024-04-04 05:19:56 +02:00
dependabot[bot]
b231f4c2e5 chore(deps-dev): bump vite from 4.5.2 to 4.5.3 in /examples/api (#9377)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.2 to 4.5.3.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.3/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.3/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-04 03:39:51 +02:00
Tony
9273d7b379 feat(windows): Expose webview2 zoom hotkeys from wry (#9352)
* Expose webview2 zoom hotkeys from wry

* Add change file

* Apply suggestions from code review

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>

* Regenerate schema files

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-04-03 20:14:17 +02:00
Mariotaku
36b4c12497 feat(bundler): added provides, conflicts and replaces for deb and rpm (#9331)
* feat(bundler): added provides, conflicts and replaces for deb and rpm packages

* added change file

* update .changes/deb-rpm-provides-conflicts-replaces.md according to review

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>

* inlined provides/conflicts/replaces(obsoletes) variables

* fmt
2024-04-03 18:02:56 +02:00
Fabian-Lars
2f20fdf1d6 fix(core): compile error for 32bit targets (#9361)
* fix(core): compile error for 32bit targets

* clippy giving me trust issues
2024-04-03 17:19:21 +02:00
Fabian-Lars
6251645acf fix(core): Update webview metadata on window close (#9360)
* fix(core): Update webview metadata on window close

* make it multiwebview friendlier

* support webview.close() too -> THIS IS STILL MISSING AN EVENT LIKE tauri://destroyed !!!
2024-04-03 17:18:13 +02:00
Tony
4c2e7477e6 fix(windows) window center doesn't consider taskbar size (#9309)
* Fix window center doesn't consider taskbar size

* Clean up

* Add change file

* Calculate title bar size on initial creation

* Comment about not adding in rect.bottom

* Tweak comment

* Fix center existing window a bit too high

* us NSWindow::center on macOS

* skip if undecorated
2024-04-02 20:32:30 +02:00
github-actions[bot]
1a58cdf2ed Apply Version Updates From Current Changes (#9279)
* apply version updates

* fix bundler version

* fix bundler version

---------

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-04-02 15:15:12 -03:00
Amr Bashir
284eca9ef2 refactor(core): scope JS resources to the webview (#9272)
* refactor(core): scope JS resources to the webview

* clippy

* change files

* swap args order

* more clippy

* just add them on each type

* clippy

* macro docs

* Update mod.rs

* use random rid

* revert resource table arg change

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-04-02 14:41:47 -03:00
Amr Bashir
8276ab767b chore(cli/plugin): update plugin template (#9346)
closes #9342
2024-04-02 13:59:26 -03:00
Amr Bashir
f8fde4f845 fix(cli): disable directory traversal in builtin dev server (#9344)
* fix(cli): disable directory traversal in builtin dev server

This PR also includes a cleanup refactor of the server

* Update builtin_dev_server.rs
2024-04-02 13:59:16 -03:00
Amr Bashir
dd07a36749 chore(cli/add): clippy, use char instead of str (#9333) 2024-04-01 14:22:30 -03:00
amrbashir
93e0e1392e feat(cli/add): support specifying version
closes #9325
2024-04-01 18:22:26 +02:00
Lucas Fernandes Nogueira
06833f4fa8 feat(ipc): enhance request URL checks, update wry, refactor file drop (#9100)
* feat(ipc): enhance request URL checks

* actually use req url

* fix windows, tests

* wry 0.38, file drop refactor

* wry 0.38.1

* adjust for windows [skip ci]

* wry 0.38.2 [skip ci]

* update to latest tao, wry, muda and tray-icon

* change tag

* serde

* use published crates

* downgrade cargo-platform to 0.1.7

---------

Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
2024-04-01 13:03:39 -03:00
Amr Bashir
b78f90bc9c chore(cli): fix clippy errors (#9330) 2024-04-01 12:44:12 -03:00
Lucas Fernandes Nogueira
a804a70a7a feat(isolation): script now removes itself to hide key from DOM (#9328) 2024-04-01 12:43:29 -03:00
Lucas Fernandes Nogueira
7c334cb185 feat(isolation): make encrypt key unextractable (#9327) 2024-04-01 12:43:19 -03:00
scottpledger
6703b7cbca fix: use $CARGO_MANIFEST_DIR to fully specify include_dir paths in tauri-cli (#9310)
* Allow tauri-cli to work with Bazel.

Signed-off-by: Scott Pledger <scottpledger2005@gmail.com>

* change file

---------

Signed-off-by: Scott Pledger <scottpledger2005@gmail.com>
2024-04-01 16:43:52 +02:00
Tony
5bd47b4467 fix(windows): changing WebView visibility on hide/show/minimize (#9246)
* Fix not changing visibilty for windows webview

* Add change file

* Move is_visible calculation to the caller

* Rename update to set
2024-03-28 16:25:46 +02:00
Vladimir Stoilov
259d845290 feat(bundler): add post/pre install/remove scripts for linux deb and rpm packages (#9209)
* feat(cli/add): add post/pre install/remove scripts for linux

* fix(cli): clippy errors

* fix(cli): remove script struct from deb/rpm bundle

* change files and aliases
2024-03-28 05:13:26 +02:00
Fabian-Lars
c33f6e6cf3 fix(core): Announce new webviews and windows (#9211)
* fix(core): Announce new webviews and windows

fixes #9200
fixes #8144

* fix js import in example

* emit created events to all listeners.

* remove duplicate event
2024-03-28 02:23:19 +02:00
Lucas Fernandes Nogueira
e7cd973123 fix(tauri-runtime-wry): window inner size regression on macOS, closes #9236 (#9276)
* fix(tauri-runtime-wry): window inner size regression on macOS, closes #9236

* lint
2024-03-26 11:38:57 -03:00
github-actions[bot]
7898b601d1 Apply Version Updates From Current Changes (#9222)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-03-20 19:59:04 -03:00
Lucas Fernandes Nogueira
b525ddadf7 fix(cli): openssl is no longer a required macOS dep (#9237) 2024-03-20 19:15:58 -03:00
Fabian-Lars
ee028c414d fix(core): Fix menu.remove trying to remove the item from itself instead of from the menu (#9225)
follow up to https://github.com/tauri-apps/tauri/pull/9219/
2024-03-20 18:36:51 -03:00
Tillmann
edc9923c5b Feat: Initial cargo-vet Support (#9216)
* add cargo-vet with reasonable trusted entities

* update paths

* license header

---------

Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
2024-03-19 11:39:42 -03:00
Fabian-Lars
a799f24f97 fix(bundler): Fix path seperators for deep link registry entries (#9185)
* fix(bundler): Fix path seperators for deep link registry entries

* Update bundler-deep-link-reg-path.md
2024-03-19 10:41:55 -03:00
Amr Bashir
ac76a22f38 feat(cli/init): allow empty responses non-crucial questions (#9183)
closes #9181
2024-03-19 10:41:41 -03:00
Fabian-Lars
81b853bc87 fix(core): Set json content type for errors returned from commands (#9213) 2024-03-19 10:34:12 -03:00
Fabian-Lars
75f5cb4015 feat(core): Implement HasDisplayHandle for Window (#9214) 2024-03-19 09:43:15 -03:00
Tony
43230cb6b7 fix(core): menu remove js binding not working (#9219)
* Fix menu `remove` js binding not working

* add change file [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-03-19 09:40:25 -03:00
Dan
fb146339cc chore: Readme typo (#9130) 2024-03-18 22:47:10 +01:00
Lucas Nogueira
72d9876bc8 chore: update autogenerated file 2024-03-18 10:14:27 -03:00
github-actions[bot]
f1df6b2c35 Apply Version Updates From Current Changes (#9162)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-03-18 09:43:47 -03:00
Amr Bashir
379cc2b354 fix(core/path): remove suffix in basename only once (#9165)
* fix(core/path): remove suffix in `basename` only once

closes #9064

* Update tooling/api/src/path.ts

* remove extra assert

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-03-18 08:40:23 -03:00
Lucas Fernandes Nogueira
ea0242db4a refactor(image): expose constructor, unify size getters (#9179) 2024-03-13 22:02:05 -03:00
Amr Bashir
7213b9e472 feat(cli/add): add default permission to capabilities (#9124)
* feat(cli/add): add default permission to capabilities

also cleanup `tauri add` command

* license headers & clippy

* print permission name

* do not error out if default permission is not set

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-03-13 11:58:25 -03:00
Amr Bashir
acdd76833d feat(api/tray): add TrayIcon.getById/removeById (#9155)
* feat(api/tray): add `TrayIcon.getById/removeById`

closes #9135

* generate

* add permissions

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-03-12 13:07:51 -03:00
Lucas Fernandes Nogueira
e227fe02f9 feat(core): allow defining global API script on plugin build (#9156)
* feat(core): allow defining global API script on plugin build

Adds `tauri_plugin::Builder::global_api_script_path` so plugin authors can define the JavaScript global API bindings (supposed to be injected to `window.__TAURI__`) at compile time, so the string is only part of the binary when withGlobalTauri is true.
Currently this needs to be done manually at runtime (and it's always added to the binary via include_str).

* prefix variable

* use list of scripts instead of combining them

* static str

* header [skip ci]

* slice
2024-03-12 12:01:13 -03:00
Amr Bashir
3f039c18b1 chore(deps): update muda and tray-icon crates (#9154)
* chore(deps): update `muda` and `tray-icon` crates

* lock file
2024-03-12 09:50:39 -03:00
Amr Bashir
79b8a3514b enhance(core/event): filter js listeners on rust side only then emit filtered ids to be triggered (#9151)
* fix(core/event): filter js listeners on rust side only then emit filtered ids to be triggerd

fix regression introduced in https://github.com/tauri-apps/tauri/pull/8930 , and reported in https://github.com/tauri-apps/tauri/pull/8930#issuecomment-1986279046

* Update .changes/core-js-unlisten-all-regression.md

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

* Discard changes to .changes/core-js-unlisten-all-regression.md

* object.defineproperty

* add change file [skip ci]

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-03-12 09:41:25 -03:00
github-actions[bot]
d349558abb Apply Version Updates From Current Changes (#9149)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-03-11 15:14:25 -03:00
Amr Bashir
a44cd5a183 chore: fix description for Context::assets change from #9141 (#9148) 2024-03-11 14:47:03 -03:00
Lucas Fernandes Nogueira
e673854c83 fix(acl): inconsistencies on urlpattern usage for remote domain URL (#9133)
* fix(acl): inconsistencies on urlpattern usage for remote domain URL

* remove println!

* typo

* fix tests
2024-03-11 13:39:17 -03:00
Lucas Fernandes Nogueira
490a6b424e refactor(core): add setup() to the Assets trait (#9147)
* feat(core): allow swapping the assets implemenetation

* refactor(core): add setup() to the Assets trait

* code review
2024-03-11 13:38:32 -03:00
i-c-b
85de230f31 fix(core): race between drop old JS listeners and create new listeners on page load (#9144)
* fix(core): race between drop old JS listeners and create new listeners on page load

* Create fix-js-unlisten-all-race.md
2024-03-11 18:03:02 +02:00
Tony
c3ea3a2b7d fix(windows): relax UpdaterWindowsConfig to not deny unknowns fields (#9126) 2024-03-11 17:30:14 +02:00
Lucas Fernandes Nogueira
db0a24a973 refactor(core): use the image crate (#9132) 2024-03-11 11:46:34 -03:00
Dimitris Apostolou
26f0f71a40 chore: fix various typos (#9131) 2024-03-11 16:25:20 +02:00
Lucas Fernandes Nogueira
ba0206d8a3 feat(core): allow swapping the assets implementation (#9141) 2024-03-11 11:07:15 -03:00
studystill
db1ea98512 chore(core): remove repetitive word (#9136)
Signed-off-by: studystill <chenghuiyue@outlook.com>
2024-03-11 02:43:12 +02:00
kandrelczyk
45384ab3aa docs: adding 'desktop only' pill to menu module (#9123) 2024-03-08 06:26:31 +02:00
Lucas Nogueira
9247ecf2a4 chore(cli): update Cargo.lock 2024-03-07 20:24:53 -03:00
github-actions[bot]
d701f29f17 Apply Version Updates From Current Changes (#9117)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-03-07 19:56:45 -03:00
renovate[bot]
94ab97a884 chore(deps) Update Rust crate rpm to 0.14.0 (dev) (#9102)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-07 19:35:15 -03:00
renovate[bot]
5deb1202f6 chore(deps) Update dependency rollup to v4.12.1 (dev) (#9101)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-07 19:34:29 -03:00
Lucas Fernandes Nogueira
ed48e2b3c7 feat(core): expose the image module (#9122)
* feat(core): expose the image module

* code review

* fix import

* fix

* fix codegen

* jsimage owned

* fmt

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-03-07 19:23:21 -03:00
Amr Bashir
5541aafef3 fix(core): fix emit skipping webview listeners if filter wasn't provided (#9107)
* fix(core): fix emit skipping webview listeners if filter wasn't provided

* Update .changes/core-emit-js-all-targets.md

* update api example

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-03-07 20:36:52 +02:00
Lucas Fernandes Nogueira
80c12ead46 fix(ipc): wrong response format when using a channel (#9121) 2024-03-07 14:53:49 -03:00
Lucas Fernandes Nogueira
3e472d0afc refactor(acl): permission and capability platforms are optional (#9115)
* refactor(acl): permission and capability platforms are optional

* add iterator version

* fix build

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-03-07 14:18:15 -03:00
Lucas Fernandes Nogueira
4ef17d0833 refactor(acl): use URLPattern instead of glob for remote URLs (#9116) 2024-03-07 13:08:57 -03:00
Lucas Fernandes Nogueira
9dc9ca6e38 feat(core): add dev function (#9113) 2024-03-07 11:02:53 -03:00
github-actions[bot]
e7f245e81e Apply Version Updates From Current Changes (#9035)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-03-06 19:00:57 -03:00
Amr Bashir
720357fd5c refactor!: remove re-export from tauri::path module (#9104) 2024-03-06 18:31:23 -03:00
renovate[bot]
5829f23171 chore(deps) Update Rust crate base64 to 0.22 (dev) (#9092)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 13:55:36 -03:00
renovate[bot]
8383bea741 chore(deps) Update Rust crate env_logger to 0.11.3 (dev) (#9090)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 13:32:57 -03:00
renovate[bot]
cd05827f9f chore(deps) Update Rust crate log to 0.4.21 (dev) (#9091)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 13:32:43 -03:00
Lucas Fernandes Nogueira
9323fb7cda fix(utils): ToTokens impl for ResolvedCommand broken on release (#9087) 2024-03-05 14:54:24 -03:00
dependabot[bot]
251bdd0579 chore(deps): bump mio from 0.8.10 to 0.8.11 (#9076)
Bumps [mio](https://github.com/tokio-rs/mio) from 0.8.10 to 0.8.11.
- [Release notes](https://github.com/tokio-rs/mio/releases)
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/mio/compare/v0.8.10...v0.8.11)

---
updated-dependencies:
- dependency-name: mio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05 14:35:58 -03:00
dependabot[bot]
253a661516 chore(deps): bump mio from 0.8.8 to 0.8.11 in /tooling/webdriver (#9077)
Bumps [mio](https://github.com/tokio-rs/mio) from 0.8.8 to 0.8.11.
- [Release notes](https://github.com/tokio-rs/mio/releases)
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/mio/compare/v0.8.8...v0.8.11)

---
updated-dependencies:
- dependency-name: mio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05 14:35:48 -03:00
Lucas Fernandes Nogueira
b5c7432769 feat(core): use a strict CSP on the isolation iframe (#9086) 2024-03-05 14:20:17 -03:00
Amr Bashir
bb23511ea8 feat: enhance multiple capabilities file format & fix mixed permissions schema (#9079)
* feat: enhance multiple capabilities file format & fix mixed permissions schema

* change files
2024-03-05 13:09:32 -03:00
Lucas Fernandes Nogueira
4bf1c55b0d Revert "feat(core): use a strict CSP on the isolation iframe (#9075)" (#9078) 2024-03-04 22:22:49 -03:00
Lucas Fernandes Nogueira
fe18012d30 fix(core): resolve symlink on fs scope check (#9072) 2024-03-04 21:10:55 -03:00
Lucas Fernandes Nogueira
6a47dd212c chore(utils): remove unused RemoteDomainAccessScope (#9073) 2024-03-04 21:10:45 -03:00
Lucas Fernandes Nogueira
7cec1049e8 feat(core): use a strict CSP on the isolation iframe (#9075) 2024-03-04 21:10:34 -03:00
Amr Bashir
86fa339de7 fix(core): fix invalid path for Color in context generation (#9071) 2024-03-04 17:03:55 -03:00
Lucas Fernandes Nogueira
e62ca4ee95 feat(ipc): preserve channel message order (#9070) 2024-03-04 17:03:24 -03:00
Lucas Fernandes Nogueira
6c06832246 fix(acl): scope resolution should be per window (#9068)
* fix(acl): scope resolution should be per window

* Update core/tauri-utils/src/acl/resolved.rs

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>

* update snapshots

* lint

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-03-04 17:01:30 -03:00
Amr Bashir
9aa0d6e959 chore: remove unstable log features & use qualified log::<macro> path (#9069)
* chore: remove unstable log features & use qualified `log::<macro>` path

* fmt

* fix build
2024-03-04 21:22:07 +02:00
Lucas Fernandes Nogueira
46de49aaad feat(core): always use child webviews on the unstable feature (#9059)
* feat(core): always use child webviews on the unstable feature

* fmt
2024-03-04 16:09:16 -03:00
renovate[bot]
b4ffbe7aa2 chore(deps) Update Tauri CLI (dev) (#8226)
* chore(deps) Update Tauri CLI

* updates

* fmt

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-03-03 11:36:35 -03:00
renovate[bot]
ab37d6724e chore(deps) Update Tauri Bundler (dev) (#8224)
* chore(deps) Update Tauri Bundler

* fix windows

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-03-03 11:36:20 -03:00
renovate[bot]
1b18b7006f chore(deps) Update Tauri API Definitions (dev) (#8225)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-03 10:30:35 -03:00
i-c-b
947a50b8e2 fix(cli): migration for http plugin ACL (#9049)
* fix cli migration of http allowlist to ACL

* Create fix-cli-migration-http-acl.md
2024-03-03 09:28:31 -03:00
Amr Bashir
77b9a508a4 feat(api): add Image class (#9042)
* feat(api): add `Image` class

* clippy

* license headers

* small cleanup

* fixes

* code review

* readd from_png_bytes and from_ico_bytes

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-03-03 04:31:08 +02:00
Lucas Fernandes Nogueira
2ca9afb576 fix(ci): set token for repository-dispatch to publish CLIs (#9048) 2024-03-01 12:15:28 -03:00
Amr Bashir
4b75834a41 chore: update license headers 2024 (#9043) 2024-03-01 08:29:01 -03:00
Lucas Fernandes Nogueira
03098b5315 feat(core): dynamic runtime capability (#9036)
* feat(core): dynamic runtime capability

* local(), windows(), webviews()

* enhance identation
2024-03-01 08:27:29 -03:00
Lucas Fernandes Nogueira
a77be97474 fix(ipc): fallback to postMessage if protocol fails, closes #8476 (#9038) 2024-02-29 18:24:43 -03:00
Amr Bashir
c68218b362 refactor(cli): add --no-bundle flag, skip bundling on invalid formats (#8990)
* refactor(cli): add `--no-bundle` flag, skip bundling on invalid formats

* enhance bundle format parsing

* lint [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-02-29 10:49:42 -03:00
Lucas Fernandes Nogueira
4f78941763 chore(cli): update deps, fix log compilation issue (#9034) 2024-02-29 10:22:47 -03:00
Amr Bashir
d1e77acd8d refactor!(core): remove Icon enum and add Image type (#9011)
* refactor!(core): remove `Icon` enum and add `Image` type

* clippy

* revert api example config change

* Update image.rs

* fix build

* clippy

* change files

* add back removed methods as setter functions

* simplify error message

* Update .changes/runtime-icon-lifetime.md

* Update .changes/ico-featrue-flags.md

* Update core/tauri/src/image.rs

* update api lockfile

* update api ref

* lint

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-02-29 09:05:11 -03:00
github-actions[bot]
ab060ebb34 Apply Version Updates From Current Changes (#9000)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-02-29 00:06:59 -03:00
Amr Bashir
8fcbce9404 fix(build): fix app permissions not included when there isn't any inlined plugins (#9025)
* fix(build): fix app permissions not included when there isn't any inlined plugins

* simplify

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-02-28 23:41:40 -03:00
Lucas Fernandes Nogueira
f5e7f3843e fix(build): app ACL should be empty if no permissions are defined (#9024) 2024-02-28 19:53:48 -03:00
Lucas Fernandes Nogueira
d7f56fef85 feat(acl): allow a permission to apply to a subset of target platforms (#9014)
* feat(acl): allow a permission to apply to a subset of target platforms

* fix cli
2024-02-28 17:23:52 -03:00
Lucas Fernandes Nogueira
d7d03c7197 fix(cli): dev watcher infinite loop on mobile (#9017) 2024-02-28 17:22:45 -03:00
canxin
e4463f0814 fix(event): clear residual js listeners (#8916 ) (#8930)
* fix clear residual listeners tauri-apps#8916

* Comment out `println` on successful removal of `js_listeners`

* follow review changes.

* remvoe uneeded result

* Update fix-clear-residual-listeners.md
2024-02-28 20:26:27 +02:00
Amr Bashir
f5f3ed5f6f fix(cli): CLI path issues on mobile project initialization (#9009)
* fix(cli): fix panic when `android init` using cargo or yarn

closes #8531

* clippy

* try with fullpath

* clippy

* move cli

* Update test-android.yml

* add to path instead

* clippy

* try moving

* use cargo subcommand

* delete unused logic [skip ci]

* truncate on init [skip ci]

* enhance binary/args check

* update change files

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-02-28 14:38:24 -03:00
Lucas Fernandes Nogueira
cb92cfd6a6 fix(cli): wrong metadata for crate versions (#9022) 2024-02-28 13:48:14 -03:00
i-c-b
b658ded614 fix(cli): Truncate BuildTask.kt before writing (#9015)
* truncate BuildTask.kt before write

* Create truncate-before-write-buildtask.md

* remove unused checks

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-02-28 13:42:21 -03:00
Vitor Ayres
04440edce8 feat(utils): generate table markdown of permissions (#9019)
* generate table

* Create permission-table.md
2024-02-28 18:15:44 +02:00
Lucas Fernandes Nogueira
3657ad82f8 feat(core): allow defining permissions for the app commands (#9008)
* feat(core): allow defining permissions for the app commands

* global scope

* command scope

* write to disk

* lint

* fix path

* get autogenerated commands from generate_handler macro

* revert

* remove cli

* use const instead of empty str
2024-02-28 08:45:28 -03:00
Lucas Nogueira
7190935680 chore(ci): add covector workflow for 1.x branch 2024-02-27 21:29:53 -03:00
Lucas Fernandes Nogueira
222a96b74b fix(core): multiwebview mode fixes for auto resize, reparent and add_child (#8999)
* refactor(core): simplify multiwebview impl, fix autoresize

* add_child on main thread

* fix reparent

* revert some changes

* add change files
2024-02-27 17:36:21 -03:00
Fabian-Lars
de38c31163 fix(core): Update walkdir to v2 to fix build issues on windows arm (#9006)
fixes #8998
2024-02-27 20:29:12 +02:00
Lucas Fernandes Nogueira
e1d5b79063 fix(core): wrong ACL validation on multiwebview contexts (#8995) 2024-02-27 11:42:11 -03:00
github-actions[bot]
5a19147b06 Apply Version Updates From Current Changes (#8991)
* apply version updates

* update versions

---------

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-02-26 23:53:48 -03:00
github-actions[bot]
31a33d4680 Apply Version Updates From Current Changes (#8980)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2024-02-26 23:05:51 -03:00
Amr Bashir
b9e6a01879 refactor(cli): use tauri/custom-protocol instead of relying on user having custom-protocol in their cargo features (#8937)
* refactor(cli): use `tauri/custom-protocol` instead of relying on user having `custom-protocol` in their cargo features

* tauri-build dev cfg

* pass build-feature when building apk

* run beforeBuildCommand before first build for plugins

* clippy

* fix

* mut

* enhance dev/prod checks

* lint [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-02-26 15:17:45 -03:00
Amr Bashir
60bf11abcb fix(core): export ProgressBarStatus (#8986)
closes #8960
2024-02-26 19:52:14 +02:00
Amr Bashir
06d63d67a0 feat(cli): add new acl subcommands (#8827)
* unify `CI` var handling, and lay foundation for `permission` subcommand

* feat(cli/init&new): create `permissions` directory by default for plugins

* generate permissions with consistent pathing on windows and unix

* `pemrission create` initial implementation

* add ls command

* finalize `permission create` subcommand

* `permission rm` subcommand

* `permission add` subcommand

* remove empty `permission copy` subcommand

* clippy

* `capability create` subcommand and move modules under `acl` directory

* fix multiselect for `permission add` when capabilty doesn't have identifier

* clippy

* `create` -> `new`  and change file

* license headers

* more license headers

* clippy

* Discard changes to examples/resources/src-tauri/.gitignore

* fix build

* cleanup

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-02-26 14:42:13 -03:00
Amr Bashir
9be314f07a feat(cli/migrate): add plugins to Cargo.toml (#8951)
* feat(cli/migrate): add plugins to Cargo.toml

closes #8933

* small cleanup

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-02-26 13:29:16 -03:00
Lucas Fernandes Nogueira
bc5b5e671a chore(linux): remove CSP tag on custom protocol response (#8984) 2024-02-26 13:08:19 -03:00
Lucas Fernandes Nogueira
6cb601d42e fix(core): convert mobile command name to camelCase, closes #8872 (#8983) 2024-02-26 12:54:31 -03:00
Lucas Nogueira
a8a2cb6fb4 fix(tauri-runtime-wry): wrong cfg usage on message handler 2024-02-26 12:30:43 -03:00
Lucas Fernandes Nogueira
cbd9755e09 fix: process logs not showing on iOS (#8977) 2024-02-25 17:38:27 -03:00
i-c-b
9cc014f2df fix(docs): fix API webview/window class doc example (#8971)
* fix class doc example

* fix class doc example
2024-02-24 22:36:45 +02:00
github-actions[bot]
f5e4b67203 Apply Version Updates From Current Changes (#8954)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-02-22 22:24:49 -03:00
Lucas Fernandes Nogueira
6edc563cf9 fix(core): deadlock on window destroy (#8953) 2024-02-22 22:02:13 -03:00
github-actions[bot]
0606ab326b Apply Version Updates From Current Changes (#8938)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-02-22 18:50:24 -03:00
Lucas Nogueira
5ddea72c50 chore: update cargo-mobile2 to 0.10.2 ref #8949 2024-02-22 15:35:14 -03:00
Lucas Fernandes Nogueira
a76fb118ce refactor(core): allow configuring both local and remote URLs on capability (#8950) 2024-02-22 15:15:16 -03:00
Lucas Fernandes Nogueira
e538ba586c fix(cli): process spawn not working on Node.js for mobile commands, closes #6203 (#8949) 2024-02-22 15:14:55 -03:00
Amr Bashir
84c783f6bc fix(bundler): remove fallback for license_file (#8948)
* fix(bundler): remove fallback for license_file

closes #8944

* Update .changes/bundler-license.md

* use license only on rpm

* change file

* Update .changes/bundler-rpm-license.md

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-02-22 14:56:22 -03:00
Philipp Bokatius
6e3bd4b9f8 fix: center window ignores scale factors (#8942)
* fix: center window ignores scale factors

* chore: add .changes

* clippy
2024-02-22 16:30:27 +02:00
Lucas Fernandes Nogueira
fdcaf935fa feat(webview): add reparent API (#8939)
* feat(webview): add reparent API

* fix build

* fix import

* remove cfg

* fix windows

* clone

* clone value

* ()
2024-02-22 08:52:27 -03:00
Amr Bashir
b5eb64728a feat(bundler): enable dpi awareness for NSIS (#8940)
closes #8896
2024-02-22 08:52:19 -03:00
Lucas Fernandes Nogueira
d75713ac6c chore(deps): update to wry 0.37 (#8936) 2024-02-21 18:45:05 -03:00
github-actions[bot]
af646520cf Apply Version Updates From Current Changes (#8918)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-02-21 12:00:32 -03:00
Lucas Fernandes Nogueira
361ec37fd4 chore(deps): update to tao 0.26 (#8932)
* chore(deps): update to tao 0.26

* fallback to crate name

* move struct to runtime

* tests
2024-02-21 11:25:42 -03:00
Amr Bashir
33bbd7fe94 fix(cli/add): fix generating code for stronghold (#8908)
closes 8880
2024-02-21 10:23:04 -03:00
Lucas Fernandes Nogueira
a029b9f77e feat(cli): codesign on iOS is optional for the simulator (#8910)
* feat(cli): codesign on iOS is optional for the simulator

* cargo-mobile2 0.10
2024-02-21 09:52:46 -03:00
Jason Tsai
3fb414b61a fix(event): let once event return EventId, close #8912 (#8914)
* fix(event): let once event return EventId

* Update .changes/core-once-event-return-event-id.md
2024-02-20 17:36:15 +02:00
github-actions[bot]
18ff84fc81 Apply Version Updates From Current Changes (#8775)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-02-19 15:49:28 -03:00
Lucas Fernandes Nogueira
c115a978bb fix(cli): adjust template for capabilities (#8907) 2024-02-19 15:12:52 -03:00
Lucas Fernandes Nogueira
0e8e9cd064 fix(build): move capability schema definitions to root (#8906) 2024-02-19 14:46:21 -03:00
Amr Bashir
6f064a0d6f chore: add back .changes/readme.md (#8905)
* chore: add back `.changes/readme.md`

* fix test
2024-02-19 14:39:27 -03:00
Lucas Fernandes Nogueira
258494bd24 feat(core): add Manager::add_capability, closes #8799 (#8806)
* refactor(core): capabilities must be referenced on the Tauri config file

* add all capabilities by default

* feat(codegen): allow defining additional capabilities, closes #8798

* undo example

* lint

* move add_capability to runtime authority

* feat(core): add Manager::add_capability, closes #8799

* add change file
2024-02-19 11:59:20 -03:00
Lucas Fernandes Nogueira
f284f9c545 refactor: configure URLs instead of domains on capability remote (#8898) 2024-02-19 11:14:09 -03:00
Lucas Fernandes Nogueira
8d16a80d2f feat(codegen): allow defining additional capabilities, closes #8798 (#8802)
* refactor(core): capabilities must be referenced on the Tauri config file

* add all capabilities by default

* feat(codegen): allow defining additional capabilities, closes #8798

* undo example

* lint

* move add_capability to runtime authority

* add change files

* go through code review

* fix tests

* remove tokens option
2024-02-19 11:13:36 -03:00
Anil Kumar
770051ae63 docs: fixed a spelling mistake (#8899)
Fixed a spelling mistake
2024-02-19 15:52:08 +02:00
Lucas Nogueira
c426c0dca2 merge from 1.x 2024-02-19 08:03:05 -03:00
Lucas Nogueira
e816a46b95 chore: update lock files 2024-02-18 23:46:17 -03:00
Lucas Nogueira
a4b82d9dba chore: bump tauri-utils 2024-02-18 22:31:35 -03:00
github-actions[bot]
b735b6799f Apply Version Updates From Current Changes (v1) (#8475)
* chore: change bump to patch

* apply version updates

---------

Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2024-02-18 19:31:52 -03:00
Amr Bashir
77f49ad55e refactor: optimize undecorated resizing handling (#8790)
* refactor: optimize undecorated resizing handling

* license

* separate modules

* fix windows

* rename export

* fix export

* same for gtk

* shared hit_test function

* change cursor on drag

* only set cursor on windows

* Revert "only set cursor on windows"

This reverts commit 03294a8430.

* fix flickering on Windows, change cursor on motion on Linux

* remove changing cursor on move on linux

* fix linux implementation

* clippy

* Windows, on left click only

* prevent on fullscreen, use OS border size on Windows

* fix build

* clippy

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-02-18 15:56:57 -03:00
Marc Espin
dbd525ca64 docs: Update doc comment from normalize function in path plugin to match definition (#8886)
The doc comment from the normalize function in the path plugin was not matching the actual definition.

Rust definition: 0cb0a15ce2/core/tauri/src/path/plugin.rs (L18)

Typescript definition: 0cb0a15ce2/tooling/api/src/path.ts (L589)
2024-02-18 15:12:46 -03:00
Sam Willis
28fb036ce4 fix(core): Incorrect resource_dir when app run from new style target/PLATFORM+ARCH/(debug|release) dir (#8852)
* Fix resource_dir when app run from new target/someting/(debug|release) dir

* Update core/tauri-utils/src/platform.rs

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>

* change file, update logic, add tests

* lint

* fix tests

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-02-18 15:10:21 -03:00
Fabian-Lars
ed33b851c7 docs: Fix PathResolver doc comment (#8876) 2024-02-18 10:43:26 -03:00
dependabot[bot]
d72b6f3842 chore(deps): bump undici from 5.26.5 to 5.28.3 in /examples/api (#8877)
Bumps [undici](https://github.com/nodejs/undici) from 5.26.5 to 5.28.3.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.26.5...v5.28.3)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-18 10:42:24 -03:00
Lucas Fernandes Nogueira
83a68deb56 refactor(core): allow referencing capabilities on the Tauri config file (#8797)
* refactor(core): capabilities must be referenced on the Tauri config file

* add all capabilities by default

* refactor(cli): reference all capabilities by default
2024-02-18 10:42:09 -03:00
Lucas Fernandes Nogueira
0cb0a15ce2 feat(core): capabilities on multiwebview contexts (#8789)
* feat(core): capabilities on multiwebview contexts

* fix cli

* lint

* sort
2024-02-16 08:24:51 -03:00
Lucas Fernandes Nogueira
edb11c138d feat(build): support plugins that are defined in app crate (#8781)
* feat(build): support plugins that are defined in app crate

* dx
2024-02-16 08:24:40 -03:00
Fabian-Lars
052e8b4311 fix(cli): Downgrade minisign to 0.7.3 once again (#8838)
* fix(cli): Downgrade minisign to 0.7.3 once again

* add tests

* add change file

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-02-16 08:24:00 -03:00
Amr Bashir
e52d5e573f enhance: center window before creation (#8845)
* enhance: center window before creation

closes #4777

* simplify variable name

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-02-16 08:13:49 -03:00
Amr Bashir
16e550ec15 refactor(core): add webview events (#8844)
* refactor(core): add webview events

* license header

* clippy

* fix doctests

* more doctests

* fix JS `listen` with `EventTarget::Any`

* typo

* update module import

* clippy

* remove console.log

* fix api example

* fix documentation for emiTo [skip ci]

* actually add RunEvent::WebviewEvent

* update migration

* lint

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-02-16 08:07:39 -03:00
Amr Bashir
5618f6d2ff feat: relax plugin identifier requirements to alphanumeric and - (#8856)
closes #8820
2024-02-16 07:27:56 -03:00
i-c-b
11a5816bdf feat(core): recursive asset scope on directory file-drop event (#8864)
* allow recursive asset scope on directory file-drop events

* Create allow-recursive-asset-scope-on-file-drop-directory.md

* Update .changes/allow-recursive-asset-scope-on-file-drop-directory.md
2024-02-15 16:56:04 +02:00
Jason Tsai
3cee26a58a fix(cli): use UTF-8 encoding for vswhere.exe output (#8865) 2024-02-15 16:55:31 +02:00
amrbashir
7b5e8712e7 ci: update msrv test and cargo.lock 2024-02-14 04:01:01 +02:00
Lucas Fernandes Nogueira
2421073576 fix(macos): use BTreeMap for windows map to prevent crash on idle (#8117)
* fix(macos): use BTreeMap for windows map to prevent crash on idle

* use arc [skip ci]

* add change file
2024-02-14 01:15:21 +02:00
Philipp Bokatius
46b6598a94 fix: target specific window for window events (#8826)
* fix: target specific window for CLOSE_REQUESTED_EVENT emission

* fix: use emit_filter() instead of emit_to()

* fix: try sending event regardless of existing js listener

* cleanups

* change file

* emit_self -> emit_to_window

---------

Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
2024-02-12 17:55:20 +02:00
Jason Tsai
cf3e40cc47 fix(core): use event.code to check which key pressed (#8819)
* fix(core): use event.code to check which key pressed

* Discard changes to .changes/fix-devtool-hotkey-code.md
2024-02-08 16:29:54 +02:00
Fabian-Lars
510b62261c chore(core): Add missing changefile for #8546 (#8822) 2024-02-08 16:27:19 +02:00
Lucas Fernandes Nogueira
2f55bfecbf chore(deps): update wry to 0.36 (#8795)
* chore(deps): update wry to 0.36

* rwh 0.6

* remove raw_window_handle usage

* fix build

* fix windows test
2024-02-07 22:26:29 -03:00
Lucas Fernandes Nogueira
dd7571a780 fix(core): do not generate files if plugin has no permissions (#8815) 2024-02-07 22:26:16 -03:00
Priyadarshan Giri
aa06a0534c fix(cli): fix code output of tauri plugin android init (#8810)
* Fix: code output of tauri plugin android init
double quotes `"` wasn't matching in plugin android init command

* change file
2024-02-07 18:40:46 +02:00
Lucas Fernandes Nogueira
fb0d997117 fix(cli): regression on --config not accepting file paths (#8783)
* fix(cli): regression on --config not accepting file paths

* enhance dev server config parsing

* use serde_json::json!

* pass config to setup
2024-02-07 17:08:05 +02:00
Jason Tsai
8751c3299f fix: correct invoke command for toggling devtools by hotkey, closes #8771 (#8793) 2024-02-06 07:41:54 -03:00
Amr Bashir
2e6db908d7 fix(core): make tauri::Error sync again (#8777)
* fix(core): make `tauri::Error` sync again

closes #8754

* add unit test

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-02-05 14:52:10 -03:00
Amr Bashir
19fb5f0b20 fix(build): fix writing schema file (#8782)
* fix(build): fix writing schema file

* Update .changes/schema_str.md
2024-02-05 14:32:27 -03:00
Amr Bashir
b0f27814b9 fix(cli): map --profile dev to debug folder when finding executable (#8776) 2024-02-05 16:12:08 +02:00
Lucas Fernandes Nogueira
f2e4c9de3a chore: remove nix workaround following zbus release (#8773) 2024-02-05 10:32:10 -03:00
Fabian-Lars
ae0fe47c4c fix(core): Compile error when bundle.license is set (#8774)
* fix(core): Compile error when bundle.license is set

* wrong package
2024-02-05 15:08:32 +02:00
Lucas Fernandes Nogueira
baca704d4b fix(cli): skip migrating updater config if not active (#8768) 2024-02-05 09:54:29 -03:00
Lucas Fernandes Nogueira
bd73ab0a1a fix(multiwebview): remove webview from store on close (#8766) 2024-02-04 23:22:09 -03:00
Lucas Fernandes Nogueira
48b1fd74b1 fix(tauri-runtime-wry): enable the nix user feature ref #8761 (#8765) 2024-02-04 17:40:46 -03:00
github-actions[bot]
d54a2b055a Apply Version Updates From Current Changes (#8759)
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2024-02-04 17:06:31 -03:00
Lucas Fernandes Nogueira
f99d140bbe fix(cli): OsString::as_encoded_bytes is only available on Rust 1.74 (#8764) 2024-02-04 16:51:49 -03:00
Lucas Fernandes Nogueira
fe67ab7f25 fix(core): build on unix failing (#8761)
* fix(core): build on unix failing

* change file
2024-02-04 19:42:55 +01:00
Fabian-Lars
3bf6bc36da docs: Fix broken config link (#8752)
* docs: Fix broken config link

* regen
2024-02-04 11:56:28 -03:00
Lucas Fernandes Nogueira
4e101f8016 refactor(core): enhance app rerun-if-changed for capabilities and frontend dist (#8756)
* refactor(core): enhance app rerun-if-changed for capabilities and frontend dist

* always rerun-if-changed=capabilities

* fix todo

* rerun if plugin permissions change

* add change files
2024-02-04 11:42:13 -03:00
Lucas Fernandes Nogueira
0f2789cd67 fix(build): do not rewrite unchanged schema (#8757)
* fix(build): do not rewrite unchanged schema

* typo
2024-02-04 12:45:59 +01:00
timotheeMM
b43c423165 chore: fix a typo in core/tauri/CHANGELOG.md (#8748)
accomodate -> accommodate

[skip ci]
2024-02-04 00:29:49 +02:00
github-actions[bot]
509e35f209 Apply Version Updates From Current Changes (#8751)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-02-03 17:55:13 -03:00
Lucas Nogueira
584bb5ba66 fix(ci): adjust covector configuration 2024-02-03 17:38:27 -03:00
Lucas Fernandes Nogueira
ce1655ec22 fix(cli): integration tests not failing when build fails (#8746) 2024-02-03 17:18:34 -03:00
Lucas Fernandes Nogueira
863bc9e55f fix(core): regression on process-ipc-message-fn (#8749) 2024-02-03 17:18:19 -03:00
Lucas Nogueira
8f0e50f396 fix(webdriver): update lock file 2024-02-03 13:38:16 -03:00
Lucas Nogueira
c31c94ceb7 fix(cli): trailing comma on capability template 2024-02-03 13:14:56 -03:00
Lucas Nogueira
6b981d37dc fix(core): properly import HeaderName 2024-02-03 13:00:39 -03:00
Lucas Nogueira
2333cd1c83 fix: set tauri-plugin crate description 2024-02-03 12:34:45 -03:00
Lucas Nogueira
f1d0f452a2 chore: pin tao to 0.25 2024-02-03 11:57:54 -03:00
Lucas Nogueira
ab57f9531a chore: run pnpm format on the repo 2024-02-03 11:08:13 -03:00
github-actions[bot]
88a1dd17c3 Apply Version Updates From Current Changes (#8638)
* apply version updates

* promote to beta

* fix check version

* update dependencies section [skip ci]

* update npm versions

---------

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-02-03 10:59:09 -03:00
Lucas Fernandes Nogueira
3364b6727c fix(cli): build command features and bundles can have multiple values (#8744)
* fix(cli): build command  and  can have multiple values

* add value delimiter on bundles

* gitignore dist
2024-02-03 09:14:02 -03:00
Fabian-Lars
4806f9fc70 fix(core): Rename FrontendDist::Dist to Dir (#8743)
* fix(core): Rename FrontendDist::Dist to Dir

* Directory

* fix totokens impl

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-02-03 09:08:20 -03:00
Lucas Fernandes Nogueira
0cdfda2876 refactor: move plugin functionality from tauri-build to tauri-plugin (#8737)
* refactor: move plugin functionality from tauri-build to tauri-plugin

* fixes

* fix build

* move docs function

* autogenerated

* fix path
2024-02-03 08:48:57 -03:00
Lucas Fernandes Nogueira
63d6d474fd fix(cli): UpdaterConfig is not flexible (#8741) 2024-02-03 08:24:15 -03:00
Lucas Fernandes Nogueira
1d21446e21 fix(bundler): add default value for xdg_mime env var (#8742) 2024-02-03 08:24:05 -03:00
Lucas Fernandes Nogueira
0a01b5b720 fix(core): do not embed assets on dev when using a URL (#8739) 2024-02-03 08:18:59 -03:00
Lucas Fernandes Nogueira
cb613beea6 fix(ci): test-android NDK error (#8738)
* fix(ci): test-android NDK error

* only on unix
2024-02-03 08:11:02 -03:00
Amr Bashir
8de308d1bf feat(core): implement new config structure (#8723)
* feat(core): implement new config structure

RFC#5 f3e82a6b0c/texts/0005-tauri-config-restructure.md

* fixes

* remove tauri-plugin copy [skip ci]

* move platform specific configs

* fix build

* fix cli

* doctests

* change files

* read updater plugin config on CLI

* doctests

* remove env var from docs

* fix getting pubkey

* add migrations

* clippy

* update change file [skip ci]

* rename frontendDist to prodFrontend?

* Revert "rename frontendDist to prodFrontend?"

This reverts commit ef7394f085.

* fix all_features check

* fix field name

* single license getter on bundler

* readd msiexec_args

* remove unused fixture

* update template

* Update .changes/tauri-bundle-settings-rfc-5.md

* Update .changes/config-restructure-rfc-5.md

* lint bundler, fix change file

* rename AppUrl to FrontendDist, add explicit variants for docs

* fix build

* lint

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-02-03 00:39:48 -03:00
Lucas Fernandes Nogueira
e691208e7b fix(cli): prevent creating interface twice avoiding double manifest rewrite (#7837) 2024-02-02 21:43:33 -03:00
Lucas Fernandes Nogueira
791e291a9f fix(build): ignore changes on autogenerated files (#8736) 2024-02-02 20:55:27 -03:00
Jingyu
b09b94204c docs(examples): multiwindow example run command (#8735) 2024-02-02 19:54:59 +01:00
Amr Bashir
e8d3793c3c feat(tauri-build): add config-json feature flag (#8732)
* feat(tauri-build): add `config-json` feature flag

This allows disabling rebuilding when `tauri.conf.json` when using another config format

see https://github.com/tauri-apps/tauri/issues/8721

* document feature flag

* Update .changes/tauri-build-config-json.md [skip ci]

* Update core/tauri/src/lib.rs [skip ci]

* disable default features for tauri-build on tauri, plugins

* fmt

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-02-02 14:11:59 -03:00
Jingyu
95da1a2747 fix(core): macos #5122 app.runtime panic in app.set_activation_policy (#8713)
* fix #5122 app.runtime panic in set_activation_policy

* allow setting the policy at runtime

* add change file

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-02-02 09:40:10 -03:00
Lucas Fernandes Nogueira
a35b416e38 refactor(core): merge scope and commands resolving permission sets (#8731) 2024-02-02 09:18:59 -03:00
Lucas Fernandes Nogueira
3e5c28ff4f feat(tauri-plugin): generate permissions reference markdown file for plugin (#8729)
* feat(acl): generate reference markdown file

* lint

* generate plugin docs instead
2024-02-01 17:14:23 -03:00
Lucas Fernandes Nogueira
7315189e76 chore: preserve order on schemas (#8724) 2024-02-01 09:16:10 -03:00
Lucas Fernandes Nogueira
f492efd714 feat(cli): update template with permissions and capabilities (#8666)
* feat(cli): update template with permissions and capabilities

* update gitignore [skip ci]
2024-02-01 08:53:56 -03:00
time-river
6639a579c7 feat(core): add support to setting a webview proxy, closes #4263 (#8441)
* feat(wry): support proxy in wry runtime

wry has been supported http/socks5 proxy in
[#1006](https://github.com/tauri-apps/wry/pull/1006), which has been
merged in [commit
3cc4d79](3cc4d79843).

This patch aims to support its feature.

Signed-off-by: lin fu <river@vvl.me>

* Apply suggestions from code review

* Apply suggestions from code review

* Update core/tauri-runtime-wry/src/lib.rs

* Update core/tauri/src/window/mod.rs

* add macos-proxy flag

* add change file

* delete file

* update change file

* use macos-14 runner to test core

---------

Signed-off-by: lin fu <river@vvl.me>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-02-01 08:53:32 -03:00
Amr Bashir
a093682d2d refactor(core): refactor and fix event system following multiwebview support (#8621)
* clippy

* refactor(core): refactor and fix event system following multiwebview support

* update documentation

* update js docs

* lint

* clippy

* update multiwindow example [skip ci]

* enhance event tests

* fix example

* Update .changes/tauri-event-after-multiwebview.md

Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com>

* fix tests

* add diagram

* Add `App/AppHandle` even target

* Discard changes to examples/api/src-tauri/tauri-plugin-sample/permissions/schemas/schema.json

* revert accidental changes

* regenerate schemas

* fix doctests

* add helper methods

* update docs

* update api

* update docs [skip ci]

* update docs [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com>
2024-02-01 08:06:27 -03:00
John Smith
cc3d8e7731 fix(core): Command::output suspend while wait for response (#8539)
* fix: Command::output suspend while wait for response

* add change file

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-02-01 08:06:05 -03:00
Amr Bashir
7fcc0bcd34 feat(cli/add): add plugin init code to main.rs (#8490)
* feat(cli/add): add plugin to `main.rs`

closes #7696

* clippy

* fix change file

* adjust regex

* run cargo fmt

* check if already exists

* typo [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-02-01 08:05:45 -03:00
ChAyLom
30be0e3057 feat(bundler/NSIS): Add Russian to supported NSIS languages (#8303)
* Create Russian.nsh

* Update nsis.rs

* Create nsis-russian.md
2024-02-01 11:25:11 +01:00
Naman Garg
d6c7568c27 feat(bundler): Add files option to the AppImage Configuration. (#8720)
* Add `files` option to Appimage

* Add .changes file
2024-02-01 02:53:26 +02:00
Amr Bashir
8ce51cec3b feat: retain cli args when relaunching after update, closes #7402 (#7718)
* feat: retain cli args when relaunching after update, closes #7402

* 1.61 compatible OsString join

* fix msi impl as well

* fix tests

* Update .changes/tauri-bundler-nsis-args.md

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

* Update .changes/tauri-updater-retain-args.md

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

* more typos

* fix update args

* pull args from Env

* check if not empty

* pin memchr

* Update core.rs

* Update core.rs

* move /args

* fix build

* lint

* more lints

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2024-01-31 16:02:48 -03:00
thewh1teagle
435d7513e4 feat: add webdriver options for windows (#8609)
* feat: add webdriver options for windows

* add change file, camel case

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-01-31 15:49:43 -03:00
Lucas Fernandes Nogueira
af61023273 refactor(core)!: Window::close triggers RunEvent::CloseRequested (#8710)
* refactor(core): Window::close triggers RunEvent::CloseRequested

* Update .changes/runtime-wry-window-close-event.md

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>

* add destroy [skip ci]

* change files

* delete files

* fix tests

* fix tests

* fix test impl of the close flow

* fmt

* build bundle

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-01-31 14:54:49 -03:00
Lucas Fernandes Nogueira
aa758a850f refactor(core): delete the command module (#8716) 2024-01-31 14:02:52 -03:00
Amr Bashir
9eaeb5a8cd refactor: refactor parent APIs on WindowBuilder (#8622)
* refactor: refactor parent APIs on `WindowBuilder`

closes #8587 #1643

* fix build

* clippy

* support parent in JS and config

* change files

* fix build

* clippy

* fix doctests

* fix linux build

* fix doctests

* update docs

* fix api, update example to use JS API

* fix merge

* lint

* fix tests on windows

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-01-31 13:59:14 -03:00
Amr Bashir
a2fc3a6357 feat(api/window): add visible-on-all-workspaces, closes #8652 (#8657)
* feat(api/window): add visible-on-all-worksapces, closes #8652

* fix build and generate schema

* Update .changes/api-set-visible-on-all-workspaces.md

* revert permissions

* fix alias

* revert set_icon change

* add missing permission

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-01-31 12:36:39 -03:00
Amr Bashir
e1eb911f5e fix(menu): ensure init & drop is done on main thread (#8582)
* fix(menu): ensure init & drop is done on main thread

* move macros back

* fix doctests

* fix macos doctests

* generate inner types and add drop implementation on inner

* clippy

* fix leftoever merge conflicts

* fix doctests

* update api example

* add missing change file

* move macro

* fix tray import

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-01-31 12:01:05 -03:00
Amr Bashir
58fe2e812a fix: improvements and ipc fixes for loading window content using custom protocol (#8670)
* fix: improvements and ipc fixes for loading window content using custom protocol

closes #5478

* Discard changes to tooling/cli/Cargo.lock

* clippy

* fix tests

* typo

* fix webviewurl deserialize

* resolve todo, fixes

* fmt

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-01-31 09:38:25 -03:00
Lucas Fernandes Nogueira
00e1567584 refactor(core): exit() and restart() triggers ExitRequested and Exit (#8708)
* refactor(core): exit() and restart() triggers ExitRequested and Exit

* update docs

* update doc
2024-01-30 12:10:22 -03:00
Lucas Fernandes Nogueira
9af90ca7f3 feat(ipc): improve error message when plugin command is not allowed (#8681)
* feat(ipc): improve error message when plugin command is not allowed

* reuse literal_struct macro
2024-01-30 16:54:10 +02:00
Fabian-Lars
38b8e67237 feat: Add support for deep links (#8680)
* initial windows impl

* macos

* adapt windows impl to config changes for macos

* debian

* add missing x-scheme-handler prefix

* bundle xdg-mime

* typo

* revert messed up fmt

* rm pnpm lock

* rm todo

* Update core/tauri-utils/src/config.rs

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>

* Update core/tauri-utils/src/config.rs

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>

* &Option<> -> Option<&>

* DL0 -> R7

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-01-29 18:59:45 +02:00
Lucas Fernandes Nogueira
57e3d43d96 feat(acl): generate schema for scope (#8690)
* feat(acl): generate schema for scope

* allow plugin to define its global scope schema

* refactor to use schemas folder instead of individual files

* change signature

* delete .schema.json files
2024-01-29 13:36:31 -03:00
Lucas Fernandes Nogueira
f998fa0ec2 refactor(core): allow scope deserialization to run setup code (#8699)
* refactor(core): allow scope deserialization to run setup code

* Update core/tauri/src/command/authority.rs

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-01-29 13:31:03 -03:00
Lucas Fernandes Nogueira
11de49788a feat(cli): migrate allowlist scope (#8698)
* feat(cli): migrate allowlist scope

* fix tests

* lint

* fix totokens impl
2024-01-29 12:50:21 -03:00
Kasper Seweryn
b3209bb28b fix(cli): disable global gitignore during tauri.conf.* lookup (#8688)
* fix: disable global gitignore

There are cases when people use git to manage their dotfiles in the home directory. When a tauri projects uses other name than `src-tauri` for the rust source code, the lookup may fail if there's a global gitignore.

* change file
2024-01-29 17:39:05 +02:00
Lucas Fernandes Nogueira
2631e97e2b fix(acl): command scope should not error out if missing (#8675)
* fix(acl): command scope should not error out if missing

* propagate error
2024-01-29 11:39:56 -03:00
Lucas Fernandes Nogueira
ec9818accb refactor(core)!: App::run_iteration improvements (#8696)
* refactor(core): App::run_iteration improvements

* lint

* fixes

* fix exit

* Apply suggestions from code review

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

* update cargo.toml

* booooool

* fix mock runtime

* fix doctests

* fix doctest againrrrr

---------

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-01-29 10:52:44 -03:00
Fabian-Lars
0bff8c325d fix(cli): Ignore query parameter in dev server (#8697)
* fix(cli): Ignore query parameter in dev server

fixes #8148
additional ref: https://discord.com/channels/616186924390023171/1201199918379974766

* Update .changes/cli-devserver-queryparam.md

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-01-29 14:58:23 +02:00
Andrew
9cb9aa7978 fix(cli): add MaybeWorkspace to license field (#8672)
* Add MaybeWorkspace to license field

* Fix last changes

* Fix formatting

* Add change .MD file
2024-01-26 23:46:51 +01:00
Lucas Fernandes Nogueira
d70470f868 feat(build): save ACL metadata (#8678)
* feat(build): save ACL metadata

metadata will be read by the CLI later to show the user what has been enabled and what can be done

* lint

* fix cli
2024-01-25 15:33:36 -03:00
AuTa
5e1ae87c0c fix(core/window): set window_effects from config (#8677)
Signed-off-by: AuTa <auta520@live.com>
2024-01-25 14:07:39 +01:00
Lucas Fernandes Nogueira
fd4bf94d4c refactor(acl): allow extending scope on the capability file (#8674) 2024-01-24 23:36:07 -03:00
Amr Bashir
734d78f736 fix: generate $schema field always with forward slash (#8673) 2024-01-24 21:57:41 -03:00
Lucas Fernandes Nogueira
049ca2d54f fix(examples): deadlock on api example unit test (#8671) 2024-01-24 21:52:28 -03:00
Lucas Fernandes Nogueira
30a64a9cda refactor: global scope error handling, fix usage with multiple plugins (#8669)
* refactor: global scope error handling, fix usage with multiple plugins

* lint
2024-01-24 20:57:46 -03:00
Lucas Fernandes Nogueira
4ca0932572 chore(plugin): use BTreeMap on plugin permission map (#8668) 2024-01-24 20:53:47 -03:00
Lucas Fernandes Nogueira
1878766f7f feat(cli): migrate allowlist to new ACL (#8667) 2024-01-24 16:57:40 -03:00
Lucas Fernandes Nogueira
c77b40324e refactor(core): add support to multiple webviews on a Tauri window (#8280)
* feat: update to latest wry

* wry dev branch [skip ci]

* fix linux [skip ci]

* refactor(runtime): split webview and window types

* split dispatch

* implement create_webview

* move webview message

* wip webview mod

* create webview manager, finish webview struct and builder

* fix tests and docs

* rename WindowUrl to WebviewUrl

* update examples

* event refactor

* update JS API

* fix events

* update example

* add WebviewWindow class on JS

* fix macos build

* allow creating window+webview on the same runtime call

* rename tauri://window-created to tauri://webview-created

* Window::add_child

* use inner_size from webview on macOS

* add multiwebview example

* automatically resize webviews on window resize

* fix tests

* set_position, set_size

* position, size getters

* set_focus

* add close fn

* update mock runtime

* lint [skip ci]

* fix inner_size getter [skip ci]

* import hwnd [skip ci]

* update webview bound ratios on set_size/set_position

* add auto_resize option

* fix android

* fix build on windows

* typo

* with_webview isnt desktop only

* add WebviewWindow rust struct (and builder)

* fix build on android

* license header

* fix macos/windows

* fix macos build

* resolve todo

* handle window not found

* hide unstable features

* document unstable feature [skip ci]

* webview plugin permissions

* hide more stuff

* fix doctests

* typos

* add change files

* fix examples

* rename hook
2024-01-24 11:05:18 -03:00
Lucas Fernandes Nogueira
74a2a6036a chore: add change files for #8428 (#8661) 2024-01-23 13:19:51 -03:00
tweidinger
3c2f79f6f3 Tauri ACL/Allowlist v2 Implementation and Plugin System Refactor (#8428)
* tauri-plugin concept

* wip

* move command module to its own directory

* wip: new command traits and generated code

* wip: whip

* wip: static dispatch

there is a man standing behind me

* wip

* re-add authority

* fix build [skip ci]

* parse plugin permissions

* merge permission files [skip ci]

* parse capabilities [skip ci]

* resolve acl (untested) [skip ci]

* split functionality, add some docs

* remove command2 stuff

* actually check runtime authority

* small fixes [skip ci]

* add function to auto generate basic permission for a command [skip ci]

* retrieve command scope, implement CommandArg [skip ci]

* fix tests [skip ci]

* global scope

* lint

* license headers [skip ci]

* skip canonicalize

* separate scope type in example

* remove inlinedpermission struct [skip ci]

* permission file schema

* capabilities schema

* move items from tauri-plugin to tauri-utils

this allows tauri-plugin to depend on tauri directly again
which will be used by the runtime feature as a superset to
existing plugin traits

* enable schema and glob [skip ci]

* fix glob [skip ci]

* fix capability schema [skip ci]

* enhance schema for permission set possible values [skip ci]

* permission set can reference other sets [skip ci]

* setup tests for resolving ACL

* fixture for permission set [skip ci]

* remote context test and small fix[skip ci]

* ignore empty scope [skip ci]

* code review [skip ci]

* lint [skip ci]

* runtime fixes

* readd schema feature on tauri-config-schema [skip ci]

* remove plugin example from workspace, it breaks workspace features resolution [skip ci]

* scope as array, add test [skip ci]

* accept new shapshot [skip ci]

* core plugin permissions, default is now a set

* license headers

* fix  on windows

* update global api

* glob is no longer optional on tauri-utils

* add missing permissions on api example [skip ci]

* remove ipc scope and dangerous remote access config

* lint

* fix asset scope usage

* create out dir [skip ci]

* reuse cargo_pkg_name [skip ci]

* capability window glob pattern [skip ci]

* add platforms for capability [skip ci]

* per platform schema [skip ci]

* lint [skip ci]

* rename allowlist build mod [skip ci]

* check restricted visibility

* simplify capability target [skip ci]

* hide codegen build behind tauri-build::try_run

* optimize build scripts [skip ci]

* fix tests

* tests for RuntimeAuthority::resolve_access

* remote domain glob pattern

* lint

---------

Co-authored-by: Chip Reed <chip@chip.sh>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-01-22 21:24:15 -03:00
dependabot[bot]
303708d0aa chore(deps-dev): bump vite from 4.4.12 to 4.5.2 in /examples/api (#8646)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.4.12 to 4.5.2.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.2/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.2/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-20 04:50:55 +02:00
Olivier Lemasle
4ca4148e64 fix(bundler): fix error message (#8642) 2024-01-19 22:14:46 +02:00
Amr Bashir
7f033f6dcd fix(core): fix undecorated window resizing, #8519 (#8537)
* fix(core): fix undecorated window resizing, fixes #8519

* js api

* fix invoke call

* Update tauri-window-start-resize-dragging.md

* clippy
2024-01-18 19:34:55 +02:00
Amr Bashir
9f8037c288 fix(core): clear window surface for transparent windows (#8633)
* fix(core): clear window surface for transparent windows

closes #8632

this may conflict with `tauri-egui` rendering to the surface so we may need to add an option to disable internal rendering

* fix build
2024-01-18 18:35:20 +02:00
Fabian-Lars
a9b2c0625c chore: Commit Cargo.lock (#8586)
* chore: Commit Cargo.lock

* memchr for non-windows

* cfg-expr for non-windows

* add msrv check to covector

* update script

* downgrade arboard

* downgrade petgraph

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-01-17 16:21:45 -03:00
Naman Garg
7aa30dec85 feat: Add Section, Priority and Changelog options (#8620)
* Init section, priority and changelog

* Add section. priority and changelog support

* fix variable name

* Add .changes file

* Fix Formatting

* Apply suggestions from code review
2024-01-17 04:21:46 +02:00
github-actions[bot]
e0b38d7434 Apply Version Updates From Current Changes (#8438)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2024-01-16 18:11:50 -03:00
Ning Sun
ef9fb982f8 feat: upgrade handlebars to 5.0 (#8615) 2024-01-16 17:21:18 +02:00
Naman Garg
4926648751 deps: Libflate to flate2 (#8618)
* Replace libflate with flate2

* Add .changes file

* Cargo fmt
2024-01-16 15:52:19 +02:00
Amr Bashir
06890c70c6 feat: enable socks-proxy for bundler download (#8596) (#8611)
* feat: enable socks-proxy for bundler download

* change file

Co-authored-by: Lai Zn <laizenan@gmail.com>
2024-01-16 15:42:53 +02:00
Lai Zn
8032b22f2a feat: enable socks-proxy for bundler download (#8596)
* feat: enable socks-proxy for bundler download

* change file
2024-01-16 04:03:35 +02:00
Lucas Nogueira
d621d3437c feat: add tracing (port from #8289) (#8607)
* feat(tracing): add IPC tracing

* span for deserialization

* trace spans for IPC command handlers

* fix spans usage

* app tracing [skip ci]

* window tracing

* fix run never resolving all spans

* fix draw not entered

* change level

* feat(core): Manager::emit_filter and optimize serialization (#7512)

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

* event spans

* lint & fix tests

* change eval to run sync

* fix instrument

* update wry

* change separator

* Update core/tauri/src/plugin.rs

Co-authored-by: Jonas Kruckenberg <118265418+CrabNejonas@users.noreply.github.com>

* Update core/tauri/src/window.rs

Co-authored-by: Jonas Kruckenberg <118265418+CrabNejonas@users.noreply.github.com>

* Update core/tauri/src/window.rs

Co-authored-by: Jonas Kruckenberg <118265418+CrabNejonas@users.noreply.github.com>

* Update core/tauri/src/window.rs

Co-authored-by: Jonas Kruckenberg <118265418+CrabNejonas@users.noreply.github.com>

* Update core/tauri/src/window.rs

Co-authored-by: Jonas Kruckenberg <118265418+CrabNejonas@users.noreply.github.com>

* instrument separators

* remove on_event trace

* skip all arguments on App::build tracing

* ipc spans adjustments

* delete change file

* improve how request and response are added as values (serialize)

* do not run evalScript sync on android :( freezes the app

* wry 0.35.2

* add change file

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Jonas Kruckenberg <118265418+CrabNejonas@users.noreply.github.com>
2024-01-16 02:37:50 +02:00
阿良仔
1ca69bcf2f fix(clipboard): build issues on wayland (fix #8515) (#8546)
* fix(clipboard): fail to build on wayland

* specify exact version

* bump MSRV to 1.63

* revert msrv changes

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-01-15 19:52:49 +02:00
Naman Garg
6bdba1f330 fix(bundler/deb): use lintian-compliant permissions , closes #7992 (#8585) 2024-01-15 18:08:07 +02:00
Fabian-Lars
b546b42db7 fix(core): Retain order of map keys in ipc, fixes #7922 (#8577)
* fix(core): Retain order of map keys in ipc, fixes #7922

* enable dep on http-api feature instead of http-request

* Create fix-formbody-order.md

* Update fix-formbody-order.md
2024-01-10 21:03:25 +02:00
Fabian-Lars
5cb196976e fix(examples): Update web example to latest dialog plugin (#8567) 2024-01-09 02:03:23 +02:00
Fabian-Lars
97e3341299 fix(api.js): mock __TAURI_INTERNALS__ in mockIPC and mockWindows (#8534)
* fix(api.js): mock `__TAURI_INTERNALS__` in `mockIPC` and `mockWindows`

* mock internals.invoke instead of internals.ipc
2024-01-04 01:37:27 +02:00
Fabian-Lars
67d7877f27 fix(cli): Watch workspace members if tauri dir is workspace root (#8520)
* fix(cli): Watch workspace members if tauri dir is ws root

See title. This PR also includes a fix/workaround for paths with funny characters that may not make the glob expansion panic.

Fixes #8509

* extract into function

* cleanup
2024-01-04 01:37:05 +02:00
Lucas Fernandes Nogueira
0ec28c39f4 feat(cli): migrate tauri-build version (#8529)
* feat(cli): migrate tauri-build version

This changes the migrate command to also migrate the tauri-build dependency to v2, previously it only updated the tauri dependency.

* lint
2024-01-02 15:24:50 -03:00
pashokitsme
29ced5ceec feat: add WindowBuilder::on_download, closes #8157 (#8159)
* on_download_started & on_download_completed setters

* macos: default handler fn if not set

* remove default macos handler

* doc comments

* unify hooks, change files

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-12-30 11:46:53 -03:00
Jason Tsai
89911296e4 feat(bundler): codesign nested code on macos (#8259)
* feat(bundler): codesign nested code on macos

* chore: update changelog tag

* typo

* also sign stuff in the Libraries folder

tested this for spacedrive, which has a bunch of dylib inside the libraries folder

* Update .changes/mac-bundler-nested-code-sign.md [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-12-28 13:58:24 -03:00
Palash Bansal
27bad32d4d feat: Add files field in macos build config, closes #3290 (#7798)
* Add appContents field in macos tauri config.

* Change MacConfig::appContents to MacConfig::files to make it similar to DebConfig::files.

* Change appContents to files in helloworld/tauri.conf.json

* use common::copy_dir helper

* add change files [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-12-28 12:10:50 -03:00
Amr Bashir
4f73057e6f refactor!: match target triple for TAURI_ENV_ARCH (#8486)
* refactor!: match target triple for `TAURI_ENV_ARCH`

* fix build

* Update .changes/cli-hooks-env-vars-breaking.md

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

* Update tooling/cli/ENVIRONMENT_VARIABLES.md

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

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-12-28 12:10:12 -03:00
Amr Bashir
cb640c8e94 fix(runtime-wry): propagate wry file drop event to tao event loop, closes #8206 (#8393)
* fix(runtime-wry): propagate wry file drop event to tao event loop

* fix build

* always block default OS file drop behavior

* Update .changes/runevent-filedrop.md [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-12-28 10:20:24 -03:00
Lucas Fernandes Nogueira
af565c2a20 fix(macos): allow canceling data-tauri-drag-region maximization #8312 (#8487) 2023-12-28 10:03:14 -03:00
Amr Bashir
8f8729d918 fix(core): allow canceling data-tauri-drag-region maximization on macOS, closes #8306 (#8312)
* fix(core): allow canceling `data-tauri-drag-region` maximization on macOS, closes #8306

* Update .changes/tauri-data-drag-region-macos-maximize.md

* fix typo

* cancel if mouse moves

* Update tauri-data-drag-region-macos-maximize.md

[skip ci]

* Update core/tauri/scripts/core.js [skip ci]

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-12-28 09:13:48 -03:00
Jérôme Rx
3e00116e9f rename appimage.sh => build_appimage.sh in error (#8295) 2023-12-28 08:04:43 -03:00
Amr Bashir
0ea1a47254 ci: use default options for repository-dispatch (#8455) 2023-12-27 13:00:39 -03:00
Amr Bashir
446fc99bbe ci: use default options for repository-dispatch (#8456) 2023-12-27 13:00:37 -03:00
Amr Bashir
6e48837860 feat: re-export Url (#8474)
* feat: re-exoprt `Url`

`Url` is used/returned from public API, we should re-export it

* Update .changes/export-url.md
2023-12-27 12:59:26 -03:00
Olivier Lemasle
091100acbb feat(bundler): Add RPM packaging, closes #4402 (#5202)
* feat(bundler): Add RPM packaging

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

* Fix fmt
2023-12-23 18:38:15 +01:00
Lucas Fernandes Nogueira
7e4580afed fix(cli): remove test only relevant to v1 branch, adjust migration test (#8451) 2023-12-20 18:35:50 -03:00
renovate[bot]
883e52153e chore(deps) Update Tauri API Definitions (1.x) (#8449)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-20 14:16:58 -03:00
Fabian-Lars
41990cd344 fix(cli): Handle target triples with 4 components (#8448)
* fix(cli): Handle target triples with 4 components

Follow up of #8321 which broke the `TAURI_ENV_` vars for linux, windows and ios-sim

* use host for platform as is

* clippy
2023-12-20 14:14:49 -03:00
github-actions[bot]
5966812735 Apply Version Updates From Current Changes (v1) (#8396)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-12-20 13:50:17 -03:00
Amr Bashir
b44e9c0fcb feat(bundler): redownload outdated/mis-hashed files (#8431)
* feat(bundler): redownload outdata/mis-hashed files

* change import location

* Update util.rs

* Update util.rs

* Update bundler-mishashed-files.md

* Update bundler-mishashed-files.md

* rename fn

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-12-20 12:46:19 -03:00
renovate[bot]
6892a8cbc1 chore(deps) Update dependency eslint-plugin-security to v2 (dev) (#8440)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-20 12:14:39 -03:00
Fabian-Lars
b2f83f03a8 fix(core): Replace Rc with Arc to prevent crashes when sending events (#8402)
* fix(core): Prevent crash when sending events.

* add change file

* use dedicated type for windows refcell map

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-12-20 12:13:00 -03:00
Fabian-Lars
0a2175eabb fix(cli): expand globs in workspace member paths (#8439)
* fix(cli): Expand globs in workspace member paths

fixes #8403

* unusued import

* into_iter

* return error instead of of empty vec

* Update dev-watcher-glob.md
2023-12-20 15:57:10 +02:00
Amr Bashir
645e1dcc6e fix(core/updater): check if installer args are not empty before passing -ArgumentList closes #8296 (#8404) 2023-12-20 01:08:38 +02:00
Amr Bashir
2032228cad refactor!: remove GlobalWindowEvent type (#8430)
* refactor!: remove `GlobalWindowEvent` type

* takee references instead
2023-12-19 14:20:00 -03:00
Lucas Nogueira
a9b87c057d Merge branch '1.x' into dev 2023-12-19 13:52:53 -03:00
Lucas Nogueira
6cd6d3fb32 chore(utils): add change file for #7964 2023-12-19 12:48:05 -03:00
Lucas Nogueira
30c5d86f88 fix: bump tauri-runtime-wry for #8213 2023-12-19 11:33:35 -03:00
github-actions[bot]
e44b36fea4 Apply Version Updates From Current Changes (#8274)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-12-19 11:03:26 -03:00
Lucas Fernandes Nogueira
effe5871af fix(core): scope checks on Android (#8420)
* fix(core): scope checks on Android

On Android, when we call canonicalize() on "/data/user/0/appid" (which is the data dir), the result is a "/data/data/appid" path, so we need to adjust our scope for that.

* clarify code

* apply the logic to all targets
2023-12-19 10:19:26 -03:00
Lucas Fernandes Nogueira
b59f2f54e7 feat(core): expose scope::fs::Scope::new (#8432) 2023-12-18 21:29:12 -03:00
Amr Bashir
50a3d170f2 fix(core/dialog): reconstruct path using appropriate separator, closes #8074 (#8408)
* fix(core/dialog): reconstruct path using appropraite separator, closes #8074

* Update dialog-window-forward-slash.md

* Update dialog.rs

* Update core/tauri/src/endpoints/dialog.rs

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-12-18 21:08:18 -03:00
Lucas Fernandes Nogueira
11a1529d6a feat(core): set CORS headers on protocol errors (#8419)
* feat(core): set CORS headers on protocol errors

This ensures the frontend can read the error message instead of just showing a CORS error

* fix statuscode
2023-12-18 20:54:40 -03:00
dependabot[bot]
ea03adee74 chore(deps-dev): bump vite from 4.4.9 to 4.4.12 in /examples/api (#8342)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.4.9 to 4.4.12.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.4.12/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.4.12/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 18:42:51 -03:00
Amr Bashir
9b230de7bc fix(utils/config): fix parsing f64 values, closes #8252 (#8407) 2023-12-18 18:18:44 -03:00
Amr Bashir
50e9caad64 ci: access cli release id directly (#8398) 2023-12-18 18:17:39 -03:00
Amr Bashir
31b3545e31 ci: access cli release id directly (#8397) 2023-12-18 18:17:33 -03:00
Amr Bashir
428ea6524c feat(api): expose Resource class (#8370)
* feat(api): expose `Resource` class

continuation of https://github.com/tauri-apps/tauri/pull/8276

* Apply suggestions from code review

* fmt

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-12-18 18:16:21 -03:00
Amr Bashir
e5cc72eb40 ci: fix msrv tests (#8409)
* ci: remove `is-terminal` from crate pinning step

* pin cross-beam

* crossbeam-utils

* image

* linux-raw-sys

* fix version

* comon

* ha?

* tar

* now?

* rustix

* kill me, kill me now

* tar first???

* is-terminal

* I am dying

* remove rustix

* image
2023-12-18 18:15:28 -03:00
Amr Bashir
face0b6a89 chore: cleanup issue and PR templates (#8410)
* chore: cleanup issue and PR templates

* Delete .github/config.yml

* Update bug_report.yml

* Update .github/PULL_REQUEST_TEMPLATE.md

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

* Update PULL_REQUEST_TEMPLATE.md

---------

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2023-12-18 18:15:04 -03:00
Lucas Fernandes Nogueira
0d0501cb7b refactor(clipboard): use arboard instead of tao closes #8177 (#8394)
* refactor(clipboard): use arboard instead of tao closes #8177

* update api lock

* add change file
2023-12-14 13:41:20 -03:00
Amr Bashir
1c582a942e refactor(api): generate types next to modules (#8392)
* refactor(api): generate types next to modules"

this fixes an issue with `moduleResolution: node`

* change file

* Update api-module-resolution-node.md
2023-12-14 13:27:48 -03:00
Amr Bashir
ef21b681e2 refactor(api): generate types next to modules (#8391)
* refactor(api): generate types next to modules"

this fixes an issue with `moduleResolution: node`

* change file

* Update api-moduleresolution-node.md
2023-12-14 13:27:31 -03:00
Alexandre Dang
3c371aa8ee feat(core): add test::test::get_ipc_response, closes #8199 (#8228)
* feat(core): Add additional functions to the

* Add documentation and cleanup the code

* Improve and add tests to helper functions

* Clean unecessary code and correct tests

* Make `Ipc` and `IpcKey` public

* Open `Ipc` with public functions

* Update core/tauri/src/test/mod.rs

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

* cleanup, change file

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
2023-12-14 11:52:45 -03:00
Alexandre Dang
db12777742 feat(core): allow the MockRuntime to call a command and get a return value + fix doctest (#8380)
* Add `get_ipc_response` to the `MockRuntime`

* Fix `MockRuntime` doctests

* Add support for raw ipc

* cleanup, add change file

* only a single get fn

---------

Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
2023-12-14 11:52:25 -03:00
Guillem Córdoba
5848b4e8e9 Fixed channel deserialisation in iOS (#8386)
* Fixed channel

* Change file
2023-12-14 09:25:28 -03:00
Amr Bashir
c1bc4d2948 chore(cli/help): mention the need for a second -- in tauri dev (#8388)
* chore(cli/help): mention the need for a second `--` in `tauri dev`

ref: https://github.com/tauri-apps/tauri/issues/8382#issuecomment-1854016310

* add example to clarify [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-12-14 09:20:52 -03:00
github-actions[bot]
f9c97b7e5b Apply Version Updates From Current Changes (v1) (#8377)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2023-12-13 14:43:54 -03:00
Amr Bashir
5ff9d4592a fix(bundler/nsis): only kill processes of current user (#8390)
* fix(bundler/nsis): only kill processes of current user

Co-authored-by: FabianLars-crabnebula <fabianlars@crabnebula.dev>

* change file

---------

Co-authored-by: FabianLars-crabnebula <fabianlars@crabnebula.dev>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-12-13 18:57:32 +02:00
Amr Bashir
30adc8d45d ci: fix publish @tauri-apps/api to latest instead of next (#8371)
* ci: fix publish `@tauri-apps/api` to `latest` instead of `next`

closes #8335

* just remove tag
2023-12-12 12:17:11 +02:00
Amr Bashir
777ddf434a fix(bundler): unset NSISDIR and NSISCONFDIR when running makensis (#8376)
closes #8359
2023-12-12 12:17:03 +02:00
Sean Boult
803c3a794d feat(cli): expose CLI signer flags as environment variables (#8327)
* feat(cli): expose signer flags as environment variables

* Update .changes/cli-signer-env-vars.md
2023-12-12 11:13:30 +02:00
Michael Howell
f98ce5aa47 fix: fix incorrect predefined menu item for Close Window (#8328)
* Fix incorrect predefined menu item for Close Window

* change file

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-12-12 00:29:55 +02:00
Ananth
b6ca8885ff feat(cli): improve error message with invalid target for build (#8321) 2023-12-12 00:06:43 +02:00
Lucas Fernandes Nogueira
327c7aec30 fix(ci): skip installing unnecessary deps (#8277) 2023-12-01 17:06:59 +02:00
amrbashir
14e29f320d chore: update tauri-cli lock file 2023-12-01 04:27:26 +02:00
amrbashir
cf7d584033 chore: manually bump tauri-utils 2023-12-01 03:46:30 +02:00
github-actions[bot]
61cc7d9c5a Apply Version Updates From Current Changes (v1) (#8203)
* apply version updates

* fmt

---------

Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
2023-12-01 03:05:05 +02:00
Robin van Boven
c4b5df12bb perf: skip large Window and AppHandle fields on traces (#8318)
* perf: Skip large Window and AppHandle fields on traces

These contain large fields like image buffers, causing spans/events to be very large when serialized.

Especially the `window::emit::eval` one which is in a hot code path.

* fix: MSRV issues
2023-11-30 16:56:24 +02:00
Fabian-Lars
940ec1dd01 chore: Cleanup Readme. Add Sponsor section. (#8269)
* chore: Cleanup Readme. Add Sponsor section.

* move logo into sponsors subfolder

* Update README.md

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

* Update README.md

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

* Update README.md

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

* move getting started up

* remove docs info

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-11-30 11:15:02 +01:00
i-c-b
977a39f4f7 fix(bundler): migrate WebView2 offline installer to shorturl (#8292) 2023-11-29 03:51:42 +02:00
Chase Knowlden
c34710de67 fix: Fix archived links, Closes #8302 (#8315) 2023-11-29 03:41:41 +02:00
阿良仔
f78e5e4d4a refactor: replace once_cell with std::sync::OnceLock (#8309)
Our MSRV is currently 1.70 and these new types were introduced in 1.70
2023-11-29 01:12:03 +02:00
Lucas Nogueira
5e05236b49 feat(core): add tracing for vital functionality closes #5204 (#8289)
* feat(core): add tracing for vital functionality

* Update core/tauri-runtime-wry/src/lib.rs [skip ci]

* Update Cargo.toml [skip ci]

* tracing feature

* wry 0.24.6

* add change tag

* add tracing to CI test

* enhance spans for update check

* remove app from debug impl
2023-11-27 16:56:46 +02:00
Davide Ferrero
5ff6a74430 chore: aligned cocoa crate to 0.25 (#8297) 2023-11-24 22:09:15 +02:00
Davide Ferrero
ad8836b1d2 chore: remove unused import muda::AboutMetadataBuilder (#8294) 2023-11-23 17:15:40 +02:00
Lucas Nogueira
b3e53e7243 feat(core): add AssetManager::iter (#8288)
This new function allows users to iterate on all embedded assets, important if you want to AssetManager::get an asset you are not sure exists.
2023-11-23 16:12:38 +02:00
Lucas Fernandes Nogueira
4f4313e17a fix(ci): skip installing unnecessary deps (#8277) 2023-11-21 12:34:15 -03:00
Lucas Fernandes Nogueira
ebc3e78e68 feat: update to latest wry (#8213)
Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
2023-11-21 12:32:06 -03:00
Amr Bashir
bf095df55a feat: expose Manager::resources_table (#8276)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-11-21 07:57:35 -03:00
Lucas Fernandes Nogueira
32bf201655 fix(bundler): lint and cleanup for #7964 (#8275) 2023-11-20 21:09:01 -03:00
Andrew
b0c5b06d06 feat(bundler): add dmg settings, closes #4669 (#7964) 2023-11-20 18:26:02 -03:00
Amr Bashir
3b91e236c6 refactor(tauri-utils)!: remove windows_version and is_windows_7 (#8271)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-11-20 18:21:42 -03:00
Amr Bashir
46451aee13 fix(api): add top-level main, module and types fields (#8268) 2023-11-20 18:13:50 -03:00
Amr Bashir
5046270273 fix(api): add top-level main, module and types fields (#8267) 2023-11-20 18:12:52 -03:00
Amr Bashir
b8756bc34e perf: remove extranous call in StateManager::get (#8272) 2023-11-20 17:55:18 -03:00
Fabian-Lars
c2ad4d28c4 refactor(api)!: Rename primitives mod to core (#8273) 2023-11-20 17:53:13 -03:00
Amr Bashir
618b0d01cb ci: fix parsing covector ouput (#8241)
* ci: fix parsing covector ouput

* delete parse-output.js

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-11-20 21:02:31 +02:00
github-actions[bot]
3acf0d2ba4 Apply Version Updates From Current Changes (#8140)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-11-20 15:11:24 -03:00
Fabian-Lars
f26d9f0884 fix(bundler/nsis): remove empty resources folders on uninstall (#8263)
* fix(bundler/nsis): remove empty resources folders on uninstall

* make clippy happy for once
2023-11-20 14:43:47 +02:00
renovate[bot]
aa1d67ab75 chore(deps) Update Tauri Core (dev) (#8227)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-11-19 14:21:12 -03:00
renovate[bot]
8accd6940e chore(deps) Update Rust crate handlebars to 4.5 (1.x) (#8231)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-19 08:58:27 -03:00
Amr Bashir
26ccfef999 ci: fix parsing covector ouput (#8240) 2023-11-19 08:54:05 -03:00
Amr Bashir
d8f1b6c59b feat: migrate manual implementation to the light windows-version crate (#8242) 2023-11-19 08:51:17 -03:00
Amr Bashir
5e84e92e99 feat: migrate manual implementation to the light windows-version crate (#8243) 2023-11-19 08:50:36 -03:00
Amr Bashir
f93148eac0 feat: add tray and menu javascript APIs and events, closes #6617 (#7709)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-11-19 08:38:24 -03:00
Amr Bashir
4b6a602a89 fix(updater): Use escaped installer path when starting the updater msi (#8234)
* fix(updater): Use escaped installer path when starting the updater msi

Continuation of https://github.com/tauri-apps/tauri/pull/7956

* fix build
2023-11-16 01:26:03 +02:00
Fabian-Lars
92bc7d0e16 fix(bundler/nsis): calculate estimated size on build system (#8233)
* fix(bundler): Fix nsis installer taking longer than expected to install resources

* create dir structure for resources before extracting files

* calculate size in rust on the build system

* i'm sorry clippy, i programmed in unholy languages where += wasn't a thing so i forgot it exists in rust...

* i'm a better clippy than clippy🌚
2023-11-15 20:53:15 +02:00
renovate[bot]
9e3aff0a3a chore(deps) Update Tauri Build (1.x) (#8102)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-11-14 10:18:35 -03:00
renovate[bot]
e221aae531 chore(deps) Update Tauri Utils (1.x) (#8105)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-11-14 09:52:58 -03:00
renovate[bot]
626121e7bf chore(deps) Update Tauri CLI (1.x) (#8193)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-11-13 23:58:27 -03:00
Lucas Fernandes Nogueira
92b50a3a39 fix(cli): add support to Xcode's archive (#8209) 2023-11-13 22:35:43 -03:00
Lucas Fernandes Nogueira
977d0e52f1 fix(cli): IDE failing to read CLI options on build --open commands (#8202) 2023-11-13 22:34:37 -03:00
Lucas Fernandes Nogueira
2ba8856343 fix(core): docs.rs build failing for macOS (#8095) 2023-11-13 22:34:22 -03:00
renovate[bot]
f964cbdb93 chore(deps) Update dependency eslint to v8.53.0 (1.x) (#8189)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-13 21:45:24 -03:00
renovate[bot]
ecb5b0c21d chore(deps) Update Tauri API Definitions (dev) (#8187)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-13 21:45:07 -03:00
renovate[bot]
0f7b2c4298 chore(deps) Update Rust crate tempfile to 3.8.1 (1.x) (#8188)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-13 21:43:45 -03:00
i-c-b
b7add750ef Fix file-drop event payload (#8204)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-11-13 21:40:59 -03:00
Lucas Fernandes Nogueira
25e5f91dae feat(cli): merge user-defined plist with the iOS plist file (#8200) 2023-11-13 21:12:44 -03:00
Merlin Gough
14544e4b87 fix(api): avoid crashing in clearMocks, closes #8179 (#8219)
* fix(api): do nothing in clearMocks if __TAURI_INTERNALS__ is not defined (fix: #8179)

Prevents tests that didn't define any mocks from failing in `afterEach` test hook.

* Update fix-clearmocks.md

* check for indvidiual properties instead
2023-11-13 17:48:54 +02:00
Tai Zeming
adc3cc2ffa chore(deps): replace deprecated rollup-plugin-terser with @rollup/plugin-terser (#8194) 2023-11-13 17:13:01 +02:00
renovate[bot]
b6ed4ecb37 chore(deps) Update Rust crate syn to v2 (dev) (#7634)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-11-13 08:20:19 -03:00
Olivier Lemasle
1d5aa38ae4 fix(cli): Fixes errors on command output, closes #8110 (#8162)
Fixes #8110
2023-11-09 15:34:16 -03:00
renovate[bot]
e9aa7276e9 chore(deps) Update Tauri Core (dev) (#7631)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-11-09 14:15:41 -03:00
renovate[bot]
88ee0d8a04 chore(deps) Update Tauri CLI (dev) (#8097)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-11-09 08:31:32 -03:00
Vitor Ayres
88dac86f3b fix: (cli) format plugin string to snake case, closes #8017 (#8149)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-11-07 22:56:39 -03:00
Lucas Fernandes Nogueira
bfbbefdb9e fix(cli): invalid plugin template (#8161) 2023-11-07 22:56:21 -03:00
renovate[bot]
fc571ea2ce chore(deps) Update Rust crate tempfile to 3.8.1 (dev) (#8150)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-07 13:57:43 -03:00
renovate[bot]
3ed6b3ef37 chore(deps) Update Tauri API Definitions (dev) (#8151)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-07 13:57:28 -03:00
renovate[bot]
ec78f1613a chore(deps) Update Rust crate cargo_toml to 0.17 (dev) (#8154)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-07 13:57:07 -03:00
moka-ayumu
34196e25c4 fix(bundler): modify version in output file name when bundling wix (#8182)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-11-07 10:08:30 -03:00
Lucas Fernandes Nogueira
b5f40ae58d fix(core): global events regression from #7996 closes #8146 (#8147) 2023-11-07 09:59:09 -03:00
Lucas Fernandes Nogueira
04a682beb0 refactor(core): break manager struct into smaller ones (#8124) 2023-11-07 09:58:57 -03:00
fetzsav
50f7ccbbf3 [feat (issue #6389)] make tauri icon support SVGs (#6444)
Co-authored-by: Fetzer <fetz@fetzverse.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2023-11-07 09:58:01 -03:00
i-c-b
416370a627 enhance(docs): Document Windows-specific icon behaviour (#8153) 2023-11-06 20:12:26 -03:00
ShoreCN
fd532da899 refactor: Optimize Simplified Chinese language content (#8137) 2023-11-06 19:10:20 -03:00
Fabian-Lars
a547971209 fix(build): always invoke resource compiler on windows, fixes #8164 (#8168)
* fix(build): Always invoke resource compiler on windows, fixes #8164

* move all the stuff out of the version check

* check for icon path when setting the icon
2023-11-06 21:46:25 +02:00
Lucas Fernandes Nogueira
01a7a983ab feat(cli): transform paths into relative for the mobile IDE script (#8128) 2023-10-30 10:53:18 -03:00
github-actions[bot]
b5e1334149 Apply Version Updates From Current Changes (#8131)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-10-28 18:06:44 -03:00
Fabian-Lars
822bf15d6b fix(api): include tslib dist in api package (#8130) 2023-10-28 17:40:38 -03:00
github-actions[bot]
618c4538ea Apply Version Updates From Current Changes (#8064)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-10-28 15:04:15 -03:00
Fabian-Lars
b89de9fa43 feat(android): Add onResume and onPause to android plugins (#8092)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-28 14:38:13 -03:00
Lucas Fernandes Nogueira
0601d5dddb fix(docs): set the --cfg docsrs arg for docs.rs build (#8123) 2023-10-28 08:04:35 -03:00
Lucas Fernandes Nogueira
74d2464d0e refactor(core): implement on_page_load event using wry hook (#8116) 2023-10-27 10:00:59 -03:00
Lucas Fernandes Nogueira
2b6ffe0fd1 chore: update plugins-workspace branch usage from next to v2 (#8120) 2023-10-27 00:17:23 -03:00
Lucas Fernandes Nogueira
2c7d683ae3 chore(renovate): ignore cargo_toml and minisign (#8118) 2023-10-26 15:38:09 -03:00
Olivier Lemasle
9ed400a85c chore(ci): Replace unmaintained actions-rs GH actions, closes #8078 (#8093)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-10-26 15:27:52 -03:00
Olivier Lemasle
6bc3b0536d fix(cross): Fix docker image and cross setup (#8094) 2023-10-26 13:58:56 -03:00
renovate[bot]
4077946229 chore(deps) Update dependency @types/node to v20.8.8 (dev) (#8098)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-26 13:42:30 -03:00
renovate[bot]
b6ef1fab0e chore(deps) Update Tauri API Definitions (1.x) (#8100)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-26 13:42:15 -03:00
renovate[bot]
bf859859d6 chore(deps) Update Rust crate libflate to v2 (1.x) (#8106)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-26 13:33:01 -03:00
Lucas Fernandes Nogueira
6e75863041 fix(api): adjust documentation for mockConvertFileSrc (#8111) 2023-10-26 15:28:48 +03:00
Lucas Fernandes Nogueira
a635ec2345 feat(cli): add unit test for empty updater private key password (#8096) 2023-10-25 19:13:48 -03:00
Amr Bashir
c7c2507da1 chore(deps): update windows-rs to 0.51 and webview2-com to 0.27 (#8035)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-10-24 13:17:06 -03:00
DK Liao
9580df1d7b chore(deps): upgrade gtk to 0.18 (#8084)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-10-24 12:26:24 -03:00
github-actions[bot]
ae75004cee Apply Version Updates From Current Changes (v1) (#8065)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-10-23 21:20:02 -03:00
Lucas Fernandes Nogueira
13ce9ac836 fix: e2e test using invalid updater private keys (#8086) 2023-10-23 19:43:01 -03:00
Amr Bashir
a0f7b88fd8 build(api.js): simplify output JS files (#8025)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-23 18:22:00 -03:00
Fabian-Lars
5264e41db3 fix(deps): Downgrade minisign to 0.7.3 again (#8082) 2023-10-23 15:12:00 -03:00
Amr Bashir
93c8a77b34 refactor: enhance event system rust apis (#7996)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-23 15:10:01 -03:00
Lucas Fernandes Nogueira
198abe3c2c feat(plugins): typed invoke arguments for mobile plugins (#8076) 2023-10-23 14:09:42 -03:00
dependabot[bot]
a74ff464bb chore(deps): bump rustix from 0.37.23 to 0.37.26 in /tooling/bench (#8070)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-22 11:14:57 -03:00
Olivier Lemasle
fec89434d8 fix(ci): Fix bench job (#8045)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-10-22 11:13:32 -03:00
renovate[bot]
31cb582756 chore(deps) Update Tauri Build (dev) (#8044)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-22 10:47:43 -03:00
Olivier Lemasle
efe7811804 fix(examples): use __TAURI__.primitives (#8077)
Closes #8073
2023-10-22 03:38:18 +03:00
Konstantin Azizov
287066b279 fix(api): do nothing in clearMocks if __TAURI_INTERNALS__ is not defined (#8071) 2023-10-21 14:51:08 -03:00
Lucas Nogueira
c6c59cf237 Merge branch '1.x' into dev 2023-10-20 08:56:02 -03:00
renovate[bot]
5f75ebbbbb chore(deps) Update Tauri CLI (1.x) (#8051)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-10-20 02:26:11 +00:00
renovate[bot]
c982e52eb0 chore(deps) Update Rust crate json-patch to 1.2 (dev) (#8043)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-20 00:04:49 +00:00
renovate[bot]
78586968a8 chore(deps) Update Tauri Bundler (dev) (#8047)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-20 00:00:07 +00:00
renovate[bot]
d4042ebd88 chore(deps) Update Tauri Utils (dev) (#8050)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 23:59:30 +00:00
renovate[bot]
10da70307a chore(deps) Update Tauri Codegen (1.x) (#7576)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-10-19 23:44:04 +00:00
Lucas Fernandes Nogueira
22f26882cf fix(core): prevent iOS crash on invalid plugin response JSON (#8049) 2023-10-19 22:47:43 +00:00
Johannes Velde
cfe6fa6c91 feat(lang) added german language (#8061) 2023-10-19 22:47:34 +00:00
github-actions[bot]
ae13be2d17 Apply Version Updates From Current Changes (v1) (#8062)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-10-19 16:48:27 +00:00
github-actions[bot]
d16206a086 Apply Version Updates From Current Changes (#8005)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-10-19 16:04:21 +00:00
Lucas Fernandes Nogueira
3880b42d18 feat(bundler): enhance notarization error message (#7974) 2023-10-19 15:56:20 +00:00
Lucas Fernandes Nogueira
9bead42dbc feat(cli): allow rotating updater private key (#8059) 2023-10-19 15:43:48 +00:00
renovate[bot]
c90ee65dbf chore(deps) Update Tauri CLI (dev) (#7630)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-19 11:14:23 -03:00
Olivier Lemasle
2da043f04d fix: improve French translations for nsis installer (cherry-pick #7523 on 1.x) (#8058)
Co-authored-by: Stanislas Michalak <stanislas-m@users.noreply.github.com>
2023-10-19 10:48:16 -03:00
Lucas Fernandes Nogueira
ebcc21e4b9 refactor: change prefix of hook env vars to TAURI_ENV_, closes #8054 (#8057) 2023-10-19 10:46:04 -03:00
renovate[bot]
117a7dc2bb chore(deps) Update Tauri Utils (dev) (#7632)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-10-18 13:36:41 -03:00
renovate[bot]
620b7a5d2f chore(deps) Update Tauri API Definitions (dev) (#7633)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-18 13:32:10 -03:00
renovate[bot]
de985bad18 chore(deps) Update Tauri Bundler (1.x) (#7639)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-18 13:26:24 -03:00
renovate[bot]
a76588df75 chore(deps) Update Rust crate log to 0.4.20 (dev) (#7629)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-18 13:10:39 -03:00
Lucas Fernandes Nogueira
be8e5aa307 fix(cli): duplicated newlines on child process output (#8042) 2023-10-18 15:29:12 +00:00
renovate[bot]
5c0eeb40c1 chore(deps) Update Tauri API Definitions (dev) (major) (#7638)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-18 10:37:30 -03:00
dependabot[bot]
6f23fa302d chore(deps): bump postcss from 8.4.24 to 8.4.31 in /examples/api (#7968)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-18 09:48:50 -03:00
renovate[bot]
94bef1c705 chore(deps) Update Tauri CLI (1.x) (#7641)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-18 09:48:30 -03:00
martin frances
8db26bd3e9 fix(core): Clippy fixes. (#7869)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-18 09:47:43 -03:00
Andre Lew
c1ec0f1551 feat(core): expose always_on_bottom, closes #7847 (#7933)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-18 09:47:24 -03:00
Jason Tsai
c085addab5 feat: set application progress bar, close #7999 (#8009)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 16:25:30 -03:00
Amr Bashir
a6ad540696 refactor: change path and event plugins to follow the same convention as window (#8040) 2023-10-17 15:28:08 -03:00
Amr Bashir
fb10b87970 feat: move app plugin back to core (#8039)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 15:13:47 -03:00
Amr Bashir
149056746c refactor(core/plugin)!: inline result type alias (#8037)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-10-17 14:33:17 -03:00
Amr Bashir
12b8d18bf7 refactor!: remove unnecessary error enum and result type aliases (#7875)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 13:10:21 -03:00
Amr Bashir
99865d9e9a refactor(cli): cleanup info command (#7204)
Co-authored-by: martin frances <martinfrances107@hotmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 13:09:59 -03:00
github-actions[bot]
550173aaf5 Apply Version Updates From Current Changes (v1) (#8022)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 12:29:33 -03:00
Amr Bashir
ed32257d04 feat(windows): add tabbed effect (#7794)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-10-17 12:29:10 -03:00
Lucas Fernandes Nogueira
880266a7f6 chore: bump MSRV to 1.70 (#8031) 2023-10-17 11:08:15 -03:00
Amr Bashir
f259db3596 chore: downgrade bump to patch (#8033) 2023-10-17 10:00:03 -03:00
Lucas Fernandes Nogueira
a5686e1507 fix(core): compile on 32-bit targets (#8032) 2023-10-17 09:40:29 -03:00
Amr Bashir
a63e71f979 refactor(core&api)!: hide internal functions and reuse them in api.js & rename tauri module to primitives (#7942)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 09:40:20 -03:00
Amr Bashir
2b0212af49 feat(api): add mock for convertFileSrc, closes #7935 (#7961)
* feat(api): add mock for `convertFileSrc`, closes #7935

* fix lint

* Update tooling/api/src/mocks.ts

* fmt
2023-10-17 15:33:44 +03:00
dependabot[bot]
b89d747705 chore(deps): bump undici from 5.19.1 to 5.26.3 in /examples/api (#8024)
Bumps [undici](https://github.com/nodejs/undici) from 5.19.1 to 5.26.3.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.19.1...v5.26.3)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-10-17 15:28:05 +03:00
Amr Bashir
8b166e9bf8 refactor!: consistent environment variables (#7949)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 09:17:02 -03:00
Amr Bashir
c9a9246c37 feat: move window plugin back to core (#8007)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 08:33:23 -03:00
dependabot[bot]
f12306af5f chore(deps): bump @babel/traverse from 7.17.0 to 7.23.2 in /tooling/cli/node (#8026)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.17.0 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 06:02:26 +03:00
Amr Bashir
2558fab861 refactor!: remove uuid and rand dependencies where applicable (#7939)
* refactor: remove uuid and rand dependencies where applicable

ref: https://github.com/tauri-apps/tauri/issues/7756

* replace rand with getrandom

* change files

* InnerListeners private

* revert listeners_object_name [skip ci]

* default for next_event_id

* remove raw listen function

* fix event system

* Apply suggestions from code review [skip ci]

* update names [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-10-17 05:47:41 +03:00
Amr Bashir
2fe8782ad4 refactor: enhance the descriptions of CLI commands, closes #7572 (#7952)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-16 09:44:23 -03:00
Amr Bashir
dfe0badf19 docs: document macOS restrictions on Menu::add_item (#7983) 2023-10-16 09:15:15 -03:00
Amr Bashir
d6e10e216e chore: rename webview2 offline installer guid consts for more clarity (#8001) 2023-10-16 09:13:32 -03:00
Amr Bashir
9d40840299 chore: update tauri-cli lock file (#8015) 2023-10-16 08:50:11 -03:00
Olivier Lemasle
113bcd7b68 fix(bundler): In .deb packages, set uid=0 for all files (#7980) 2023-10-16 08:33:06 -03:00
Caijinglong
d0ae67503c fix(bundler): read proxy when downloading resources. (#8012)
* fix(bundler): read http_proxy env when downloading resources.

Signed-off-by: CaiJingLong <cjl_spy@163.com>

* Update .changes/add-proxy-for-nsis-download.md

* Update add-proxy-for-nsis-download.md

* Update tooling/bundler/src/bundle/windows/util.rs

---------

Signed-off-by: CaiJingLong <cjl_spy@163.com>
2023-10-13 15:06:34 +03:00
Lucas Fernandes Nogueira
46dcb94110 feat(core): include mobile on docs.rs targets (#8006) 2023-10-11 17:16:01 -03:00
github-actions[bot]
441eb4f4a5 Apply Version Updates From Current Changes (v1) (#7988)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-10-11 17:27:37 +00:00
Lucas Fernandes Nogueira
bab05ff607 fix(ci): properly detect @tauri-apps/cli release id from covector output (#8004) 2023-10-11 15:53:01 +00:00
Amr Bashir
4caa1cca99 refactor(cli): enhance plugin subcommand, closes #7749 (#7990)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-10-11 15:34:33 +00:00
i-c-b
f552c1796a fix(bundler): WebView2 offline installer GUID changes (#7998) 2023-10-11 10:50:21 +00:00
Ziyang Hu
21cdbb41a3 fix: truncate file when not appending in writeFile, closes #7973 (#7982)
* Fix https://github.com/tauri-apps/tauri/issues/7973

* Fix https://github.com/tauri-apps/tauri/issues/7973

* Fix https://github.com/tauri-apps/tauri/issues/7973
2023-10-09 16:22:54 +03:00
github-actions[bot]
1241014a46 Apply Version Updates From Current Changes (v1) (#7960)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
fix(bundler): team ID is now required for notarytool via app password (#7972)
fix(bundler): team ID is now required for notarytool via app password (#7972)"
2023-10-08 11:12:42 +00:00
github-actions[bot]
713f84db2b Apply Version Updates From Current Changes (#7823)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-10-08 10:03:49 +00:00
Lucas Fernandes Nogueira
b2f17723a4 feat(cli): use devicetl to connect with iOS 17 devices (#7971) 2023-10-07 14:16:27 -03:00
Lucas Fernandes Nogueira
40d340021c fix(bundler): team ID is now required for notarytool via app password (#7972) 2023-10-06 14:33:49 -03:00
Amr Bashir
1c9f3db916 chore: change tauri-mobile to cargo-mobile2 (#7953) 2023-10-05 19:30:56 +00:00
Fabian-Lars
cdd5516f33 fix(bundler): Use escaped installer path when starting the updater setup, fixes #7931 (#7956)
* fix(bundler): Use escaped installer path when starting the updater setup, fixes #7931

* fun ci stuff

* who needs lockfiles anyway

* stahp

* please let it be the last one. i want to leave
2023-10-05 00:45:43 +03:00
Lucas Fernandes Nogueira
d735324df0 fix(cli): deadlock regression from #7802 (#7948) 2023-10-03 11:46:20 -03:00
Amr Bashir
b597aa5f39 feat: add id option for tray icon in config file (#7871)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2023-10-03 10:18:19 -03:00
Lucas Fernandes Nogueira
68e7319305 fix(core): update scope usage following #7944 (#7946) 2023-10-03 08:44:25 -03:00
martin frances
44e8a562a2 fix: Cleared warnings seen while running ``cargo doc`` (#7862) 2023-10-03 08:37:54 -03:00
Amr Bashir
c0d03af470 refactor!: renamed TrayIconBuilder/TrayIcon::on_tray_event to TrayIconBuilder/TrayIcon::on_tray_icon_event (#7943) 2023-10-03 07:53:47 -03:00
Amr Bashir
b7fd88e18d refactor!: consistent naming in tauri::scope module (#7944) 2023-10-03 07:50:00 -03:00
github-actions[bot]
19249d78fb Apply Version Updates From Current Changes (v1) (#7938)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-10-02 13:16:57 -03:00
Jason Tsai
d6eb46cf11 fix(macos): fix notraytool's apple-id option name, close #7917 (#7934)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-10-02 11:30:39 -03:00
Lucas Fernandes Nogueira
3671edbcff fix(core): toggle devtools via global shortcut (#7937)
* fix(core): toggle devtools via global shortcut

* Update .changes/fix-toggle-devtools.md
2023-10-02 17:19:01 +03:00
github-actions[bot]
a3277a245c Apply Version Updates From Current Changes (v1) (#7924)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2023-09-30 04:41:23 +03:00
Lucas Fernandes Nogueira
d1e09da084 hotfix(build): bump tauri-build to 1.5 (#7918) 2023-09-30 02:20:27 +03:00
Lucas Fernandes Nogueira
c001a91d15 fix(ci): update tauri-driver's Cargo.lock file on version bump (#7915) 2023-09-28 15:29:53 -03:00
github-actions[bot]
0af553da72 Apply Version Updates From Current Changes (v1) (#7261)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-09-28 14:01:19 -03:00
Lucas Fernandes Nogueira
e9e68abb33 fix(ci): downgrade async-executor to 1.5.2 (#7911) 2023-09-28 10:48:52 -03:00
Lucas Fernandes Nogueira
c68fbfcb2d fix: Returns a warning instead of panicking if an AppImage is not mounted, closes #7736 (#7912)
Co-authored-by: Benjamin Demetz <50681275+Benji377@users.noreply.github.com>
2023-09-28 10:46:17 -03:00
Benjamin Demetz
1bce7397a4 fix: Returns a warning instead of panicking if an AppImage is not mounted, closes #7736 (#7843)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2023-09-28 10:22:11 -03:00
Lucas Fernandes Nogueira
228e5a4c76 fix(cli): icons not added to the Android project (#7902) 2023-09-26 15:22:23 -03:00
Fabian-Lars
d1858de7a0 fix(cli): help output mixed up for private-key and private-key-path (#7901) 2023-09-26 14:41:32 -03:00
Fabian-Lars
9aa34ada57 feat(core): Allow http origin on Windows, fixes: #3007 (#7645)
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-09-26 14:40:38 -03:00
Fabian-Lars
e8ff6b153e docs: change icon help output to ask for 1024px source icons, closes #7886 (#7896) 2023-09-25 14:44:27 +03:00
Trey Smith
5ecb46b341 fix: rpath missing from app, closes #7710 (#7773)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
fix: codesign doesn't sign frameworks or sidecar, closes #7690 (#7774)
2023-09-24 19:11:20 -03:00
Amr Bashir
deea943626 refactor!: changed Env.args to Env.args_os and use OsString instead of String (#7876)
ref: https://github.com/tauri-apps/tauri/issues/7756
2023-09-21 15:56:03 +03:00
Amr Bashir
092a561ca6 refactor!: remove tauri::api module (#7874)
* refactor!: remove `tauri::api` module

ref: https://github.com/tauri-apps/tauri/issues/7756

* change file

* fix builds
2023-09-21 15:55:42 +03:00
Amr Bashir
c3ac1f836b docs: use http::* qualified import instead of an alias (#7873) 2023-09-21 15:34:13 +03:00
Logan Keenan
a2021c30ba fix: remove mut self from set_native_icon signature (#7866)
* fix set_native_icon compile error

* Update core/tauri/src/menu/icon.rs

* Update core/tauri/src/menu/icon.rs

* Create set_native_icon_signature.md

* Update .changes/set_native_icon_signature.md
2023-09-21 02:21:33 +03:00
Fabian-Lars
d6fd121974 fix: add new ipc to csp config in streaming example, closes #7842 (#7849) 2023-09-18 21:05:48 +09:00
Trey Smith
dcdbe3eb6c fix: codesign doesn't sign frameworks or sidecar, closes #7690 (#7774)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-09-15 12:09:10 -03:00
Lucas Fernandes Nogueira
990295304f fix(core): remove unused rand dependency, ignore quickcheck_macros (#7838) 2023-09-15 10:58:56 -03:00
Trey Smith
2f8881c010 feat: add team_id option for apple notarization (#7775)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-09-15 08:30:27 -03:00
Lucas Fernandes Nogueira
995ffc629b fix(ci): recreate symlink so the integration tests works (#7833) 2023-09-13 21:55:47 -03:00
Lucas Fernandes Nogueira
b3ebe4de3c chore(config-schema): remove unused deps (#7824) 2023-09-12 23:55:27 +03:00
martin frances
9a2b2f49a5 Chore: Resolve "environment variable" notice in the github build artifacts (#7800)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-09-12 17:00:09 -03:00
Amr Bashir
a68ccaf59a fix: skip leading slash for asset protocol, closes #7815 (#7822)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-09-12 16:57:11 -03:00
i-c-b
100d9ede35 fix(core): Correctly detect Android Tauri configuration file, closes #7785 (#7802)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-09-12 13:18:23 -03:00
Amr Bashir
4bf1e85e6b fix(windows): respect focused: false for webview, closes #7519 (#7722)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
fix(windows): respect `focused: false` for webview, closes #7519
2023-09-11 17:00:06 -03:00
Davis Silverman
0b0bc81710 Extend context.rs to dynamically find the OUT_DIR for certain assets (#7534)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2023-09-11 16:59:30 -03:00
Lucas Fernandes Nogueira
1945dec81f fix(ci): adjust downgrade crates step (#7812) 2023-09-11 15:30:37 -03:00
github-actions[bot]
3c66a53a9e Apply Version Updates From Current Changes (#7811)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-09-11 13:00:21 -03:00
Lucas Fernandes Nogueira
d5074af562 fix: custom protocol on Windows, change scheme on Android, closes #7801 (#7808) 2023-09-11 12:25:06 -03:00
martin frances
822ba2b121 Fix: Resolve Deprecation notice in the github build artifacts (#7780)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2023-09-09 10:38:19 -03:00
martin frances
ac065062eb chore: Move to a modern resolver when using workspaces. (#7797) 2023-09-09 09:58:41 -03:00
Lucas Fernandes Nogueira
47b33e649c fix(ci): adjust test-core's downgrade step (#7796) 2023-09-09 09:34:46 -03:00
github-actions[bot]
a6a42f8f0a Apply Version Updates From Current Changes (#7770)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-09-08 11:49:37 -03:00
Lucas Fernandes Nogueira
6735994885 fix(ci): downgrade cfg-expr to 0.15.4 (#7790) 2023-09-08 11:07:27 -03:00
Lucas Fernandes Nogueira
e1ac45c89f fix(ci): downgrade crates requiring rust 1.66 (#7788) 2023-09-08 10:00:11 -03:00
Lucas Fernandes Nogueira
4cb51a2d56 refactor(core): custom protocol on Windows now uses the http scheme (#7779) 2023-09-07 19:57:16 -03:00
Jason Tsai
e3bfb01411 feat(nsis): support choosing compression algorithms, closes #7685 (#7776) 2023-09-07 18:45:15 +03:00
Lucas Fernandes Nogueira
dfbbca423b feat(bundler): try to find API key file for notarization, ref #7616 (#7771) 2023-09-07 10:01:12 -03:00
Jason Tsai
0797a002ca fix: use button property for data-tauri-drag-region mouse button detection, closes #7694 (#7746) 2023-09-07 09:55:47 -03:00
Amr Bashir
53ab2042fd refactor: remove unnecessary mutex (#7728) 2023-09-07 09:09:59 -03:00
Lucas Fernandes Nogueira
974e38b4dd refactor(cli): rename plugin add command to add (#7744) 2023-09-07 07:34:36 -03:00
github-actions[bot]
7db1c31e47 Apply Version Updates From Current Changes (#7627)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-09-06 18:12:36 -03:00
Lucas Fernandes Nogueira
8faa5a4a12 fix(cli): missing assets dir on iOS project when it is committed (#7765) 2023-09-06 17:22:39 -03:00
Lucas Fernandes Nogueira
b7f53d66e8 fix(core): use postMessage IPC for remote URLs on iOS ref #7751 (#7764) 2023-09-06 16:09:01 -03:00
Lucas Fernandes Nogueira
0d63732b96 refactor(core): allow custom protocol handler to resolve async (#7754) 2023-09-06 15:53:03 -03:00
Lucas Fernandes Nogueira
b75a1210be fix(cli): update tauri-mobile to fix iOS logs not showing (#7762) 2023-09-06 15:11:30 -03:00
Lucas Fernandes Nogueira
964282a267 fix(cli): migration tests (#7745) 2023-09-06 13:43:17 -03:00
Lucas Fernandes Nogueira
29818de682 fix(core): use postMessage IPC for remote URLs on macOS closes #7662 (#7751)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-09-05 12:41:05 -03:00
martin frances
50878901ba chore: resolves a warning seen while running cargo update (#7753)
* chore: resolves a warning seen while running cargo update

warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest

* Now using resolver 2.
2023-09-05 14:28:33 +03:00
Simon Hyll
e98393e499 fix: no longer unpacking and flattening payload, closes #7673 (#7677) 2023-09-04 18:02:22 -03:00
XXIV
41067cef00 perf: remove unnecessary heap allocation (#7731) 2023-09-04 15:00:49 +03:00
Amr Bashir
49beb67dab ci: fix clippy lints (#7721)
* ci: fix clippy lints

* more lints
2023-08-31 13:53:15 +03:00
Colin McDonnell
e152662687 feat: support Bun package manager (#7723)
* Support bun

* clippy
2023-08-31 02:48:36 +03:00
i-c-b
13279917d4 enhance(cli): Add Cargo Tauri CLI version to tauri info output (#7713)
* enhance(cli): Add Cargo Tauri CLI version to `tauri info` output

* Create enhance-cli-cargo-tauri-cli-version-info.md
2023-08-31 01:53:37 +03:00
Fabian-Lars
85112e7f8f ci: downgrade h2 and reqwest (#7717)
* ci: downgrade h2 to 0.3.20

* reqwest

* Update test-core.yml

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-08-30 20:43:01 +03:00
Amr Bashir
09f7f57eea chore(deps): update nsis_tuari_utils to 0.2.1 (#7711)
* chore(deps): update nsis_tuari_utils to 0.2.1

* Update .changes/nsis-kill-own-process.md
2023-08-30 15:49:47 +03:00
Fabian-Lars
f19c7fc5c3 ci: Update serde_with downgrade to match 3.3.0 (#7654) 2023-08-30 03:44:05 +03:00
Fabian-Lars
8c5fcf41e3 ci: Downgrade tokio to 1.29 and flate2 to 1.0.26 (#7646)
* ci: Downgrade tokio to 1.29

* downgrade flate2 too
2023-08-18 03:14:38 +03:00
Fabian-Lars
58d6b899e2 feat(api): Add append option to writeFile apis (#7636)
* feat(api): Add `append` option to writeFile apis.

* wording

* fmt

* Update .changes/fs-append-file.md


* clippeeeyyyy
2023-08-16 19:09:05 +03:00
Amr Bashir
af3268a4be refactor(menu,tray): add wrappers (#7622) 2023-08-16 13:06:17 -03:00
Amr Bashir
5c95152c76 refactor!: take id for text/check/icon on menu builders (#7621)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-08-16 11:55:36 -03:00
Amr Bashir
6177150b6f feat: add drag-n-drop position (#7601) 2023-08-16 11:21:40 +09:00
yydcnjjw
8a6766173b feat(tauri): impl Send for app::Builder, closes #7618 (#7619)
* feat(tauri): impl Send for app::Builder

* chore: add .changes/app-builder-send.md
2023-08-16 11:21:23 +09:00
Lucas Fernandes Nogueira
964d81ff01 refactor(bundler): switch to notarytool, closes #4300 (#7616) 2023-08-16 11:10:02 +09:00
Amr Bashir
a7777ff485 feat(bundler/NSIS): Add Bulgarian to supported NSIS languages. (#7624) (#7626)
* Create Bulgarian.nsh

* Update nsis.rs

* Create nsis-bulgarian.md

Co-authored-by: Angelo II <62988428+AngeloCore@users.noreply.github.com>
2023-08-16 11:09:45 +09:00
Amr Bashir
72a3d75e8f chore(deps): update nsis_tuari_utils to 0.2 (#7625) 2023-08-15 23:23:26 +03:00
Angelo II
04949d1658 feat(bundler/NSIS): Add Bulgarian to supported NSIS languages. (#7624)
* Create Bulgarian.nsh

* Update nsis.rs

* Create nsis-bulgarian.md
2023-08-15 23:06:22 +03:00
Jet Li
ca977f4b87 fix(bundler/nsis): revert shell context change before deleting appdata, closes #7588 (#7591)
* fix(bundler/nsis): delete app data of current user when uninstall, closes #7588

* fix(bundler/nsis): delete app data of current user when uninstall, closes #7588

* Update .changes/fix-nsis-uninstall-delete-app-data.md

---------
2023-08-15 18:59:44 +03:00
Fabian-Lars
9308dee0a1 docs: Be more specific about plugin names in ipc scope (#7605) 2023-08-15 10:56:05 -03:00
Lucas Fernandes Nogueira
7f818384d3 chore: enable tray-icon feature for docs.rs build (#7620) 2023-08-15 08:26:31 -03:00
github-actions[bot]
3bf1bce9ec Apply Version Updates From Current Changes (#7612)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-08-14 12:19:36 -03:00
Lucas Fernandes Nogueira
e27b829b36 fix(ci): adjust publish-cli-rs workflow tag (#7609) 2023-08-14 07:34:25 -07:00
Lucas Fernandes Nogueira
4af5c5a829 chore(api): add change file for #7170 (#7611) 2023-08-14 07:24:44 -07:00
Lucas Fernandes Nogueira
560b34dd2a fix(tauri-build): skip validating tray-icon feature flag (#7610) 2023-08-14 07:24:13 -07:00
github-actions[bot]
28382fdf9e Apply Version Updates From Current Changes (#7270)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-08-14 08:30:01 -03:00
Jonas Kruckenberg
02eb08bbd7 perf: remove lto setting from CLI (#6861)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-08-14 07:28:11 -03:00
renovate[bot]
d928d23cdb chore(deps) Update Tauri Core - abandoned (#5253)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-08-13 22:41:00 -03:00
Amr Bashir
7fb419c326 refactor: move to muda and tray_icon crates (#7535)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-08-13 22:25:50 -03:00
Lucas Fernandes Nogueira
ec827760ab fix(tauri-runtime-wry): adjust docs.rs features to fix doc build (#7583) 2023-08-13 20:40:03 -03:00
chip
e21a449b27 use mime crate for manager (#7584) 2023-08-12 07:24:24 -03:00
Lucas Fernandes Nogueira
fbeb5b9185 refactor(core): use webview's URI schemes for IPC (#7170)
Co-authored-by: chip <chip@chip.sh>
2023-08-10 10:12:38 -03:00
Graeme McHale
10e362d098 feat: allow more flexible http requests in updater closes #7422 (#7432)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-08-10 07:23:52 -03:00
renovate[bot]
b420962377 chore(deps) Update Tauri API Definitions (1.x) (#7577)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-10 07:22:45 -03:00
renovate[bot]
85efd0ae43 chore(deps) Update Rust crate swift-rs to 1.0.6 (dev) (#7578)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-10 07:22:20 -03:00
renovate[bot]
82c3f6be4a chore(deps) Update Tauri Bundler (dev) (#7579)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-10 07:21:36 -03:00
Lucas Fernandes Nogueira
cca5301b88 added missing futures-util (#7260) (#7565)
Co-authored-by: Simon Hyll <hyllsimon@gmail.com>
2023-08-09 17:39:27 -03:00
Lucas Fernandes Nogueira
e1a5e89ac3 feat(renovate): run on 1.x branch (#7564) 2023-08-09 17:39:07 -03:00
Isaac Cambron
eeb6be5422 feat(core): Manager::emit_filter and optimize serialization (#7512)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-08-08 16:57:30 -03:00
Amr Bashir
a6b52e44f2 fix(tauri-utils): include \n in io::read_line, closes #6388 (#6519)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
fix(tauri-utils): include `\n` in `io::read_line`, closes #6388
2023-08-08 16:43:19 -03:00
renovate[bot]
6a76d0abca chore(deps) Update Tauri API Definitions (#7496)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2023-08-08 15:50:11 -03:00
Alejandro González
9edebbba4e fix(driver): bump locked dependencies to fix build issue on Windows (#7475) 2023-08-08 15:46:32 -03:00
renovate[bot]
56714ede4d chore(deps) Update Rust crate tempfile to 3.7.0 (#7497)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 15:17:53 -03:00
Fabian-Lars
cb1d4164e7 fix(bundler): sign the exe before the bundler step (#7487) 2023-08-08 15:16:00 -03:00
Amr Bashir
6c408b736c feat: add notification sound (#7269)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-08-08 15:09:04 -03:00
Lucas Fernandes Nogueira
8af2497496 feat(cli): automate API -> plugin migration (#7561) 2023-08-08 13:21:46 -03:00
Lucas Fernandes Nogueira
d010bc07b8 feat(ios): properly set iOS product name (#7554) 2023-08-05 08:59:19 -03:00
Stanislas Michalak
6c38924aa2 fix: improve French translations for nsis installer (#7523) 2023-08-05 08:58:33 -03:00
Lorenzo Lewis
c272e4afbf chore: remove typedoc integration (#7515)
Signed-off-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>
2023-07-28 15:37:27 +03:00
Kris Krolak
4db363a03c feat: add visible_on_all_workspaces, closes #6589 (#7437)
* feat: add visible_on_all_workspaces, closes #6589

* add changes file

* Apply suggestions from code review

* Update core/tauri-config-schema/schema.json

* Update tooling/cli/schema.json

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-07-26 19:38:09 +08:00
Fabian-Lars
e374bc130d ci: lock tempfile and serde_with versions in CI (#7495)
* ci: lock tempfile and serde_with versions in CI

* Update test-core.yml
2023-07-25 18:25:14 +03:00
Jet Li
57f73f1b6a fix(bundler/nsis): use temp dir for webview2 installer, closes #7409 (#7486)
* fix(bundler/nsis): use temp dir for webview2 installer, closes #7409

* Update .changes/fix-nsis-webview2-installer-use-tempdir.md

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-07-25 17:29:59 +03:00
Jeffrey Hutchins
3a2c3e7471 feat: Add ordered navigation handler for plugins, closes #7306 (#7439)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-07-24 14:36:16 -03:00
Alejandro González
2d35f937de fix(bundler): do not skip updater bundle target if only a macOS DMG is generated (#7481) 2023-07-24 09:27:11 -03:00
renovate[bot]
b7277357b9 chore(deps) Update Tauri API Definitions (#7311)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-20 09:23:58 -03:00
dependabot[bot]
3788fb1476 chore(deps-dev): bump vite from 3.0.9 to 3.2.7 in /examples/api (#7223)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-20 09:18:12 -03:00
dependabot[bot]
339cfa1124 chore(deps): bump word-wrap from 1.2.3 to 1.2.4 in /tooling/api (#7451)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-20 09:17:55 -03:00
renovate[bot]
c40b8ae15f chore(deps) Update Rust crate tar to 0.4.39 (#7452)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-20 09:17:12 -03:00
Lucas Fernandes Nogueira
7b45e7fa1b feat(build): trigger rerun if plugin config env var changes (#7458) 2023-07-19 13:16:43 -03:00
Lucas Fernandes Nogueira
ecffaa2524 feat(build): skip writing manifest/entitlements when no changes found (#7457) 2023-07-19 13:16:35 -03:00
Lucas Fernandes Nogueira
1e1d839e7e feat(build): add function to rewrite AndroidManifest.xml (#7450) 2023-07-19 08:15:08 -03:00
Lucas Fernandes Nogueira
522de0e788 feat(core): allow a plugin build script to read the plugin config object (#7447) 2023-07-18 11:04:15 -03:00
Lucas Fernandes Nogueira
aba04fa823 feat(build): add API to update the iOS entitlements file (#7448) 2023-07-18 10:20:55 -03:00
Lucas Fernandes Nogueira
aa94f7197e feat(ios): add empty entitlements file to iOS project (#7445) 2023-07-18 10:20:32 -03:00
Lucas Fernandes Nogueira
c7dacca466 feat(cli): expose iOS project path and app name as env vars (#7446) 2023-07-18 10:19:01 -03:00
Lucas Fernandes Nogueira
753900dd6e feat(ios): expose RunEvent::Opened (#7440) 2023-07-17 19:44:34 -03:00
Fabian-Lars
a5752db985 feat(core): forward onNewIntent event to android plugins (#7436) 2023-07-17 10:20:16 -03:00
Bo
3b98141aa2 feat: add file association support, closes #3736 (#4320)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Raphii <iam@raphii.co>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-07-16 18:34:43 -03:00
Lucas Fernandes Nogueira
4dd4893d7d feat: allow specifying a resource map, closes #5844 (#5950)
Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
closes #5844
2023-07-13 18:28:52 -03:00
Dave Ceddia
ef962c43af fix(cli): handle symlinks in updater bundler, closes #3933 (#3934)
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-07-13 14:35:22 -03:00
Fabian-Lars
290e366ae9 fix(build): Copy wv2 runtime in dev, fixes #7373 (#7419) 2023-07-13 14:34:31 -03:00
Lucas Fernandes Nogueira
c98273387c feat(core): enhance readDir error message, closes #7379 (#7416) 2023-07-13 08:00:51 -07:00
Amr Bashir
2eab150563 feat(api/http): properly handle Files in Body.form, closes #7390 (#7394)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
closes #7390
2023-07-13 08:58:21 -03:00
Amr Bashir
84c4159754 feat(core): add monitor functions for App/AppHandle, closes #6394 (#6403)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-07-12 17:14:04 -03:00
Amr Bashir
fdaee9a5ce feat(core/plugin): add register_uri_scheme_protocol, closes #7330 (#7350)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
closes #7330
2023-07-12 16:49:32 -03:00
Amr Bashir
71a0240166 chore: remove hotkey.js script and replace var with const (#7343)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-07-12 08:44:26 -03:00
renovate[bot]
f280dcfb7c chore(deps) Update Rust crate libflate to v2 (#7410)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 07:40:43 -03:00
Amr Bashir
a2be88a21d refactor: remove bitness crate from bundler (#7405)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-07-12 07:38:25 -03:00
清茶
907425df55 feat(cli): check cwd for config file before traversing (#7395) 2023-07-11 18:29:15 +03:00
Amr Bashir
764968ab38 feat(bundler/nsis): sign uninstaller, closes #7348 (#7398)
* feat(bundler/nsis): sign uninstaller, closes #7348

* Update bundler-nsis-sign-uninstaller.md

* clippy
2023-07-11 15:54:59 +03:00
Amr Bashir
757e959eb2 feat: respect base tag's target attribute, closes #7285 (#7344)
* feat: respect `base` tag's `target` attribute, closes #7285

* Update core.js

* fix condition
2023-07-11 15:11:23 +03:00
Amr Bashir
fa7f9b77ab fix(core/updater): set max_redirections of 5, closes #7329 (#7341)
* fix(core/updater): set `max_redirections` of 5, closes #7329

* Update .changes/updater-redirect.md
2023-07-11 15:08:53 +03:00
Lucas Fernandes Nogueira
eeff1784e1 chore(deps): update unmaintained dependency from kuchiki to kuchikiki (#7359) (#7367)
Co-authored-by: Davide Baldo <davide@baldo.me>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-07-11 19:19:13 +09:00
Amr Bashir
e05cd940d6 ci: fix audit workflow and add resolutions for vuln packages (#7392)
* ci: fix audit workflow and add resolutions for vuln packages

* revert rust audit changes
2023-07-11 00:25:18 +03:00
Amr Bashir
f6a13f6f23 ci: downgrade more crates is-terminal, colored and toml:0.7.6 (#7391)
* ci: downgrade more crates `is-terminal`, `colored` and `toml:0.7.6`

* downgrade all versions of toml and cargo_toml

* revert
2023-07-10 16:45:50 +03:00
luofei
eba8e1315e fix(bundler/nsis): fix installer incorrect copyright info (#7386)
Signed-off-by: luofei <luoffei@outlook.com>
2023-07-10 14:56:13 +03:00
Amr Bashir
6e36ebbf84 fix(nsis): set correct ShellVarContext for uninstaller, closes #7315 (#7342) 2023-07-10 14:46:15 +03:00
Amr Bashir
74b1f4fc66 feat(core): add dark/light mica option (#7384)
* feat(core): add dark/light mica option

* Update .changes/dark-light-mica-effect.md

* fix macos build
2023-07-10 14:31:29 +03:00
Amr Bashir
fd5dc788d1 refactor: cleanup and remove unused tauri::api modules (#7352) 2023-07-10 12:17:17 +09:00
luofei
32218a6f8c fix(bundler/nsis): use uninstallstring to find wix installation (#7326)
* add change file

Signed-off-by: luofei <luoffei@outlook.com>

* fix(bundler/nsis): Check if the previous installation was done using WiX

Signed-off-by: luofei <luoffei@outlook.com>

* Update .changes/fix-nsis-previous-installation-method.md

---------

Signed-off-by: luofei <luoffei@outlook.com>
2023-07-08 04:26:40 +03:00
luofei
0ae53f4139 fix(bundler/nsis): fix error message appears even after successful uninstall, closes #7317 (#7361)
* fix(bundler/nsis): Uninstall the previous installation package

* Update .changes/fix-nsis-uninstall-previous-version.md

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-07-08 03:43:35 +03:00
Davide Baldo
43c6285e90 chore(deps): update unmaintained dependency from kuchiki to kuchikiki (#7359)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-07-05 17:41:46 -03:00
Amr Bashir
46df2c9b91 fix(bundler): sort package types before bundling, closes #7349 (#7360)
fix(bundler): sort package types before bundling, closes #7349
2023-07-05 17:17:31 -03:00
Amr Bashir
23b0e1b9e5 fix: add resolution for semver npm package to fix cve (#7353) 2023-07-04 17:00:01 +03:00
Lucas Fernandes Nogueira
f4aedce96c fix(ci): adjust crate downgrades for test-core MSRV (#7346) 2023-07-03 15:42:34 -07:00
Lucas Fernandes Nogueira
539247aacf fix(ci): adjust downgrade crates version step on test-core workflow (#7309) 2023-06-30 09:04:09 -07:00
Fabian-Lars
3065c8aea3 fix(bundler): Enable zip's deflate feature flag (#7296) 2023-06-26 11:43:43 -03:00
i-c-b
5eb8554331 fix(cli): Apple Dev Teams format for info::Section::Display (#7282)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-06-24 08:30:34 -03:00
Fabian-Lars
38d0bed8eb fix(cli): Split metadata.json per major version. (#7276) 2023-06-22 10:43:47 -03:00
renovate[bot]
0ef9c6b7ec chore(deps) Update Rust crate serde_json to 1.0.97 (#7271)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 10:56:25 -03:00
Fabian-Lars
dad4f54eec fix(cli): Disable version check, fixes #7273 (#7277) 2023-06-21 19:19:31 +08:00
Lucas Fernandes Nogueira
df6712cfb3 docs(core): fix panic section on manage documentation (#7251) 2023-06-21 07:50:41 -03:00
renovate[bot]
5cbf4df390 chore(deps) Update Rust crate swift-rs to 1.0.5 (#7272)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 07:50:27 -03:00
renovate[bot]
6db81ec879 chore(deps) Update Rust crate ureq to 2.7 (#7274)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 07:50:11 -03:00
renovate[bot]
180eeb7363 chore(deps) Update Tauri API Definitions (#7275)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 07:49:53 -03:00
Jeffrey Hutchins
2a000e150d feat: add navigate method (#7235) 2023-06-20 16:56:17 -03:00
Amr Bashir
b04444928c ci: fix version-or-publish PR naming (#7268) 2023-06-20 16:54:11 -03:00
yydcnjjw
33f6aa438e fix: ipc scope not found error at windows (#7264)
The incorrect value ("window") was utilized when determining the Windows platform.
2023-06-20 17:33:52 +08:00
Simon Hyll
c4e9740c83 added missing futures-util (#7260) 2023-06-20 12:39:31 +08:00
Simon Hyll
c34e37b1f7 docs: added rustdoc icons (#7253)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-06-19 21:51:05 -03:00
Raphii
1a3dcdb830 fix(core): fix nsis updater unable to launch installers requiring elevation, closes #7184 (#7185)
* Launch NSIS updaters requiring elevation from non-elevated process

* Add changes file

* remove detached process, use powershell

* Update updater-admin-launch-fix.md

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-06-19 18:11:16 +03:00
Lucas Fernandes Nogueira
e63111b65a chore: remove v1 references on documentation and benchmark (#7258)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-06-19 09:47:51 -03:00
Lucas Fernandes Nogueira
d1a6e2f333 chore(deps): update state to 0.6 (#7252) 2023-06-18 20:57:36 -03:00
Amr Bashir
8c0166f459 ci: use toJSON (#7248) 2023-06-18 06:58:34 -03:00
Lucas Fernandes Nogueira
fdf68405a4 chore(ci): use a separate covector workflor for 1.x (#7243) 2023-06-18 06:57:37 -03:00
Lucas Fernandes Nogueira
be6f4319ff fix(ci): correctly set tag for tauri-cli release (#7246) 2023-06-17 19:14:12 -03:00
Lucas Fernandes Nogueira
7036bc93ed fix(ci): use native-tls-vendored for @tauri-apps/cli darwin arm64 build (#7245) 2023-06-17 19:14:02 -03:00
github-actions[bot]
bd29b05f15 Apply Version Updates From Current Changes (v2) (#7242)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-06-17 15:05:12 -03:00
Lucas Nogueira
3d707ddf5f fix(ci): run covector workflow on dev branch 2023-06-17 14:15:34 -03:00
Lucas Fernandes Nogueira
6252380f44 fix(cli): kill beforeDevCommand process if mobile dev command fails (#7241) 2023-06-17 14:10:01 -03:00
Lucas Fernandes Nogueira
655c714e41 fix(cli): do not panic on Ctrl+C on ios dev (#7240) 2023-06-17 14:09:37 -03:00
Lucas Fernandes Nogueira
1542ad17d6 chore(ci): delete workflow from next branch (#7239) 2023-06-17 08:10:20 -07:00
Lucas Fernandes Nogueira
84695cb83b chore(changes): delete change files from 1.4 release (#7238) 2023-06-17 08:08:51 -07:00
Lucas Nogueira
1e9c463d12 Merge remote-tracking branch 'origin/1.x' into dev 2023-06-17 11:02:14 -03:00
Lucas Fernandes Nogueira
2acc474ccb fix(ci): only check change tags on added or modified files (#7236) 2023-06-17 16:57:25 +03:00
github-actions[bot]
4b3d66c793 Apply Version Updates From Current Changes (v1) (#7234)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-06-17 10:45:52 -03:00
Lucas Fernandes Nogueira
49dbbbbcdf feat(ci): prepare CI for 1.x branch (#7231) 2023-06-17 09:41:22 -03:00
Amr Bashir
6afd34727f fix(core): revert #6680, remove default notification sound on Windows (#7229)
fix(core): revert #6680, remove default notification sound on Windows
2023-06-17 09:18:16 -03:00
Amr Bashir
066c09a6ea fix(core): fix require_literal_leading_dot flipped behavior (#7227) 2023-06-17 09:17:36 -03:00
Jeffrey Hutchins
c7534e732d feat(android): disable action bar in dark mode themes.xml (#7226) 2023-06-17 04:57:33 +03:00
Amr Bashir
8922be591c feat(android): disable action bar in themes.xml (#7164) 2023-06-16 13:02:11 -03:00
Amr Bashir
4847b87b10 fix(cli): handle npx for mobile commands, closes #7209 (#7218)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-06-16 12:28:57 -03:00
Ngo Iok Ui (Wu Yu Wei)
535f223eca Merge pull request #7214 from tauri-apps/next
chore: merge `next` into `dev`
2023-06-16 19:39:22 +08:00
Lucas Fernandes Nogueira
6b81d70a1a Merge pull request #7217 from tauri-apps/fix/unused-deps 2023-06-15 08:59:14 -07:00
Lucas Nogueira
d0e5dbf33e fix(core): remove unused dependencies 2023-06-15 12:29:37 -03:00
Lucas Fernandes Nogueira
cafaf69fd7 fix(ci): add missing license headers, adjust script to properly ignore (#7216) 2023-06-15 11:05:59 -03:00
Lucas Nogueira
93afa71d9a chore: fix merge conflicts from dev 2023-06-15 10:37:02 -03:00
Lucas Fernandes Nogueira
7bbc626cc3 Merge remote-tracking branch 'origin/dev' into next (#7212) 2023-06-15 09:52:33 -03:00
Amr Bashir
28921cb8e8 ci: fix getting release id (#7207) 2023-06-15 08:36:05 -03:00
Amr Bashir
2d2fd6abe2 fix(core): use correct http method for proxied server, closes #7191 (#7208) 2023-06-15 08:29:20 -03:00
Lucas Fernandes Nogueira
2071265fea add to additionals (#7206) 2023-06-14 16:10:52 -07:00
Fabian-Lars
3fb3f11fc8 docs(api.js): fix since version for locale() (#7205) 2023-06-14 20:30:57 +03:00
Amr Bashir
0fa0fa4ccf fix: check if url local with platform custom protocol, closes #7176 (#7202)
* fix: check if url local with platform custom protocol, closes #7176

* Update core/tauri/src/window.rs
2023-06-14 19:39:38 +03:00
Amr Bashir
b66e7d60f2 feat(core): impl clone for Channel (#7174) 2023-06-10 14:38:02 -03:00
Lucas Fernandes Nogueira
8124145d6c fix(core): path commands not added (#7171) 2023-06-08 17:08:46 -07:00
Amr Bashir
6d3f3138b9 fix(core/path): change sep and delimiter to functions (#7160)
* fix(core/path): change `sep` and `delimiter` to functions

* fix impl

* semicolons

* return types

* generated

* fix init js

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-06-08 03:40:14 +03:00
Amr Bashir
bfaf624a4c chore: fix doc link (#7147) 2023-06-07 15:11:48 +03:00
Amr Bashir
4652c446b3 feat: add tempDir to path plugin (#7144)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2023-06-06 14:51:29 -03:00
Hyph
f2d68cf7d4 feat(core): expose Wry's with_incognito to Tauri on the WindowBuilder::incognito function. (#6767) 2023-06-06 18:30:37 +03:00
Fabian-Lars
3480047ec1 feat(cli): Build the CLI for Windows ARM64, closes #7015 (#7098) (#7106)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
closes #7015 (#7098)
2023-06-06 09:21:57 -03:00
Lucas Fernandes Nogueira
9e3a18e046 feat(api): expose window target option on event APIs (#7132) 2023-06-05 16:00:44 -03:00
Lucas Fernandes Nogueira
a50f24b2bd Merge remote-tracking branch 'origin/dev' into next (#7067)
Co-authored-by: wusyong <wusyong@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Simon Hyll <hyllsimon@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Raphii <iam@raphii.co>
Co-authored-by: Ronie Martinez <ronmarti18@gmail.com>
Co-authored-by: hanaTsuk1 <101488209+hanaTsuk1@users.noreply.github.com>
Co-authored-by: nathan-fall <39990940+nathan-fall@users.noreply.github.com>
Co-authored-by: Akshay <nerdy@peppe.rs>
Co-authored-by: KurikoMoe <kurikomoe@gmail.com>
Co-authored-by: Guilherme Oenning <me@goenning.net>
Co-authored-by: Pierre Cashon <biaocy91@gmail.com>
Co-authored-by: Jack Wills <32690432+mrjackwills@users.noreply.github.com>
Co-authored-by: Amirhossein Akhlaghpour <m9.akhlaghpoor@gmail.com>
Co-authored-by: Risto Stevcev <me@risto.codes>
Co-authored-by: Soumt <rltks1305@naver.com>
Co-authored-by: yutotnh <57719497+yutotnh@users.noreply.github.com>
Co-authored-by: Gökçe Merdun <agmmnn@gmail.com>
Co-authored-by: Nathanael Rea <Nathan@NathanaelRea.com>
Co-authored-by: Usman Rajab <usman.rajab@gmail.com>
Co-authored-by: Francis The Basilisk <36006338+snorkysnark@users.noreply.github.com>
Co-authored-by: Lej77 <31554212+Lej77@users.noreply.github.com>
Co-authored-by: Tomáš Diblík <dibla.tomas@post.cz>
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
Co-authored-by: Pascal Sommer <Pascal-So@users.noreply.github.com>
Co-authored-by: Bo <bertonzh@gmail.com>
Co-authored-by: Kevin Yue <k3vinyue@gmail.com>
fixed grammar and typos (#6937)
Fix api.js docs pipeline with updated typedoc dependencies (#6945)
closes #6887 (#6922)
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865 (#6921)
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865
fix broken symlinks in license files (#6336)
fix(cli): fix cli connection timeout to dev server (fix #6045) (#6046)
fix(bundler): ensure that there are no duplicate extension arguments when bundling on Windows, fixes #6103 (#6917)
fix(bundler): ensure that there are no duplicate extension arguments during bundling on Windows (fix #6103)
closes #5491 (#6408)
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928 (#6935)
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928
fix(updater): emit `UPTODATE` when server responds with 204, closes #6934 (#6970)
fix(core): unpin all dependencies, closes #6944 (#6966)
fix(bundler): Add new lang_file option in persian variant. (#6972)
fix(core/ipc): access url through webview native object, closes #6889 (#6976)
fix(core): remove trailing slash in http scope url, closes #5208 (#6974)
fix(core): remove trailing slash in http scope url, closes #5208
fix(cli): find correct binary when `--profile` is used, closes #6954 (#6979)
fix(cli): find correct binary when `--profile` is used, closes #6954
closes #6955 (#6987)
closes #6955
closes #6158 (#6969)
closes #6158
fix(cli): improve vs build tools detection (#6982)
fix: updated appimage script to follow symlinks for /usr/lib* (fix: #6992) (#6996)
fix(cli): correctly remove Cargo features (#7013)
Fix typo (#7012)
fix(cli): revert metadata.json field rename from #6795 (#7029)
closes #6732 (#6736)
fix: add missing file properties on Windows, closes #6676 (#6693)
fix(cli.js): detect node-20 binary (#6667)
fix version-or-publish workflow (#7031)
fix(cli/devserver): inject autoreload into HTML only, closes #6997 (#7032)
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036 (#7040)
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036
fix(core): rewrite `asset` protocol streaming, closes #6375 (#6390)
closes #5939 (#5960)
fix(core): use `safe_block_on` (#7047)
closes #6859 (#6933)
closes #6955 (#6998)
fix(core): populate webview_attrs from config, closes #6794 (#6797)
closes #5176 (#5180)
fix: sound for notifications on windows (fix #6652) (#6680)
close native window's buttons, closes #2353 (#6665)
fix(bundler/nsis): calculate accurate app size, closes #7056 (#7057)
fix(tests): only download update when it is available (#7061)
closes #6706 (#6712)
fix(doc): correct the doc of `content_protected()` (#7065)
closes #6472 (#6530)
fix(macros): use full path to Result to avoid issues with type aliases (#7071)
2023-05-29 21:29:24 -03:00
Amr Bashir
1ed2600da6 fix(cli): set current dir to tauri dir before reading config, closes #6771 (#6782)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
fix(cli): set current dir to tauri dir before reading config, closes #6771
2023-05-26 13:45:20 -03:00
Lucas Fernandes Nogueira
735db1ce83 feat(cli/mobile/init): add --skip-targets-install, ref #7044 #7058 (#7062) 2023-05-26 12:49:51 -03:00
chip
7fee3d3a2a use cargo workspace package table (#6885) 2023-05-26 10:04:01 -03:00
chip
160489454d fix clippy errors on macOS (#7064)
* fix clippy errors on macOS

* cargo clippy --fix
2023-05-26 15:24:23 +08:00
Amr Bashir
a28fdf7ec7 feat(cli/mobile/init): skip installing already installed targets, closes #7044 (#7058)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
closes #7044
2023-05-25 23:36:06 -03:00
Amr Bashir
e0f0dce220 feat: add window effects api (#6442)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-05-23 15:29:46 -03:00
Lucas Fernandes Nogueira
7e5905ae1d feat(cli): plugin add command (#7023) 2023-05-23 11:39:42 -03:00
Philipp Renoth
9770032860 feat(cli): improve logic to copy Rust library to iOS project Externals folder (#6610)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-05-22 13:54:44 -03:00
Amr Bashir
3f4c4ce88b fix(cli/android): fallback to all targets (#7028)
fix regression introduced in d03e47d141
2023-05-22 19:00:18 +03:00
Flysoft
aa6c9164e6 fix(cli): don't build library when building desktop targets, closes #7007 (#7014)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-22 11:32:20 -03:00
Andzej Korovacki
8e85576506 fix: default log path for linux and windows updated (fix: #6809) (#6827)
* fix: default log path for linux and windows updated (fix: #6809)

* fix impl after reset
2023-05-21 16:38:20 +03:00
Lucas Fernandes Nogueira
3256a37263 fix(build): inject Android proguard rules, closes #7016 (#7017) 2023-05-21 13:03:20 +08:00
Lucas Fernandes Nogueira
b0f947752a feat(cli): add migrate command (#7008) 2023-05-20 20:28:46 -03:00
github-actions[bot]
d1304ffa12 (NEXT) Apply Version Updates From Current Changes (#6707)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-05-18 09:10:12 -03:00
Lucas Fernandes Nogueira
8ce32e74b5 feat(core): expose default_window_icon on App and AppHandle (#6986) 2023-05-17 19:54:15 -03:00
Lucas Fernandes Nogueira
2344aea176 fix(ci): use workflow-dispatch action to trigger next branch workflow (#6977) 2023-05-16 20:44:52 -03:00
Amr Bashir
994e4fd6d9 chore: reuse defaultArchList (#6978) 2023-05-17 02:08:05 +03:00
Lucas Fernandes Nogueira
e5bd34cb34 refactor(core): remove init scripts related to plugin APIs (#6975) 2023-05-16 11:46:32 -03:00
Lucas Fernandes Nogueira
59db76af4c refactor(android): fix race conditions processing Android plugin project as dependency (#6968) 2023-05-16 10:22:46 -03:00
Lucas Fernandes Nogueira
6fb5734d2f feat(mobile): add event APIs for plugins (#6946) 2023-05-15 11:36:25 -03:00
Lucas Fernandes Nogueira
6d25c4d07f fix(config): properly reference updater configuration on ToTokens impl (#6957) 2023-05-13 10:30:35 -03:00
Amr Bashir
e1e85dc2a5 chore: fix ci and cleanup leftovers (#6925)
* chore: fix ci and cleanup leftovers

1. removed leftover feature flags
2. remove zip/extract apis which are not used anymore
3. removed leftoever scopes
4. removed leftover allowlist and updater options
5. updated the example api

* remove leftover updater structs

* move updater under bundle and remove uneeded options

* fix cli on linux

* remove create_proxy

* clippy

* more clippy

* clippppy

* readd path api

* fix api example

* remove window allowlist

* remove window from allowlist config

* remove `all` allowlist option

* remove file_move

* lint

* fix windows build

* remvoe unused deps

* remvoe allowlist config option, move protocol to `security > asset_protocol`

* fix diffing features

* fmt and test

* fix scope alias

* change files

* android lint

* simplify allow_file impl

* Revert "simplify allow_file impl"

This reverts commit b8882f2fd0.

* expose scopes

* remove unused error variants

* protocol-asset on docs.rs

* ignore reqwest on udeps

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-05-13 13:48:28 +03:00
Lucas Fernandes Nogueira
9a79dc0858 refactor(core): remove window endpoints (#6947) 2023-05-12 08:18:00 -03:00
Amr Bashir
5a9307d11c feat(cli): update android template to gradle 8.0 (#6890)
* feat(cli): update android template to gradle 8.0

* update java in CI to 17

* updat to latest tauri-mobile
2023-05-12 14:06:50 +03:00
Lucas Fernandes Nogueira
39f1b04f7b refactor(core): move event JS API to a core plugin (#6943) 2023-05-12 07:55:39 -03:00
Lucas Fernandes Nogueira
0ab5f40d3a feat(core): add IPC channel (#6813) 2023-05-11 07:25:32 -03:00
Lucas Fernandes Nogueira
b072daa3bd refactor(core): move updater to a plugin (#6919) 2023-05-09 16:43:31 -07:00
Lucas Fernandes Nogueira
60cf9ed2fc refactor(core): move process endpoints to plugins-workspace (#6905) 2023-05-09 12:00:41 -03:00
Amr Bashir
c4171152c1 fix: enable shadows by default, closes #6909 (#6916) 2023-05-09 15:56:13 +03:00
Lucas Fernandes Nogueira
29ce9ce2ce refactor(core): move os endpoints to a dedicated plugin (#6902)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2023-05-08 12:05:12 -03:00
Lucas Fernandes Nogueira
3245d14b9e refactor(core): remove app module (#6895) 2023-05-08 10:29:36 -03:00
Lucas Fernandes Nogueira
2cc282c129 fix(build): rerun plugin build when plugins.json changes, wait write (#6893) 2023-05-08 10:29:09 -03:00
Lucas Fernandes Nogueira
d48aaa150a fix(cli): readd plugin example template Cargo.toml files (#6894) 2023-05-07 17:19:51 -07:00
Lucas Nogueira
4585a1cbb0 Merge branch 'dev' into next 2023-05-07 10:42:44 -03:00
Lucas Fernandes Nogueira
5a768d5ce6 refactor(build): remove WindowsAttributes::sdk_dir (#6886) 2023-05-06 17:49:22 -03:00
Lucas Fernandes Nogueira
3188f37649 feat: update MSRV to 1.65 (#6883) 2023-05-06 17:16:52 -03:00
Lucas Fernandes Nogueira
6d1fa49fce fix(cli): clear plugin JSON file before rebuilding (#6881) 2023-05-06 15:59:33 -03:00
Lucas Fernandes Nogueira
7a4b1fb96d feat(macros): add support to attributes on generate_handler (#6839) 2023-05-06 10:44:24 -07:00
Lucas Fernandes Nogueira
256c30c72b feat(android): support private plugin callbacks and commands (#6863) 2023-05-05 09:19:02 -03:00
Lucas Fernandes Nogueira
73c803a561 feat(android): inject tauri.conf.json asset, add plugin config load API (#6837) 2023-05-03 08:16:05 -03:00
Lucas Fernandes Nogueira
bb2a8ccf13 fix(ios): use correct class to call plugin command with throws (#6830) 2023-05-01 14:19:28 -03:00
Lucas Fernandes Nogueira
edb16d13a5 fix(android): adjust Android plugin command exception to use e.message (#6831) 2023-05-01 14:16:05 -03:00
Lucas Nogueira
e68a08da51 feat(android): allow JSObject::getString to return null 2023-04-29 12:50:04 -03:00
Amr Bashir
19cd0e4960 feat: add key.properties to android gitignore (#6811) 2023-04-27 16:04:53 +02:00
Lucas Fernandes Nogueira
41cb06172a fix(ios): update wry, fix plugin config load (#6810) 2023-04-27 05:55:48 -07:00
Amr Bashir
124d5c5adf fix(cli): use snake_case fallback of app_name (#6788)
fix regression introduced in 2b22f64972
2023-04-25 18:21:06 -03:00
Lucas Fernandes Nogueira
942249060e refactor(core): generate TauriActivity on build script (#6783) 2023-04-24 11:17:59 -03:00
Amr Bashir
ecc9ac9603 fix(tauri-build): escape path to tauri-android project (#6785) 2023-04-24 11:14:43 -03:00
Lucas Fernandes Nogueira
d693e526e8 feat(android): add onNewIntent plugin hook (#6780) 2023-04-23 19:59:46 -03:00
Lucas Fernandes Nogueira
2a5175a8f8 feat(android): enhance JSObject return types (#6779) 2023-04-23 17:06:31 -03:00
Amr Bashir
31444ac196 chore(deps): update wry to 0.28 (#6725)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-04-23 16:59:39 -03:00
Lucas Fernandes Nogueira
cdad6e0837 refactor(core): use absolute path for the tauri Android library (#6774) 2023-04-23 15:40:47 -03:00
Lucas Fernandes Nogueira
2969d1cbba refactor(core): use absolute path to plugin Android project (#6773) 2023-04-23 11:21:36 -03:00
Lucas Fernandes Nogueira
dfa407ffcb feat(mobile): add plugin config to the Plugin class (#6763) 2023-04-23 09:15:13 -03:00
Lucas Fernandes Nogueira
41f49aeae6 fix(cli.js): adb commands not working, closes #6659 (#6708)
fix(cli.js): adb commands not working, closes #6659
2023-04-23 09:14:54 -03:00
Lucas Fernandes Nogueira
96639ca239 refactor(core): remove shell APIs (#6749) 2023-04-20 09:19:47 -03:00
Lucas Fernandes Nogueira
0c11023bcf refactor(core): remove http-multipart Cargo feature (#6748) 2023-04-19 20:17:41 -03:00
Lucas Fernandes Nogueira
ae102980fc refactor(core): read tray icon only on desktop, refactor Context (#6719) 2023-04-19 19:44:10 -03:00
Lucas Fernandes Nogueira
86488a6ad8 refactor(core): remove notification API (#6745) 2023-04-19 19:03:34 -03:00
Lucas Fernandes Nogueira
f78a378344 refactor(core): remove http features (#6742) 2023-04-19 11:47:29 -03:00
Lucas Fernandes Nogueira
2d5378bfc1 refactor(core): move dialog API to its own plugin (#6717) 2023-04-18 22:18:22 -03:00
Lucas Fernandes Nogueira
3f17ee82f6 refactor(core): remove global shortcut APIs (#6737) 2023-04-18 14:57:51 -03:00
Lucas Fernandes Nogueira
db9c12c1ad refactor(runtime): remove clipboard APIs (#6735) 2023-04-18 09:11:27 -03:00
Lucas Fernandes Nogueira
8e46695b7e Revert "feat(core): expose runtime_handle on AppHandle (#6727)"
This reverts commit 276e4a3fdb.
2023-04-18 08:30:25 -03:00
Lucas Fernandes Nogueira
cebd75261a refactor(core): remove the clipboard APIs (#6728) 2023-04-17 15:35:12 -03:00
Lucas Fernandes Nogueira
276e4a3fdb feat(core): expose runtime_handle on AppHandle (#6727) 2023-04-17 13:49:09 -03:00
Lucas Fernandes Nogueira
e6e586ad75 chore(examples): update API example plugin usage (#6715) 2023-04-16 09:31:38 -03:00
Lucas Fernandes Nogueira
fc4d687ef0 refactor(core): move file system endpoints to its own plugin (#6716) 2023-04-16 09:20:58 -03:00
Lucas Fernandes Nogueira
22a7633816 feat(core): expose SafePathBuf (#6713) 2023-04-15 15:44:05 -03:00
Lucas Fernandes Nogueira
09376af594 refactor(core): remove cli feature (#6704) 2023-04-14 15:33:53 -03:00
Lucas Fernandes Nogueira
34b8f339a4 feat(core): add app method on PluginApi (#6705) 2023-04-14 15:33:41 -03:00
github-actions[bot]
06fdcc0edd (NEXT) Apply Version Updates From Current Changes (#6701)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-04-13 19:43:17 -03:00
Lucas Fernandes Nogueira
ee2d3b971d fix(cli): remove buildSrc from Android project gitignored paths (#6702) 2023-04-13 19:29:18 -03:00
Lucas Fernandes Nogueira
9de897919a fix(core): iOS plugin freezing when receiving a bool parameter (#6700) 2023-04-13 18:26:45 -03:00
Lucas Fernandes Nogueira
abc5f91fa3 fix(cli): iOS Xcode script using incorrect library path (#6699) 2023-04-13 18:26:32 -03:00
Lucas Fernandes Nogueira
57fa569161 fix(ci): send ref to publish CLI workflows (#6674) 2023-04-12 11:32:23 -03:00
github-actions[bot]
f3917e7ee8 (NEXT) Apply Version Updates From Current Changes (#6633)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-04-10 10:12:04 -03:00
Lucas Fernandes Nogueira
055e9b3997 chore(deps): update wry, closes #6658 (#6671) 2023-04-10 09:55:24 -03:00
Lucas Fernandes Nogueira
f436cf8609 refactor(core): remove PathExt trait, add path function to Manager (#6670) 2023-04-09 11:25:08 -03:00
Lucas Nogueira
a8153b9ff4 chore(cli): gitignore iOS Externals folder 2023-04-07 21:03:26 -03:00
Lucas Fernandes Nogueira
f0570d9fee feat(core): improve run_mobile_plugin error handling (#6655) 2023-04-07 17:08:25 -03:00
Lucas Fernandes Nogueira
be941b9719 feat(core): add path plugin, implement mobile APIs (#6339) 2023-04-07 12:48:14 -03:00
Vilian Gerdzhikov
1eacd51d18 overloaded the open function for convenient type inference (#5619)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-04-07 12:40:25 -03:00
Lucas Fernandes Nogueira
db4c9dc655 feat(core): add option to configure Android's minimum SDK version (#6651) 2023-04-07 11:21:42 -03:00
Amr Bashir
63f088e5fc feat(cli): add --release for android dev (#6638)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
closes #6594
2023-04-05 16:10:43 -03:00
Amr Bashir
d03e47d141 fix: only build specified rust targets for aab/apk build (#6625)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-04-05 15:14:14 -03:00
Lucas Fernandes Nogueira
052c5822b5 feat(core): implement Clone for PluginHandle (#6644) 2023-04-05 12:32:10 -03:00
Lucas Nogueira
d37808197d chore(cli): only create .tauri/plugins folder on Android 2023-04-04 15:52:48 -03:00
Lucas Nogueira
ec7d24b1ac chore(cli): update Android template gitignore files 2023-04-04 15:46:16 -03:00
Lucas Fernandes Nogueira
5288a386f1 fix(cli): readd Cargo.toml to the plugin template (#6637) 2023-04-04 15:11:47 -03:00
Lucas Fernandes Nogueira
5769ee6d29 fix(ci): use ubuntu-20.04 to build the CLI (#6632) 2023-04-04 10:58:09 -03:00
Amr Bashir
7fec0f083c fix(cli): use local ip addr for built-in server on mobile, closes #6454 (#6631)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
fix(cli): use local ip addr for built-in server on mobile, closes #6454
2023-04-04 09:59:29 -03:00
github-actions[bot]
29ee62342a (NEXT) Apply Version Updates From Current Changes (#6622)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-04-03 16:19:10 -03:00
Lucas Fernandes Nogueira
a813792786 fix(core): compilation issues without execute or sidecar features (#6621) 2023-04-03 16:10:03 -03:00
Si Yang
09d5dd520f style: warn(clippy::useless_format) (#6619) 2023-04-03 12:04:08 -03:00
Lucas Nogueira
f6c373e989 chore(cli): update lockfile 2023-04-03 12:03:30 -03:00
Lucas Nogueira
e9482430ff chore(changes): add changes for 1.3 release merge 2023-04-03 11:32:53 -03:00
github-actions[bot]
afc3237d0c (NEXT) Apply Version Updates From Current Changes (#6593)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-04-03 10:56:08 -03:00
Lucas Nogueira
f992e7f58b chore(changes): readd change file 2023-04-03 10:40:57 -03:00
Lucas Nogueira
f84fbe459f chore(cli): cherry pick #6603, fix webkit2gtk version 2023-04-03 10:01:59 -03:00
Lucas Nogueira
55900a2968 Merge branch 'dev' into next 2023-04-03 09:58:27 -03:00
Lucas Fernandes Nogueira
4c3b9ecfdc fix(build): iOS deployment target env var is IPHONEOS_DEPLOYMENT_TARGET (#6602) 2023-03-31 14:32:30 -03:00
filip
509d4678b1 Support sending raw byte data to the "data" event for child command's stdout and stderr (#5789)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-03-31 12:51:27 -03:00
Lucas Fernandes Nogueira
adf4627b73 fix(core): adjust ProGuard rules (#6588) 2023-03-31 10:03:50 -03:00
Lucas Nogueira
56fa900dbe fix(core): adjust TLS feature usage on dev 2023-03-30 12:09:02 -03:00
Lucas Fernandes Nogueira
cfdee00f2b refactor(core): fix tls features, use rustls on mobile (#6591) 2023-03-30 10:59:08 -03:00
Lucas Fernandes Nogueira
76668b3196 chore(cli): update dependencies (#6587) 2023-03-29 20:19:07 -03:00
github-actions[bot]
249db9e49b (NEXT) Apply Version Updates From Current Changes (#6586)
* apply version updates

* fix changelog

* typo

---------

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-03-29 16:11:42 -03:00
Lucas Nogueira
6b469c40c6 chore(changes): adjust change file for Android script execution fix 2023-03-29 16:01:09 -03:00
github-actions[bot]
1c7e5cae10 Revert "apply version updates (#6582)"
This reverts commit 3ad7414a3e.
2023-03-29 15:59:29 -03:00
github-actions[bot]
3ad7414a3e apply version updates (#6582)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-03-29 15:56:38 -03:00
Amr Bashir
39df2c982e fix(cli/android): fallback to ${program}.cmd (#6576)
* fix(cli/android): fallback to `${program}.cmd`

* cleanup [skip ci]

* revert variable to tauri-binary [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-03-29 14:44:19 -03:00
Lucas Fernandes Nogueira
6e3e4c22be fix(cli): use correct variable on script to build Rust iOS code (#6581) 2023-03-29 11:35:18 -03:00
Lucas Fernandes Nogueira
332b3fc419 fix(cli): adjust jsonrpsee feature flags for CI (#6521) 2023-03-21 19:10:42 -03:00
github-actions[bot]
a031e4a8a0 apply version updates (#6518) 2023-03-21 14:42:18 -03:00
Lucas Fernandes Nogueira
00241fa92d fix(cli): append .cmd on the gradle plugin binary on Windows, fix #6502 (#6503) 2023-03-21 13:43:09 -03:00
Amr Bashir
c787f749de fix(cli): only add -- to generated android template for npm (#6508) 2023-03-21 13:42:37 -03:00
Amr Bashir
d5ac76b53c chore(deps): update napi-rs, closes #6502 (#6513) 2023-03-21 13:40:21 -03:00
Lucas Fernandes Nogueira
8a1b1281ac fix(ci): adjust publish cli.js workflow (#6500)
* fix(ci): enable openssl vendored feature for cli.js

* enable feature on CI

* add openssl dep

* avoid openssl on Linux

* vendored openssl on macOS CI

* fix dep install

* lint [skip ci]
2023-03-20 11:54:33 -03:00
Lucas Fernandes Nogueira
1a24e4cafd chore(deps): unpin dependencies from 1.59 MSRV (#6499) 2023-03-20 11:54:09 -03:00
Lucas Nogueira
9c324bae61 chore(examples): update tauri-plugin-log 2023-03-20 09:06:49 -03:00
Lucas Nogueira
46e2def0ee fix(ci): set tauri-build dependency version on tauri crate 2023-03-20 08:45:26 -03:00
github-actions[bot]
be12ad3a6f apply version updates (#6211)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-03-20 08:14:51 -03:00
Lucas Nogueira
bfd97a5802 Merge remote-tracking branch 'origin/dev' into next 2023-03-19 08:56:36 -03:00
Lucas Nogueira
31a205247a chore(examples): update tauri-plugin-log 2023-03-19 08:53:03 -03:00
Lucas Fernandes Nogueira
9c8276fe03 refactor(mobile): use shared .tauri folder to inject dependencies (#6495) 2023-03-19 08:51:01 -03:00
Lucas Nogueira
6669f1659a chore(cli): pin tauri-mobile to crates.io 0.2.5 2023-03-18 11:33:38 -03:00
Lucas Nogueira
02b8bfb989 chore(examples): update tauri-plugin-log 2023-03-18 11:32:26 -03:00
Lucas Fernandes Nogueira
56b528e481 refactor(build): change tauri-api dependency path to skip rebuilds (#6490)
* refactor(build): change tauri-api dependency path to skip rebuilds

The tauri-api Swift package cannot be injected inside the iOS plugin project because swift-rs reruns when the project folder changes. We will now inject the project in the parent folder instead.

* revert tauri-plugin-log [skip ci]
2023-03-18 11:31:11 -03:00
Lucas Nogueira
153b4627e5 chore(build): remove rerun-if-changed instruction for Swift package
Let's leave that to swift-rs
2023-03-18 10:59:38 -03:00
Lucas Fernandes Nogueira
6a8888dc85 refactor(ios): add macro to generate plugin glue fn, pass name parameter (#6489) 2023-03-18 10:57:05 -03:00
Lucas Nogueira
88838e2898 chore(deps): update swift-rs to 1.0.3, fixing iOS simulator support 2023-03-18 10:49:22 -03:00
Lucas Fernandes Nogueira
aefc5bcb08 chore(cli): remove unused dependencies (#6481) 2023-03-17 16:16:10 -03:00
Lucas Nogueira
5bc8322f7d chore(android): simplify PermissionState code 2023-03-17 15:25:22 -03:00
Lucas Nogueira
c88fdbca3a chore(android): remove deprecated AndroidManifest package id setter 2023-03-17 15:24:11 -03:00
Lucas Nogueira
a6fea4644e refactor(android): rename PluginMethod to Command 2023-03-17 15:20:39 -03:00
Lucas Fernandes Nogueira
22c09871c3 fix(ios): link clang_rt.ios to include isPlatformVersionAtLeast (#6476)
* fix(ios): link clang_rt.ios to include isPlatformVersionAtLeast

See https://github.com/alexcrichton/curl-rust/pull/283

* lint [skip ci]

* update swift-rs to 1.0.2
2023-03-17 13:07:39 -03:00
Lucas Nogueira
7765bbcba1 chore(ios): use semver on SwiftRs dependency instead of git revision 2023-03-17 10:56:45 -03:00
Lucas Fernandes Nogueira
ae296f3de1 refactor(tauri-runtime-wry): register runtime plugin after run() (#6478) 2023-03-17 10:28:28 -03:00
Lucas Fernandes Nogueira
30e94677b0 chore(deps): pin wry to 0.27 (#6477)
* chore(deps): pin wry to 0.27

* update index.js [skip ci]

* fmt
2023-03-17 09:23:11 -03:00
Lucas Fernandes Nogueira
dddaa943e7 refactor(core): remove attohttpc client, closes #6415 (#6468)
* refactor(core): remove attohttpc client, closes #6415

* lint [skip ci]
2023-03-17 09:09:13 -03:00
Amr Bashir
1798c5901d feat: use start detached for emulators (#6465) 2023-03-16 22:06:14 -03:00
amrbashir
2ec736721e chore: provide a helpful message when waiting for emulator 2023-03-16 15:00:28 +02:00
Lucas Nogueira
9c1029e11a chore(changes): remove changelog from 1.3 2023-03-16 09:56:46 -03:00
Lucas Nogueira
9639caf33f Merge remote-tracking branch 'origin/dev' into next 2023-03-16 09:51:07 -03:00
Lucas Nogueira
8241ef13e9 chore(examples): update tauri-plugin-log 2023-03-16 09:37:46 -03:00
Lucas Fernandes Nogueira
5d94eaa3bc feat(core): update swift-rs (#6355)
* feat(core): update swift-rs

* update tauri-plugin-log

* use env var for min iOS version

* test x86_64-apple-ios

* Revert "test x86_64-apple-ios"

This reverts commit 3ae6b79e5f.

* chore: swift min version 5.3 [skip ci]

* fix build [skip ci]

* fix cgrect usage

* test CI

* Revert "test CI"

This reverts commit 76ce0c5992.

* update swift-rs to 1.0.1

* lint

* lint [skip ci]
2023-03-16 09:34:41 -03:00
Bo
1b343bd116 fix(cli): use npm run tauri -- foo for correctly passing args to tauri (#6448)
* fix(cli): use `npm run tauri -- foo` for correctly pass args to tauri

* fix xcode-script current dir, GCC_PREPROCESSOR_DEFINITIONS optional

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-03-16 09:27:40 -03:00
Amr Bashir
4d09074454 feat(cli): add --force-ip-prompt (#6406)
* feat(cli): add `--force-ip-prompt`

* Restore tooling/cli/Cargo.lock

* Restore tooling/cli/Cargo.toml

* fix macos build
2023-03-16 09:04:09 -03:00
Amr Bashir
58d4709f7e fix: update nodejs detection in mobile commands (#6451)
* fix: update nodejs detection in mobile commands

* changefile
2023-03-16 07:53:12 -03:00
Lucas Nogueira
2b22f64972 fix(ios): correctly use lib-name field 2023-03-15 13:43:31 -03:00
Amr Bashir
d1752fb1f6 fix(cli): use correct lib name in xcode project (#6387) 2023-03-08 16:19:37 +01:00
Lucas Nogueira
8631eec038 chore(android): remove unused returnType field 2023-02-25 08:37:26 -03:00
Lucas Fernandes Nogueira
971ad7ae06 fix(cli): fix template and Xcode script to work when running with Xcode (#6350) 2023-02-24 10:22:59 -03:00
Lucas Nogueira
4eae21ffeb chore(examples): ignore changes on tauri-plugin-sample on dev watcher 2023-02-24 10:22:43 -03:00
Lucas Fernandes Nogueira
d11af5be8d fix(cli): adjust iOS project to work on simulator again (#6349) 2023-02-23 18:01:17 -03:00
Lucas Nogueira
c4cb609bcd chore(cli): update iOS template comments 2023-02-23 14:37:01 -03:00
Lucas Fernandes Nogueira
105fe3fa24 refactor(build): fill settings.gradle and build.gradle.kts on app build (#6342) 2023-02-22 13:57:19 -03:00
Lucas Fernandes Nogueira
1035a83187 feat(core): use camel case on mobile command name (#6340) 2023-02-22 13:55:04 -03:00
Lucas Fernandes Nogueira
9cd8735574 fix(core): properly handle command not found error (#6341) 2023-02-22 13:54:52 -03:00
Lucas Nogueira
ed879513d3 feat(templates): fill AndroidManifest.xml manifest.package field 2023-02-20 17:21:38 -03:00
Lucas Nogueira
12c947632d feat(plugin): add app getter on PluginHandle 2023-02-20 15:55:25 -03:00
Lucas Fernandes Nogueira
037d488dee feat(mobile): add command member to Invoke class (#6323) 2023-02-20 13:09:30 -03:00
Lucas Nogueira
6fca895695 fix(cli): create WRY_ANDROID_KOTLIN_FILES_OUT_DIR folder 2023-02-20 13:08:55 -03:00
Lucas Nogueira
3a8488ddb5 chore(cli): update tauri-mobile to 0.2.3 2023-02-19 19:21:53 -03:00
Lucas Nogueira
dc26cc839a feat(cli): update tauri-mobile to 0.2.2 2023-02-19 11:38:09 -03:00
Lucas Nogueira
1fd329935e Merge branch 'dev' into next 2023-02-19 11:34:02 -03:00
Lucas Fernandes Nogueira
60a8b07dc7 fix: handle single word bundle identifier when resolving Android domain (#6313) 2023-02-19 11:12:04 -03:00
Lucas Fernandes Nogueira
79eb054292 feat(cli): handle Android package identifier change (#6314) 2023-02-19 11:08:55 -03:00
Lucas Fernandes Nogueira
dffd8eb5a8 feat(android): add Plugin assetUrl function (#6299) 2023-02-17 12:44:28 -03:00
Lucas Fernandes Nogueira
897a1547a1 feat(cli): update plugin template including trait to access mobile APIs (#6293) 2023-02-17 12:12:05 -03:00
Lucas Nogueira
2b55f47c2c fix(cli): force Cargo build logs to show on ios build 2023-02-17 10:51:03 -03:00
Lucas Fernandes Nogueira
df5766ec2f refactor(plugin): simplify run_mobile_plugin return types (#6298) 2023-02-17 10:15:57 -03:00
Amr Bashir
4a82da2919 fix(cli): use local ip address for reload (#6285)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-02-16 14:59:56 -03:00
Lucas Nogueira
2dc71a4793 chore(android): remove unnecessary not-null assertion operator 2023-02-16 14:54:35 -03:00
Lucas Fernandes Nogueira
6aaba83476 refactor(plugin): add PluginApi and PluginHandle, expose on setup hook (#6291) 2023-02-16 13:33:50 -03:00
Amr Bashir
ec007ef0d0 feat: use local_ip() and fallback to prompt (#6290) 2023-02-16 13:00:49 -03:00
Lucas Fernandes Nogueira
14d03d426e refactor(cli): enhance plugin commands for mobile (#6289) 2023-02-16 12:24:49 -03:00
Lucas Nogueira
f5e272b0ef chore(android): remove unused code 2023-02-15 19:01:54 -03:00
Lucas Fernandes Nogueira
ea7fd016ca feat(ios): add Logger class (#6284) 2023-02-15 18:00:18 -03:00
Lucas Fernandes Nogueira
d42fd0710c feat(ios): expose UIViewController (#6281) 2023-02-15 11:42:47 -03:00
Lucas Fernandes Nogueira
1b75839701 fix(ios): properly access IPC data (#6280) 2023-02-15 10:56:04 -03:00
Lucas Fernandes Nogueira
bce87c1a67 feat(android): implement plugin permissions and startActivityForResult (#6272) 2023-02-14 21:36:44 -03:00
Lucas Fernandes Nogueira
b9c303a0dc fix(tauri-runtime-wry): tray event listener not registered (#6270) 2023-02-14 14:57:00 -03:00
Lucas Nogueira
5ab78fcafa feat(tauri-build): enhance mobile build script 2023-02-14 14:38:01 -03:00
Lucas Nogueira
aeade94d5e fix(tauri-runtime-wry): re-export wry
Regression from the latest merge from dev
2023-02-14 14:37:50 -03:00
Lucas Nogueira
3d5cc7ab86 Merge remote-tracking branch 'origin/dev' into next 2023-02-14 10:58:46 -03:00
Lucas Fernandes Nogueira
947eb391ca fix(android): crash on orientation change due to activity recreation (#6261) 2023-02-13 20:20:52 -03:00
Lucas Fernandes Nogueira
65e487f344 fix(cli): adjust plugin template to use correct package name (#6258) 2023-02-13 10:54:48 -03:00
Lucas Fernandes Nogueira
bef4ef51bc feat(android): enable minify on release, add proguard rules (#6257) 2023-02-13 10:22:03 -03:00
Lucas Fernandes Nogueira
7258a64730 fix(android): force build script to rerun project injection on dir clear (#6249) 2023-02-13 09:50:29 -03:00
Lucas Fernandes Nogueira
677554257e feat(cli): add --ios-color option to set iOS icon background color (#6247) 2023-02-12 15:29:43 -03:00
Lucas Fernandes Nogueira
96b5e92169 refactor(core): inject API project on plugin's Android and iOS projects (#6246) 2023-02-12 15:29:34 -03:00
Lucas Nogueira
0b51e2f657 chore(ci): rename test-mobile workflow to test-android, fix paths 2023-02-12 14:11:59 -03:00
Lucas Fernandes Nogueira
98867a9680 feat(build): use swift workspace to resolve tauri dep path (#6243) 2023-02-12 10:04:14 -03:00
Lucas Fernandes Nogueira
bfb2ab24e0 feat: add API to call iOS plugin (#6242) 2023-02-11 19:45:51 -03:00
Lucas Fernandes Nogueira
05dad08768 feat: initial work for iOS plugins (#6205) 2023-02-11 10:30:44 -03:00
Lucas Nogueira
f379e2f3da chore: remove unused code 2023-02-10 17:46:53 -03:00
Lucas Fernandes Nogueira
f28a181039 refactor: move Android project to the tauri crate (#6241) 2023-02-10 17:43:50 -03:00
Lucas Fernandes Nogueira
9feab904bf feat(core): add API to call Android plugin (#6239) 2023-02-10 16:32:01 -03:00
Lucas Fernandes Nogueira
62f1526592 fix(cli): generate build script using NPM runner if it was used (#6233) 2023-02-10 08:31:13 -03:00
Lucas Fernandes Nogueira
6f8ba2850e feat(ci): improve test-mobile.yml run conditions (#6231) 2023-02-10 08:16:21 -03:00
Lucas Fernandes Nogueira
cab4ff95b9 fix(cli): ignore the gen folder on the dev watcher (#6232) 2023-02-09 14:50:33 -03:00
Lucas Fernandes Nogueira
da57e7c087 fix(cli): use Target::build to run initial Android build (#6220) 2023-02-09 14:50:23 -03:00
Lucas Fernandes Nogueira
78176edf4a fix: keep build artifacts on Android lib and plugins (#6229) 2023-02-09 13:11:31 -03:00
Lucas Fernandes Nogueira
f2da21c7b4 refactor(cli): use environment variables instead of .config/cargo (#6230) 2023-02-09 13:11:02 -03:00
Lucas Fernandes Nogueira
894a8d060c refactor(cli): use temp file to communicate IPC websocket address (#6219) 2023-02-08 23:19:34 -03:00
Lucas Fernandes Nogueira
481d9de739 refactor(android): use tauri.settings.gradle and tauri.build.gradle.kts to define tauri plugins (#6217) 2023-02-08 12:52:53 -03:00
Amr Bashir
a81750d779 feat(core): add shadow APIs (#6206)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-02-07 19:38:10 -03:00
Lucas Fernandes Nogueira
17f26764c8 feat: initial work for Android plugins (#6167) 2023-02-06 08:56:00 -03:00
Lucas Fernandes Nogueira
84998532d6 fix(ci): use vendored openSSL on the CLI (#6191) 2023-02-03 13:19:49 -03:00
Lucas Nogueira
7500a0e23a chore(ci): use jbolda/covector again
The patches we needed have been released!
2023-02-02 18:22:34 -03:00
github-actions[bot]
0111b88d75 (NEXT) Apply Version Updates From Current Changes (#5924)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-02-02 17:55:23 -03:00
Ngo Iok Ui (Wu Yu Wei)
f0a1d9cdbc chore: update rfd and wry versions (#6174)
Co-authored-by: Wu Yu Wei <wusyong9104@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-02-02 16:44:57 -03:00
Lucas Nogueira
553a81f48c feat(examples): add tauri-plugin-log to API example 2023-01-30 12:04:42 -03:00
Ngo Iok Ui (Wu Yu Wei)
7eb9aa75cf Update gtk to 0.16 (#6155)
Co-authored-by: Wu Yu Wei <wusyong9104@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-29 15:08:27 -03:00
Lucas Nogueira
8835633955 fix(cli): do not prompt for device when --open is provided 2023-01-26 12:33:52 -03:00
Lucas Fernandes Nogueira
1af9be904a feat(cli): properly fill target for TAURI_ env vars on mobile (#6116) 2023-01-23 18:26:13 -03:00
Lucas Fernandes Nogueira
78eaadae2e refactor(core): only proxy on mobile (#6126)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-01-23 18:25:25 -03:00
Lucas Nogueira
8cc111494d fix(cli): print Android logs for all tags 2023-01-17 19:27:23 -03:00
Lucas Fernandes Nogueira
630a7f4b18 refactor: remove mobile log initialization, ref #6049 (#6081) 2023-01-17 13:13:53 -03:00
Lucas Nogueira
276a0362de chore(deps): update wry 2023-01-17 12:42:27 -03:00
Simon Hyll
c36d451bcd fix: removed greet from template (#6066)
* fix: removed greet from template

* fix: removed the entire line instead as per request
2023-01-16 17:35:23 +02:00
Amr Bashir
50f6dd87b1 feat: improvements to support hyphens in crate name (#5989)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-06 14:31:48 -03:00
Lucas Fernandes Nogueira
2c4a0bbd1f feat(cli): force colored logs on mobile commands (#5934) 2022-12-28 17:58:14 -03:00
Lucas Fernandes Nogueira
17d80ab236 feat(cli): improve error message when lib is not found, closes #5867 (#5933) 2022-12-28 15:02:07 -03:00
Lucas Fernandes Nogueira
e873bae09f fix(cli): Cargo target dir detection on Android, closes #5865 (#5932) 2022-12-28 14:46:58 -03:00
Lucas Fernandes Nogueira
dee9460f9c feat: keep CLI alive when iOS app exits, show logs, closes #5855 (#5902) 2022-12-27 18:12:01 -03:00
Jonas Kruckenberg
ced8e9a7be docs: iOS config is under the bundlekey (#5856) 2022-12-27 10:41:23 -03:00
github-actions[bot]
7945e549b7 (NEXT) Apply Version Updates From Current Changes (#5892)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-12-22 11:42:10 -03:00
Lucas Nogueira
6999cdf99e chore(ci): update covector 2022-12-22 11:38:44 -03:00
Amr Bashir
9ad0a9a0aa Merge pull request from GHSA-6mv3-wm7j-h4w5
* fix(core): use `require_literal_separator` when matching paths

* document the need for `require_literal_separator`

* use `require_literal_leading_dot`
2022-12-22 11:37:58 -03:00
Lucas Nogueira
0189c1dbef chore: remove println statement 2022-12-19 11:13:30 -03:00
github-actions[bot]
61af5ce1ed (NEXT) Apply Version Updates From Current Changes (#5814)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-12-15 18:32:12 -03:00
Lucas Nogueira
d21c4a0a89 chore: fix clippy warnings 2022-12-15 17:56:23 -03:00
Lucas Nogueira
d600405a10 chore(deps): bump wry to 0.23.4 2022-12-15 17:21:27 -03:00
Lucas Nogueira
8301d17ab8 chore: use covector branch that sets the target_commitish release field 2022-12-15 17:14:17 -03:00
Lucas Nogueira
fc33c4218c fix(ci): use client-payload input to trigger cli.js publish workflow 2022-12-14 12:18:20 -03:00
Lucas Fernandes Nogueira
3ad5e72ff1 feat(core): cache dev server proxy responses for 304 status code (#5818) 2022-12-12 23:00:03 -03:00
Lucas Fernandes Nogueira
76204b8938 feat(cli): improve local IP detection (#5817) 2022-12-12 22:59:51 -03:00
Lucas Fernandes Nogueira
a9b4cf20a3 fix(core): use entire request URL on dev server proxy (#5819) 2022-12-12 22:59:39 -03:00
Lucas Nogueira
8f47825aac chore: remove unused imports on mobile builds 2022-12-12 15:14:04 -03:00
Lucas Fernandes Nogueira
1e4a675843 fix(cli): run on iOS device on Xcode 14 (#5807) 2022-12-12 10:36:47 -03:00
三咲智子 Kevin Deng
2620ab294d fix(cli): ios build description (#5809) 2022-12-12 09:41:26 -03:00
Lucas Fernandes Nogueira
be446a8665 fix(cli): use vendored openSSL (#5805) 2022-12-10 11:37:16 -03:00
Lucas Nogueira
dd65bc99b2 chore(ci): remove integration tests 2022-12-09 15:17:14 -03:00
Lucas Nogueira
1d20db7410 chore: update bundle.global.js 2022-12-09 15:11:15 -03:00
github-actions[bot]
25416a64ba (NEXT) Apply Version Updates From Current Changes (#5787)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-09 14:27:41 -03:00
Lucas Nogueira
35040076ea feat(ci): publish cli.js with --tag next 2022-12-09 10:11:41 -03:00
Lucas Fernandes Nogueira
fa3a10988a feat(ci): prepare 2.0.0-alpha.0 (#5786) 2022-12-08 16:28:12 -03:00
Lucas Nogueira
1092865e67 Merge branch 'dev' into next 2022-12-08 14:19:44 -03:00
Lucas Nogueira
aa18c7d671 chore(cli): pin tauri-mobile to v0.1.0 2022-12-07 15:53:41 -03:00
Lucas Nogueira
02706c92f6 chore(cli): force iOS cargo build stdout 2022-12-06 14:04:30 -03:00
Lucas Nogueira
1172783506 fix(cli): update cargo-mobile fixing adb pidof check 2022-12-06 09:58:59 -03:00
Lucas Nogueira
b874d139f9 fix(cli): emulator.start called twice 2022-12-06 09:50:37 -03:00
Lucas Nogueira
c1cd0f5253 chore(deps): rename cargo-mobile to tauri-mobile 2022-12-06 09:19:04 -03:00
Lucas Nogueira
626faf9ec1 chore(examples): move API dev server config from CLI to vite.config.js 2022-12-03 10:20:04 -03:00
Lucas Nogueira
5024f7905c chore(cli): update cargo-mobile including logcat improvement 2022-11-30 12:48:24 -03:00
Lucas Nogueira
ad65b95070 refactor(core): move local ip address resolve to CLI 2022-11-30 11:53:17 -03:00
Lucas Nogueira
debe73ab0e fix(core): remove window setters command handlers on mobile 2022-11-30 11:45:22 -03:00
Lucas Fernandes Nogueira
fa6d10e39c refactor(core): remove window APIs on mobile (#5713) 2022-11-30 10:30:25 -03:00
Lucas Nogueira
e938c3dff5 feat(core): map 304 status code to 200 on dev proxy
Fixes an Android issue when reloading Vite pages
2022-11-30 10:00:44 -03:00
Lucas Nogueira
eca131dfbb feat(cli): show all Android error logs 2022-11-30 09:59:52 -03:00
Lucas Fernandes Nogueira
4a72d5e0ca feat(cli): replace $HOST variable on beforeDevCommand - public IP usage (#5709) 2022-11-28 08:53:26 -03:00
Lucas Fernandes Nogueira
d38204907e feat(cli): run local dev server on public IP on mobile development (#5705) 2022-11-28 08:30:48 -03:00
Lucas Fernandes Nogueira
87e47ce1dc feat(core): proxy request headers, simplify response headers (#5704) 2022-11-28 08:27:02 -03:00
Lucas Fernandes Nogueira
d33fcbc81c feat(cli): generate icons for iOS (#5667) 2022-11-22 11:18:56 -03:00
Lucas Fernandes Nogueira
c1f31ebe5e feat(cli): generate icons for Android (#5665) 2022-11-21 17:56:22 -03:00
Lucas Fernandes Nogueira
8baf20dd34 feat(cli): update Android project dependencies (#5663) 2022-11-21 12:50:41 -03:00
Lucas Fernandes Nogueira
be808a9f5c feat(ci): add Android test workflow (#5661) 2022-11-21 11:47:12 -03:00
Lucas Fernandes Nogueira
6dcb7fbb81 fix(core): manage mobile logs, fix Android logcat filtering (#5659) 2022-11-20 10:55:38 -03:00
Lucas Fernandes Nogueira
f6f9192aa5 fix(core): Android compilation on Windows (#5658) 2022-11-20 09:49:23 -03:00
Lucas Fernandes Nogueira
03d6c6a68f refactor(cli): use jsonrpsee for mobile CLI options communication (#5657) 2022-11-20 09:48:02 -03:00
Lucas Nogueira
538e21e2e7 fix(cli): iOS development team is required on init 2022-11-19 14:25:23 -03:00
Lucas Fernandes Nogueira
658bb1165e feat(cli): automatically enable native-tls-vendored feature on mobile (#5651) 2022-11-18 13:10:20 -03:00
Lucas Nogueira
634c6b832c feat(cli): update cargo-mobile including Android env var cleanup 2022-11-14 19:59:46 -03:00
Lucas Fernandes Nogueira
8c576222ba feat(cli): find development teams for iOS development (#5627) 2022-11-14 18:31:51 -03:00
Lucas Nogueira
169d2434ff Merge remote-tracking branch 'origin/dev' into next 2022-11-11 11:46:15 -03:00
Lucas Nogueira
f9b529a96e feat(cli): update project.yml syntax 2022-11-11 11:43:25 -03:00
Lucas Nogueira
7c26514340 fix(cli): kill beforeDevCommand process when mobile fails to compile 2022-11-11 11:41:20 -03:00
Lucas Nogueira
69414a487f chore(cli): lint 2022-11-09 11:50:41 -03:00
Lucas Nogueira
602d3ed3f6 Merge branch 'dev' into next 2022-11-09 11:04:54 -03:00
Lucas Nogueira
348b26ffed fix(ci): minimum rustc is now 1.59 2022-10-31 13:27:22 -03:00
Lucas Nogueira
d0ad0d2f48 Merge remote-tracking branch 'origin/dev' into next 2022-10-31 10:13:57 -03:00
Amr Bashir
10ab3e2f5e feat(cli/mobile): allow checking gen folder into source control (#5146)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-12 16:46:09 -03:00
Jeffrey Hutchins
8ea87e9c9c feat(android): with_webview access for jni execution (#5148) 2022-09-08 10:57:10 -03:00
Amr Bashir
c9ad2a73af fix(cli/mobile): use one write_all call (#5155)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-07 12:05:11 -03:00
Lucas Fernandes Nogueira
bc1622c5ab feat(core): use native window dialogs on Android (#5137) 2022-09-05 16:16:59 -03:00
Lucas Nogueira
e1b8ee2b7a refactor(cli): move generated Kotlin files to the generated folder 2022-09-04 22:06:56 -03:00
Lucas Nogueira
f333656876 fix(core): set response mimetype on dev 2022-09-04 14:16:52 -03:00
Lucas Nogueira
4c1c78ebf0 chore(cli): update lockfile 2022-09-04 13:49:49 -03:00
Lucas Nogueira
610aab7045 Merge branch 'dev' into next 2022-09-04 13:45:59 -03:00
Amr Bashir
30d0e190bb fix(cli/templates): fix desktop entrypoint template (#5127) 2022-09-02 12:21:15 -03:00
Amr Bashir
5643ece77c fix(cli/mobile): strip \n before parsing json (#5126) 2022-09-02 10:30:42 -03:00
Lucas Nogueira
aae91a9b53 refactor(tauri-codegen): panic if local IP address cannot be resolved 2022-09-01 16:58:41 -03:00
Lucas Nogueira
349895b296 refactor(cli): remove mobile assets folder symlink 2022-09-01 12:25:08 -03:00
Lucas Nogueira
5d82357166 feat(cli): add --reinstall-deps option to ios init 2022-09-01 12:07:06 -03:00
Lucas Fernandes Nogueira
8f3a9c5cf6 feat(cli): improve device/simulator prompt logic (#5114) 2022-09-01 12:00:17 -03:00
Lucas Fernandes Nogueira
6593f267b3 feat(cli): iOS simulator support on Intel based devices (#5112) 2022-08-31 21:40:51 -03:00
Lucas Nogueira
5d3242c496 fix(examples): keep the target fallback 2022-08-31 20:53:21 -03:00
Lucas Fernandes Nogueira
68e80ffaa9 feat(cli): add option to run on specific iOS simulator/device (#5098) 2022-08-30 16:09:06 -03:00
Lucas Nogueira
9f9e3ae54d fix: improve target check on context codegen 2022-08-30 13:22:26 -03:00
Lucas Fernandes Nogueira
82e8751ae8 feat(cli): add option to run on specific Android emulator/device (#5093) 2022-08-30 10:27:53 -03:00
Lucas Fernandes Nogueira
e22d21beaf fix(cli): add timeout on interprocess communication (#5090) 2022-08-29 14:46:37 -03:00
Lucas Fernandes Nogueira
b36ccb7e99 feat(ci): test mobile targets (#5078) 2022-08-28 23:02:32 -03:00
Lucas Nogueira
65e7085d2f fix(ci): checkout repo in udeps.yml 2022-08-28 17:57:36 -03:00
Lucas Nogueira
c4d323b70f fix(ci): set target on test-core.yml 2022-08-28 17:57:31 -03:00
Lucas Nogueira
914c5f299f Merge remote-tracking branch 'origin/dev' into next 2022-08-28 16:27:01 -03:00
Lucas Fernandes Nogueira
1d9226b28c refactor:move iOS configuration to the bundle object (#5072) 2022-08-28 15:34:41 -03:00
Lucas Fernandes Nogueira
8cf9af93eb refactor(cli): remove mobile Error enum, use anyhow instead (#5076) 2022-08-28 15:32:50 -03:00
Jeffrey Hutchins
0a203a13ae fix(cli): config issues on macos (#5075)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-08-28 14:48:15 -03:00
Lucas Fernandes Nogueira
dee19784f9 fix(cli): only require development team when running iOS commands (#5071) 2022-08-27 16:35:57 -03:00
Lucas Fernandes Nogueira
53a3398beb feat(cli): improve DX on android dev and ios dev commands (#5059) 2022-08-26 16:08:44 -03:00
Lucas Fernandes Nogueira
69aaff5507 feat(cli): persist verbosity for the IDE scripts (#5047) 2022-08-26 09:24:23 -03:00
Lucas Fernandes Nogueira
80a301ea63 feat(cli): add mobile support to the app template (#5046) 2022-08-25 16:43:29 -03:00
Lucas Fernandes Nogueira
badad2b9a1 feat(cli): implement verbosity on mobile commands (#5044) 2022-08-25 16:06:00 -03:00
Lucas Fernandes Nogueira
927ccc465d refactor(cli): improve security of android dev/build (#5043) 2022-08-25 15:30:05 -03:00
Lucas Fernandes Nogueira
4a5f2ec1ae feat(android): enable dev HMR in both HTTP and HTTPS dev servers (#5033) 2022-08-25 00:19:47 -03:00
Lucas Fernandes Nogueira
752ad3b203 feat(cli): use templates from wry (#5030) 2022-08-24 16:06:14 -03:00
Lucas Fernandes Nogueira
ff4cb56b2e fix(tauri-macros): escape _ in mobile entry point's app name (#5029) 2022-08-24 14:02:08 -03:00
Lucas Fernandes Nogueira
641d56dcb3 feat(android): improve initialization scripts (#5028) 2022-08-24 13:06:45 -03:00
Lucas Fernandes Nogueira
0500d3b4b1 fix(core): mobile app name must match the crate name (#5027) 2022-08-24 12:41:57 -03:00
Amr Bashir
1f84385e8a chore: update cargo-mobile to latest (#5025)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-08-24 10:01:32 -03:00
Lucas Fernandes Nogueira
3668a1fdc8 fix(cli): resolve absolute tauri binary path for the android template (#5015) 2022-08-23 13:54:41 -03:00
Amr Bashir
2b846f413c feat(examples/api): use strict port (#5013) 2022-08-23 12:40:02 -03:00
Amr Bashir
4e26b05d20 fix(cli/template/android): use raw string for executable (#5012) 2022-08-23 12:39:26 -03:00
Lucas Nogueira
a70f7b26bc feat(cli): improve error messages in mobile commands 2022-08-23 11:34:16 -03:00
Lucas Fernandes Nogueira
e56a9dd729 refactor(cli): move mobile commands to their own module (#5005) 2022-08-22 21:59:17 -03:00
Lucas Fernandes Nogueira
403859d47e feat(cli): add ios build command (#5002) 2022-08-22 17:47:52 -03:00
Lucas Fernandes Nogueira
4c9ea450c3 feat(cli): add android build command (#4999) 2022-08-22 12:49:58 -03:00
Lucas Fernandes Nogueira
b3a3afc7de feat(core): detect android and ios platform configuration files (#4997) 2022-08-22 10:48:06 -03:00
Lucas Nogueira
3d992a8899 Merge branch 'dev' into next 2022-08-21 17:48:56 -03:00
Lucas Fernandes Nogueira
9bb81bc328 refactor(android): rename BuildTask.kt command to android-studio-script (#4991) 2022-08-21 17:48:38 -03:00
Lucas Fernandes Nogueira
9890486321 feat(core): add mobile_entry_point macro (#4983) 2022-08-21 10:35:34 -03:00
Lucas Nogueira
16360aed33 chore(cli): update cargo-mobile to fix cli.js mobile script running 2022-08-21 10:35:11 -03:00
Lucas Fernandes Nogueira
e55d96acc1 feat(cli): enhance iOS build task arguments (#4987) 2022-08-21 10:34:38 -03:00
Lucas Fernandes Nogueira
8aad710064 feat(cli): enhance android build task arguments (#4986) 2022-08-21 09:58:27 -03:00
Lucas Fernandes Nogueira
6f0615044d feat(cli): add android dev and ios dev commands (#4982) 2022-08-20 16:53:07 -03:00
Lucas Nogueira
f445f374a3 feat(android): update project dependencies 2022-08-18 11:31:07 -03:00
Lucas Nogueira
a3680ef2bc feat(cli): skip dev tools installation on mobile init 2022-08-17 16:40:04 -03:00
Lucas Nogueira
e20145cccc fix(examples): change API example domain, export mobile mod 2022-08-16 11:48:01 -03:00
Lucas Nogueira
c2b120be51 Merge branch 'dev' into next 2022-08-16 10:13:55 -03:00
Lucas Fernandes Nogueira
3f655d6280 refactor: pull mobile config from tauri config instead of mobile.toml (#4948) 2022-08-16 09:44:55 -03:00
Lucas Fernandes Nogueira
a9c8e565c6 feat: add android open and ios open commands (#4946) 2022-08-15 13:38:17 -03:00
Lucas Nogueira
a9f8ac7f96 fix(examples): set API lib crate-type 2022-08-15 13:24:26 -03:00
Lucas Fernandes Nogueira
d44f67f7af feat: add android init and ios init commands (#4942) 2022-08-15 12:43:50 -03:00
Lucas Nogueira
d3179b84b5 chore(examples): readd gitignore rules for mobile api example 2022-08-14 20:54:14 -03:00
Lucas Nogueira
4c9c64c429 Merge branch 'dev' into next 2022-08-14 18:40:06 -03:00
Lucas Nogueira
d14322de68 chore(deps): update to wry 0.20.2 refactor 2022-08-14 17:52:20 -03:00
Lucas Nogueira
899f9b917a Merge remote-tracking branch 'origin/dev' into next 2022-08-12 20:34:51 -03:00
Lucas Nogueira
11d50e8474 Merge remote-tracking branch 'origin/dev' into next 2022-08-12 20:09:23 -03:00
Lucas Nogueira
6aee91a181 feat(core): prepare for Android 2022-08-12 14:11:14 -03:00
Lucas Fernandes Nogueira
b4622ea4d3 refactor(app): run setup and window creation when event loop is ready (#4914) 2022-08-11 10:30:55 -03:00
1181 changed files with 100597 additions and 57428 deletions

View File

@@ -10,8 +10,8 @@ Use the following format:
```md
---
'package-a': patch
'package-b': patch
'package-a': 'patch:enhance'
'package-b': 'patch:enhance'
---
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:bug
'package-a': 'patch:enhance'
---
Change summary goes here

View File

@@ -0,0 +1,6 @@
---
"tauri-build": patch:enhance
"tauri-utils": patch:enhance
---
Fallback to an empty permission set if the plugin did not define its `default` permissions.

View File

@@ -0,0 +1,8 @@
---
"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

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

View File

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

View File

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

View File

@@ -0,0 +1,5 @@
---
'@tauri-apps/api': 'patch:bug'
---
Re-added the `TauriEvent.WINDOW_CREATED` (`tauri://window-created`) event.

View File

@@ -0,0 +1,9 @@
---
'@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

@@ -0,0 +1,5 @@
---
'@tauri-apps/api': 'patch:feat'
---
Add `TrayIcon.getById` and `TrayIcon.removeById` static methods.

View File

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

View File

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

View File

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

9
.changes/app-manifest.md Normal file
View File

@@ -0,0 +1,9 @@
---
"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`.

5
.changes/assets-setup.md Normal file
View File

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

15
.changes/beta.md Normal file
View File

@@ -0,0 +1,15 @@
---
"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

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

View File

@@ -0,0 +1,5 @@
---
'tauri-bundler': 'patch:bug'
---
Fixed an issue that caused the msi bundler to crash when deep link schemes were configured.

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,7 @@
---
"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

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

View File

@@ -0,0 +1,7 @@
---
"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

@@ -0,0 +1,12 @@
---
'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

@@ -0,0 +1,6 @@
---
"tauri-cli": "minor:feat"
"@tauri-apps/cli": "minor:feat"
---
Support specifying a version for `tauri add` subcommand, for example: `tauri add window-state@2.0.0-beta.2`

View File

@@ -0,0 +1,6 @@
---
'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

@@ -0,0 +1,6 @@
---
'tauri-cli': 'patch:enhance'
'@tauri-apps/cli': 'patch:enhance'
---
Allow empty responses for `devUrl`, `beforeDevCommand` and `beforeBuildCommands` questions in `tauri init`.

View File

@@ -0,0 +1,5 @@
---
"tauri-cli": patch:enhance
---
Use `$CARGO_MANIFEST_DIR` when including templates at build-time.

View File

@@ -0,0 +1,6 @@
---
'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

@@ -0,0 +1,6 @@
---
"@tauri-apps/cli": patch:enhance
"tauri-cli": patch:enhance
---
`openssl` is no longer a required dependency on macOS.

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,6 @@
---
"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

@@ -0,0 +1,6 @@
---
"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

@@ -0,0 +1,6 @@
---
"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

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

View File

@@ -1,23 +1,23 @@
{
"gitSiteUrl": "https://www.github.com/tauri-apps/tauri/",
"timeout": 3600000,
"changeTags": {
"feat": "New Features",
"enhance": "Enhancements",
"bug": "Bug Fixes",
"pref": "Performance Improvements",
"changes": "What's Changed",
"deps": "Dependencies"
"sec": "Security fixes",
"deps": "Dependencies",
"breaking": "Breaking Changes"
},
"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.0 libayatana-appindicator3-dev",
"sudo apt-get install -y webkit2gtk-4.1 libayatana-appindicator3-dev",
"cargo install cargo-audit --features=fix",
{
"command": "cargo generate-lockfile",
@@ -77,7 +77,6 @@
]
},
"javascript": {
"errorOnVersionRange": "^2.0.0-0",
"version": true,
"getPublishedVersion": "node ../../.scripts/covector/package-latest-version.js npm ${ pkgFile.pkg.name } ${ pkgFile.pkg.version }",
"prepublish": [
@@ -114,7 +113,7 @@
"pipe": true
},
{
"command": "yarn publish --access public --loglevel silly",
"command": "yarn publish --access public --loglevel silly --tag next",
"dryRunCommand": "npm publish --dry-run --access public",
"pipe": true
},
@@ -214,6 +213,12 @@
"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 }"
},
"tauri-build": {
"path": "./core/tauri-build",
"manager": "rust",
@@ -236,7 +241,8 @@
"tauri-macros",
"tauri-utils",
"tauri-runtime",
"tauri-runtime-wry"
"tauri-runtime-wry",
"tauri-build"
],
"postversion": "node ../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }"
},
@@ -270,7 +276,8 @@
},
"tauri-driver": {
"path": "./tooling/webdriver",
"manager": "rust"
"manager": "rust",
"postversion": "cargo check"
}
}
}

View File

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

View File

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

View File

@@ -0,0 +1,5 @@
---
"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

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

View File

@@ -0,0 +1,5 @@
---
"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

@@ -0,0 +1,5 @@
---
'tauri': 'patch:breaking'
---
Removed `App/AppHandle::tray` and `App/AppHandle::remove_tray`, use `App/AppHandle::tray_by_id` and `App/AppHandle::remove_tray_by_id` instead. If these APIs were used to access tray icon configured in `tauri.conf.json`, you can use `App/AppHandle::tray_by_id` with ID `main` or the configured value.

View File

@@ -0,0 +1,6 @@
---
'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

@@ -0,0 +1,5 @@
---
tauri: 'patch:bug'
---
Fixed an issue preventing webview/window creation events to not be emitted. This also fixed the `getByLabel` and `getAll` JavaScript functions.

View File

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

View File

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

View File

@@ -0,0 +1,5 @@
---
'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

@@ -0,0 +1,6 @@
---
'tauri': 'patch:bug'
'@tauri-apps/api': patch:bug
---
Fix `basename(path, 'ext')` JS API when removing all occurances of `ext` where it should only remove the last one.

View File

@@ -0,0 +1,5 @@
---
tauri: 'patch:enhance'
---
`tauri::Window` and `tauri::WebviewWindow` now implement `raw_window_handle::HasDisplayHandle`.

View File

@@ -0,0 +1,7 @@
---
"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

@@ -0,0 +1,5 @@
---
'tauri-bundler': 'minor:feat'
---
Add suport for include `preinstall`, `postinstall`, `preremove` and `postremove` scripts into Debian and RPM packages.

View File

@@ -0,0 +1,5 @@
---
'tauri-utils': 'minor:feat'
---
Added `preInstallScript`, `postInstallScript`, `preRemoveScript` and `postRemoveScript` options for `bundler > deb` and `bundler > rpm` configs.

View File

@@ -0,0 +1,6 @@
---
'tauri-bundler': 'minor:feat'
'tauri-utils': 'minor:feat'
---
Added support for `provides`, `conflicts` and `replaces` (`obsoletes` for RPM) options for `bundler > deb` and `bundler > rpm` configs.

5
.changes/dev-fn.md Normal file
View File

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

View File

@@ -0,0 +1,6 @@
---
"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

@@ -0,0 +1,5 @@
---
"tauri": patch:enhance
---
Improve and optimize event emit calls.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch:enhance
---
Enhance the IPC URL check by using the Origin header on the custom protocol IPC and the new request URI field on the postMessage IPC instead of using `Webview::url()` which only returns the URL of the main frame and is not suitable for iframes (iframe URL fetch is still not supported on Android and on Linux when using the postMessage IPC).

View File

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

View File

@@ -0,0 +1,5 @@
---
"@tauri-apps/api": patch:enhance
---
The `Image` constructor is now public (for internal use only).

View File

@@ -0,0 +1,6 @@
---
"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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,5 @@
---
"tauri-runtime-wry": patch:bug
---
Fix window inner size evaluation on macOS.

View File

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

View File

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

View File

@@ -0,0 +1,5 @@
---
tauri: 'patch:bug'
---
Fixed an issue where errors where returned as strings instead of objects from commands.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch:bug
---
Fixes the menu plugin `remove` command signature.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch:bug
---
Fixes an issue causing `getAll()` to list webviews that were already destroyed.

View File

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

View File

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

View File

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

View File

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

View File

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

5
.changes/fix-reparent.md Normal file
View File

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

View File

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

View File

@@ -0,0 +1,5 @@
---
tauri-runtime-wry: patch:bug
---
Fixes an issue causing compilation to fail for i686 and armv7 32-bit targets.

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,5 @@
---
"tauri-runtime-wry": patch:bug
---
Fix webview's visibility doesn't change with the app window

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,8 @@
---
"tauri": patch:feat
"tauri-codegen": patch:feat
"tauri-build": patch:feat
"tauri-plugin": patch:feat
---
Allow plugins to define (at compile time) JavaScript that are initialized when `withGlobalTauri` is true.

View File

@@ -0,0 +1,6 @@
---
"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.

7
.changes/http-v1.md Normal file
View File

@@ -0,0 +1,7 @@
---
'tauri': 'patch:deps'
'tauri-runtime': 'patch'
'tauri-runtime-wry': 'patch'
---
Updated `http` crate to `1.1`

View File

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

5
.changes/image-crate.md Normal file
View File

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

View File

@@ -0,0 +1,5 @@
---
"@tauri-apps/api": patch:breaking
---
`Image::rgba()` now returns `Promise<Uint8Array>`.

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