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
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
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
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
Lucas Fernandes Nogueira
948772a657
refactor(api): change button_state to camelCase ( #11114 )
2024-09-24 08:18:52 -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
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
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
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
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
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
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
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
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
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
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