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