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_MIRROR
to 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