renovate[bot]
f5b8037215
chore(deps) Update Tauri macOSSign
2024-11-06 16:22:46 +00:00
Amr Bashir
4d545ab3ca
feat: background color APIs ( #11486 )
...
* feat: background color APIs
closes #10519
closes #1564
* clippy
* git branch
* bundle
* fix hex color schema pattern
* add missing `^`
* fix iOS
* revert test
* revert apple-codesign bump
* fmt
* add change files
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-11-06 13:21:47 -03:00
39zde
fabc2f283e
feat: add HeaderConfig to SecurityConfig ( #11485 )
2024-11-06 16:16:46 +02:00
renovate[bot]
6b3c82aa90
chore(deps) Update Tauri macOSSign (dev) ( #11541 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-06 10:41:34 -03:00
griffi-gh
3781429147
enhance: always check parent directory ( fix #8679 ) ( #11429 )
...
* enhance: always check parent directory (fix #8679 )
* Update crates/tauri-utils/src/platform.rs
* add change file
* fix crate
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-11-06 10:41:13 -03:00
renovate[bot]
15d6515eb1
chore(deps) Update dependency @types/node to v22 (dev) ( #11545 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-06 09:54:52 -03:00
renovate[bot]
b63353bd61
chore(deps) Update Tauri API Definitions (dev) ( #11597 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-06 07:49:59 -03:00
renovate[bot]
e8c0c57909
chore(deps) Update Tauri Codegen (dev) ( #11596 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-06 07:49:38 -03:00
renovate[bot]
58392a5221
chore(deps) Update Rust crate handlebars to v6.2.0 (dev) ( #11544 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-06 07:49:18 -03:00
renovate[bot]
8061fb2da8
chore(deps) Update Rust crate anyhow to v1.0.93 ( #11598 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-06 16:04:51 +08:00
renovate[bot]
e835751d4f
chore(deps) Update Rust crate syn to v2.0.87 ( #11595 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-06 11:40:30 +08:00
renovate[bot]
0a170d0716
chore(deps) Update Rust crate anyhow to v1.0.92 ( #11594 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-06 11:39:56 +08:00
renovate[bot]
03828587b5
chore(deps) Update Tauri API Definitions ( #11543 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-06 11:31:40 +08:00
Amr Bashir
5c4b830843
feat(api): add SERIALIZE_TO_IPC_FN
const and implement it for dpi types, add more constructors ( #11191 )
2024-11-05 23:30:17 +02:00
Amr Bashir
cbc095ec5f
feat: add WebviewWindow/Webview::devtools
( #11451 )
...
* feat: add `WebviewWindow/Webview::devtools`
closes #10849
* clippy
* fix ToTokens
* document default behavior
* move builder usage
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-11-05 16:00:48 -03:00
Amr Bashir
2a75c64b54
feat(core): add window_class name API on Windows ( #11469 )
...
* On Windows, set name of Window Class, closes #7498
allow to customize it instead of current value hard coded "Window Class"
* feat(windows): add window_classname, closes #7498
allow to customize the window class name instead of current value hard coded "Window Class"
* feat: add window_classname, closes #7498
* add changes file
* Update core/tauri-config-schema/schema.json
* Update tooling/cli/schema.json
* missing pieces after merge
* clippy
---------
Co-authored-by: Géraud-Loup <47665233+geraudloup@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-11-05 15:18:47 -03:00
Amr Bashir
1b6b2cfaa1
feat(cli): process bundle > windows > wix > fragmentPaths
with Handlebars ( #11521 )
...
* feat(cli): process `bundle > windows > wix > fragmentPaths` with Handlebars
closes #11520
* remove unneeded register_template_string
* Update crates/tauri-bundler/src/bundle/windows/msi/mod.rs
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-11-05 14:46:54 -03:00
Amr Bashir
17c6952aec
enhance(core): use diagnostic::on_unimplemented
on rustc 1.78 and newer for async commands with references ( #11522 )
...
* enhance(core): use `diagnostic::on_unimplemented` on rustc 1.78 and newer for async commands with references
* change file
* clippy
* clippy
* add TODO
2024-11-05 14:20:30 -03:00
Amr Bashir
7af01ff2ce
fix(cli): fix tauri migrate
failing to install NPM deps when running from Deno ( #11523 )
...
* fix(cli): fix `tauri migrate` failing to install NPM deps when running from Deno
* clippy
2024-11-05 14:16:32 -03:00
Amr Bashir
100a4455aa
fix(cli): fix yarn berry detection ( #11529 )
...
closes #11495
2024-11-05 14:15:48 -03:00
Amr Bashir
4191a7a53d
fix(tray): build tray on main thread ( #11583 )
2024-11-05 17:42:08 +02:00
Amr Bashir
f37e97d410
feat: add use_https_scheme
for Windows and Android ( #11477 )
...
* feat: add `use_https_scheme` for Windows and Android
closes #11252
* fix compilation
* Apply suggestions from code review
Co-authored-by: Fabian-Lars <github@fabianlars.de>
* change wording
* add migrations
* migrate `dangerousUseHttpScheme`
* fmt
* infer AssetResolver::get https scheme config
* fix tests
---------
Co-authored-by: Fabian-Lars <github@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-11-05 09:48:59 -03:00
Amr Bashir
058c0db72f
feat(bundler): add option to configure RPM compression ( #11584 )
2024-11-05 14:08:08 +02:00
Mikkel Tønder
f8994b214e
fix(event): handle AnyLabel listeners in emit_to
( #11581 )
...
closes #11561
2024-11-04 14:31:18 +02:00
Kornel
c33bbf4574
enhance: include the path in ACL I/O errors ( #11575 )
2024-11-04 14:30:43 +02:00
Amr Bashir
129414faa4
fix: fix webview not focused by default ( #11569 )
...
* fix: fix webview not focused by default
closes #10746
* fix compile
* typo
* fix compile again
* clippy
2024-11-04 13:58:47 +02:00
renovate[bot]
12ffc19ce0
chore(deps) Update Rust crate regex to v1.11.1 ( #11542 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-30 12:19:31 +08:00
renovate[bot]
9f472591cc
chore(deps) Update Rust crate serde to v1.0.214 ( #11540 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-30 12:00:51 +08:00
Andrii Bodnar
d25dd9e31d
docs: fix capability configuration examples ( #11537 )
2024-10-30 00:33:42 +03:00
Lucas Fernandes Nogueira
c43d5df158
feat(cli): associate newly created capability with the main window ( #11512 )
...
without this change the capability is not applied to any context and it might be hard for users to figure out why
2024-10-28 14:05:24 +03:00
Alex Adewole
1065f632f2
feat(cli): remove UNC path prefix in TAURI_APP_PATH
and TAURI_FRONTEND_PATH
( #11514 )
2024-10-28 12:21:42 +03:00
Vincent Esche
ac22950f39
fix(cli): Fix mixup of TAURI_APP_PATH
and TAURI_FRONTEND_PATH
( #11492 )
...
* Fix mixup of `env_tauri_app_path()` and `env_tauri_frontend_path()` in tauri's path resolutions
* Rename functions in `app_paths` to match their corresponding, publicly exposed env var keys
* Rename `app_dir`/`app_path` variables that deal with the frontend app's directory to `frontend_dir
* Rename `APP_DIR` to `FRONTEND_DIR`
* Improve comment on meaning of tauri path env vars
2024-10-27 17:55:23 -03:00
阿良仔
a8105eccb2
docs: fix wrongly rendered links on docs.rs
( #11483 )
2024-10-24 16:02:49 +03:00
renovate[bot]
888277ec40
chore(deps) Update Rust crate syn to v2.0.85 ( #11472 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-24 13:23:24 +08:00
renovate[bot]
0014f9ae69
chore(deps) Update dependency @types/node to v20.17.0 ( #11470 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-24 13:15:04 +08:00
Amr Bashir
8036c78e08
feat(core/path): add PathResolver::home_dir
on Android ( #11455 )
...
ref: https://github.com/tauri-apps/tauri/issues/10478#issuecomment-2383754176
2024-10-24 06:43:02 +03:00
renovate[bot]
516c7d9f63
chore(deps) Update Rust crate syn to v2.0.83 ( #11473 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-24 10:39:59 +08:00
Amr Bashir
54cbf59b5a
fix(api/menu): fix submenus when created using an object in items
field in the object passed to Menu/Submenu.new
( #11441 )
...
* fix(api/menu): fix submenus when created using an object in `items` field in the object passed to `Menu/Submenu.new`
closes #11435
also closes #11422 as I included the docs in this PR
* Update .changes/js-submenu-in-options.md
* Update packages/api/src/menu/base.ts
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-10-23 10:47:32 -03:00
renovate[bot]
ce864cebfd
chore(deps) Update Rust crate image to v0.25.4 (dev) ( #11457 )
...
* chore(deps) Update Rust crate image to v0.25.4
* Also bump json-patch and resvg
* Just json-patch for now
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tony <legendmastertony@gmail.com>
2024-10-23 17:46:59 +08:00
renovate[bot]
ed78f52cd1
chore(deps) Update Rust crate json-patch to v3 ( #11466 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-23 17:25:16 +08:00
renovate[bot]
ccf20eb3ff
chore(deps) Update Rust crate json-patch to v3 ( #11467 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-23 17:25:08 +08:00
renovate[bot]
d0c1189b91
chore(deps) Update Tauri API Definitions ( #11464 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-23 17:04:56 +08:00
renovate[bot]
0d31fe99c7
chore(deps) Update Rust crate thiserror to v1.0.65 ( #11463 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-23 16:57:41 +08:00
renovate[bot]
d4b3659523
chore(deps) Update Rust crate proc-macro2 to v1.0.89 ( #11459 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-23 16:25:22 +08:00
renovate[bot]
8e083c99c8
chore(deps) Update Tauri Build to v1.0.91 ( #11456 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-23 12:25:08 +08:00
Amr Bashir
8c6d1e8e6c
fix(runtime-wry): run cursor_position
getter on main thread ( #11401 )
...
* fix(runtime-wry): run `cursor_position` getter on main thread
closes #10340
* clippy
* clippy
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-10-22 09:59:21 -03:00
Amr Bashir
6dea12a067
feat(bundler): add recommends
for deb and rpm ( #11402 )
...
closes #10351
2024-10-21 15:38:14 -03:00
Amr Bashir
1f311832ab
enhance(cli): add context to public/secret key decoding errors ( #11405 )
...
* enhance(cli): add context to public/secret key decoding errors
closes #10488
* Update .changes/cli-updater-errorr.md
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-10-21 15:37:28 -03:00
Czxck001
e0d1307d3f
feat(cli) Make tauri migrate
update $schema in tauri.conf.json ( #11414 )
...
* Make `tauri migrate` update $schema in tauri.conf.json
* add change file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-10-21 15:24:59 -03:00
Lucas Fernandes Nogueira
f0da0bde87
feat(core): add WebviewWindow::resolve_command_scope ( #11439 )
...
* feat(core): add WebviewWindow::resolve_command_scope
This new functionality exposes the `CommandScope` resolution as a function (currently only commands can resolve them as a dependency injection via CommandItem)
This function is useful to validate the configuration at runtime (do some asserts at setup phase to ensure capabilities are properly configured) and to resolve scopes in a separate thread or context
* adjust return type
2024-10-21 15:16:08 -03:00