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