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