github-actions[bot]
89c6f08e82
Apply Version Updates From Current Changes ( #12218 )
...
Co-authored-by: FabianLars <30730186+FabianLars@users.noreply.github.com >
2025-01-10 15:08:21 +01:00
Fabian-Lars
cde0ff7798
chore: Fix clippy 1.84 warnings ( #12328 )
2025-01-10 13:47:37 +01:00
renovate[bot]
b0d7527250
chore(deps): update rust crate windows-registry to 0.4 (dev) ( #12301 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-07 23:04:03 +01:00
renovate[bot]
a28b5013c5
chore(deps): update rust crate ico to 0.4 (dev) ( #12298 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-07 22:38:43 +01:00
Fabian-Lars
b9a99a5c69
fix(cli): Skip File Access events in dev server ( #12297 )
2025-01-07 21:11:24 +01:00
Marco Mengelkoch
98f62e65a2
fix(cli): tauri add NPM packages for community plugins ( #12246 )
...
It currently isn't possible to simply add a community plugin the same was as adding official plugins.
Trying to perform `npm run tauri add tauri-plugin-python` is trying to install npm package `@tauri-apps/plugin-python`.
But the npm scope `@tauri-apps/` is reserved for official tauri plugins.
The official documentation recommends to name the npm package `tauri-plugin-{name}-api` and it should be possible to have a parameter that makes it possible to install that package.
- closes #12217
This changes the command to check if the plugin is an official tauri plugin or not, using the appropriate npm package name format
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2025-01-07 10:16:35 -03:00
renovate[bot]
c130af6b06
chore(deps): update dependency rollup to v4.30.1 (dev) ( #12291 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-07 13:48:40 +01:00
Lucas Fernandes Nogueira
ef21ed9ac1
fix(cli): iOS build crashing when development team has spaces ( #12290 )
...
Even though I couldn't even get the build to succeed when using the team name as the "developmentTeam" configuration (instead of the team ID), I've received reports that our processing of that value is broken and only works when it is escaped using `\"`.
2025-01-07 09:41:56 -03:00
Tony
cd1d026f97
fix: fails to build if the project path contains glob characters ( #11961 )
...
* Escape glob patterns
* Add change file
* Reword the change
2025-01-07 09:22:43 -03:00
Aurélien Jacobs
848d0e060e
chore(deps): update cargo_toml for edition 2024 [ fix #10412 ] ( #12270 )
...
Co-authored-by: Fabian-Lars <github@fabianlars.de >
2025-01-06 20:34:49 +01:00
Max Katz
ae75a353d0
chore: update copyright year ( #12170 )
...
Co-authored-by: Max Katz <zrxmax@icloud.com >
2025-01-06 13:46:06 +01:00
gerald
70f96e3222
chore(deps/driver): update hyper to version 1 ( #12240 )
...
Co-authored-by: Fabian-Lars <github@fabianlars.de >
2025-01-06 11:12:08 +01:00
renovate[bot]
3acf679c87
chore(deps): update dependency rollup to v4.30.0 (dev) ( #12263 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-06 10:47:03 +01:00
renovate[bot]
22d5852208
chore(deps): update dependency rollup to v4.29.2 (dev) ( #12238 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-05 14:58:18 +01:00
renovate[bot]
701778a195
chore(deps): update dependency fast-glob to v3.3.3 (dev) ( #12233 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-05 12:46:30 +01:00
Patrick F.
a0f2c84d51
feat(cli): Add 64x64 png to default tauri icon command ( #12204 )
2025-01-04 23:26:18 +01:00
github-actions[bot]
f86e2387c9
apply version updates ( #12183 )
...
Co-authored-by: FabianLars <30730186+FabianLars@users.noreply.github.com >
2025-01-04 01:17:49 +01:00
Fabian-Lars
26fc9558fe
fix(cli): Re-add TriggeredKill in dev watcher logic ( #12178 )
2025-01-04 00:39:07 +01:00
renovate[bot]
90dc7b19fc
chore(deps): update rust crate which to v7 (dev) ( #12144 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-03 23:28:10 +01:00
renovate[bot]
c681d835d5
chore(deps): update dependency vite to v6 (dev) ( #12133 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de >
2025-01-03 23:05:29 +01:00
Fabian-Lars
208d8968ce
ci(deps): Update repository-dispatch to v3 ( #12169 )
2025-01-03 22:34:55 +01:00
Fabian-Lars
aaa7d9bb13
ci: Switch to upstream create-pull-request ( #12123 )
...
* ci: Switch to upstream create-pull-request
* what the actual f
* fix version comment
---------
Co-authored-by: Tillmann <28728469+tweidinger@users.noreply.github.com >
2025-01-03 22:48:50 +02:00
github-actions[bot]
d150a40b09
Apply Version Updates From Current Changes ( #12165 )
...
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com >
2025-01-03 15:34:54 +01:00
Fabian-Lars
881729448c
fix(cli): Ignore file access events ( #12164 )
2025-01-03 15:00:31 +01:00
github-actions[bot]
cd841d8e33
Apply Version Updates From Current Changes ( #11659 )
...
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com >
2025-01-02 19:29:17 +01:00
renovate[bot]
3d8a39aa4a
chore(deps): update rust crate resvg to 0.44.0 (dev) ( #12126 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-02 16:55:09 +01:00
renovate[bot]
50e92d097b
chore(deps): update rust crate worker to 0.5 (dev) ( #12127 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de >
2025-01-02 16:44:07 +01:00
renovate[bot]
bc4dfcd798
chore(deps): update rust crate pico-args to 0.5 (dev) ( #12125 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-02 16:12:18 +01:00
renovate[bot]
832ad10e3a
chore(deps): update rust crate cargo_metadata to 0.19 (dev) ( #12113 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de >
2025-01-02 15:54:39 +01:00
renovate[bot]
0198354961
chore(deps): update rust crate oxc crates to 0.38 (dev) ( #12122 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de >
2025-01-02 14:56:23 +01:00
renovate[bot]
c0a5a10cff
chore(deps): update rust crate notify-debouncer-mini to 0.5 (dev) ( #12118 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de >
2025-01-02 14:08:50 +01:00
Dmitry Dygalo
d7f48cb324
chore(deps): Update jsonschema to 0.28 ( #12089 )
2025-01-02 13:22:08 +01:00
Tony
a16796a555
fix(api): use array for channel queueing ( #12069 )
2025-01-02 12:19:50 +01:00
renovate[bot]
231e9a5ee1
chore(deps): update rust crate image to 0.25.5 (dev) ( #12105 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fabian-Lars <github@fabianlars.de >
2025-01-02 01:11:42 +01:00
renovate[bot]
b0ddee8992
chore(deps): update rust crate wry to 0.48 (dev) ( #12101 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de >
2025-01-02 01:01:31 +01:00
renovate[bot]
5319325886
chore(deps): update dependency @napi-rs/cli to v2.18.4 (dev) ( #12097 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-01 23:41:07 +01:00
renovate[bot]
ccce63f8c8
chore(config): migrate renovate config ( #12099 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fabian-Lars <github@fabianlars.de >
2025-01-01 23:35:57 +01:00
renovate[bot]
da958395ff
chore(config): migrate renovate config ( #12096 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fabian-Lars <github@fabianlars.de >
2025-01-01 23:28:38 +01:00
renovate[bot]
1737df3e33
chore(deps) Update Tauri Bundler (dev) ( #11669 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de >
2025-01-01 23:12:29 +01:00
renovate[bot]
2df426ed1d
chore(deps) Update Rust crate syn to v2.0.94 (dev) ( #12094 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-01 22:27:28 +01:00
renovate[bot]
361fdb3585
chore(deps) Update Rust crate syn to v2.0.94 (dev) ( #12088 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-01 22:16:42 +01:00
renovate[bot]
838b2b8b3b
chore(deps) Update Tauri Build ( #12087 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-01 22:24:34 +08:00
renovate[bot]
f87e0485ca
chore(deps) Update Tauri API Definitions ( #12084 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-01 22:21:46 +08:00
renovate[bot]
b794ca4a27
chore(deps) Update Rust crate syn to v2.0.93 ( #12083 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-01 22:21:08 +08:00
Dimitris Apostolou
8f282c6305
deps: fix crate vulnerabilities ( #12080 )
2025-01-01 00:20:15 +02:00
Lieke
ed118da266
fix: fix typo in AndroidConfig docstring ( #12003 )
2024-12-30 01:25:29 +02:00
Shaun Hamilton
c8700656be
fix(tauri-cli): prevent accidental object permission rm ( #11985 )
2024-12-30 01:18:50 +02:00
renovate[bot]
cdd1ebf81f
chore(deps) Update Tauri Codegen ( #12049 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-27 11:55:57 +08:00
renovate[bot]
253b1872f1
chore(deps) Update Tauri API Definitions ( #12050 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-27 11:40:36 +08:00
renovate[bot]
3ac76bec77
chore(deps) Update Tauri Build to v1.0.95 ( #12047 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-27 11:37:27 +08:00
renovate[bot]
faeec8e965
chore(deps) Update Rust crate syn to v2.0.91 ( #12046 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-27 11:36:28 +08:00
stringhandler
e349dfe572
fix: fix panic caused by removed_resource.is_none ( fix #11955 ) ( #12000 )
2024-12-23 16:11:31 +02:00
Andrew Ferreira
fdaf48fc4a
chore: fix crates.io link ( #12018 )
...
* chore: fix crates.io link
* chore: format file
2024-12-21 02:46:37 +02:00
renovate[bot]
7d38ee987e
chore(deps) Update Tauri Codegen (dev) ( #11999 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-19 16:22:59 +01:00
renovate[bot]
f1167143cd
chore(deps) Update dependency @types/node to v22.10.2 (dev) ( #11943 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-19 13:28:50 +01:00
renovate[bot]
2601811cef
chore(deps) Update Tauri Build to v1.0.24 (dev) ( #11998 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-19 13:22:40 +01:00
Amr Bashir
ca7f025fd8
fix(core): return an error when accessing unmanaged state in command ( #11958 )
...
closes #11949
2024-12-12 23:05:32 +02:00
Tony
17bcec8abe
chore(deps): update all js dev dependencies ( #11941 )
...
- Update vite to v6
- Update svelte to v5
- Bump nanoid to fix audit
- Align api and cli to both use the same node types version
2024-12-11 12:55:38 +02:00
renovate[bot]
f5eacf3283
chore(deps) Update Tauri API Definitions ( #11936 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-11 13:45:49 +08:00
renovate[bot]
6bbf3649f9
chore(deps) Update Tauri Codegen ( #11939 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-11 13:45:08 +08:00
renovate[bot]
22b26a2e36
chore(deps) Update Tauri Build to v1.0.94 ( #11938 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-11 13:43:10 +08:00
renovate[bot]
2a120bdcc0
chore(deps) Update Rust crate syn to v2.0.90 ( #11935 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-11 12:58:54 +08:00
简静凡
0ae06c5ca8
fix: the exclude path in file Cargo.toml of plugin template generated by cli ( #11914 )
2024-12-09 15:36:27 +01:00
Amr Bashir
afad8067d1
chore(deps): update tao to 0.31 ( #11906 )
2024-12-09 12:16:33 +02:00
John Carmack
b37741da6a
fix(feature/specta): Resolve error when using latest version of specta with tauri specta feature ( #11871 )
...
* Update specta feature to use latest specta version; add specta-util dependency (required in specta v2 rc.20)
* Add .changes file
* Update crates/tauri/Cargo.toml
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-12-05 08:56:16 -03:00
Fabian-Lars
2b8a981050
refactor(cli): use cargo run for tauri dev ( #11694 )
...
* x
* todo
* lint
* lint
* rename fn
* lint
* lint
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-12-05 07:38:06 -03:00
Fabian-Lars
1f65fd2bb7
fix(cli): Statically compile msvc runtime ( #11769 )
...
* fix(cli): Statically compile msvc runtime
fixes https://github.com/tauri-apps/tauri/issues/11642
ref https://github.com/swc-project/swc/pull/7965
i only added it for x64 for now but we should monitor x32 (swc removed it for this one again) and aarch64 (swc never added it).
x32 is fairly rare as a dev system and aarch64 didn't seem much testing in general (as a dev system) so i'd prefer to wait and see if it's needed.
note that i don't know if any other tooling (rust etc) need the dyn runtime so that's also something to monitor
* 32bit and arm64
2024-12-04 15:32:09 -03:00
renovate[bot]
9f51bbf1de
chore(deps) Update Tauri Codegen ( #11866 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-04 14:51:30 +08:00
renovate[bot]
475597f97c
chore(deps) Update Rust crate syn to v2.0.90 ( #11865 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-04 14:49:44 +08:00
renovate[bot]
e61225bcc4
chore(deps) Update Rust crate anyhow to v1.0.94 ( #11864 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-04 14:49:21 +08:00
renovate[bot]
01c74f4424
chore(deps) Update Tauri API Definitions ( #11867 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-04 14:48:45 +08:00
Fabian-Lars
882b0aded1
chore: apply clippy suggestions. ( #11849 )
...
* chore: apply clippy suggestions.
* .
* .
2024-12-02 20:36:06 -03:00
Fabian-Lars
89e30ef20d
fix(core): Remove os check on data_store_identifier ( #11817 )
...
* fix(core): Remove os check on `data_store_identifier`
* typo
2024-12-02 20:32:02 -03:00
Fabian-Lars
a692c8937f
fix(bundler): create tauri tools dir first. make tools executable. ( #11852 )
...
* not sure what's going on yet
* .
* fix(bundler): try to create tauri tools dir
* Discard changes to .github/workflows/test-cli-js.yml
* fix
2024-12-02 20:29:42 -03:00
Fabian-Lars
8ba5e16384
ci: msrv compliant lockfile. test cli with 1.77.2 instead of stable. ( #11851 )
2024-12-02 20:28:45 -03:00
Fabian-Lars
b50a1ac0ef
fix(core): Add background color permissions ( #11850 )
...
fixes #11848
2024-12-02 20:27:25 -03:00
Shi Yan
0e2f0b29cd
docs: Add missing info regarding the drop position offset. ( #11406 )
...
* Add missing document regarding the drop position offset.
* Update webview.ts
---------
Co-authored-by: Fabian-Lars <github@fabianlars.de >
2024-12-02 20:40:56 +01:00
renovate[bot]
983634a41f
chore(deps) Update dependency @types/node to v22.9.1 ( #11750 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-02 19:48:33 +01:00
renovate[bot]
2c3e000f73
chore(deps) Update Rust crate url to v2.5.4 ( #11745 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-02 15:38:10 +01:00
Elias Sjödin
a6e84f7d2c
fix(api.js): wrong command for isAbsolute ( #11835 )
2024-11-30 22:04:48 +01:00
Fabian-Lars
d6bed20a0e
refactor(bundler): Move appimage bundler script logic into rust ( #11758 )
2024-11-28 04:52:24 +02:00
lars-berger
18bd639f6e
feat(macos): Add with_data_store_identifier to WebviewBuilder ( #11798 )
2024-11-28 04:43:34 +02:00
Fabian-Lars
53f808674b
feat(bundler): add option to disable CI for just the dmg bundler ( #11799 )
2024-11-28 04:41:19 +02:00
renovate[bot]
9f0d902f6b
chore(deps) Update Tauri Build to v1.0.215 ( #11744 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-27 13:18:33 +08:00
renovate[bot]
df27b4d94c
chore(deps) Update Tauri Macros ( #11803 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-27 13:10:41 +08:00
Fabian-Lars
5188c0fae2
feat(core): Add Scope::is_forbidden ( #11767 )
2024-11-26 14:31:48 +02:00
lars-berger
ba6f370147
fix(core): Initialize command cache when a capability is added ( #11785 )
2024-11-26 14:18:55 +02:00
Amr Bashir
f884bae75b
feat: add tauri::Builder::on_tray_icon_event ( #11742 )
2024-11-21 15:06:57 +02:00
Amr Bashir
fc30b20bea
feat(api/tray): add TrayIcon.setShowMenuOnLeftClick method ( #11726 )
2024-11-21 14:50:41 +02:00
Liigo Zhuang
7a9b920c3e
docs: Remove header images from inline docs ( #11749 )
2024-11-21 14:48:49 +02:00
Amr Bashir
12a48d1e26
fix(api): transform icon when creating icon menu item and predefined about menu item with icon ( #11741 )
2024-11-21 14:22:51 +02:00
AHQ
020ea05561
feat: Implement Badging API ( #11661 )
2024-11-20 02:59:28 +02:00
Amr Bashir
a09e48e396
fix(core): manually simplify patterns for fs scope ( #11730 )
...
closes #11614
Remove UNC manually, instead of `dunce::simplified` because `path` could have `*` in it and that's not allowed on Windows and `dunce::simplified` will check that and return `path` as is without simplification resulting in a missing pattern in scope
for the scope pattern `\\?\C:\path\to\dir\**`, we expect the scope to have:
- `\\?\C:\path\to\dir\**`
- `C:\path\to\dir\**`
but if we use `dunce::simplified`, it will see `**` as invalid path component on Windows and will not simplify the path resulting in a scope that only has `\\?\C:\path\to\dir\**`
2024-11-20 00:50:10 +02:00
renovate[bot]
b37c208d61
chore(deps) Update Tauri API Definitions ( #11668 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-19 13:13:44 +08:00
Fabian-Lars
72feaf99fc
refactor(bundler): remove unused fs utils, add http utils ( #11716 )
2024-11-19 01:23:20 +02:00
Sander Cox
d86aaccb0b
enhance: allow show_menu_on_left_click on Windows ( #11729 )
2024-11-19 00:25:20 +02:00
Kévin TURMEL
93a3a043d3
fix(windows): add Portuguese language in nsis bundle ( fix #11725 ) ( #11727 )
2024-11-19 00:11:16 +02:00
Fabian-Lars
2bc46b061c
docs(examples): fix file-assoc readme cargo build command ( #11711 )
...
closes #11703
2024-11-18 19:50:41 +02:00
Fabian-Lars
b63262cd4d
fix(api.js): Change cb type in mockIPC to return unknown ( #11724 )
2024-11-18 17:50:39 +02:00
Amr Bashir
f2814ed538
fix(cli/info): use XDG_SESSION_DESKTOP instead of DESKTOP_SESSION ( #11663 )
2024-11-14 18:02:22 +02:00
renovate[bot]
ff39ad93b7
chore(deps) Update Tauri Codegen ( #11667 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 13:36:14 +08:00
renovate[bot]
9cb6cad284
chore(deps) Update Rust crate serde to v1.0.215 ( #11666 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 13:21:07 +08:00
jLynx
cccb308c7b
feat(bundler): create signature for .deb bundle ( #11562 )
2024-11-13 03:12:06 +02:00
SpikeHD
dc4d794776
feat(windows, linux): add WebviewWindowBuilder/WebviewBuilder::extensions_path ( #11628 )
2024-11-13 01:20:06 +02:00
Tony
46935212b6
fix: parse json5 capability files when config-json5 is enabled ( #11658 )
2024-11-12 16:44:37 +02:00
Amr Bashir
74212d40d8
feat(cli): include linux DE and session type in tauri info ( #11653 )
2024-11-12 15:59:47 +02:00
Del
c3b1fced38
docs: correct payload property for DragDropEvent.over example ( #11648 )
2024-11-11 17:14:36 +01:00
github-actions[bot]
ef2592b5a8
Apply Version Updates From Current Changes ( #11646 )
...
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com >
2024-11-11 16:25:14 +02:00
amrbashir
7f81f05236
chore: rename change file
2024-11-11 15:45:22 +02:00
Amr Bashir
e8a50f6d76
fix(core): hard code BaseDirectory integer values to avoid regressions when reordering the variants ( #11645 )
...
closes #11633
2024-11-11 14:58:16 +02:00
Daniel Gerhardt
5e94354875
fix(api/dpi): fix toLogical and toPhysical for positions ( #11639 )
2024-11-11 14:21:25 +02:00
Kornel
0fcef3f941
docs: document vanilla JS import alternative ( #11632 )
2024-11-11 14:21:08 +02:00
github-actions[bot]
86f22f0ec9
apply version updates ( #11440 )
...
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com >
2024-11-09 15:47:39 +02:00
Amr Bashir
3f6f07a1b8
chore(deps): update wry to 0.47 and tao to 0.30.6 ( #11627 )
2024-11-09 04:14:22 +02:00
Lucas Fernandes Nogueira
60e86d5f6e
fix(cli): android dev not working on Windows without --host ( #11624 )
...
ref https://discord.com/channels/616186924390023171/1291159454397628477
2024-11-09 02:57:36 +02:00
renovate[bot]
b28435860c
chore(deps) Update Rust crate thiserror to v2 (dev) ( #11604 )
...
* chore(deps) Update Rust crate thiserror to v2
* thiserror v2 on all crates
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-11-08 08:21:38 -03:00
Amr Bashir
229d7f8e22
fix(core): fix child webviews on macOS and Windows treated as full webview window ( #11616 )
...
* fix(core): fix child webviews on macOS and Windows treated as full webview window
closes #11452
* Update .changes/child-windows-macos.md
2024-11-08 08:04:14 -03:00
Ville Säävuori
c561786844
docs: fix typos in drag&drop event.payload ( #11620 )
...
* fix: typo in drag&drop event.payload
'hover' -> 'over'
* fix: another typo
'hover' -> 'over'
2024-11-08 09:50:10 +08:00
Shaun Hamilton
6bf917941f
feat(cli): add tauri remove command ( #11322 )
2024-11-07 19:58:25 +02:00
Tony
8e8312bb82
ci: unpin ravif ( #11608 )
2024-11-07 09:09:05 +01:00
renovate[bot]
f550a3f471
chore(deps) Update Tauri Bundler (dev) ( #11601 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-06 13:25:49 -03: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
Lucas Nogueira
a5bf48eab0
fix: CLI version on metadata file
2024-10-21 09:24:34 -03:00
Lucas Nogueira
7a1a3276c4
chore: bump tauri-utils dependency versions
2024-10-21 07:30:06 -03:00
Lucas Nogueira
8ca0e4dd2c
chore(ci): bump tauri-utils with WiX version change
2024-10-20 11:13:40 -03:00
github-actions[bot]
1367ff5ec6
apply version updates ( #11373 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-10-20 10:29:13 -03:00
Lucas Fernandes Nogueira
fbb45c674c
fix(api): broken addPluginListener implementation, closes #8068 ( #11423 )
2024-10-20 09:07:51 -03:00
Lucas Fernandes Nogueira
eb61d44f9f
feat(core): fallback to Window and AppHandle resource table on close ( #11398 )
...
this changes the resource plugin close() API to fallback to the parent window and AppHandle resource tables, letting the JS to delete global resources.
The need for this was brought up on https://github.com/tauri-apps/plugins-workspace/pull/1860#issuecomment-2419175001
the store plugin stores the resources in the AppHandle, and we want the existing close() API to work on global resources otherwise every consumer needs their own resource close commands
2024-10-17 12:37:35 -03:00
Amr Bashir
c8f55b615d
feat(bundler): add wix > version option ( #11388 )
...
* feat(bundler): add `wix > version` option
closes #11253
* Update crates/tauri-bundler/src/bundle/settings.rs
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-10-17 12:37:15 -03:00
renovate[bot]
bd1b2a1e85
chore(deps) Update Tauri API Definitions ( #10807 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-17 11:04:06 -03:00
renovate[bot]
37557ffa35
chore(deps) Update Tauri CLI (dev) ( #10808 )
...
* chore(deps) Update Tauri CLI
* html5ever 0.26
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-10-17 11:03:46 -03:00
Amr Bashir
6cd917c227
feat(core): add methods for predefined items with specific text on Menu/SubmenuBuilder ( #11390 )
...
closes #11326
2024-10-17 11:03:20 -03:00
renovate[bot]
8278a36318
chore(deps) Update Rust crate uuid to v1.11.0 ( #11049 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-10-17 10:24:00 -03:00
renovate[bot]
f8b559dacd
chore(deps) Update Rust crate windows-registry to 0.3.0 ( #11193 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-17 10:23:30 -03:00
renovate[bot]
add09c8034
chore(deps) Update Rust crate brotli to v7 ( #11195 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-17 10:21:30 -03:00
renovate[bot]
ea50f65f89
chore(deps) Update Rust crate brotli to v7 ( #11197 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-10-17 10:07:20 -03:00
Huang Xin
e1bf6ef8cb
fix(core): expose content-range header in asset protocol ( #11374 )
2024-10-17 08:41:27 -03:00
renovate[bot]
20c142f749
chore(deps) Update Rust crate json-patch to v3 ( #11377 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-17 08:38:19 -03:00
Vincent Esche
e4c9268b19
feat(cli): make tauri/cli fully support projects with non-standard structure ( #11258 )
...
* feat(cli): add support for providing custom app/src paths to tauri's CLI via optional env vars
* fix tests
* rename env vars (app vs src is confusing)
* add change file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-10-17 08:24:20 -03:00
Lucas Fernandes Nogueira
2e88633ba4
chore: remove references to unused __TAURI_INTERNALS__.metadata ( #11369 )
2024-10-15 13:26:43 -03:00
Lucas Nogueira
25cc5655c0
chore(ci): delete processed change file
2024-10-14 23:20:41 -03:00
github-actions[bot]
df83e5c7fc
apply version updates ( #11361 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-10-14 22:46:51 -03:00
Lucas Fernandes Nogueira
3cb73d08c6
fix(core): mark event commands as async ( #11355 )
...
* fix(core): mark event commands as async
this fixes a deadlock on certain situations
* add tag
2024-10-14 22:44:22 -03:00
Lucas Fernandes Nogueira
ef2482ddec
fix(core): crash on macOS older than Sequoia ( #11366 )
...
ref https://github.com/tauri-apps/wry/pull/1389
2024-10-14 21:55:42 -03:00
Lucas Fernandes Nogueira
e3b09be7f0
feat(core): add channel interceptor API ( #11362 )
2024-10-14 19:48:22 -03:00
Amr Bashir
bcf279278d
feat(core): add ContextMenu::hpopupmenu on Windows ( #11354 )
...
* feat(core): add `ContextMenu::hpopupmenu` on Windows
closes #11339
* Update crates/tauri/src/menu/mod.rs
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-10-14 13:46:21 -03:00
Kartonrad
68d4460361
docs(android): warn users that passing raw bytes over ipc is not possible on android ( #11333 )
...
* Warn that android is not supported
* Warn that Android is not supported.
* Update crates/tauri/src/ipc/mod.rs
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-10-14 13:19:46 -03:00
Amr Bashir
f3f521f038
fix(core): fallback to WRY_ANDROID_PACKAGE with backticks replaced ( #11348 )
...
ref: https://github.com/tauri-apps/tauri/issues/11332
2024-10-14 13:15:15 -03:00
renovate[bot]
e75f0d27ef
chore(deps) Update Rust crate proc-macro2 to v1.0.87 ( #11192 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-13 22:44:29 +08:00
Paul
e63432fbfc
docs: fix "Capability" documentation example ( #11337 )
2024-10-13 13:23:58 +02:00
Lucas Fernandes Nogueira
627e90c304
fix(ci): install librsvg2-dev on the publish cli workflow ( #11331 )
2024-10-12 17:57:18 -03:00
github-actions[bot]
1bfe2485bb
Apply Version Updates From Current Changes ( #11255 )
...
* apply version updates
* tauri 2.0.3 (patch bump)
---------
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-10-12 12:28:16 -03:00
Lucas Fernandes Nogueira
4a2d51a73a
fix(ci): add missing librsvg2-dev dependency for e2e tests ( #11329 )
2024-10-12 11:27:33 -03:00
Lucas Fernandes Nogueira
6a768cb679
fix(cli): verbose output on tests ( #11328 )
2024-10-12 10:58:42 -03:00
Lucas Fernandes Nogueira
e55bd4ba7a
fix(api): docs for core module __TAURI__ usage ( #11324 )
2024-10-12 16:32:54 +03:00
Amr Bashir
61bffa4feb
fix(bundler): match on Path::extension instead of using Path::ends_with ( #11327 )
2024-10-12 10:31:11 -03:00
Amr Bashir
2d087ee4b7
fix: fix incorrect label passed to ipc protocol ( #11268 )
...
* fix: fix incorrect label passed to `ipc` protocol
closes #11171
* update lock file
* Update .changes/incorrect-label-linux-command.md
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
* Update .changes/incorrect-label-linux-protocol.md
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
* clippy
* try wry from dev
* fix macos build
* fix ios build
* update wry
* Update .changes/incorrect-label-linux-command.md
* wry 0.46
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-10-12 07:46:51 -03:00
Amr Bashir
069c05e44f
fix(cli): resolve bundle > icon glob when searching for .ico for MSI installer ( #11315 )
...
* fix(cli): resolve `bundle > icon` glob when searching for `.ico` for MSI installer
closes #11220
* Update crates/tauri-bundler/src/bundle/settings.rs
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
* Update crates/tauri-bundler/src/bundle/windows/msi/mod.rs
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
* Update crates/tauri-bundler/src/bundle/windows/msi/mod.rs
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-10-11 23:23:55 -03:00
Amr Bashir
b3563e3d6a
feat(cli): add deno support ( #11304 )
...
* feat(cli): add deno support
ref: https://github.com/denoland/deno/issues/20738
* Update packages_nodejs.rs
* typo
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-10-11 16:48:22 -03:00
Amr Bashir
d609bef9fd
fix(cli & core): use unescaped package id in proguard file ( #11314 )
...
* fix(cli & core): use unescaped package id in proguard file
closes #11310
* add monkey patch for wry proguard
* fix tests
* typo
* remove wry fix
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-10-11 16:17:29 -03:00
Lucas Fernandes Nogueira
4731f0cf31
fix(core): expose ipc::Invoke ( #11290 )
2024-10-11 08:52:50 -03:00
Lucas Fernandes Nogueira
504bb8ec8c
fix(bundler): enhance DMG creation script ( #11287 )
2024-10-11 08:52:19 -03:00
Amr Bashir
1d3f51e100
feat: add back tauri::Builder::on_menu_event ( #11228 )
...
* feat: add back `tauri::Builder::on_menu_event`
* fix build
* fix build and fmt
* fix mobile
2024-10-09 11:09:42 -03:00
Huang Xin
04fd3a7db5
fix(core): return empty body for HEAD requests to asset protocol, closes #11263 ( #11264 )
2024-10-08 04:07:42 +03:00
Alex Sandri
eda5713eab
feat(bundler/nsis): add Italian language ( #11242 )
2024-10-07 19:56:14 +03:00
Lucas Fernandes Nogueira
3e9fd0665c
fix: npm audit ( #11243 )
...
the audit failed, so the 2.0.2 release is failing. I'm also adding the latest merged change to the 2.0.2 release in this change so we're in sync in the changelog.
2024-10-07 19:23:28 +03:00
Amr Bashir
a49a19ffa3
fix(bundler): wrap Exec in desktop with quotes, rename appimage main binary if has spaces ( #11218 )
...
* fix(bundler): wrap `Exec` in desktop with quotes, rename appimage main binary if has spaces
* Update .changes/main-binary-name-spaces-linux.md [skip ci[
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-10-06 14:08:38 -03:00
github-actions[bot]
9102faa4b3
apply version updates ( #11209 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-10-06 08:41:18 -03:00
Lucas Fernandes Nogueira
03e7590429
feat(core): expose invoke key for custom IPC implementations ( #11235 )
...
custom IPC systems that manually call Webview::on_message must know the invoke key checked by Tauri. This exposes that key in the App/AppHandle instances.
This is safe because the key is never leaked to remote denied webview URLs
2024-10-06 07:36:00 -03:00
Hamir Mahal
e2a4da027c
fix: usage of node12 which is deprecated ( #11224 )
2024-10-05 13:22:18 -03:00
Lucas Fernandes Nogueira
e968b3d252
fix(api): actually publish with the latest tag ( #11219 )
...
we missed one `--tag next` usage in #11199
2024-10-04 10:13:57 -03:00
Krishna Chaitanya
858b3516a0
fix(windows): fix command bug in update elevated task ( fix #11216 ) ( #11217 )
2024-10-04 10:01:48 +03:00
Lucas Fernandes Nogueira
4475fbb502
chore(cli): update cargo-mobile2 to adjust lib name validation ( #11208 )
2024-10-03 13:46:49 -03:00
github-actions[bot]
6d98f2462b
apply version updates ( #11207 )
...
Co-authored-by: tweidinger <tweidinger@users.noreply.github.com >
2024-10-03 09:01:02 -03:00
Lucas Fernandes Nogueira
6f3a2b38f0
chore(tauri): enhance Manager::add_capability documentation ( #11206 )
...
* chore(tauri): enhance Manager::add_capability documentation
* enhance example
* add note on config
2024-10-03 20:36:36 +09:00
Lucas Fernandes Nogueira
0ab2b33064
fix: downgrade MSRV to 1.77.2 to support Windows 7 ( #11205 )
...
* fix: downgrade MSRV to 1.77.2 to support Windows 7
* add chang file
2024-10-03 08:07:50 -03:00
github-actions[bot]
983e7800b6
apply version updates ( #11201 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-10-02 10:54:04 -03:00
Lucas Fernandes Nogueira
be683e2ac3
fix: publish NPM packages with latest tag ( #11199 )
2024-10-02 10:37:42 -03:00
Lucas Fernandes Nogueira
c7b9a53525
chore: promote to v2 stable ( #11198 )
...
* chore: promote to v2 stable
- deletes all RC change files
- adds a new change file to promote all packages to v2 stable
- manually fix the tauri-driver, tauri-macos-sign, tauri-bundler versions so the next covector bump will move them to 2.0.0
- manually patch the metadata-v2.json file so the next covector update will mark all packages as 2.0.0
* ignore audit vuln without fixes
* bump msrv to 1.78
* run covector version
* fix sync lockfile covector
* #[allow(clippy::manual_inspect)]
2024-10-02 09:42:45 -03:00
github-actions[bot]
11b5e9c525
apply version updates ( #11175 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-10-02 07:36:42 -03:00
Lucas Fernandes Nogueira
a08e6ffa6f
feat(cli): enhance Android dev port forwarding, use host IP for android devices, closes #11137 ( #11185 )
...
* feat(cli): enhance Android dev port forwarding, closes #11137
this changes the `android dev` port forwarding (that is actually handled by the `android-studio-script` command - triggered by our Gradle plugin) with some enhancements:
- make the whole process more resilient by checking if the port was actually forwarded and rerunning the `adb reverse` command until it tells us the forward is ready
- if the `adb devices` list is empty, retry a few times (waiting a few seconds) to tolerate devices being booted - slows down "raw builds" (Build Project Android Studio menu for instance) that shouldn't happen often anyway - if you're running `android dev` you're usually running the app on a device instead of simply testing builds
* use host IP to run on android physical device
2024-10-02 07:01:29 -03:00
Lucas Fernandes Nogueira
6cfe7edf63
feat(cli): retain log verbosity when running a mobile IDE script ( #11186 )
2024-10-02 03:58:54 +03:00
Lucas Fernandes Nogueira
11e9f2eb83
feat(cli): add clap parse test ( #11189 )
...
lets us catch runtime errors early on the testing phase - for instance when we add two arguments with the same flag
2024-10-01 20:53:39 -03:00
Lucas Fernandes Nogueira
f5d61822bf
fix(cli): iOS app signature not retaining entitlements, closes #11089 ( #11184 )
...
* fix(cli): iOS app signature not retaining entitlements, closes #11089
The IPA does not retain the entitlements as a regression from #10854 which removed the signing step from the build() and archive(), deferring to the export() call
To retain the entitlements we need to force sign one of the files in the app bundle. The most reliable way to do this is to use a self signed certificate as a dummy signature - it is replaced by the export() call so we do not rely on any user provided certificate
Additionally the export options are incorrectly configuring a manual signing, preventing Xcode from properly managing provisioning profiles, which is also part of the fix
* fix header
2024-10-01 10:15:42 -03:00
Lucas Fernandes Nogueira
60a5aea53d
feat(cli): support Trunk for iOS dev out of the box ( #11181 )
2024-09-30 13:54:13 -03:00
Amr Bashir
e10fdb786c
revert: revert #10969 , consistent product_code ( #11182 )
...
closes #11178
2024-09-30 19:42:09 +03:00
renovate[bot]
0c87e05513
chore(deps) Update dependency @rollup/plugin-typescript to v12 ( #11123 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-29 07:42:43 -03:00
renovate[bot]
25e7833701
chore(deps) Update Tauri Bundler ( #11122 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-29 07:42:18 -03:00
Amr Bashir
354be36d4e
refactor(core)!: pass webview label to uri scheme protocol handlers ( #11163 )
...
* refactor!(core): pass webview label to uri scheme protocol handlers
close #10691
* Add `UriSchemeContext`
* doctests
2024-09-29 07:41:26 -03:00
github-actions[bot]
12de4fa7c7
apply version updates ( #11062 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-09-27 17:51:55 -03:00
Lucas Fernandes Nogueira
df24cb9442
fix(cli): pbxproj parser not expecting underlines in build config IDs ( #11168 )
2024-09-27 14:36:38 -03:00
Amr Bashir
de7414aab9
feat: add Window::set_enabled and Window::is_enabled ( #11154 )
...
* feat: add `Window::set_enabled` and `Window::is_enabled`
closes #6660
* license headers
* fix build
* fix mobile and macos
* fix macos
* again
* unsafe
* fix macos is_enabled
* update example
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-09-27 14:35:01 -03:00
Amr Bashir
a49fc999fc
fix(core): store the hosting Window directly on Webview and WebviewWindow ( #11161 )
...
closes #11159
2024-09-27 14:15:38 -03:00
Amr Bashir
1d8b67b297
feat(core): support async functions in mobile_entry_point macro ( #11162 )
...
closes #11158
2024-09-27 14:06:23 -03:00
Amr Bashir
d9d2502b41
feat: add Webview::show and Webview::hide ( #11140 )
...
closes #11126
2024-09-27 08:30:29 +03:00
Olivier Lemasle
58bab8b35b
docs: fix formatting of JS comments for API reference ( #11148 )
2024-09-26 15:05:56 +02:00
Fabian-Lars
9e46e07784
Revert "chore(cli/deps): temporarily add tower dependency to fix compile error without --locked ( #11136 )" ( #11146 )
2024-09-26 15:05:33 +02:00
Tony
95df53a2ed
chore: add missing set theme change file in #10210 ( #11143 )
2024-09-26 07:26:04 +03:00
Amr Bashir
0b4495996d
refactor!: simplify TrayIconEvent in JS by tagging it with type field ( #11121 )
...
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com >
2024-09-26 06:12:02 +03:00
Amr Bashir
544328d5a3
fix(nsis): properly handle Webview2 download return value ( #11139 )
...
port of #11131 to 2.x
2024-09-26 04:53:05 +03:00
chip
5621174b05
feat: add ScopeObjectMatch trait for easy scope validation ( #11132 )
2024-09-26 02:22:37 +03:00
Fabian-Lars
2a654fdb8d
chore(cli/deps): temporarily add tower dependency to fix compile error without --locked ( #11136 )
2024-09-26 02:08:07 +03:00
Amr Bashir
a944b9b05b
feat(cli): add --github-workflows ( #11118 )
...
closes #11117
2024-09-25 03:11:38 +03:00
thep0y
06718b4569
feat(bundler): improve GitHub mirror URL generation with custom templates ( #11096 )
2024-09-24 19:04:41 +03:00
Lucas Fernandes Nogueira
9af08f93e4
fix(core): state tests ( #11116 )
2024-09-24 12:09:34 -03:00
Olivier Lemasle
dfba0ede68
fix(bundler): Detect ARM gnueabi as soft-float ( fix : #10970 ) ( #11084 )
...
* Detect ARM gnueabi as soft-float (armel)
Detect ARM gnueabi as soft-float (armel) instead of hard-float (armhf).
Also change the signature of `tauri_bundler::bundle::Settings::binary_arch`
to return an enum instead of a `&str`.
* Update .changes/bundler-gnueabi-armel.md
* fix dmg
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-09-24 11:13:22 -03:00
Lucas Fernandes Nogueira
1efa5e7184
fix(core): rerun build script if platform config changes, closes #10963 ( #11099 )
2024-09-24 11:02:34 -03:00
Amr Bashir
8f3f010e6d
refactor(core): return state in unmanage ( #11105 )
...
* refactor(core): return state in `unmanage`
* Update crates/tauri/src/lib.rs [skip ci]
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
2024-09-24 10:53:15 -03:00
Fabian-Lars
4078923f6b
fix(ios): Don't set macOS deployment target when building for iOS ( #11115 )
...
* fix(ios): Don't set macOS deployment target when building for iOS
fixes #11103
* make it look nice :)
2024-09-24 10:51:36 -03:00
Amr Bashir
8d381a71e8
test: add tests for StateManager ( #11106 )
...
* test: add tests for StateManager
* clippy
* update lockfile
* fix audit
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-09-24 08:51:54 -03:00
Lucas Fernandes Nogueira
948772a657
refactor(api): change button_state to camelCase ( #11114 )
2024-09-24 08:18:52 -03:00
Tillmann
e08c4e6888
Change V1 links to V2 site ( #11111 )
...
* Change V1 links to V2 site
* update lockfile
---------
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com >
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev >
2024-09-24 08:09:00 -03:00
Amr Bashir
cbe3bd80d8
fix(api): convert Position to PhsyicalPosition for TrayIconEvent ( #11104 )
...
* fix(api): convert `Position` to `PhsyicalPosition` for `TrayIconEvent`
ref: https://github.com/tauri-apps/plugins-workspace/pull/1822#issuecomment-2365442240
* fix lint
* Add missing `doubleClick` event type
* change file
* update lockfile
* Update .changes/api-tray-icon-event-value-mismatch-type.md [skip ci]
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-09-24 08:04:53 -03:00
dependabot[bot]
ae12f3cc90
build(deps-dev): bump rollup from 4.21.0 to 4.22.4 in /packages/api ( #11109 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 4.21.0 to 4.22.4.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v4.21.0...v4.22.4 )
---
updated-dependencies:
- dependency-name: rollup
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-09-24 05:20:45 +03:00
Tony
11db7be6c2
feat(core): add a new function to set theme dynamically ( #10210 )
...
closes #5279
2024-09-24 05:18:53 +03:00
Lucas Fernandes Nogueira
8d22c0c814
fix(cli): only modify iOS code sign style when manually signing ( #11101 )
2024-09-23 18:35:15 -03:00
Lucas Fernandes Nogueira
56e087471a
fix(cli): ios xcode-script arg parsing when using bun, closes #10742 ( #11100 )
2024-09-23 18:31:29 -03:00
Amr Bashir
d369e8db5f
chore(deps): update muda to 0.15 and tray-icon to 0.18 ( #11097 )
2024-09-23 18:20:40 -03:00
Alex
28169ae097
fix(cli): Fix crate type ( #11080 )
...
* Fix crate type
Fixes https://github.com/tauri-apps/tauri/issues/9547
* Fix crate type
Fixes https://github.com/tauri-apps/tauri/issues/9547
* Fix crate type
Fixes https://github.com/tauri-apps/tauri/issues/9547
* Fix crate type
Fixes https://github.com/tauri-apps/tauri/issues/9547
2024-09-21 07:57:35 -03:00
Amr Bashir
62b3a5cd1c
fix(core): share webcontext between webviews ( #11043 )
...
* fix(core): share webcontext between webviews
closes #10981
* update wry version
* Update crates/tauri-runtime-wry/src/lib.rs [skip ci]
* on linux, only register protocol once per context
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-09-21 07:42:07 -03:00
Amr Bashir
67b8a9a17a
feat(cli): generate signatures for non-zipped targets with createUpdaterArtifacts: v1Compatible ( #10940 )
2024-09-20 08:47:36 -03:00
Amr Bashir
f57a729cd8
feat: add upgradeCode config option ( #11039 )
...
* feat: add `upgradeCode` config option
* fix build on other platforms
* Update crates/tauri-bundler/src/bundle/settings.rs [skip ci]
* move to subcommand, use same product name fallback as the bundler
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-09-20 08:44:41 -03:00
renovate[bot]
3f1a8a4e7e
chore(deps) Update Tauri Bundler ( #11048 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-20 08:21:59 -03:00
Amr Bashir
8ab2e3cc3e
refactor(core): simplify and document push_pattern ( #11065 )
2024-09-20 08:21:30 -03:00
Amr Bashir
9014a3f176
feat: add webview.clear_all_browsing_data ( #11066 )
...
* feat: add `webview.clear_all_browsing_data`
closes #6567
* fix build on iOS and android
* fix command name references
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-09-20 08:18:07 -03:00
Amr Bashir
0ddfc59d67
feat(core): add Manager::unmanage ( #11071 )
...
* feat(core): add `Manager::unmanage`
closes #10897
* remove state craet
* fix typo
* Update crates/tauri/src/lib.rs
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-09-20 07:53:58 -03:00
Fabian-Lars
b88e22a5fe
fix(cli): set ios deployment target only when building for ios ( #11063 )
2024-09-20 07:31:51 -03:00
Alex Moon
40a45b564d
fix(windows): Handle root paths that cannot be canonicalized ( #10838 )
2024-09-20 02:33:55 +03:00
Amr Bashir
62b52f60a2
fix(cli/add): use >= for npm and ~ for other package managers ( #11064 )
...
* fix(cli/add): use `>=` for npm and `~` for other package managers
closes #10906
* headers
* fix audit
* fix headers
2024-09-19 23:11:40 +03:00
SpikeHD
a247170e1f
feat: Expose ability to enable browser extensions in WebView2 ( #11056 )
2024-09-19 18:46:23 +03:00
Amr Bashir
fbff6388ad
refactor(bundler): group and organize template file structure ( #11046 )
...
This PR groups files in a predictable mannar, so instead of
```
windows/
|_ templates
|_ main.wxs
|_ installer.nsi
|_ nsis.rs
|_ msi.rs
```
we group them next to each other
```
windows/
|_ msi
|_ main.wxs
|_ mod.rs
|_ nsis
|_ installer.nsi
|_ mod.rs
```
2024-09-18 17:00:27 +03:00
renovate[bot]
4f374a26a3
chore(deps) Update Tauri Build to v1.0.89 ( #11045 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 21:26:58 +08:00
renovate[bot]
4d4e7bf318
chore(deps) Update Rust crate syn to v2.0.77 ( #11044 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 21:25:59 +08:00
github-actions[bot]
cbdcee61dc
Apply Version Updates From Current Changes ( #11029 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-09-17 09:02:10 -03:00
Lucas Fernandes Nogueira
96c1ec3b89
fix(cli): test timeout ( #11035 )
2024-09-17 08:33:45 -03:00
Amr Bashir
5ff0bbc547
docs: add RELEASING.md handbook ( #11026 )
...
* docs: add RELEASING.md handbook
* Update .github/RELEASING.md
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com >
* Update .github/RELEASING.md
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com >
* Update .github/RELEASING.md
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com >
* Update .github/RELEASING.md
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com >
* Update .github/RELEASING.md
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com >
* Update .github/RELEASING.md
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com >
* Update .github/RELEASING.md
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com >
* Update .github/RELEASING.md
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com >
* Update .github/RELEASING.md
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com >
* Update .github/RELEASING.md
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com >
* Update .github/RELEASING.md
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com >
* Update .github/RELEASING.md
---------
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com >
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-09-17 07:38:15 -03:00
Amr Bashir
09de8c6593
refactor(cli/node): migrate jest to vitest for tests ( #11034 )
...
* refactor(cli/node): migrate `jest` to `vitest` for tests
* fix js audit
2024-09-17 07:36:03 -03:00
Amr Bashir
5f694c3d4c
ci: use correct version for cloudflare/wrangler-action action ( #11033 )
2024-09-17 11:10:46 +02:00
Amr Bashir
a1cce04260
feat: add tauri-schema-worker ( #10871 )
2024-09-17 00:52:56 +03:00
Amr Bashir
ad294d274d
feat(core): add app > windows > create option to disable window creation at startup ( #11032 )
...
* feat(core): add `app > windows > create` option to disable window creation at startup
closes #10950
* clippy
* clippy
* update docs
* Update .changes/window-config-create.md
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-09-16 17:03:25 -03:00
Amr Bashir
ddf69157b5
feat(api): add {LogicalPosition,LogicalSize}.toPhysical method ( #11031 )
...
closes #11008
2024-09-16 16:43:54 -03:00
Amr Bashir
9bb8fc6189
feat(cli/plugin): add --no-example flag ( #11030 )
...
closes #11009
2024-09-16 16:41:21 -03:00
Lucas Fernandes Nogueira
551e0624a9
refactor(core): remove responder from custom invoke systems ( #11027 )
...
* refactor(core): remove responder from custom invoke systems
the responder can be set directly in the WebviewWindow::on_message call
* fix tests
2024-09-16 12:20:50 -03:00
Lucas Fernandes Nogueira
e7fd676c27
feat(core): inject invoke key in custom invoke system script ( #11025 )
...
* feat(core): inject invoke key in custom invoke system script
* fix fmt
2024-09-16 12:10:01 -03:00
Felix Salazar
e266f2f35e
docs: update CONTRIBUTING.md with .changes instructions ( #11013 )
2024-09-16 16:22:35 +03:00
github-actions[bot]
c530de4fd0
Apply Version Updates From Current Changes ( #11019 )
...
Co-authored-by: Legend-Master <Legend-Master@users.noreply.github.com >
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
2024-09-16 10:52:24 +02:00
Amr Bashir
e5f0372775
chore: add change file for #11016 ( #11018 )
2024-09-16 13:17:01 +08:00
Tony
58465d4f7d
fix(core): missing NSImage feature on objc2-app-kit ( #11016 )
2024-09-16 07:40:26 +03:00
github-actions[bot]
b1dacd539a
Apply Version Updates From Current Changes ( #11014 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-09-15 18:36:42 -03:00
Lucas Nogueira
a12bf148d6
fix(covector): unexpected preminor bump
2024-09-15 17:53:44 -03:00
Mads Marquart
bc4804d484
feat: Migrate to objc2 ( #10924 )
...
* Migrate from objc/cocoa to objc2
* Update crates/tauri-runtime-wry/src/webview.rs
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-09-15 17:15:47 -03:00
github-actions[bot]
63264a2914
Apply Version Updates From Current Changes ( #11010 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-09-15 16:56:23 -03:00
Amr Bashir
94e9d476ef
fix: fix main_binary_name includes .exe regression on Windows ( #11011 )
...
* fix: fix `main_binary_name` includes `.exe` regression on Windows
* Update crates/tauri-bundler/src/bundle/settings.rs
* Update .changes/main_binary_name-exe.md
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-09-15 16:30:47 -03:00
Lucas Fernandes Nogueira
5a0e922d40
feat(cli): discover src/main.rs binary automatically ( #11007 )
2024-09-15 11:21:31 -03:00
github-actions[bot]
4f44ebf8a7
Apply Version Updates From Current Changes ( #10953 )
...
* apply version updates
* bundler back to 2.0.0-rc
---------
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-09-15 09:54:50 -03:00
renovate[bot]
db64d088ba
chore(deps) Update Rust crate syn to v2.0.77 ( #10954 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-15 08:37:32 -03:00
renovate[bot]
0b00428365
chore(deps) Update Tauri Build to v1.0.87 ( #10955 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-15 08:37:24 -03:00
renovate[bot]
71f4ca564b
chore(deps) Update Tauri Bundler ( #10957 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-15 08:37:10 -03:00
renovate[bot]
184f0ad22b
chore(deps) Update Tauri Codegen ( #10958 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-15 08:36:58 -03:00
renovate[bot]
54be2f72d7
chore(deps) Update Tauri macOSSign to v1.0.87 ( #10960 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-15 08:36:47 -03:00
Guilherme Oenning
44d54a0710
fix(bundler): Use appimage files instead of debian files when building appimage ( #11005 )
...
* use appimage settings instead of deb
* add changeset
2024-09-15 08:36:04 -03:00
Lucas Fernandes Nogueira
6c5340f8b2
feat(cli): add log plugin to the app template ( #11004 )
...
* feat(cli): add log plugin to the app template
The log plugin is really important for mobile development - without it you don't have a clue about logs and stdout for iOS apps
* patch tauri dep for local testing
* clippy
2024-09-15 08:35:38 -03:00
Amr Bashir
35bd9dd3dc
feat: add mainBinaryName option ( #10977 )
...
* feat: add `mainBinaryName` option
* remove unused imports [skip ci]
* enhance error message [skip ci]
* migrate `mainBinaryName`
* change file
* revert bin src_path
* add link
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-09-15 07:51:01 -03:00
Lucas Fernandes Nogueira
3ad2427dc0
feat(cli): enhance iOS logs ( #10961 )
...
enhance simulator and device run output by only displaying app logs by default, and printing full process logs when pedantic verbosity is requested
ref https://github.com/tauri-apps/cargo-mobile2/pull/388
2024-09-15 07:37:56 -03:00
Lucas Fernandes Nogueira
5eb036f339
feat(core): restart() handles binary name change for macOS ( #11002 )
2024-09-14 13:30:00 -03:00
Amr Bashir
4ba7b94b59
refactor(bundler/nsis): fix migration from MSI to NSIS ( #10996 )
...
* refactor(bundler/nsis): fix migration from MSI to NSIS
* read into $OldMainBinaryName
2024-09-14 16:45:58 +03:00
Tony
def875193a
fix(nsis): check main binary name is not empty ( #11000 )
...
* Check main binary name is not empty
* Missing !=
2024-09-14 13:33:43 +03:00
Amr Bashir
b13cb208a3
fix(bundler): store and remove old main binary on updates if main binary name has change ( #10962 )
2024-09-13 16:09:17 +03:00
Lucas Fernandes Nogueira
00182ebf89
fix(core): requestPermissions not resolving on Android ( #10988 )
...
the checkPermissions command is also a PermissionCallback, and the annotation check is incorrectly ignoring that fact, so the requestPermissions is never resolved for the geolocation plugin
2024-09-13 09:08:31 -03:00
Amr Bashir
63649d82d2
fix(core/acl): fix core:default schema generation ( #10971 )
...
* remove dbg! in resources test
* use methods from `fs` and `env` qualified
* share `ACL_MANIFESTS_FILE_NAME` and `CAPABILITIES_FILE_NAME` consts across crates
* simplifiy `Manifest::new` code for better readability
* move reading global api scripts logic next to the function that defines it
* [tauri-build] move acl logic from lib.rs to acl.rs
* use const value for schema instead of enum value with a single variant
* remove unnecessary info from permissions hover
* move related functions next to each other & improve readability of others
* use methods from `fs` and `env` qualified
* fix warning, unused return in test
* document some functions
* improve generated schema for better scope schema completion, simplify, reorganize and document the logic
previously if you had `fs` and `http` plugins added in a project
and then try to write an extended permission for `fs:allow-app-meta`
```json
{
"identifier": "fs:allow-app-meta",
"allow": [ <here> ]
}
```
and even though identifier is from `fs` plugin,
the JSON schema suggests `path` and `url`.
Now it will only suggest relevant field which is `path`
* resolve permissions from other plugins, generate `core:default` as a normal set instead of special logic
* move `PERMISSION_SCHEMAS_FOLDER_NAME` to acl module
* use gneric trait because of MSRV
* ensure `gen/schemas` dir is created
* clippy
2024-09-13 08:58:26 -03:00
Amr Bashir
a1e88d2b57
enhance(bundler/wix): generate consistent product code for MSI installer derived from identifier ( #10969 )
...
* enhance(bundler/wix): generate consistent product code for MSI installer derived from identifier
* Update .changes/wix-consistent-product-code.md [skip ci]
* Update .changes/wix-consistent-product-code.md [skip ci]
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-09-13 08:45:03 -03:00
Lucas Fernandes Nogueira
fe5ff1228c
refactor(core)!: rename plugin::PermissionState::Unknown to plugin::PermissionState::Prompt ( #10978 )
...
* fix(core): plugin::PermissionState::Unknown wrong display impl
* prompt
* rename variant
* fix
2024-09-13 08:38:59 -03:00
Lucas Fernandes Nogueira
be18ed50d8
fix(core): prevent Proguard from optimizing away custom ser/de classes ( #10982 )
2024-09-12 23:04:25 -03:00
Lucas Fernandes Nogueira
c901d9fdf9
fix(tauri-utils): docs for config::DeepLinkProtocol ( #10979 )
2024-09-12 23:39:08 +03:00
Fabian-Lars
9d468774a9
fix(core): Use productName for FileDescription ( #10975 )
...
* fix(core): Use productName for FileDescription
fixes #10968
fixes #10890
* just unwrap since winres will panic anyway or use the cargo.toml description which we don't want
* regen
* nsis
2024-09-12 20:36:48 +03:00
Amr Bashir
7eb1171e3a
fix(bundler/wix): use product name to generate UpgradeCode for MSI ( #10967 )
...
The upgrade code generation was changed due to an accidental regression in #9375 . Previously `UpgradeCode` was calculated using the main binary name which was `<product_name>.exe`, but #9375 changed the default main binary name to `<cargo-crate-name>.exe` and thus a different UpgradeCode was generetad.
This PR reverts this change to use product name for `UpgradeCode` generation.
2024-09-12 09:22:27 -03:00
thep0y
6566182258
feat(bundler): add TAURI_BUNDLER_TOOLS_GITHUB_MIRRORto specify a GitHub mirror ( #10866 )
...
closes #7338
2024-09-11 05:36:12 +03:00
github-actions[bot]
d8ccf9d76a
apply version updates ( #10949 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-09-10 13:05:58 -03:00
Lucas Fernandes Nogueira
a5848af65b
fix(cli): synchronize version with iOS Info.plist ( #10944 )
2024-09-10 12:31:15 -03:00
Lucas Fernandes Nogueira
fafceec309
fix(core): mobile dev server proxy URL ( #10943 )
2024-09-10 12:30:58 -03:00
Fabian-Lars
0a47bf0430
fix(core): Mark identifier as a required field. ( #10946 )
...
* fix(core): Mark `identifier` as a required field.
* change tag
* inject identifier in tests
2024-09-10 10:08:04 -03:00
github-actions[bot]
ffa33cd28a
apply version updates ( #10903 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-09-05 14:06:28 -03:00
Lucas Fernandes Nogueira
faa259bacf
refactor(core)!: change Assets::iter item to use Cow ( #10907 )
...
* refactor(core): change `Assets::iter` item to use `Cow`
make the iterator more flexible to support Assets implementations that do not rely on static assets
* fix test?
* lint
* lint
* clippy again
2024-09-05 13:42:22 -03:00
Tony
d9c8d3cc8d
chore(deps): update infer, tray icon, urlpattern, image ( #10902 )
2024-09-05 14:10:08 +02:00
Lucas Nogueira
e568956e48
fix(ci): pin artifact actions
2024-09-04 19:48:48 -03:00
github-actions[bot]
a655d9c6ce
Apply Version Updates From Current Changes ( #10865 )
...
* apply version updates
* fix audit
---------
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-09-04 17:29:03 -03:00
dependabot[bot]
bdfa9534ab
build(deps): bump quinn-proto from 0.11.6 to 0.11.8 ( #10882 )
...
Bumps [quinn-proto](https://github.com/quinn-rs/quinn ) from 0.11.6 to 0.11.8.
- [Release notes](https://github.com/quinn-rs/quinn/releases )
- [Commits](https://github.com/quinn-rs/quinn/compare/quinn-proto-0.11.6...quinn-proto-0.11.8 )
---
updated-dependencies:
- dependency-name: quinn-proto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-04 17:09:04 -03:00
dependabot[bot]
e885c17ab6
build(deps): bump actions/download-artifact in /.github/workflows ( #10883 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 3 to 4.1.7.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4.1.7 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-04 17:08:39 -03:00
Lucas Fernandes Nogueira
77056b194a
chore(tauri-runtime-wry): update tao to 0.30 and wry to 0.43 ( #10895 )
2024-09-04 09:51:42 -03:00
Amr Bashir
0c46e48860
chore: remove unneeded prettier config ( #10885 )
2024-09-04 09:59:41 +08:00
Amr Bashir
0899e50831
feat: derive serde::Serialize for SafePathBuf ( #10884 )
2024-09-04 09:55:19 +08:00
Amr Bashir
976cad97c1
fix(resources): enhance error messages for globs ( #10879 )
...
* fix(resources): enhance error messages for globs
ref: https://github.com/tauri-apps/tauri/pull/10293#issuecomment-2326435392
* fmt
2024-09-04 00:58:08 +03:00
Hamir Mahal
11b3ab1468
ci: update setup-python action to v5 to fix deprecated node version ( #10881 )
2024-09-04 00:57:16 +03:00
Tony
431ca2c776
enhance(core): add FromStr impl for SafePathBuf ( #10870 )
2024-09-03 05:20:31 +03:00
Lucas Fernandes Nogueira
27d0183431
fix(core): clippy warnings, simplify embed_plist usage ( #10844 )
...
* fix(core): clippy warnings
* fix test
* chore: simplify example
2024-09-03 01:09:27 +03:00
Lucas Fernandes Nogueira
9c9644d155
feat(cli): always validate iOS lib ( #10845 )
2024-09-02 13:13:34 -03:00
Lucas Fernandes Nogueira
b42683592d
fix(cli): iOS build targetting the simulator ( #10847 )
2024-09-02 13:13:22 -03:00
Lucas Fernandes Nogueira
79de4332b6
fix(core): isolation pattern breaks raw postMessage payload ( #10841 )
2024-09-02 13:12:59 -03:00
Lucas Fernandes Nogueira
5048a7293b
feat(core): always use the custom protocol IPC on Linux ( #10840 )
2024-09-02 13:12:29 -03:00
Lucas Fernandes Nogueira
f0acf504a2
feat(core): validate duplicated capability identifier ( #10858 )
...
having duplicate capability identifier lead to unexpected behavior because one of the capabilities gets ignored.
With this change the build script now fails when this happens.
2024-09-02 17:13:13 +03:00
Fabian-Lars
ecc5362c1c
docs: Add scope handling in file association example ( #10864 )
2024-09-02 17:11:55 +03:00
Lucas Fernandes Nogueira
6696e48800
fix(core): Swift warning for null invoke.resolve() iOS plugin values ( #10842 )
...
`Any` does allow `nil`, but must be explicitly set to avoid the Swift warning
2024-09-02 16:51:30 +03:00
github-actions[bot]
c55474f21d
apply version updates ( #10855 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-09-01 09:50:31 -03:00
Lucas Fernandes Nogueira
6faa032766
fix(cli): iOS code signing failing on CI ( #10854 )
...
Looks like Apple cannot handle development profile automatic provisioning well
With this change we now skip code signing for build() and archive(), and let the export() function handle signing
see https://github.com/fastlane/fastlane/discussions/19973#discussioncomment-2688720 for more information
2024-09-01 09:29:48 -03:00
github-actions[bot]
82b084e65c
apply version updates ( #10828 )
2024-08-31 18:19:34 -03:00
Lucas Fernandes Nogueira
5af1f5dec1
fix(cli): automatic signing for iOS on CI ( #10851 )
...
ref https://github.com/tauri-apps/cargo-mobile2/pull/381
2024-08-31 17:58:58 -03:00
Lucas Fernandes Nogueira
5ec74456b9
feat(bundler): fallback to publisher for deb maintainer, closes #10777 ( #10825 )
2024-08-29 15:41:40 -03:00
github-actions[bot]
0d2efd9ff4
apply version updates ( #10820 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-08-28 23:03:54 -03:00
Lucas Fernandes Nogueira
d7e5c00e94
feat(core): add plugin::PermissionState ( #10817 )
...
* feat(core): add `plugin::mobile::PermissionState`
* move to plugin module
* default, specta::Type
2024-08-28 22:34:03 -03:00
Lucas Fernandes Nogueira
cc799b2cc8
fix(ci): publish CLI workflow wrong target path ( #10816 )
2024-08-28 17:02:15 -03:00
github-actions[bot]
abfbef4b9d
apply version updates ( #10750 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-08-28 15:19:54 -03:00
Amr Bashir
d14a2a55f0
ci: fix a few relative paths ( #10813 )
...
* ci: fix a few relative paths
* Update .changes/config.json
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-08-28 13:27:33 -03:00
Amr Bashir
ebfe17e264
ci: fix sync-cli-metadata.js path ( #10812 )
2024-08-28 12:43:55 -03:00
Lucas Fernandes Nogueira
f67a9eb6de
feat(cli): synchronize Tauri config and lib name with iOS Xcode project ( #10802 )
...
- the Xcode project now uses a fixed output library name, which means changes to the Cargo.toml lib name won't affect it (backwards compatible change, we're checking if this new format is being used or not by reading the project.pbxproj)
- sync config identifier with the pbxproj
- sync development team config with the pbxproj
the sync runs both on dev and on build
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
2024-08-28 12:11:50 -03:00
Amr Bashir
431208207b
ci: fix building cli in integration test ( #10811 )
2024-08-28 11:54:35 -03:00
Lucas Fernandes Nogueira
f81929e251
feat(api): permission types for mobile plugins ( #10799 )
...
* feat(api): permission types for mobile plugins
let's have a central place to keep the permission types
ref https://github.com/tauri-apps/plugins-workspace/issues/979
* build
2024-08-28 17:49:05 +03:00
Lucas Fernandes Nogueira
d1c97bce7b
chore: add root taurignore ( #10805 )
...
* chore: add root taurignore
enhances the DX of running `tauri dev` in any of the examples folder - we don't need to watch the entire workspace for changes
* extend ignore list
2024-08-28 17:48:39 +03:00
Lucas Fernandes Nogueira
f4bfd0722e
fix(ci): check change tags script ( #10803 )
2024-08-28 03:20:45 +03:00
Amr Bashir
36eee37220
Restructure the repository ( #10796 )
...
* Restructure the repository
* lock file
* fmt
* fix bench
* fix cli template test
* remove accidental file
* fix mv command
* clippy
* upgrade paths-filter github action
* fix cli migration tests
* lockfile
* license headers
* clippy
* scope test-core to tauri crate
* license header
* correct --manifest-path usage
* lockfile
* fix tauri-driver on macOS [skip ci]
* build target ios
* try downgrade env_logger
* downgrade 0.1.7
* try to fix bench
* bench overflow
* revert overflow fix, fix tauri_root_path
* revert env_logger downgrade
* fmt
* raise msrv to 1.71
* fmt
* delete .cargo/config.toml [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-27 18:42:30 -03:00
Lucas Fernandes Nogueira
22d2afa89b
fix(core): add proguard rule to keep JSON deserializers ( #10800 )
2024-08-27 15:30:10 -03:00
Ishaan Goel
c85bb0fb61
fix(docs): typo in documentation of setSize() method in Webview API. ( #10798 )
...
The example for the `setSize()` method in the documentation wrongly imports `getCurrent` (I believe as was in tauri v1)
instead of `getCurrentWebview`.
2024-08-27 20:15:08 +03:00
Lucas Fernandes Nogueira
fbe76a955a
fix: serialize Uint8Array and ArrayBuffer as number[], closes #10336 ( #10797 )
2024-08-27 12:49:18 -03:00
Lucas Fernandes Nogueira
83ed090bfa
fix(cli): do not exit mobile dev if logger could not be attached ( #10790 )
...
I just faced this when I was connected to my iPhone but wireless. Xcode also lets this happen, you only miss the logs in this case.
2024-08-27 12:05:32 -03:00
Lucas Fernandes Nogueira
84070bae92
fix(cli): plugin ios init cmd not generating iOS folder, closes #10661 ( #10792 )
2024-08-27 12:05:19 -03:00
Lucas Fernandes Nogueira
edb2ca31f7
fix(cli): migrate v1 plugins NPM packages ( #10794 )
2024-08-27 12:01:15 -03:00
Lucas Fernandes Nogueira
02b2f964a7
fix(cli): add command version requirement for known plugin npm ( #10795 )
...
small regression from #10699 - NPM install is now prompting users to select the version
2024-08-27 17:02:14 +03:00
Lucas Fernandes Nogueira
9718dc9e8c
fix(cli): readd targetSdk to Android app template, closes #10712 ( #10791 )
...
Regression from #10558
2024-08-27 16:04:43 +03:00
Amr Bashir
1e441811ee
feat: add DoubleClick variant for TrayIconEvent ( #10786 )
...
* feat: add `DoubleClick` variant for `TrayIconEvent`
* revert api example change
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-27 16:03:55 +03:00
Lucas Fernandes Nogueira
3a4972b394
feat(cli): include arch in the tauri info output ( #10793 )
2024-08-27 16:02:40 +03:00
Amr Bashir
72597a77f9
chore(deps): update cargo-mobile2 to 0.15 ( #10788 )
...
* chore(deps): update cargo-mobile2 to 0.15
* fix ios build [skip ci]
* lock file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-27 08:42:42 -03:00
Masahiko Sakakibara
03f2a50981
fix(core): update swift-rs to fix iOS plugin builds ( #10718 )
...
* fix(cli): add comment suggest to use patch swift-rs
* Create change-pr-10718.md
* swift-rs 1.0.7 (still not published) [skip ci]
* update lockfile
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-27 08:22:13 -03:00
Lucas Fernandes Nogueira
fd68b7fdea
fix(cli): do not generate .cargo/config file ( #10785 )
2024-08-26 22:15:08 -03:00
Lucas Nogueira
dc0612b156
fix(examples): streaming file path
2024-08-26 21:48:48 -03:00
Amr Bashir
70306dc79b
ci: check toml formatting with taplo-cli ( #10787 )
...
* ci: check toml formatting with taplo-cli
* change name of job
* { workspace = true } -> .workspace = true
* add taplo.toml
2024-08-26 21:46:05 -03:00
Amr Bashir
ad83d41cb5
chore: cleanup and simplify examples ( #10743 )
2024-08-27 01:25:36 +03:00
Lucas Nogueira
c50800023e
chore(cli): remove println
2024-08-26 18:01:39 -03:00
Masahiko Sakakibara
f86a8146ad
feat(core): add plugin methods getArgs and getRawArgs for iOS and Android ( #10761 )
...
* feat(api): add method getArgsData
* chore
* return JSObject instead
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-26 16:55:51 -03:00
Masahiko Sakakibara
fb6bf31425
fix(plugin): fix android_package_id to follow cli ( #10763 )
...
* fix(plugin): fix android_package_id to follow cli
* Update tooling/cli/templates/plugin/src/mobile.rs
* add change file
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-08-26 13:39:05 -03:00
Masahiko Sakakibara
21c2488d2e
fix(cli): change supported URL Type "link:" in plugin template ( #10771 )
2024-08-26 15:16:14 +03:00
Tony
12e477ac38
fix(ci): missing pnpm on check api action ( #10778 )
...
* ci: fix missing pnpm on check api action
* Add set up node action
2024-08-26 15:12:24 +03:00
Lucas Fernandes Nogueira
073bb4f459
refactor(core): remove deprecated webview_fixed_runtime_path option ( #10772 )
...
* refactor(core): remove deprecated webview_fixed_runtime_path option
* update migration
2024-08-25 16:35:42 -03:00
Lucas Fernandes Nogueira
792340a73b
fix(utils): minimum_webview2_version config kebab-case alias ( #10773 )
2024-08-25 10:59:33 -03:00
Lucas Fernandes Nogueira
09e9dc1aab
feat(cli): allow xcodebuild to manage iOS signing and provisioning ( #10752 )
2024-08-23 21:12:49 -03:00
renovate[bot]
5c369e6059
chore(deps) Update Tauri CLI (dev) ( #10724 )
...
* chore(deps) Update Tauri CLI
* downgrade html5ever
* update lockfile [skip ci]
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-23 12:45:57 -03:00
renovate[bot]
1dab93f000
chore(deps) Update Rust crate syn to v2.0.75 ( #10723 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-23 12:16:30 -03:00
renovate[bot]
8b96eca241
chore(deps) Update Tauri Codegen ( #10725 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-23 12:14:56 -03:00
Lucas Fernandes Nogueira
2d31aef759
fix(cli): ensure gradlew is executable and does not use CRLF ( #10751 )
...
* test fix
* ensure gradle is executable and does not use CRLF
* fix import
* add change file
* add 0o111 instead
2024-08-23 10:49:45 -03:00
Tony
58dda44a59
feat(bundler/nsis): add minimum webview2 version checks ( #10339 )
2024-08-23 15:21:39 +03:00
chip
88bc357325
fix: generate Context inside a thread ( #10734 )
...
* generate `Context` inside a thread
fix #9882
this is a workaround for #9882 due to windows having a small
stack size for the main thread (1MiB) versus other platforms which
have 8MiB. the true fix would be to lower the generated code
stack size, but with lots a plugins, there are lots of ACL
configurations.
* add change file [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-08-23 08:46:23 -03:00
Amr Bashir
91e9e784aa
feat(cli/info): include plugins info ( #10729 )
...
* feat(cli/info): include plugins info
closes #10682
* header
* resolve package manager once
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-08-23 08:29:03 -03:00
Lucas Nogueira
07aff5a2d4
fix(pnpm): ignore micromatch ReDoS vuln CVE-2024-4067
2024-08-22 12:47:48 -03:00
github-actions[bot]
9620c58e5a
Apply Version Updates From Current Changes ( #10740 )
2024-08-22 11:50:17 -03:00
Lucas Fernandes Nogueira
c33adb19a7
Revert "apply version updates ( #10715 )" ( #10739 )
...
This reverts commit dc49cb3d9b .
2024-08-22 09:44:23 -03:00
github-actions[bot]
dc49cb3d9b
apply version updates ( #10715 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-08-22 09:43:45 -03:00
chip
5f64ed2b78
support 1.x automation env var in tauri-driver ( #10738 )
...
* support 1.x and 2.x automation env var
* changefile
2024-08-22 09:29:10 -03:00
Amr Bashir
f4d5241b37
chore: cleanup unnecessary scripts and files ( #10731 )
...
* chore: cleanup unnecessary scripts and files
- Removed `.cargo/config` and `__TAURI_WORKSPACE__` workaround
- Removed husky and precommit hooks
- Remove unecessary script files
- Moved `.scripts/covector/sync-cli-metadata.js` to `.scripts/ci/sync-cli-metadata.js`
- Moved `app-icon.png` to `.github/icon.png`
- Enhanced has-diff.sh script to output which files are modified
* lock file
* bring back __TAURI_WORKSPACE__
* add change file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-08-22 07:56:52 -03:00
renovate[bot]
1add13b84e
chore(deps) Update Tauri CLI (dev) ( #10706 )
...
* chore(deps) Update Tauri CLI
* revert html5ever
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-21 13:58:38 -03:00
renovate[bot]
7d9112edc7
chore(deps) Update Rust crate syn to v2.0.75 ( #10705 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 13:50:37 -03:00
renovate[bot]
620163bf23
chore(deps) Update Tauri API Definitions ( #10709 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 13:50:13 -03:00
renovate[bot]
660a5cd09e
chore(deps) Update Tauri Codegen ( #10708 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 13:50:03 -03:00
Lucas Fernandes Nogueira
793ee05317
fix(core): allow hyphens and underscores on identifiers, closes #9707 ( #10700 )
...
* fix(core): allow hyphens and underscores on identifiers, closes #9707
* fix build
* fix build
* lint
* move replace
* update tao
* update tao-macros
2024-08-21 13:46:25 -03:00
Lucas Fernandes Nogueira
da8c9a7d30
refactor(cli): synchronize pbxproj and export options, handle cert on build ( #10669 )
2024-08-21 11:38:02 -03:00
Lucas Fernandes Nogueira
9bcff3cd79
fix(core): properly remove isolation script from DOM ( #10703 )
2024-08-21 09:08:16 -03:00
github-actions[bot]
762cf31a11
apply version updates ( #10698 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-08-20 14:25:20 -03:00
Lucas Fernandes Nogueira
1a60822a42
fix(cli): add should use 2.0.0-rc for known plugins ( #10699 )
...
changes the CLI `add` command to match the CLI major and pre requirements for known plugins
this is required because right now adding the deep-link plugin installs the v1 plugin (latest version known by cargo as the v2 is still in RC), even though we're running the v2 CLI
2024-08-20 14:09:50 -03:00
Lucas Fernandes Nogueira
da381e07f3
feat(core): resources on mobile apps ( #10696 )
...
* feat(core): resources on mobile apps
* resources dir on android
2024-08-20 13:49:17 -03:00
Lucas Nogueira
086271b73e
fix(ci): install Linux dependencies on covector workflow
2024-08-19 23:37:43 -03:00
github-actions[bot]
02f85dffbe
apply version updates ( #10685 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-08-19 21:35:58 -03:00
LiesAuer
30c7685eb8
feat: add Builder::append_invoke_initialization_script ( #10295 )
...
* Allow to append a custom initialization script
* docs: add doc for `Builder::append_invoke_initialization_script`
* Update core/tauri/src/app.rs
* Update core/tauri/src/app.rs
* add change file
* fix signature
* fix doc test
* doc fmt
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-08-19 16:41:28 -03:00
Lucas Fernandes Nogueira
ed04cc3d36
feat(core): enhance IPC permission error message ( #10664 )
...
* feat(core): enhance IPC permission error message
- include more information about current URL and allowed origins
- enhance formatting of the error message
* plugin not found & command not found
* lint
2024-08-19 16:41:09 -03:00
Lucas Fernandes Nogueira
7796a8fc64
fix(cli): adapt Package.swift to work on older Swift versions ( #10687 )
...
I noticed the plugin build fails on older Swift (tested on macOS 12) because the default minimum required macOS version (10.10 in my case) is older than `v10_13` which is set by the Tauri iOS package (and also swift-rs).
So the plugins must explicitly define a minimum macOS version too.
2024-08-19 16:29:16 -03:00
anatawa12
8d148a9e25
feat: Custom sign command with object notation ( #10634 )
...
* feat!: Custom sign command with object notation
* implement JsonSchema if schema feature is enabled
* feat: support old string-based custom signing command config
* format: Run cargo fmt inside tooling/bundler folder
* chore: update json schema
* format: cargo fmt again
* small cleanup
* fix change file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-19 15:55:58 -03:00
Sebastian Neubauer
5c335ae9ad
fix(android): avoid rebuilds if nothing changed ( #10648 )
...
* fix(android): avoid rebuilds if nothing changed
Unconditionally overwriting files where the build reruns if they changed
leads to rebuilds every time.
Only overwrite a file if its content is different to not rebuild in such
a case.
* use write_if_changed utils
* use existing function
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-19 13:33:39 -03:00
Masahiko Sakakibara
8ae52a615a
fix(cli): change "register_ios_plugin" params to snake case ( #10676 )
...
* fix(cli): change "register_ios_plugin" params to snake case
* Create change-pr-10676.md
* Update .changes/change-pr-10676.md
* Update .changes/change-pr-10676.md
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-08-19 13:29:01 -03:00
Norbiros
77844529f3
fix: Correctly export DefaultPermissionsRule ( #10678 )
...
* fix: Correctly export `DefaultPermissionsRule`
* Update fix-export-default-permissions.md
* fix: Lint
---------
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
2024-08-19 13:10:05 -03:00
Guillaume M
9b99ebab17
fix(cli): do not force architecture when building and archiving iOS app ( #10431 )
...
* feat(ios): add a new cli option to dev to use project archs
Add a new option to instruct cargo-mobile2 to use architectures configured in the project for building
* update cargo-mobile2, add change file
* fix change file [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-19 12:36:48 -03:00
github-actions[bot]
b25545c53f
apply version updates ( #10683 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-08-19 09:48:54 -03:00
Lucas Fernandes Nogueira
c689521a76
fix(api): tslib path ( #10681 )
2024-08-19 09:27:45 -03:00
martin frances
6b63c75504
For linting and testing auto update the node version to "lts/*" ( #10323 )
2024-08-18 07:55:38 -03:00
Jacob Bolda
52fdcaaf28
skip prepublish on api ( #10658 )
2024-08-18 07:55:19 -03:00
Jacob Bolda
ee0b53fbe2
skip pack in publish, use check fetch ( #10657 )
...
* skip pack in publish, use check fetch
* remove script
* remove apt, exists in main pipeline
* CLI doesn't need separate check
* no assets for tauri-cli
2024-08-18 07:54:59 -03:00
Lucas Fernandes Nogueira
23a912bb84
fix(ci): @tauri-apps/cli publish workflow ( #10659 )
...
* fix(ci): pnpm install
* fix setup-node
* node16 setup fails somehow
* remove unnecessary install deps step
* run nodejs directly
* fix permissions
* fix metadata
2024-08-17 08:21:27 -03:00
Lucas Nogueira
dcc62e6fc4
fix(macos-sign): add kv feature to the log crate
2024-08-17 00:58:34 -03:00
Lucas Nogueira
167a0feb31
fix(ci): missing id-token write permission for provenance
2024-08-17 00:38:09 -03:00
Lucas Nogueira
1142289670
fix(tauri-runtime-wry): docs.rs build
2024-08-17 00:16:07 -03:00
Lucas Nogueira
85c2d6302e
fix(ci): set NPM_CONFIG_PROVENANCE to true
2024-08-17 00:15:00 -03:00
Lucas Nogueira
07a5f505d9
fix(ci): run pnpm publish with --no-git-checks
2024-08-17 00:12:24 -03:00
Lucas Nogueira
30667714c0
fix(ci): wrong prepublish scripts for @tauri-apps/api
2024-08-16 23:54:55 -03:00
github-actions[bot]
3522fbd78e
Apply Version Updates From Current Changes ( #10561 )
...
* apply version updates
* fix versions
---------
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-16 23:39:49 -03:00
Lucas Nogueira
dd5b081eeb
fix(ci): install pnpm on integration tests
2024-08-16 23:13:35 -03:00
Amr Bashir
01f6aa3405
build: migrate repo to use pnpm as the package manager ( #10607 )
...
* build: migrate repo to use `pnpm` as the pacakge manager
* corepack enable
* update lock file
* format files
* format .github
* fix audit js
* wrap in quotes
* --frozen-lockfile
* simplify packageManager field
* lockfile
* remove cache from audit workflow
2024-08-16 23:04:08 -03:00
Amr Bashir
9e891933d8
fix(utils): fix resources map becomes directory ( #10293 )
...
* fix(utils): fix resources map becomes directory
closes #10187
Fixes the behavior of mapped resources generating extra directory, for example:
`"../resources/user.json": "resources/user.json"` generates this resource `resources/user.json/user.json`
where it should generate `resources/user.json`
This PR includes a refactor of the Iterator implementation which splits it into more scoped functions and relis on recursing instead of a loop which makes the code a lot more readable and easier to maintain.
* clippy
* cover more cases
* clippy
* fix glob into directory, not resolving target correctly
* return error when resource origin path doesn't exist
* fix resources example build
* Update .changes/resources-map-becoming-dirs.md
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-16 23:03:14 -03:00
Lucas Fernandes Nogueira
8deb1966ac
feat(bundler): infer signing identity from certificate to import ( #10652 )
2024-08-16 20:30:49 -03:00
Lucas Fernandes Nogueira
d39c392b7c
chore(deps): update tao and wry to latest ( #10655 )
2024-08-16 20:30:34 -03:00
Amr Bashir
6d7ac65676
chore: use 0.1.0 as version in templates ( #10644 )
...
closes #10474
2024-08-16 20:19:04 -03:00
Lucas Fernandes Nogueira
1b0c447fcb
fix(macos-sign): missing stdout/stderr in Node.js context ( #10654 )
2024-08-16 20:16:00 -03:00
Lucas Fernandes Nogueira
10fb027b75
fix(cli): migrate v1 plugin dependencies, prevent dup, closes #10650 ( #10656 )
2024-08-16 19:58:20 -03:00
Lucas Fernandes Nogueira
255d64e3dc
fix(cli): actually check if there are multiple android devices connected ( #10642 )
2024-08-16 04:12:34 +03:00
Lucas Fernandes Nogueira
d0510f52eb
refactor(core): serialize response once, closes #5641 ( #10641 )
...
* refactor(core): serialize response once closes #5641
This change impacts both the custom protocol and the postMessage based IPC implementations. Basically it changes the whole IPC mechanism to work on raw JSON strings so we do not need to serialize a serde_json::Value after serializing to it from a user-provided type.
i benchmarked this with a 150MB file response (returning Vec<u8> instead of tauri::ipc::Response since the latter does not serialize at all) and it went from 29s to 23s (custom protocol) and from 54s to 48s (post message) on macOS.
* fix mobile & lint
* clippy
2024-08-15 16:15:11 -03:00
renovate[bot]
d1ee3f4b55
chore(deps) Update Tauri CLI (dev) ( #10610 )
...
* chore(deps) Update Tauri CLI
* html5ever 0.28
* update windows-sys
* cast
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-15 15:39:21 -03:00
Lucas Fernandes Nogueira
f712f31d1d
fix(cli): add notarize error ( #10639 )
...
* fix: add notarize error
* add change file
2024-08-15 14:12:03 -03:00
renovate[bot]
8902dd8137
chore(deps) Update Tauri API Definitions ( #10614 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-15 11:14:36 -03:00
renovate[bot]
b5c948f68e
chore(deps) Update Tauri Codegen ( #10613 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-15 10:52:11 -03:00
renovate[bot]
360330136f
chore(deps) Update dependency @types/eslint to v9 ( #10620 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-15 10:51:46 -03:00
renovate[bot]
659c7d2f5d
chore(deps) Update Rust crate syn to v2.0.74 ( #10609 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-15 10:50:39 -03:00
Lucas Fernandes Nogueira
9089d97637
fix(cli): properly resolve merge config on mobile build closes #9970 ( #10605 )
...
just applying the change from #10600 to xcode to fix the linked issue :)
2024-08-15 10:50:19 -03:00
Lucas Fernandes Nogueira
b6dca99fff
refactor(api)!: change window label getters to be async ref #5380 ( #10630 )
2024-08-15 09:12:40 -03:00
Lucas Fernandes Nogueira
b160f9359d
fix(cli): only validate iOS lib on debug builds ( #10638 )
2024-08-15 09:12:21 -03:00
Broken_Deer
521d1d5cdb
fix(bundler): armv7 appimage bundler uses invalid download links [ closes #6579 ] ( #10619 )
...
* Update appimage.rs
* Update appimage.rs
* Create change-pr-10619.md
* Update change-pr-10619.md
---------
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
2024-08-14 17:39:36 +02:00
Lucas Fernandes Nogueira
9f75d06228
fix(cli): adb port forward error handling, add logs, closes #9509 ( #10604 )
2024-08-13 22:07:02 -03:00
Amr Bashir
39bf0a1635
refactor: rename TAURI_SIGNTOOL_PATH -> TAURI_WINDOWS_SIGNTOOL_PATH ( #10595 )
...
immediately after merging #10588 I noticed that the variable name might be a bit ambigious and could cause confusion on other pl atforms other than Windows
2024-08-13 21:48:12 -03:00
Amr Bashir
78e22bedca
feat(cli): support AndroidTV by default ( #10602 )
...
closes #10534
2024-08-13 21:47:41 -03:00
Lucas Fernandes Nogueira
f4cd68f040
fix(cli): builtin dev server should also be forwarded for Android ( #10600 )
2024-08-13 21:11:01 -03:00
Lucas Fernandes Nogueira
f35bcda289
feat(cli): handle known target specific plugins on permission add #10596 ( #10598 )
...
Closes #10596
2024-08-13 14:01:10 -03:00
Lucas Fernandes Nogueira
712f1049fa
fix(cli): ios dev and ios build support for bun ( #10569 )
2024-08-13 09:00:41 -03:00
Lucas Fernandes Nogueira
41c7a6646b
fix(cli): properly exit with code 0 on panic when running with bun ( #10572 )
2024-08-13 08:53:04 -03:00
anatawa12
f8d658ea1b
feat: TAURI_SIGNTOOL_PATH environment variable for specifying the path to signtool.exe. ( #10588 )
2024-08-13 14:49:28 +03:00
Lucas Fernandes Nogueira
fedf93eb7e
refactor(core): return 200 on any IPC call, closes #10286 ( #10585 )
...
* refactor(core): return 200 on any IPC call, closes #10286
By default the webview prints a `Failed to load resource: the server responded with a status of 400 (Bad Request) ipc://localhost` error message when a command returns an error, which is confusing to users.
This changes the IPC to return status 200 on any call, with a header to indicate whether the result was ok or not. This removes the console error, which would only log the actual error result if it isn't caught by the user.
* add change file
* apply code review changes
2024-08-13 08:39:20 -03:00
Lucas Fernandes Nogueira
b1d9ffa1ab
fix(core): IPC fallback hanging when sending responses, closes #10327 ( #10582 )
...
The IPC fallback system kicks in when the custom protocol implementation cannot be used (e.g. CORS issues).
The fallback uses the postMessage mechanism, which by default uses channels to send large responses. If the custom protocol implementation cannot be used, we should not use channels, but eval the response directly.
2024-08-13 07:38:49 -03:00
Lucas Fernandes Nogueira
794cf8234f
chore(cli): change default export method to debugging ( #10571 )
2024-08-13 04:04:16 +03:00
Lucas Fernandes Nogueira
9fe846615b
fix(core): plugin permissions documentation heading ( #10547 )
...
Co-authored-by: Tillmann <28728469+tweidinger@users.noreply.github.com >
2024-08-13 03:58:44 +03:00
renovate[bot]
20be073bc4
chore(deps) Update Tauri CLI (dev) ( #10308 )
...
* chore(deps) Update Tauri CLI
* fix build
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-12 12:52:16 -03:00
renovate[bot]
f228d3d3d4
chore(deps) Update Tauri Bundler (dev) ( #10512 )
...
* chore(deps) Update Tauri Bundler
* fix build
* fix linux
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-12 12:39:33 -03:00
Lucas Fernandes Nogueira
3bec7b1595
feat(cli): add support to Svelte and Vue.js code on v1 migration ( #10544 )
...
* feat(cli): add support to Svelte and Vue.js code on v1 migration
* clippy
2024-08-12 13:45:42 +09:00
Lucas Fernandes Nogueira
3998570fd3
fix(cli): manifest v1 migration ( #10540 )
...
update features that got removed/renamed, and also migrate any core crate on any dependency table
2024-08-12 12:23:39 +09:00
Lucas Fernandes Nogueira
3beba92b5b
fix(cli): incorrect JS generated by frontend migration closes #10500 ( #10542 )
...
* fix(cli): incorrect JS generated by frontend migration closes #10500
2024-08-12 12:10:27 +09:00
Lucas Fernandes Nogueira
f3837d5b98
fix(cli): broken v1 updater migration, add TOML support, closes #10508 ( #10539 )
...
- make the v1 config migration more resilient by checking null values
- fix "targets: all" incorrectly migrating createUpdaterArtifacts when there's no updater configuration (this is problematic because this targets config is the default)
- migrate Tauri.toml
- add more tests
2024-08-12 11:56:13 +09:00
苏向夜
71d00646a9
feat(cli): detect project NPM package manager on init ( #10504 )
...
* feat(cli): improve init behavior to ask once
* chore(cli): bump version
* fix(clippy): fix clippy warning
* feat(cli): add `bun` and fix version bump msg
* refactor(cli): auto detect the package manager
* move function
* update change file
* update change file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-11 18:33:26 -03:00
renovate[bot]
416f845784
chore(deps) Update Tauri API Definitions (dev) ( #10370 )
...
* chore(deps) Update Tauri API Definitions
* format
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-11 09:47:00 -03:00
Sam Kearney
2d47352a07
fix(cli): make app_dir() logic consistent ( #10418 )
...
* fix(cli): Make app_dir() consistent by basing it on the explicit invocation directory rather than the current working directory
* resolve app paths before everything else
* fix xcode script
* fix test
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-11 09:44:15 -03:00
Yuri Astrakhan
0afee5ed80
chore: update brotli dependency to v6 ( #10436 )
...
* chore: update brotli dependency to v6
brotli v6 plays nice with other versions of the same crate
* add change file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-11 08:23:31 -03:00
AHQ
bfc49cc7a1
refactor(android): Remove targetSdk from gradle config ( #10558 )
...
* refactor: remove targetSdk as it is being removed in DSL 9.0
* note
* fix: typo
* update: changelog
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-08-11 07:06:14 -03:00
anatawa12
4bfe4880fb
fix: fails to build universal fat binary if main bin is renamed to another name ( #10550 )
...
* fix: fails to build universal fat binary if main bin is renamed to another name
* lint
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-11 06:56:53 -03:00
Maarten
bba1a44191
feat(cli): allow skipping rustfmt project reformatting when adding a plugin ( #10457 )
...
* feat(cli): allow skipping rustfmt project reformatting
* Apply suggestions from code review
* fixes, change file
* fix change file
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-08-10 17:09:07 -03:00
renovate[bot]
92cac12a92
chore(deps) Update Rust crate zip to v2 (dev) ( #10516 )
...
* chore(deps) Update Rust crate zip to v2
* SimpleFileOptions
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-10 16:55:53 -03:00
renovate[bot]
f65990d1d7
chore(deps) Update Rust crate json-patch to v2 (dev) ( #10515 )
...
* chore(deps) Update Rust crate json-patch to v2
* update other crates
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-10 16:45:24 -03:00
renovate[bot]
e91550bd86
chore(deps) Update Tauri CLI (dev) (major) ( #10517 )
...
* chore(deps) Update Tauri CLI
* update cargo-mobile2
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-10 16:39:55 -03:00
Jonas Kruckenberg
88a9fa23e5
docs: Add hyperlink to localhost-free readme item ( #10557 )
2024-08-10 21:26:12 +02:00
rwv
008b9f7481
chore: generate provenance statements for npm package ( #10477 )
...
* chore: generate provenance statements for npm package
See also https://docs.npmjs.com/generating-provenance-statements#example-github-actions-workflow
* also add --provenance for covector publishes
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-10 15:48:04 -03:00
chip
a975cd7976
yarn prettier --write core (#10471 )
2024-08-10 15:44:33 -03:00
Norbiros
0bb7b0f352
feat: Add option to generate default permissions for inlined plugins ( #10559 )
...
* feat: Add option to allow all commands by default
* option to use a list of permissions, move logic to tauri-build
* fix plugin
* add utils change file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-10 15:34:49 -03:00
Tillmann
213c0b1b8e
add v2 report ( #10554 )
2024-08-10 14:52:09 -03:00
github-actions[bot]
ab4e56f5d2
apply version updates ( #10532 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-08-08 23:52:47 -03:00
Fabian-Lars
f5dfc02800
fix(core/cli): Add custom default implementation for ios config ( #10533 )
...
* fix(cli): Add custom `default` implementation for ios config
* fix change
2024-08-08 19:57:56 -03:00
Fabian-Lars
5f56cb0a8b
feat(cli): Upgrade gradle to 8.9 and gradle-android to 8.5.1 ( #10507 )
...
* feat(cli): Upgrade gradle to 8.9 and gradle-android to 8.5.1
* Update .changes/android-gradle-8-9.md
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-08-08 08:48:54 -03:00
Fabian-Lars
00e5a6ac74
fix(cli): allow actions: write for version-or-publish to fix cli publishing ( #10525 )
2024-08-08 07:25:59 -03:00
KV
10e30c5139
fix: 'ndecorated' typo in window shadow description ( #10527 )
2024-08-08 10:47:52 +08:00
github-actions[bot]
393428e5c8
apply version updates ( #10524 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-08-07 14:50:33 -03:00
Lucas Nogueira
9ed8fe8c92
fix(cli): allow write on pull-requests for version-or-publish
2024-08-07 14:32:06 -03:00
Lucas Fernandes Nogueira
8dc81b6cc2
feat(core): add option for custom Xcode project template (XcodeGen) ( #10496 )
2024-08-07 13:17:01 -03:00
Lucas Fernandes Nogueira
02c00abc63
feat(core): add config for the minimum iOS version ( #10495 )
...
* feat(core): add config for the minimum iOS version
* revert api exapmle
2024-08-07 13:16:27 -03:00
renovate[bot]
5be7607b26
chore(deps) Update Tauri Codegen to v1.7.0 ( #10513 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-07 13:52:44 +08:00
Catalin Andrei Cacuci
a440a3f9d8
fix(bundler): Correct nsis pre-uninstall hook to post-uninstall ( #10498 )
...
* fix(bundler): Correct nsis pre-uninstall hook to post-uninstall
* Create change-pr-10498.md
* Update change-pr-10498.md [skip ci]
---------
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
2024-08-05 19:15:45 +02:00
Fabian-Lars
ab382f4ca9
ci: Use GITHUB_TOKEN for workflow_dispatch via gh cli ( #10493 )
2024-08-05 10:12:29 -03:00
Lucas Fernandes Nogueira
2e8ab7bac1
fix(cli): v1 migration should add the updater plugin if it is enabled ( #10481 )
...
* fix(cli): v1 migration should add the updater plugin if it is enabled
* fix change tag
* move to process_updater
* Update tooling/cli/src/migrate/migrations/v1/config.rs
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
---------
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
2024-08-05 10:00:33 -03:00
Lucas Fernandes Nogueira
a3cd9779a4
chore(cli): remove android open and ios open commands ( #10480 )
...
It is recommended to use `[android|ios] dev --open` or `[android|ios] build --open` instead as it properly sets up the requirements for developing and building apps with Tauri.
2024-08-05 09:57:54 -03:00
chip
e2dc76cfbf
set packageManager field in package.json for corepack ( #10470 )
2024-08-05 09:50:32 -03:00
Lucas Fernandes Nogueira
8e1e15304e
feat(cli): check if Rust lib contains required Android and iOS symbols #10094 ( #10483 )
...
* feat(cli): check if Rust lib contains required Android symbols #10094
* check for ios aswell
2024-08-05 09:46:28 -03:00
Lucas Fernandes Nogueira
ca68689564
feat(cli): check if project identifier or lib name changed ( #10479 )
...
* feat(cli): check if project identifier changed
* implement ios check
* also check lib name
* clippy
* ensure_init from xcode-script
* fill change file [skip ci]
2024-08-05 09:45:18 -03:00
anatawa12
7e810cb2a3
fix: permission file uses ':' in file name ( #10485 )
...
* fix: permission file uses ':' in file name
* style: rustfmt
2024-08-05 09:45:00 -03:00
renovate[bot]
725dbb7250
chore(deps) Update Rust crate url to v2.5.2 ( #10091 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 13:05:43 +02:00
github-actions[bot]
b9a4410516
apply version updates ( #10468 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-08-03 10:22:38 -03:00
Lucas Fernandes Nogueira
fb1933f174
fix(cli): android dev --open failing due to adb not finding device ( #10467 )
2024-08-03 10:04:26 -03:00
deadmeu
699319d8a7
docs: Update tauri::app::Builder::setup example ( #10463 )
...
This resolves a warning emitted by following the example code: warning:
unused `Result` that must be used.
2024-08-03 09:50:27 -03:00
Lucas Fernandes Nogueira
206914fe8d
fix(cli): adb reverse failing in Node.js ( #10466 )
2024-08-03 09:47:50 -03:00
Lucas Nogueira
005e4a9649
chore: promote API package to RC
2024-08-02 10:32:39 -03:00
Lucas Fernandes Nogueira
88619e8914
feat: promote v2 to RC ( #10434 )
...
* feat: promote v2 to RC
* update changelog
2024-08-02 10:28:06 -03:00
Lucas Fernandes Nogueira
786f188923
feat(cli): allow using iOS device tun address for dev server ( #10456 )
...
- Changes the IP prompt to also show IPV6 address ending with ::2 (usually device's address)
- Adds --host option on ios dev to force the host
- Also makes it work with our own dev server impl (builtin)
2024-08-02 10:04:08 -03:00
Lucas Fernandes Nogueira
7ba67b4aca
refactor!: use localhost for development on Android devices and emulators or iOS simulators ( #10437 )
...
* feat(cli): use localhost on mobile!
* change cargo-mobile2
* use public network address on iOS device :(
* add change file
* actually breaking
* pin cargo-mobile2
* rename env var
2024-08-02 07:35:18 -03:00
Lucas Fernandes Nogueira
a5bfbaa62b
feat: add iOS frameworks config option, closes #9962 ( #10393 )
...
* feat: add iOS frameworks config option, closes #9962
* fix template
* typo
2024-08-02 07:35:03 -03:00
chip
b32295de18
prevent unnecessary rebuilds when working in the cargo workspace ( #10442 )
...
* hash codegen image cache output
* remove left over dbg! statement
* prevent info.plist from workspace rebuilds
* prevent schema generation from workspace rebuilds
* use new `Cached` struct in `CachedIcon`
* fmt
* use full import for cached plist
* use `to_vec()` for raw icons
2024-08-02 07:30:02 -03:00
Oscar Beaumont
6755af2302
fix: Specta remote implementation for Channel ( #10435 )
...
* Update channel.rs
* Don't rely on `DataType` reexport
2024-08-01 16:26:52 +09:00
Lucas Fernandes Nogueira
24445d71de
fix(core): usage without the compression feature ( #10432 )
2024-07-31 18:40:02 -03:00
chip
eaec5fe9c1
Limit pub exposure in 2.x ( #10158 )
...
* hide `Invoke` from documentation
* make `Asset` non-exhaustive
* make `InvokeRequest` non-exhaustive
* mark `tauri_utils::platform::Target` non-exhaustive
* mark the runtime crates as unstable API
* Revert "mark the runtime crates as unstable API" [skip ci]
This reverts commit b8377222e3 .
* mark the runtime crates as unstable API
* Revert "mark the runtime crates as unstable API" [skip ci]
This reverts commit 9284897644 .
* mark the runtime crates as unstable API
* mark tauri_utils::TitleBarStyle as `#[non_exhaustive]`
* mark `InvokeRequest` as non_exhaustive unless `unstable` feature
* mark config and acl items as unstable
2024-07-31 10:54:43 -03:00
Lucas Fernandes Nogueira
1e0793b682
feat(core): fallback to file system for AssetResolver::get, closes #8411 ( #10357 )
...
* feat(core): fallback to file system for AssetResolver::get, closes #8411
Ports #10356 to v2
* fix test
---------
Co-authored-by: Chip Reed <chip@chip.sh >
2024-07-31 07:13:40 -03:00
chip
d03332617c
chore: Transfer schemars fork to tauri-apps org ( #10429 )
2024-07-31 15:40:45 +09:00
Lucas Fernandes Nogueira
d5511c3117
feat(cli): add migration from 2.0.0-beta to 2.0.0-rc ( #10395 )
...
* refactor(cli): check tauri version on migration
* rc migration
* license headers
* fix tests
* add path
* update schema
2024-07-30 16:32:59 -03:00
chip
426d14bb41
check the main frame's origin in isolation.js ( #10423 )
...
* check the main frame's origin in isolation.js
* add changefile
* correct changefile tag
* use strict origin checking
2024-07-30 16:32:32 -03:00
martin frances
87029310b8
Minor: 'cargo doc' reports links need to be wrapped in angle brackets. ( #10320 )
2024-07-30 07:54:08 -03:00
Lucas Fernandes Nogueira
758d28c8a2
refactor: core plugin permissions are now prefixed core:, closes #10359 ( #10390 )
...
* refactor: core plugin permissions are now prefixed core:, closes #10359
* code review
* expand reserved plugin names
* fix
* add core:default permission set
* fix permission usage
---------
Co-authored-by: Tillmann <28728469+tweidinger@users.noreply.github.com >
2024-07-30 07:52:43 -03:00
Tillmann
a0841d509a
Add change file for #10360 ( #10421 )
2024-07-30 14:29:06 +09:00
chip
11af545bf3
feat: Use loopback interface on desktop dev server by default ( #10360 )
...
Use loopback interface on desktop dev server by default
2024-07-30 14:17:19 +09:00
dependabot[bot]
a0af6c00df
chore(deps): bump openssl from 0.10.64 to 0.10.66 ( #10354 )
...
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.64 to 0.10.66.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.64...openssl-v0.10.66 )
---
updated-dependencies:
- dependency-name: openssl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 12:56:41 -03:00
chip
cf994a6bb0
add failable try_build for plugin builder ( #10405 )
...
* add failable try_build for plugin builder
* add changefile
* implement `Hash`, `PartialEq` for `BuilderError`
* mark config and acl items as unstable
give some doc tips if they need to be used from Rust
* Revert "mark config and acl items as unstable" [skip ci]
This reverts commit e23728edb6 .
2024-07-29 10:51:56 -03:00
Lucas Fernandes Nogueira
289ae5555d
feat: re-enable TLS checks for Android and dev proxy ( #10386 )
...
* feat: re-enable TLS checks for Android and dev proxy
* update time
2024-07-29 10:43:59 -03:00
Vladimir Stoilov
7aeac39e7f
feat(core): make setting of gtk app id optional ( #10397 )
...
* feat(core): make setting of gtk app id optional
* Fix change file
* Update .changes/linux-option-gtk-app-id.md
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
* [skip ci] Update linux-option-gtk-app-id.md
* Update app.rs
* Update app.rs
---------
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
2024-07-29 15:26:13 +02:00
Ernest M. van der Linden
498f405ca8
fix(core): Conf parsing error always displays tauri.conf.json file name even when using toml or json5 ( #10404 )
...
* Conf parsing error displays `tauri.conf.json` when using toml or json5
Conf parsing error always displays `tauri.conf.json` as path, even when using `Tauri.toml` or `tauri.conf.json5`
Example Error Message when using Tauri.toml:
Error unable to parse toml Tauri config file at
/Users/bla/repo/bla/bla/src-tauri/tauri.conf.json because
invalid TOML value, did you mean to use a quoted string? at line 41
column 7
* merge changefile pr into main pr
* Update and rename fix-conf-parsing-error-filepath to fix-conf-parsing-error-filepath.md
---------
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
2024-07-29 14:54:21 +02:00
github-actions[bot]
2a402b4845
apply version updates ( #10281 )
...
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com >
2024-07-29 07:27:56 -03:00
Lucas Fernandes Nogueira
efdce038bb
fix(core): apply clippy suggestions ( #10394 )
...
* fix(core): apply clippy suggestions
* more fixes
2024-07-29 10:53:53 +02:00
Brendan Allan
e1776946ad
fix(core): use specta's derive feature ( #10362 )
...
* use specta's derive feature
* use specta rc.15
* .changes file
* try patched specta
* specta rc.16
* Update .changes/specta-derive-feature.md
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
* Update specta-derive-feature.md [skip ci]
---------
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
2024-07-24 12:47:51 +02:00
renovate[bot]
c072090ed8
chore(deps) Update Rust crate syn to v2.0.72 ( #10369 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 11:59:29 +08:00
Tony
f153e8b0fe
docs: Fix js doc's param mismatch for setSizeConstraints ( #10342 )
2024-07-22 11:09:36 +02:00
Lucas Fernandes Nogueira
8b3e6eccf4
fix(ci): gh CLI expects the GH_TOKEN env var ( #10333 )
2024-07-20 09:42:40 -03:00
Jacob Bolda
cfc53074d0
(chore) covector comment on forks ( #10331 )
...
* (chore) covector comment on forks
* bump header year
* Update .github/workflows/covector-comment-on-fork.yml
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-07-20 09:17:06 -03:00
renovate[bot]
88552d66c3
chore(deps) Update Tauri Macros ( #10309 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-18 10:39:03 +08:00
Jason Tsai
9546548ec0
fix(macos): set default title-bar style to Visible, close #10225 ( #10297 )
...
* fix(macos): set default title-bar style to `Visible`
* chore: add TODO
2024-07-17 06:40:38 +03:00
Fabian-Lars
7acac58d23
docs(core): Fix syntax in tauri.conf.json example ( #10299 )
2024-07-17 04:27:20 +03:00
Amr Bashir
da25f73530
feat: add granular size constraints APIs ( #10242 )
2024-07-17 04:05:56 +03:00
Hamir Mahal
26f2e19a4f
refactor: remove unnecessary hashes around raw str ( #10273 )
2024-07-15 14:54:46 +03:00
Tony
9f0a5fceac
changes(nsis): move pre hooks before kill app ( #10271 )
2024-07-15 14:54:02 +03:00
Tony
d1df6be701
fix(bundler): warning for self contained updaters ( #10270 )
...
* Fix warning for self contained updaters
* Add change file
2024-07-15 16:18:48 +08:00
Tony
506f1dd873
chore: use from string instead of from_anyhow anyhow! ( #10282 )
...
* Use from string instead of from_anyhow anyhow!
* Clippy
2024-07-14 21:44:01 +08:00
Tony
3c17fb64fd
Fix Webview.reparent pointing to wrong Rust API ( #10277 )
2024-07-14 19:20:56 +08:00
github-actions[bot]
6d965e9fbf
apply version updates ( #10179 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-07-12 16:37:38 -03:00
Lucas Fernandes Nogueira
7c7fa0964d
feat(cli): iOS signing for CI usage ( #9963 )
...
* feat(cli): iOS signing for CI usage
* license headers
* change file
* chore: support more cert types
* xplicit method arg
* keep keychain alive
* fix early keychano drop
* set team id
* use common name as cert name
2024-07-12 11:08:55 -03:00
renovate[bot]
532b3b1c03
chore(deps) Update Tauri API Definitions ( #9171 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-12 11:07:49 -03:00
Fabian-Lars
202f15fc40
ci: Fix cli auto publishing ( #10223 )
2024-07-12 10:45:55 -03:00
Amr Bashir
261c9f942d
refactor!(core & api): rename drag events for better consistency and clarity ( #10170 )
...
* refacotr!(core & api): rename drag events for better consistency and clarity
* more renames
* remove imports
* fix drag over listen
* update example
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-07-12 10:22:06 -03:00
Lucas Fernandes Nogueira
69dcfdfe0f
fix(build): skip rerun-if-changed when Info.plist do not exist ( #10267 )
2024-07-12 10:13:08 -03:00
Lucas Fernandes Nogueira
5d29229858
fix(codegen): icon rewriting always triggering build to rerun ( #10268 )
2024-07-12 10:12:58 -03:00
Amr Bashir
4c239729c3
fix(core): fix raw invoke body for isolation pattern ( #10167 )
...
* fix(core): fix raw invoke body for isolation pattern
The `isolation` pattern requests are made using JSON but the payload could be raw bytes, so we send the original `Content-Type` from frontend and make sure to deserialize the payload using that one instead of `Content-Type` from request headers
* clippy
* disable plist embed in generate_context in tests
* change file
* docs [skip ci]
* move unused_variables [skip ci]
* last commit regression [skip ci]
* fix test
* add example, do not text encode raw request
* check type instead of contenttype
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-07-12 09:52:53 -03:00
Amr Bashir
c01e87ad46
refactor(cli/migrate): use oxc kit to parse and migrate js/ts files ( #10198 )
...
* refactor(cli/migrate): use `oxc` kit to parse and migrate js/ts files
closes #10192
* fix tests
* use majic-string to perserve formatting
* more comments
* Discard changes to package.json
* Update cli-migrate-enhancemnets.md
* Update cli-migrate-enhancemnets.md
* more context
* add missing quotes, rename getcurrent
* fix change file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-07-12 09:03:30 -03:00
Amr Bashir
2c076d63d0
ci: recognize contributors in releases ( #10003 )
2024-07-12 09:02:26 -03:00
Amr Bashir
ba9590aa92
feat!: add Listener and Emitter traits ( #9640 )
...
* feat!: add `Listener` and `Emitter` traits
* keep only trait implementation
* change file
* fix doctests
* fix build
2024-07-12 09:01:40 -03:00
Hamir Mahal
1a88fc1a9b
style: simplify string formatting ( #10259 )
...
* style: simplfiy string formatting
* fix: file formatting in `core/`
2024-07-12 13:33:14 +03:00
Amr Bashir
2b1ceb40d3
refactor(api)!: renamed getCurrent functions to avoid ambiguity ( #10229 )
...
* refactor(api)!: renamed `getCurrent` functions to avoid ambiguity
closes #10193
* Update .changes/get-current-ambguity.md
* rename `getAll` and update docs and examples
2024-07-11 14:26:15 +03:00
Tony
249cdde9b6
Fix Serialize impl missing TSend ( #10252 )
2024-07-11 11:11:15 +02:00
Tony
11339418b1
chore(example/api): fix enter doesn't work on input with action button ( #10254 )
...
* Fix enter doesn't work on input with action button
* Use form
2024-07-11 11:06:36 +02:00
Tony
080b6e1272
enhance: use EventName on window's once and remove listener before calling handler ( #10246 )
...
* Refactor
* Revert event => void
* Change file
2024-07-10 19:59:01 +03:00
Brendan Allan
57612ab249
feat: add TSend generic to Channel ( #10139 )
...
* add TSend to Channel
* add changeset
* fix tray Channel
* Update .changes/ipc-channel-generic.md
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-07-10 10:03:20 -03:00
Amr Bashir
15e1259966
fix(cli): parse cargo--target-dir flag ( #10234 )
...
* fix(cli): parse cargo`--target-dir` flag
closes #10190
* clippy
2024-07-10 16:01:04 +03:00
Lorenzo Rizzotti
b4e16f3d8e
fix(android): fix Android Studio project plugin link ( #10235 )
...
* add plugin resolution to gradle settings
This is needed to make Android Studio able to link to the project
* reflect codegen edit in the plugin example
2024-07-10 14:26:06 +03:00
Tony
a4a7233081
chore(example): refactor api example ( #10228 )
2024-07-09 12:00:06 +03:00
Fabian-Lars
c734b9e3cd
feat(bundler/windows): Update wix to fix vulnerabilities and add arm support ( #9861 ) ( #10072 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-07-08 15:51:26 +03:00
Tony
afb102c59b
fix(runtime-wry): window edge not working after setting resizable false and decorated false dynamically ( #10211 )
...
* Fix window edge not working
after setting resziable false and decorated false dynamically
* Fix example don't go crazy on resize
* cargo fmt
2024-07-08 15:24:55 +03:00
Amr Bashir
5998a90f3f
fix(bundler): update nsis_tauri_utils to 0.4.1 ( #10184 )
2024-07-08 13:33:40 +02:00
zrq8
24aaf0f5af
docs(tauri-macros): fix typo in documentation of do_menu_item macro ( #10200 )
2024-07-04 18:03:26 +02:00
Amr Bashir
94136578bc
fix(cli/migrate): fix clipboard permissions migration ( #10186 )
...
closes #10185
The plugin has been updated recently and its permissions has changed.
2024-07-04 10:47:44 +03:00
Fabian-Lars
96f65fef36
fix(bundler): Fix updater bundler warning condition for v2 artifacts ( #10188 )
2024-07-04 10:47:14 +03:00
Tony
11aa7743e7
enhance!(nsis): use !ifmacrodef for installer hooks ( #10177 )
2024-07-03 05:48:22 +03:00
Lucas Fernandes Nogueira
55733aba9c
fix(core): iOS compilation without the wry feature ( #10176 )
...
Ref https://github.com/tauri-apps/plugins-workspace/pull/1402
2024-07-03 05:40:01 +03:00
Jason Tsai
7bc6a2a1d6
feat(macos): support changing title bar style dynamically, close #9763 ( #9788 )
2024-07-03 05:36:51 +03:00
Amr Bashir
a7354f9a81
feat(core): mark AppHandle::restart and process::restart as diverging functions ( #10171 )
...
closes #10160
2024-07-02 07:58:34 -03:00
Tony
eeae0660e1
chore(deps): update cargo mobile2 to 0.12.2 ( #10165 )
2024-07-02 06:55:28 +03:00
github-actions[bot]
ff79161b0d
apply version updates ( #10166 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-07-01 23:30:21 -03:00
Lucas Nogueira
f5b121be6e
Revert "apply version updates ( #9926 )"
...
This reverts commit 1cc9aa4b66 .
2024-07-01 23:14:57 -03:00
github-actions[bot]
1cc9aa4b66
apply version updates ( #9926 )
...
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com >
2024-07-01 22:40:01 -03:00
Tony
911242f092
feat!(core): add bundle createUpdaterArtifacts configuration ( #9883 )
...
* Add updater field
* Don't sign updaters when updater field is false
* Clippy
* Add updater to bundle migration
* Format
* Add updater config to api example
* No warning if update is not enabled
* Build
* Add change file
* We don't generate updater for dmg package
* Warning only for v1 compatible
* clean up
* More clean up
* little bit more
* Apply suggestions from code review
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
* Revert license header change
* Remove option around pubkey and msi args
* More migration tests
* Refactor private_key getter
* Only generate signature for updater for v1 compat
* Format
* Use map_err instead of anyhow context
* Don't generate updater for api example
* Fix misaligned comment
* Rename `updater` to `createUpdaterArtifacts`
* Revert changes in helloworld example
* Add warning for v1 compatible
* Update .changes/separate-updater-field.md
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com >
* update error messages [skip ci]
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-07-01 08:34:58 -03:00
Simon Hyll
e7fd7c60d6
docs: fix broken link ( #10147 )
2024-06-28 12:48:28 +02:00
Tony
5878fb45ce
chore: Update api example ( #10144 )
2024-06-28 11:21:54 +02:00
Amr Bashir
3afe828940
refactor!: change Webview::navigate to return result ( #10134 )
...
closes #9935
2024-06-27 09:43:34 -03:00
Amr Bashir
77d44215ef
enhance(nsis): include uninstaller size in estimated size ( #10137 )
2024-06-27 09:43:13 -03:00
Amr Bashir
e93ca1df3b
fix(core): fix InvokeBody::Raw deserialization ( #10138 )
...
closes #9948
2024-06-27 06:55:49 -03:00
Amr Bashir
27838365a6
fix(cli): parse --profile=<profile> syntax ( #10135 )
...
* fix(cli): parse `--profile=<profile>` syntax
ref: https://github.com/tauri-apps/tauri/issues/6255#issuecomment-2192466839
* Update tooling/cli/src/interface/rust.rs
* safe check next arg
* add test
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-06-27 06:53:26 -03:00
Simon Richard
167b51a8de
feat: improve deserialization errors by using serde-untagged on enums ( #9952 )
...
* Use serde-untagged instead of derive trait for capabilities structs
* Update core/tauri-utils/Cargo.toml
* improve errors for other untagged enums
* clippy
* add tests, fix deserialization
* use schemars attribute instead
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-06-26 17:54:49 -03:00
Tony
878198777e
feat(schema): make acl permissions schema unique ( #9999 )
...
* Make acl permissions schema unique
* Add change file
* use a hashset
* fix cli
* Revert "use a hashset"
This reverts commit 778d316f34 .
* Revert "fix cli"
This reverts commit cfc0e39182 .
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-06-26 17:13:55 -03:00
Jesper L. Nielsen
1601da5b52
fix(cli): removed alpha channel from default IOS AppIcons ( #10114 )
...
* bug: removed alpha channel from default IOS AppIcons
According to Apple's human interface guideline
(https://developer.apple.com/design/human-interface-guidelines/app-icons )
transparent or icons with alpha channel are not allowed, and will be rejected
upon upload to Apple appstore.
* Update .changes/ios-non-transparent-icons.md
2024-06-26 21:10:16 +03:00
Amr Bashir
eb76df4c4f
fix(cli/plugin/new): construct path from components iterator instead of PathBuf::join ( #10128 )
...
fixes #10082
The problem that we were calling `PathBuf::join()` with value of collecting an empty iterator of path components which was equivalent to `PathBuf::from("ios").join("")` which will result in `ios/` with a trailing slash.
This is fixed by chaining iterators of path components and collecting only once into `PathBuf`, which will never append empy path component and will never append trailing slash.
```rs
[
Component::Normal(OsStr::new("ios")),
Component::Normal(&some_folder_name),
]
.into_iter()
.chain(other_components_iterator)
.collect::<PathBuf>()
```
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-06-26 11:11:31 -03:00
olexiyb
1f6e478c84
fix : #7614 - rebuild every time on macos because of Info.plist changes ( #9878 )
...
* fix : #7614 : rebuild every time on macos because of Info.plist changes
* apply proposed patch from lucasfernog
* Update core/tauri-codegen/src/context.rs
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
* Update core/tauri-codegen/src/context.rs
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
* added changes file
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-06-26 08:08:14 -03:00
Tony
7d85f7cf82
chore(deps): update tao to 0.28.1 ( #10130 )
2024-06-26 09:18:29 +03:00
Tony
f21029b1bc
feat!(nsis): add an option to customize start menu folder ( #9994 )
2024-06-26 09:17:02 +03:00
Tony
a15a97594f
chore: generate schema ( #10129 )
...
* Generate schema
* -
* Revert "-"
This reverts commit a456975cd2 .
2024-06-26 09:04:01 +03:00
Tony
35110dba21
fix(nsis): delete app data button gone on higher scaling ( #10106 )
...
* Fix delete app data button gone on high DPI
* Add change file
* change back translation template
* Use w string instead of t
* Add in some comment explaining PerMonitorV2
2024-06-26 09:01:34 +03:00
Tillmann
bb50315c50
refactor: Improve Automated Permission Documentation Generation ( #10113 )
...
* generate permission table with html
* cargo fmt
* clippy fix
* clippy fix
---------
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com >
2024-06-26 07:59:47 +03:00
Fabian-Lars
61bbd8373f
fix(bundler/wix): Add AUTOLAUNCHAPP and LAUNCHAPPARGS public properties ( #10117 )
2024-06-26 06:27:12 +03:00
Amr Bashir
6c9e24a683
fix: fix new clippy errors ( #10054 )
...
* fix: fix new clippy errors
* more clippy
2024-06-24 20:54:43 +03:00
Tony
cee0bfcd6c
feat(core): make all tray and menu permissions enable by default ( #10092 )
...
* Make all tray and menu permissions on by default
* Update example capabilities
* Add change file
2024-06-24 19:50:06 +03:00
Amr Bashir
d4c908cfb8
fix(deps): update rust crate windows to 0.57 and webview2-com to 0.31 ( #10048 )
...
* fix(deps): update rust crate windows to 0.57 and webview2-com to 0.31
* revert fmt
* wry@0.41
2024-06-24 19:20:47 +03:00
Amr Bashir
669b9c6b5a
feat(core): set gtk app id ( #9621 )
...
* feat(core): set gtk app id
ref: https://github.com/tauri-apps/tao/issues/910
* Update core/tauri-runtime-wry/Cargo.toml
* Discard changes to Cargo.lock
2024-06-24 19:20:03 +03:00
Tony
faf282ca6c
fix(nsis): use runtime ${If} check to clean up deep link on uninstall ( #10103 )
2024-06-24 10:48:02 +03:00
Ali Mehasin
e13ea53a26
chore(README.md): alpha -> beta ( #10107 )
2024-06-24 09:37:40 +03:00
Matt Nield
82c2eb3284
chore: Correct grammar typo in documentation of generate_handler macro ( #10110 )
2024-06-24 09:01:44 +03:00
Tony
58821fc0e5
fix(nsis): esitmated size unit ( #10086 )
...
* Fix nsis esitmated size unit
* Add change file
2024-06-19 23:04:40 +02:00
chip
3bbfac8f3b
don't use invoke key template name in comment ( fix #10084 ) ( #10088 )
2024-06-18 19:42:40 +03:00
Tony
16641723b0
chore(deps): update js dev dependencies ( #10051 )
2024-06-14 05:28:06 +03:00
Amr Bashir
3fd84cb3c9
fix(NSIS): rewrite license file with BOM ( #10049 )
...
* fix(NSIS): rewrite license file with BOM
closes #9031
This also includes a change to NSIS bundler to use UTF8 by default
* refactor and cleanup
2024-06-13 18:31:27 +03:00
Tillmann
b2ff840e83
Feat: Improved Security Docstrings and Schema Newline Handling ( #10028 )
...
* Refactor Code Docs
* updated schemas
* cargo fmt whitespace fix
* downgrade cargo-platform to 0.1.7
---------
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com >
2024-06-13 18:31:12 +03:00
Yasunari Fujieda
4ca297b35b
fix(core): check if listener.handler is undefined ( #10007 )
2024-06-12 19:32:06 +03:00
Fabian-Lars
c98f385cb5
fix(api.js): Export mocks module ( #10044 )
2024-06-12 19:22:55 +03:00
dependabot[bot]
85889f289b
chore(deps): bump braces from 3.0.2 to 3.0.3 in /examples/api ( #10040 )
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-12 11:17:15 +02:00
Roy Laurie
79542f4d45
fix(cli): icon should render explicit svg text node fonts ( fix : #10022 ) ( #10039 )
...
* fix(cli): icon should render explicit svg text node fonts (fix : #10022 )
* fix(cli): icon should render explicit svg text node fonts (fix : #10022 )
added a .change file for the fix
2024-06-12 04:25:11 +03:00
Pylogmon
f56cdc9e39
fix: missing depends for rpm package ( #10016 )
...
* fix: missing depends for rpm package
* chore: add changes
2024-06-12 04:24:36 +03:00
Jonas Kruckenberg
b9e11a8b97
fix(bundler): AppImage startup crash ( #10036 )
...
* Update appimage
* Update appimage.rs
* changefile
---------
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
2024-06-11 17:07:17 +02:00
Amr Bashir
f44a2ec47c
feat(cli): include default.toml and capabilities in plugin template ( #10030 )
...
* feat(cli): include default.toml and capabilities in plugin template
* replace execute usage with ping
* add to capabilities
* use default permission set
2024-06-11 13:06:46 +09:00
Tony
5b769948a8
feat(core): add include_image macro ( #9959 )
2024-06-06 06:03:11 +03:00
Tony
586a816e62
fix(bench): update time ( #9993 )
2024-06-06 05:22:13 +03:00
Tony
6f469534b0
fix(nsis): run app as normal user ( #9944 )
2024-06-06 03:53:11 +03:00
amrbashir
30bc3d2095
fix(nsis): always pass default compression even if nsis object is not defined
2024-06-05 20:05:03 +03:00
Amr Bashir
de7da04a62
fix(rpm): use product name for output package ( #9974 )
...
* fix(rpm): use product name for output package
ref: https://github.com/tauri-apps/tauri/pull/9375
ref: https://github.com/tauri-apps/tauri/pull/9375#issuecomment-2144997488
* use kebab-case product-name for rpm
* fmt
2024-06-05 19:57:32 +03:00
amrbashir
27abecd6e5
fix(bundler/nsis): SetCompress off not false
2024-06-05 19:35:40 +03:00
Amr Bashir
148f048871
feat(api): add defaultWindowIcon to app module ( #9979 )
2024-06-05 19:17:06 +03:00
Tony
3ab170917e
feat(nsis): add an option to disable compression ( #9932 )
2024-06-05 19:07:49 +03:00
thewh1teagle
656a649744
feat(cli): add macos hardened runtime signing config option ( #9318 )
...
* feat(cli): add macos signing config option
* rename option to hardened_runtime
* chore(cli): use default true in hardened runtime config
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-06-05 18:04:08 +02:00
Amr Bashir
f29b788110
fix(core/wry): implement resizing natively on Windows ( #9862 )
...
closes #7388
closes #9510
closes #9464
ref #9268
ref #9053
ref #8770
ref #8750
ref #4012
2024-06-05 19:03:22 +03:00
Amr Bashir
fafc238f72
feat: add bundle > homepage option ( #9977 )
...
* feat: add `bundle > homepage` option
If unspecified, it will fallback to `homepage` define in Cargo.toml
closes #9949
* Update settings.rs
2024-06-05 19:01:48 +03:00
Lucas Fernandes Nogueira
40c0f44e1c
fix(cli): plugin iOS Xcode project deployment target should be 13.0 ( #9971 )
2024-06-04 17:55:40 -03:00
Tony
f955f7b490
chore(deps): migrate dirs_next to dirs ( #9929 )
2024-06-04 06:03:25 +03:00
Tony
e6e17ad1c8
fix(core): add std feature to raw-window-handle ( #9954 )
2024-06-04 05:19:54 +03:00
Tony
ea78bf5558
fix(nsis): migrate old shortcuts by setting the path only instead of re-creating a new one ( #9915 )
2024-06-04 04:27:17 +03:00
Kareem Ebrahim
019a74e970
fix(cli): correct module name resolution for clipboard and globalShortcut plugins ( #9931 )
2024-06-03 21:57:46 +03:00
Amr Bashir
ddaabda365
feat: expose WebviewWinowBuilder::on_download ( #9922 )
...
* feat: expose `WebviewWinowBuilder::on_download`
closes #9921
* fix tests
2024-06-03 21:14:00 +03:00
Lucas Fernandes Nogueira
3cca5c2be8
chore(cli): update to new buildConfig format ( #9924 )
...
* chore(cli): update to new buildConfig format
the existing usage has been deprecated and will be removed on gradle plugin v9, as Android Studio warns
* add config to our lib too
2024-05-30 16:56:11 -03:00
github-actions[bot]
916a26c2a1
apply version updates ( #9913 )
2024-05-29 17:02:21 -03:00
Simon Hyll
0a6e62ac58
chore: update schema.json ( #9908 )
2024-05-29 16:33:39 -03:00
Amr Bashir
38df6ea1c1
fix(nsis): fix regression in shortcuts pointing to a non-existing file ( #9909 )
2024-05-29 16:33:24 -03:00
github-actions[bot]
a0a76cea2f
Apply Version Updates From Current Changes ( #9911 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-05-29 13:58:51 -03:00
Amr Bashir
dfd05441c7
Revert "feat(core): add app-region: drag to data-tauri-drag-region ( #9789 )" ( #9860 )
...
* Revert "feat(core): add `app-region: drag` to `data-tauri-drag-region` (#9789 )"
This reverts commit ae6b13dfc0 .
* Update pre.json
* change files
* Discard changes to .changes/pre.json
2024-05-29 12:20:05 -03:00
Simon Hyll
5e8aa6f946
fix: workaround for broken example ( #9906 )
...
`schemars` improperly parses the docstring, causing a missing newline before the codeblock closing tics.
2024-05-30 00:16:29 +09:00
Tillmann
4942d809ab
feat: Auto Generation of ACL Schema File for Documentation ( #9903 )
...
* Add auto generated acl schema files for docs
* update CI
---------
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com >
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev >
2024-05-29 09:32:58 -03:00