Compare commits

...

136 Commits

Author SHA1 Message Date
github-actions[bot]
86d82af494 Apply Version Updates From Current Changes (#4005)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-07 20:01:58 -03:00
Lucas Fernandes Nogueira
a1929c6dac fix(cli): always read custom config file from CWD, closes #4067 (#4074) 2022-05-07 16:20:58 -03:00
Jonas Kruckenberg
35f2147161 feat(cli): Improve CLI logging (#4060)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-07 10:19:54 -03:00
Lucas Nogueira
d4b49d75a6 fix(examples): parent window example freezing and crashing, closes #4064 2022-05-05 20:57:32 -03:00
Jonas Kruckenberg
a4fcaf1d04 fix: don't override default keychain, closes #4008 (#4053)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-05 18:29:40 -03:00
Lucas Fernandes Nogueira
c82b4761e1 feat(core): expose with_webview API to access the platform webview (#4058) 2022-05-04 14:14:15 -03:00
Lucas Fernandes Nogueira
72e577dcc6 fix(bundler): properly reinstall files on MSI downgrades, closes #3868 (#4044) 2022-05-04 10:48:53 -03:00
Lucas Fernandes Nogueira
95726ebb61 feat(cli): prevent default bundle identifier from building, closes #4041 (#4042) 2022-05-04 10:48:38 -03:00
Amr Bashir
0180dcc812 fix(updater): remove single&double quotes escaping in updater dialog … (#4047) 2022-05-04 10:43:49 -03:00
renovate[bot]
615f48dee0 chore(deps) Update Rust crate serde_json to 1.0.81 (#4048)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-04 10:25:50 -03:00
renovate[bot]
9bd3fc48ee chore(deps) Update Tauri API Definitions (#4049)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-04 10:25:41 -03:00
renovate[bot]
0612da3014 chore(deps) Update Tauri CLI (#4054)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-04 10:25:31 -03:00
Alex Rock
2778d21f9b Fix binary extension duplicate "." char (#4055) 2022-05-04 10:24:14 -03:00
Lucas Fernandes Nogueira
eaf9e5a9a6 fix(audit): remove tempdir dependency, closes #4022 (#4046) 2022-05-03 15:36:31 -03:00
Lucas Fernandes Nogueira
1ca2dd677d fix(tauri-build): properly set executable version info on Windows (#4045) 2022-05-03 14:04:23 -03:00
Alex Rock
4562e671e4 fix(build): append .exe binary based on target triple instead of running OS, closes #3870 (#4032)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-03 13:57:11 -03:00
Lucas Fernandes Nogueira
a0ecd81a93 fix(core): percent decode file drop payloads, closes #4034 (#4035) 2022-05-03 13:05:18 -03:00
Lucas Fernandes Nogueira
715cbde384 feat(config): add $schema to tauri.conf.json, closes #3464 (#4031) 2022-05-03 12:26:16 -03:00
Lucas Nogueira
ec79e075a9 fix(core): http timeout field is optional, closes #4036 2022-05-03 12:17:23 -03:00
Lucas Fernandes Nogueira
220e746014 fix(core): set dialog title via API, closes #4029 (#4030) 2022-05-02 21:04:45 -03:00
Lucas Fernandes Nogueira
d31167c520 fix(core): dialog crashing on macOS when the parent is empty (#4028) 2022-05-02 21:04:38 -03:00
Lucas Fernandes Nogueira
891eb748cf fix(tauri-runtime-wry): menu even panic on macOS inspector, closes #3875 (#4027) 2022-05-02 21:04:30 -03:00
Lucas Fernandes Nogueira
164078c0b7 feat: allow limiting dangerousDisableAssetCspModification, closes #3831 (#4021) 2022-05-02 21:04:21 -03:00
Lucas Nogueira
a6f1734c49 chore(cli): update plugin template icons 2022-05-02 11:11:02 -03:00
Lucas Nogueira
5666c0bce8 fix(examples): properly load request path in streaming example 2022-05-01 20:46:37 -03:00
Lucas Nogueira
f37354e675 fix(schema): shell scope cmd is not required 2022-05-01 16:05:38 -03:00
Lucas Fernandes Nogueira
022eed4667 fix(core): nested isolation iframes, closes #4015 (#4020) 2022-05-01 15:50:17 -03:00
Lucas Fernandes Nogueira
8f259f4ef8 fix(core): use EventLoopProxy to prevent set_size freeze closes #3990 (#4014) 2022-04-30 11:10:21 -03:00
Lucas Fernandes Nogueira
de444b15d2 fix(bundler): debian failing to load icns icon, closes #3062 (#4009)
* fix(bundler): debian failing to load icns icon, closes #3062

* fix change file
2022-04-30 10:53:29 -03:00
Lucas Nogueira
6278fc9774 fix(ci): do not run ignored doctest 2022-04-29 21:33:33 -03:00
Lucas Fernandes Nogueira
f3c5ca89e7 fix(core): http api connect_timeout deserialization, closes #4004 (#4006) 2022-04-29 21:26:45 -03:00
Lucas Fernandes Nogueira
ad1786178a tests(e2e): add updater integration test (#3973) 2022-04-29 20:30:24 -03:00
Lucas Fernandes Nogueira
320484866b fix(cli): powershell crashing on SIGINT, closes #3997 (#4007) 2022-04-29 19:51:08 -03:00
renovate[bot]
d96805a7ac chore(deps) Update dependency jest to v28 (#3986)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-29 15:02:40 -03:00
renovate[bot]
84c5249b40 chore(deps) Update Tauri CLI (#3979)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-29 13:47:52 -03:00
renovate[bot]
60ff8f4bec chore(deps) Update Rust crate image to 0.24.2 (#3978)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-29 13:47:30 -03:00
renovate[bot]
2fe54e3d11 chore(deps) Update Tauri API Definitions (#3980)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-29 13:47:12 -03:00
renovate[bot]
6462b62822 chore(deps) Update dependency @rollup/plugin-commonjs to v22 (#3981)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-29 13:46:56 -03:00
renovate[bot]
73c2349451 chore(deps) Update dependency @napi-rs/cli to v2.7.0 (#3983)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-29 13:46:31 -03:00
renovate[bot]
4940ac3b8a chore(deps) Update dependency @rollup/plugin-commonjs to v22 (#3984)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-29 13:45:52 -03:00
Amr Bashir
bbabc8cd1e fix(cli.rs): remove startup delay in tauri dev (#3999)
* fix(cli.rs): remove startup delay in `tauri dev`

* change timeout [skip ci]

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-04-29 13:44:31 -03:00
Amr Bashir
4f0f3187c9 fix(cli.rs): fix tauri info panic when a package isn't installed, closes #3985 (#3996) 2022-04-29 13:29:31 -03:00
Lucas Fernandes Nogueira
094534d138 fix(cli): dev command stderr text overflow on Windows, closes #3995 (#4000) 2022-04-29 13:28:13 -03:00
github-actions[bot]
cf22f4ca5d Apply Version Updates From Current Changes (#3975)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-04-26 20:40:24 -03:00
Lucas Fernandes Nogueira
62cdb2b307 refactor(tauri): remove ayatana-tray from the default features (#3976) 2022-04-26 20:16:52 -03:00
Lucas Nogueira
7ae9e25262 fix(tauri-build): rerun if TAURI_CONFIG env var changes 2022-04-26 20:02:06 -03:00
Lucas Nogueira
146b588b2e fix(ci): unique concurrency group names across workflows 2022-04-26 19:04:10 -03:00
Lucas Fernandes Nogueira
dd94917b61 fix(tauri): docs.rs build error (#3974) 2022-04-26 18:49:10 -03:00
github-actions[bot]
feac1d193c Apply Version Updates From Current Changes (#3820)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-04-26 11:53:21 -03:00
Lucas Fernandes Nogueira
f7d3d93b62 refactor(core): improve performance of the extract API (#3963) 2022-04-25 20:52:02 -03:00
Lucas Fernandes Nogueira
edf85bc1d1 fix(codegen): read platform-specific config file (#3966) 2022-04-25 19:47:10 -03:00
Lucas Nogueira
58b3f48ecb fix(core): re-export ClipboardManager 2022-04-25 14:49:36 -03:00
Ashish Shekar
a649aad7ad feat(cli): check and notify about updates on tauri dev, closes #3789 (#3960)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-04-25 11:31:25 -03:00
Lucas Fernandes Nogueira
4a405065c7 Merge pull request #3959 from tauri-apps/perf/improve-binary-size 2022-04-25 06:52:57 -07:00
Lucas Nogueira
4d31705162 chore(examples): enable process-command-api feature for the sidecar ex 2022-04-25 10:45:50 -03:00
Lucas Nogueira
0ea009cfdc chore(lint): fix warnings 2022-04-24 19:49:22 -03:00
Lucas Nogueira
bcfed499cf fix(tests): ensure all features are checked 2022-04-24 19:39:26 -03:00
Lucas Nogueira
2189416a76 fix(core): properly check CARGO_FEATURE_ env vars 2022-04-24 19:32:51 -03:00
Lucas Fernandes Nogueira
ed467c275b perf: completely remove endpoints if none of its APIs is allowlisted (#3958) 2022-04-24 19:18:22 -03:00
Lucas Fernandes Nogueira
24e4ff208e refactor(core): add clipboard Cargo feature, enhancing binary size (#3957) 2022-04-24 15:50:42 -03:00
Lucas Fernandes Nogueira
e11878bcf7 refactor(core): add global-shortcut Cargo feature, enhancing binary size (#3956) 2022-04-24 15:11:14 -03:00
Lucas Fernandes Nogueira
c23f139ba8 perf(core): improve binary size with api enum serde refactor (#3952) 2022-04-24 14:08:05 -03:00
Lucas Fernandes Nogueira
f68af45a11 fix(cli): use terminal_size instead of term_size for Windows support (#3955) 2022-04-24 13:54:22 -03:00
Lucas Fernandes Nogueira
f66bc3c2b8 fix(bundler): DLL resources, closes #3948 (#3949) 2022-04-23 11:01:52 -03:00
Lucas Nogueira
0198c2ba45 chore: prepare set_cursor_grab in Linux
it is not implemented yet, but the next tao release won't panic when called, so we'll get this ready for a future patch
2022-04-22 21:59:31 -03:00
Lucas Nogueira
1303264190 chore: enable set_cursor_position in Linux
It is not ready yet, but it has been pushed to tao
2022-04-22 21:55:17 -03:00
Lucas Fernandes Nogueira
582bdfccbc docs(tauri): document all feature flags, add test (#3947) 2022-04-22 21:51:39 -03:00
Lucas Fernandes Nogueira
1397d9121a feat(core): add support to multipart/form-data requests, closes #2118 (#3929) 2022-04-22 20:04:58 -03:00
Lucas Fernandes Nogueira
8e00f0904c fix: files_transfer benchmark (#3944) 2022-04-22 14:37:10 -03:00
Lucas Fernandes Nogueira
b5622882cf fix(cli): exit on non-compilation Cargo errors, closes #3930 (#3942) 2022-04-22 12:59:03 -03:00
Lucas Fernandes Nogueira
81705bb332 feat(updater): add method to set request headers closes #3896 (#3931) 2022-04-22 10:56:57 -03:00
nbro
38e330f525 fixes link to docs (#3940) 2022-04-22 00:35:17 -03:00
Lucas Fernandes Nogueira
320329a9a7 fix(core): insert to webview_id_map on tao window creation, closes #3883 (#3932) 2022-04-22 00:34:22 -03:00
Lucas Fernandes Nogueira
7864d41de8 feat(core): fallback to {path}.html in Tauri protocol loader ref #3887 (#3939) 2022-04-22 00:34:15 -03:00
Lucas Nogueira
47be3514a7 fix(cli): prevent infinite loop in dev file watcher 2022-04-21 21:29:26 -03:00
Lucas Fernandes Nogueira
c54ddfe933 feat: expose window cursor APIs, closes #3888 #3890 (#3935) 2022-04-21 15:54:08 -03:00
Lucas Fernandes Nogueira
76950e978e feat(ci): cancel in progress (#3938) 2022-04-21 15:09:57 -03:00
Lucas Fernandes Nogueira
4cebcf6da7 feat: expose theme APIs, closes #3903 (#3937) 2022-04-21 15:03:29 -03:00
Lucas Nogueira
0299e500b6 chore(deps): update attohttpc to 0.19 2022-04-20 23:08:36 -03:00
Lucas Fernandes Nogueira
cc35608430 fix(core): do not serialize strings in http api form, closes #3910 (#3928) 2022-04-20 15:32:38 -03:00
renovate[bot]
395a259019 chore(deps) Update Rust crate uuid to v1 (#3927)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-04-20 14:38:51 -03:00
renovate[bot]
71c7807fd8 chore(deps) Update Rust crate uuid to v1 (#3926)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-04-20 14:38:40 -03:00
renovate[bot]
718a42656e chore(deps) Update Rust crate uuid to v1 (#3925)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-20 13:26:57 -03:00
renovate[bot]
f0fb65bfbd chore(deps) Update Tauri JS CLI (#3924)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-20 13:07:18 -03:00
renovate[bot]
a478841424 chore(deps) Update Tauri CLI (#3923)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-20 12:50:34 -03:00
renovate[bot]
0221d14faf chore(deps) Update Rust crate toml to 0.5.9 (#3919)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-20 11:43:46 -03:00
renovate[bot]
132e5b85f2 chore(deps) Update Tauri API Definitions (#3920)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-20 11:31:24 -03:00
Lucas Fernandes Nogueira
70ff55c1aa fix(core): panic on menu event with minimized windows, closes #3902 (#3918) 2022-04-20 11:30:59 -03:00
Antoine Chauvin
3bd3d923d3 fix: add priority field in debian/control (#3865)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-04-19 20:03:04 -03:00
renovate[bot]
c479e979d9 chore(deps) Update Tauri CLI (#3893)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-04-19 20:02:48 -03:00
renovate[bot]
bc3ba1cf20 chore(deps) Update Tauri API Definitions (#3892)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-19 19:05:02 -03:00
Lucas Fernandes Nogueira
80b714af6b fix: rendering issue when resizing with devtools open closes #3914 #3814 (#3915) 2022-04-19 19:04:52 -03:00
Lucas Fernandes Nogueira
485c97438a fix(cli): kill beforeDevCommand if dev code returns an error (#3907) 2022-04-19 19:04:42 -03:00
Lucas Fernandes Nogueira
f2a30d8bc5 refactor(core): use ayatana appindicator by default, keep option to use gtk (#3916) 2022-04-19 17:33:17 -03:00
Joep Meindertsma
c4320ed1bc Improve docs for updater signing CLI usage (#3881) 2022-04-18 20:56:02 -03:00
Anish Prashun
822b038c3e null type added (#3900) 2022-04-17 14:30:36 -03:00
Lucas Nogueira
aa111c8c3e chore(deps): update wry to 0.15 2022-04-12 13:28:25 -03:00
Lucas Fernandes Nogueira
fa2baba76c feat(core): create webview immediately when running in main thread (#3891) 2022-04-12 13:22:02 -03:00
renovate[bot]
82c7855bf8 chore(deps) Update dependency @babel/core to v7.17.9 (#3866)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-06 14:36:12 -03:00
Jonas Kruckenberg
621062246d refactor: drop strip from build command. closes #3559 (#3863) 2022-04-06 09:45:55 -03:00
renovate[bot]
2c1c5ab13f chore(deps) Update Tauri JS CLI to v2.6.2 (#3862)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-06 09:36:52 -03:00
renovate[bot]
94a6a09df2 chore(deps) Update Tauri API Definitions (#3861)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-06 09:36:00 -03:00
renovate[bot]
7bc0e1f9a4 chore(deps) Update Tauri CLI (#3860)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-06 09:35:42 -03:00
Lucas Fernandes Nogueira
ed71679368 refactor(updater): improve unsupported error variants, closes #3817 (#3849) 2022-04-05 09:47:10 -03:00
renovate[bot]
6839fde11d chore(deps) Update Rust crate libflate to 1.2 (#3813)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-03 11:39:51 -03:00
Lucas Fernandes Nogueira
e251e1b099 fix(cli): kill before dev command recursively on Unix, closes #2794 (#3848) 2022-04-03 11:26:57 -03:00
Lucas Nogueira
42a32ee9f3 fix(cli): wrong cli.js version in metadata.json 2022-04-03 11:08:55 -03:00
Lucas Nogueira
30c38a50ee fix(examples): streaming video download link 2022-04-03 10:20:45 -03:00
Lucas Fernandes Nogueira
42e8d9cf92 fix(api): encode file path in convertFileSrc function, closes #3841 (#3846) 2022-04-02 11:54:26 -03:00
Lucas Nogueira
b1f83fd05f chore(cli): update lockfile 2022-04-02 11:25:26 -03:00
Lucas Fernandes Nogueira
0ecfad5924 refactor(updater): unset request timeout, add builder setter (#3847) 2022-04-02 10:25:44 -03:00
Lucas Fernandes Nogueira
f67ae6bd60 fix(core): set bundle id for notifications on macOS (#3839) 2022-04-01 23:35:29 -03:00
Lucas Fernandes Nogueira
9712ed1a68 feat(updater): add Downloaded status event (#3804) 2022-04-01 21:48:23 -03:00
renovate[bot]
9b70f82252 chore(deps) Update Tauri API Definitions (#3806)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-01 21:03:22 -03:00
renovate[bot]
c009efe743 chore(deps) Update Tauri CLI (#3807)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-01 21:03:11 -03:00
renovate[bot]
a4337dab99 chore(deps) Update dependency prettier to v2.6.1 (#3809)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-01 21:02:56 -03:00
Amr Bashir
73a4b74aea fix(cli.rs/info): don't show outdated text for latest versions (#3829) 2022-04-01 20:59:56 -03:00
Lucas Fernandes Nogueira
7c7d854ab9 refactor(core): remove deprecated APIs (#3834) 2022-04-01 20:58:54 -03:00
Lucas Fernandes Nogueira
6a5ff08ce9 refactor: remove bootstrapper, closes #3786 (#3832) 2022-03-31 14:51:17 -03:00
Lucas Fernandes Nogueira
985d250898 fix(tauri): export WindowBuilder struct instead of trait, closes #3827 (#3833) 2022-03-31 14:50:33 -03:00
chip
50d135b20f fix documentation link in tauri-driver readme (#3819) 2022-03-31 08:51:37 +02:00
Lucas Nogueira
b8c146a715 Revert "chore(ci): run covector publish"
This reverts commit d956ccda7d.
2022-03-30 21:13:24 -03:00
Lucas Nogueira
c59846d088 chore(webdriver): update lockfile 2022-03-30 21:05:42 -03:00
Lucas Nogueira
d956ccda7d chore(ci): run covector publish 2022-03-30 20:55:42 -03:00
github-actions[bot]
3b69596742 Apply Version Updates From Current Changes (#3803)
Co-authored-by: chippers <chippers@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
2022-03-30 16:50:12 -07:00
pwespi
cd9dfc7b9a fix(driver): expose native-host option and set default to 127.0.0.1 (#3816) 2022-03-30 16:07:08 -07:00
Lucas Fernandes Nogueira
c7696f34ec feat(updater): add body and date getters (#3802) 2022-03-29 11:30:44 -03:00
Lucas Nogueira
b14aa89673 feat(core): improve AboutMetadata setters 2022-03-29 11:27:57 -03:00
Lucas Nogueira
4541eaf2cb fix: flag capitalization on documentation 2022-03-29 10:43:59 -03:00
Fabian-Lars
be07343b52 fix(docs): fix macOSPrivateApi capitalization (#3800) 2022-03-29 10:12:16 -03:00
github-actions[bot]
a144e92993 Apply Version Updates From Current Changes (#3798)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-03-28 22:52:37 -03:00
Lucas Fernandes Nogueira
06aa87b65f fix(core): WindowEvent type used on Window::on_window_event (#3796) 2022-03-28 22:44:47 -03:00
Lucas Fernandes Nogueira
169b5035a9 fix(core): actually fire WindowEvent::Destroyed (#3797) 2022-03-28 22:43:07 -03:00
Lucas Fernandes Nogueira
a073f27d4a fix(ci): cli.js publish workflow (#3795)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-03-28 19:42:15 -03:00
renovate[bot]
f93f96970c Revert "chore(deps) Update dependency @napi-rs/cli to v2.5.0 (#3757)"
This reverts commit 4d6a78bf82.
2022-03-28 18:20:22 -03:00
Lucas Nogueira
ae94c6be95 chore(examples): update lockfile 2022-03-28 18:04:10 -03:00
290 changed files with 8173 additions and 4317 deletions

View File

@@ -0,0 +1,5 @@
---
"tauri-runtime": patch
---
The `AboutMetadata` string setters now take `impl Into<String>`.

View File

@@ -0,0 +1,5 @@
---
"api": patch
---
Encode the file path in the `convertFileSrc` function.

View File

@@ -0,0 +1,5 @@
---
"api": patch
---
Added `theme` getter to `WebviewWindow`.

View File

@@ -0,0 +1,5 @@
---
"api": patch
---
Added `theme` field to `WindowOptions`.

View File

@@ -0,0 +1,5 @@
---
"api": patch
---
Added the `setCursorGrab`, `setCursorVisible`, `setCursorIcon` and `setCursorPosition` methods to the `WebviewWindow` class.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
**Breaking change:** Removed `tauri::api::file::ArchiveFormat::Plain`.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Fallback to `{path}.html` when `{path}` is not found in the Tauri custom protocol handler.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
**Breaking change:** Removed the `ayatana-tray` from the default features. You must select one of `ayatana-tray` and `gtk-tray` to use system tray on Linux.

5
.changes/ayatana-tray.md Normal file
View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
**Breaking change:** Use ayatana-appindicator for Linux system tray by default. Use the `gtk-tray` Cargo feature to use `libappindicator` instead.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Reduce the amount of generated code for the API endpoints.

View File

@@ -0,0 +1,5 @@
---
"tauri-build": patch
---
Rerun build script if `TAURI_CONFIG` environment variable change.

View File

@@ -0,0 +1,5 @@
---
"tauri-bundler": major
---
Remove `Settings::verbose` option. You may now bring your own `log` frontend to receive logging output from the bundler while remaining in control of verbosity and formatting.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Resolve binary file extension from target triple instead of compile-time checks to allow cross compilation.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Exit CLI when Cargo returns a non-compilation error in `tauri dev`.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Notify CLI update when running `tauri dev`.

View File

@@ -0,0 +1,7 @@
---
"cli.rs": patch
---
The CLI will not automatically run `strip` on release binaries anymore. Use the [`strip`] profile setting stabilized with Cargo 1.59.
[`strip`]: https://doc.rust-lang.org/cargo/reference/profiles.html#strip

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Fixes text overflow on `tauri dev` on Windows.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Kill the `beforeDevCommand` and app processes if the dev command returns an error.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": minor
"cli.js": minor
---
Improve CLI's logging output, making use of the standard rust `log` system.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": "patch"
"cli.js": "patch"
---
Fix `info` command showing outdated text for latest versions.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Don't override the default keychain on macOS while code signing.

View File

@@ -0,0 +1,7 @@
---
"cli.rs": patch
"cli.js": patch
---
* Remove startup delay in `tauri dev` caused by checking for a newer cli version. The check is now done upon process exit.
* Add `TAURI_SKIP_UPDATE_CHECK` env variable to skip checking for a newer CLI version.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Fix `tauri info` panic when a pacakage isn't installed.

View File

@@ -0,0 +1,7 @@
---
"tauri": patch
"tauri-runtime": minor
"tauri-runtime-wry": minor
---
**Breaking change::* Added the `clipboard` Cargo feature.

View File

@@ -0,0 +1,5 @@
---
"tauri-codegen": patch
---
Read platform-specific configuration files when generating code without the `TAURI_CONFIG` env var.

View File

@@ -0,0 +1,6 @@
---
"tauri": patch
"api": patch
---
**Breaking change:** The process Command API stdio lines now includes the trailing `\r`.

View File

@@ -0,0 +1,7 @@
---
"tauri-utils": patch
"cli.rs": patch
"cli.js": patch
---
Added `$schema` support to `tauri.conf.json`.

View File

@@ -8,7 +8,7 @@
"getPublishedVersion": "cargo search ${ pkgFile.pkg.package.name } --limit 1 | sed -nE \"s/^[^\\\"]*\\\"//; s/\\\".*//1p\"",
"prepublish": [
"sudo apt-get update",
"sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf",
"sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf",
"cargo install cargo-audit --features=fix",
{
"command": "cargo generate-lockfile",

7
.changes/cursor-apis.md Normal file
View File

@@ -0,0 +1,7 @@
---
"tauri": patch
"tauri-runtime": patch
"tauri-runtime-wry": patch
---
Expose Window cursor APIs `set_cursor_grab`, `set_cursor_visible`, `set_cursor_icon` and `set_cursor_position`.

View File

@@ -0,0 +1,7 @@
---
"tauri": patch
"tauri-utils": patch
"tauri-codegen": patch
---
The `dangerous_allow_asset_csp_modification` configuration value has been changed to allow a list of CSP directives to disable.

View File

@@ -0,0 +1,5 @@
---
"tauri-bundler": patch
---
Set the Debian control file `Priority` field to `optional`.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
**Breaking change:** The `dev` command now reads the custom config file from CWD instead of the Tauri folder.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
**Breaking change:** Enable default Cargo features except `tauri/custom-protocol` on the dev command.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Re-export the `GlobalShortcutManager` when the `global-shortcut` feature is enabled.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
**Breaking change:** The `tauri::api::file::Extract#extract_file` function has been moved to `tauri::api::file::Entry#extract`.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
**Breaking change:** The `tauri::api::file::Extract#files` function has been renamed to `with_files` for performance reasons.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Improved the performance of the `tauri::api::fs::Extract` API.

View File

@@ -0,0 +1,6 @@
---
"tauri-runtime-wry": patch
"tauri": patch
---
The file drop event payloads are now percent-decoded.

View File

@@ -0,0 +1,5 @@
---
"api": patch
---
Fixes the type of `http > connectTimeout`.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Kill the `beforeDevCommand` process recursively on Unix.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Fixes a Powershell crash when sending SIGINT to the dev command.

View File

@@ -0,0 +1,6 @@
---
"tauri": patch
"tauri-runtime-wry": patch
---
Fixes a panic when using the `create_tao_window` API.

View File

@@ -0,0 +1,5 @@
---
"tauri-bundler": patch
---
Ignore errors when loading `icns` files in the `.deb` package generation.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Fix dialog crash on macOS when the `default_path` value is just the file name.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Fixes the `title` option being ignored in the dialog API endpoints.

View File

@@ -0,0 +1,5 @@
---
"tauri-bundler": patch
---
Fixes DLL resource usage on Windows.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Fixes the HTTP API form text fields.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Set the application bundle identifier for the notifications on macOS.

View File

@@ -0,0 +1,5 @@
---
"tauri-runtime-wry": patch
---
Fixes a crash when using the menu with the inspector window focused on macOS. In this case the `window_id` will be the id of the first app window.

View File

@@ -0,0 +1,6 @@
---
"tauri": patch
"tauri-runtime-wry": patch
---
Fixes a panic when a menu event is triggered when all windows are minimized on macOS.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Fixes nested isolation iframe injection.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Fixes the `WindowEvent` type used on `Window::on_window_event`.

View File

@@ -0,0 +1,6 @@
---
"tauri-runtime-wry": patch
"tauri": patch
---
Fixes a rendering issue when resizing the window with the devtools open.

View File

@@ -0,0 +1,5 @@
---
"tauri-runtime-wry": patch
---
Fixes a freeze when calling `set_size` in the main thread on Windows.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Fixes `docs.rs` documentation build.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Fixes the `WindowBuilder` export.

View File

@@ -0,0 +1,5 @@
---
"tauri-bundler": patch
---
Fix app downgrades when using the Windows installer.

View File

@@ -0,0 +1,5 @@
---
"tauri-build": patch
---
Properly set file version information for the Windows executable.

View File

@@ -0,0 +1,6 @@
---
"tauri-runtime-wry": patch
"tauri": patch
---
Fixes `WindowEvent::Destroyed` not firing.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
The HTTP API now supports `multipart/form-data` requests. You need to set the `Content-Type` header and enable the `http-multipart` Cargo feature.

View File

@@ -0,0 +1,7 @@
---
"tauri": patch
"tauri-runtime": minor
"tauri-runtime-wry": minor
---
**Breaking change::* Added the `global-shortcut` Cargo feature.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Added `tauri::api::http::HttpRequestBuilder#header` method.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
**Breaking change:** The `tauri::api::http::HttpRequestBuilder#headers` method now takes `header::HeaderMap` instead of a `HashMap`.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
**Breaking change:** The `tauri::api::http::Response#headers` method now returns `&header::HeaderMap` instead of `&HashMap`.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
**Breaking change:** The `api::http` timeouts are now represented as `std::time::Duration` instead of a `u64`.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Deserialize numeric values (seconds) in the http API `ClientBuilder.connect_timeout` and `HttpRequestBuilder.timeout` fields.

View File

@@ -0,0 +1,5 @@
---
"tauri-utils": patch
---
Added the `io` module with the `read_line` method.

View File

@@ -1,6 +1,7 @@
{
"tag": "rc",
"changes": [
".changes/about-metadata-into-string.md",
".changes/allow-conf-gitignore.md",
".changes/allowlist-clipboard.md",
".changes/allowlist-dialog.md",
@@ -13,6 +14,7 @@
".changes/api-change-events.md",
".changes/api-dialog-ask-message-confirm.md",
".changes/api-emit-payload-type.md",
".changes/api-encode-protocol-path.md",
".changes/api-features.md",
".changes/api-fetch-empty-reponse.md",
".changes/api-file-dialog-title.md",
@@ -22,20 +24,29 @@
".changes/api-relaunch-cleanup.md",
".changes/api-remove-current-dir.md",
".changes/api-remove-ts-files.md",
".changes/api-theme-getter.md",
".changes/api-theme-window-option.md",
".changes/api-use-uint8array.md",
".changes/api-window-cursor.md",
".changes/api-window-type-for-size-and-position.md",
".changes/app-any-thread.md",
".changes/app-folder-structure.md",
".changes/appwindow-type-fix.md",
".changes/archive-format-plain-breaking-changes.md",
".changes/asset-allowlist.md",
".changes/asset-cors.md",
".changes/asset-default-ext-fallback.md",
".changes/asset-protocol-feature-flag.md",
".changes/asset-resolver.md",
".changes/async-cli.js.md",
".changes/async-runtime-refactor.md",
".changes/async-runtime-set.md",
".changes/async-runtime-spawn-blocking.md",
".changes/ayatana-feature-refactor.md",
".changes/ayatana-tray.md",
".changes/before-script-envs.md",
".changes/binary-size-perf.md",
".changes/build-rerun-if-config-var-change.md",
".changes/build-rerun-if-resource-sidecar-change.md",
".changes/build-specify-win-sdk.md",
".changes/builder-create-window-result.md",
@@ -45,13 +56,23 @@
".changes/bundler-fix-appimage.md",
".changes/bundler-msi-init-installdir.md",
".changes/bundler-print-cfg.md",
".changes/bundler-remove-verbose-option.md",
".changes/callback-validation.md",
".changes/clap-3.0.md",
".changes/clap-beta.4-core.md",
".changes/clap-beta.4.md",
".changes/cli-bin-ext-from-target-triple.md",
".changes/cli-compilation-error-exit.md",
".changes/cli-config-path.md",
".changes/cli-dev-update.md",
".changes/cli-drop-strip.md",
".changes/cli-fix-overflow-windows.md",
".changes/cli-handle-dev-err.md",
".changes/cli-improve-waiting-devserver-msg.md",
".changes/cli-improved-logging.md",
".changes/cli-include-vswhere.md",
".changes/cli-info-outdated.md",
".changes/cli-no-default-keychain.md",
".changes/cli-private-key-pwd-panic.md",
".changes/cli-runner-args.md",
".changes/cli-runner-error-message.md",
@@ -64,16 +85,22 @@
".changes/cli.rs-build-tools-info.md",
".changes/cli.rs-default-svelte-port.md",
".changes/cli.rs-detect-git.md",
".changes/cli.rs-dev-update-check-delay.md",
".changes/cli.rs-dialoguer.md",
".changes/cli.rs-fix-windows-x86.md",
".changes/cli.rs-info-panic.md",
".changes/cli.rs-refactor-signer.md",
".changes/cli.rs-template-plugin-builder.md",
".changes/cli.rs-use-tauri-utils.md",
".changes/cli.rs-validate-dist-dir.md",
".changes/cli.rs-wix-license.md",
".changes/clipboard-feature.md",
".changes/codegen-platform-config.md",
".changes/colorful-cli.md",
".changes/command-feature-flag.md",
".changes/command-output-carriage-return.md",
".changes/command-stdio-return.md",
".changes/config-$schema.md",
".changes/consistent-event-name-usage.md",
".changes/core-add-log-dir.md",
".changes/core-center-window.md",
@@ -82,11 +109,16 @@
".changes/create-window-return-window.md",
".changes/csp-nonces.md",
".changes/current-binary-caching.md",
".changes/cursor-apis.md",
".changes/custom-invoke-system.md",
".changes/custom-updater-target.md",
".changes/dangerous-disable-asset-csp-modification-config.md",
".changes/dangerous-disable-asset-csp.md",
".changes/data-url-csp.md",
".changes/debian-priority.md",
".changes/dev-cmd-config-arg.md",
".changes/dev-csp.md",
".changes/dev-keep-default-features.md",
".changes/dev-server-exit.md",
".changes/devtools-apis.md",
".changes/devtools-hotkey.md",
@@ -98,51 +130,78 @@
".changes/error-send-sync.md",
".changes/exit-loop-destroyed.md",
".changes/expose-escape-json-string.md",
".changes/expose-global-shortcut.md",
".changes/extract-file-breaking.change.md",
".changes/extract-files-breaking-change.md",
".changes/extract-performance.md",
".changes/file-drop-percent-decode.md",
".changes/fix-api-timeout-type.md",
".changes/fix-asset-protocol-panicking.md",
".changes/fix-asset-protocol-validation.md",
".changes/fix-before-dev-command.md",
".changes/fix-before-dev-kill-unix.md",
".changes/fix-block-on-runtime.md",
".changes/fix-cli-lookup.md",
".changes/fix-cli-powershell.md",
".changes/fix-cli-prompts.md",
".changes/fix-cli-signer-sign-cmd.md",
".changes/fix-cli.js-windows-freezing.md",
".changes/fix-close-requested-js-event.md",
".changes/fix-create-tao-window.md",
".changes/fix-csp-fallback-route.md",
".changes/fix-csp-linux.md",
".changes/fix-deadlock-create-window-from-menu.md",
".changes/fix-deadlock-path-iter.md",
".changes/fix-debian-icns-load.md",
".changes/fix-default-freeze-prototype.md",
".changes/fix-dialog-default-path-crash.md",
".changes/fix-dialog-default-path.md",
".changes/fix-dialog-title.md",
".changes/fix-dll-resource.md",
".changes/fix-dmg-macos-12.3.md",
".changes/fix-drop-sync.md",
".changes/fix-ease-plugin-hook-requirements.md",
".changes/fix-focus-blur-events-wry.md",
".changes/fix-focus-blur-events.md",
".changes/fix-form-serialization.md",
".changes/fix-inner-size.md",
".changes/fix-linux-resource-path.md",
".changes/fix-mac-notification-appid.md",
".changes/fix-menu-crash.md",
".changes/fix-menu-event-macos.md",
".changes/fix-menu-ids.md",
".changes/fix-nested-isolation-iframe.md",
".changes/fix-on-window-event-type.md",
".changes/fix-once-fnonce.md",
".changes/fix-out-dir-detection.md",
".changes/fix-path-resolution-node_modules.md",
".changes/fix-path-scope-first-component.md",
".changes/fix-path-scope-validation.md",
".changes/fix-ready-check.md",
".changes/fix-resize-with-devtools.md",
".changes/fix-runtime-traits-requirements.md",
".changes/fix-safe-block-on.md",
".changes/fix-set-size-freeze.md",
".changes/fix-tauri-docsrs.md",
".changes/fix-tray-command.md",
".changes/fix-tray-menu-ids-update.md",
".changes/fix-tray-remove-windows.md",
".changes/fix-updater-msi.md",
".changes/fix-updater-percent-decode.md",
".changes/fix-window-builder-export.md",
".changes/fix-window-created-listen.md",
".changes/fix-window-creation-deadlock.md",
".changes/fix-window-label-api.md",
".changes/fix-window-specific-event-system.md",
".changes/fix-windows-downgrades.md",
".changes/fix-windows-exe-version.md",
".changes/fix-windows-resources.md",
".changes/fix-windows-sidecar.md",
".changes/fix-wry-window-destroyed-event.md",
".changes/fix-yarn-pnp.md",
".changes/fixed-webview2-runtime.md",
".changes/force-updater-public-key.md",
".changes/form-multipart-support.md",
".changes/fs-absolute-paths.md",
".changes/fs-endpoints-context.md",
".changes/fs-extract-api-feature.md",
@@ -150,14 +209,21 @@
".changes/fs-scope-forbidden-paths.md",
".changes/fs-scope-runtime.md",
".changes/get-menu.md",
".changes/global-shortcut-feature.md",
".changes/going-rc.md",
".changes/http-api-header-method.md",
".changes/http-api-header-refactor.md",
".changes/http-api-response-headers-refactor.md",
".changes/http-refactor.md",
".changes/http-scope-host-pattern.md",
".changes/http-timeout-refactor.md",
".changes/http-timeout-serde-fix.md",
".changes/icon-compile-time.md",
".changes/icon-feature.md",
".changes/improve-updater-validation.md",
".changes/increase-tauri-dir-lookup-depth.md",
".changes/info-extend-crates.md",
".changes/io-read-line-util.md",
".changes/isolation-pattern.md",
".changes/join-handle-abort.md",
".changes/json5.md",
@@ -196,6 +262,7 @@
".changes/refactor-create-tao-window.md",
".changes/refactor-dialog-apis.md",
".changes/refactor-file-drop.md",
".changes/refactor-form-part-bytes.md",
".changes/refactor-notification-permission-check.md",
".changes/refactor-resources-sidecar-copying.md",
".changes/refactor-runtime-window-event.md",
@@ -204,7 +271,10 @@
".changes/refactor-window-event.md",
".changes/refactor-window-metadata.md",
".changes/refactor-zip-features.md",
".changes/remove-bootstrapper.md",
".changes/remove-current-base-directory.md",
".changes/remove-depracated.md",
".changes/remove-form-part-file.md",
".changes/remove-run-event-exit-requested-window-label.md",
".changes/remove-tauricon.md",
".changes/remove-window-default.md",
@@ -238,35 +308,49 @@
".changes/streaming-small-file-fix.md",
".changes/strip.md",
".changes/tauri-build-default-anyhow-fmt.md",
".changes/tauri-build-resources-linux.md",
".changes/tauri-event-api.md",
".changes/tauri-protocol-cors.md",
".changes/tauri-runtime-export.md",
".changes/temp-base-directory.md",
".changes/temp-scope-variable.md",
".changes/template-csp-null.md",
".changes/theme-event.md",
".changes/theme-getter.md",
".changes/tooling-fix-pnpm-info-error.md",
".changes/tray-set-menu.md",
".changes/universal-apple-target-sidecar.md",
".changes/universal-apple-target.md",
".changes/unlisten-fix.md",
".changes/unlisten.md",
".changes/update-response-methods.md",
".changes/update-wry.md",
".changes/updater-check-api.md",
".changes/updater-custom-version-checker.md",
".changes/updater-detailed-unsupported-error.md",
".changes/updater-download-events.md",
".changes/updater-downloaded-event.md",
".changes/updater-endpoint-url-https.md",
".changes/updater-events.md",
".changes/updater-headers.md",
".changes/updater-no-window.md",
".changes/updater-note-body-escape.md",
".changes/updater-restart-cleanup.md",
".changes/updater-timeout.md",
".changes/validate-allowlist.md",
".changes/validate-appimage.md",
".changes/validate-bundle-identifier.md",
".changes/validate-event-name.md",
".changes/validate-window-label.md",
".changes/version-package-json.md",
".changes/wait-dev-server-url.md",
".changes/warn-macos-private-api.md",
".changes/webdriver-args.md",
".changes/webdriver-native-host.md",
".changes/webview-attributes-clipboard.md",
".changes/webview-getters.md",
".changes/webview2-com.md",
".changes/window-builder-theme.md",
".changes/window-builder.md",
".changes/window-confirm.md",
".changes/window-destroyed-event.md",
@@ -281,6 +365,7 @@
".changes/wix-registry-keys.md",
".changes/wix-run-app.md",
".changes/wix-signing.md",
".changes/wry-13.md"
".changes/wry-13.md",
".changes/wry-create-webview.md"
]
}

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
**Breaking change:** The `tauri::api::http::FormPart::Bytes` enum variant has been renamed to `File` with a value object `{ file, mime, file_name }`.

View File

@@ -0,0 +1,6 @@
---
"tauri-bundler": patch
"tauri-utils": patch
---
**Breaking change:** Removed the `useBootstrapper` option. Use https://github.com/tauri-apps/fix-path-env-rs instead.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
**Breaking change:** Removed `App::create_window`, `AppHandle::create_window`, `Builder::create_window` and `Window::create_window`.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
**Breaking change:** Removed `tauri::api::http::FormPart::File`.

View File

@@ -0,0 +1,5 @@
---
"tauri-build": patch
---
Copy system tray icon resource to the target directory on Linux.

View File

@@ -0,0 +1,5 @@
---
"api": patch
---
Added the `tauri://theme-changed` event.

7
.changes/theme-event.md Normal file
View File

@@ -0,0 +1,7 @@
---
"tauri": patch
"tauri-runtime": patch
"tauri-runtime-wry": patch
---
Added `WindowEvent::ThemeChanged(theme)`.

7
.changes/theme-getter.md Normal file
View File

@@ -0,0 +1,7 @@
---
"tauri": patch
"tauri-runtime": patch
"tauri-runtime-wry": patch
---
Added `theme` getter on `Window`.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Added `UpdateResponse::body` and `UpdateResponse::date`.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
**Breaking change**: Removed the `tauri::updater::Error::UnsupportedPlatform` variant and added `UnsupportedLinuxPackage`, `UnsupportedOs` and `UnsupportedArch` for better error information.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Add updater `Downloaded` status event.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Allow setting app updater request headers via `AppHandle::updater().header()`.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Fix updater dialog removing single and double quotes from the release notes

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
The updater default timeout is now unset, and the `UpdateBuilder` has a `timeout` setter.

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Prevent building when the bundle identifier is the default `com.tauri.dev`.

View File

@@ -0,0 +1,5 @@
---
"tauri-driver": patch
---
Expose `native-host` option in tauri-driver and set default to `127.0.0.1`.

View File

@@ -0,0 +1,7 @@
---
"tauri": "patch"
"tauri-runtime": patch
"tauri-runtime-wry": patch
---
Expose methods to access the underlying native handles of the webview.

View File

@@ -0,0 +1,7 @@
---
"tauri": patch
"tauri-runtime": patch
"tauri-runtime-wry": patch
---
Added `theme` setter to the WindowBuilder.

View File

@@ -0,0 +1,5 @@
---
"tauri-runtime-wry": patch
---
Create webview immediately when executed in the main thread.

View File

@@ -21,6 +21,10 @@ env:
CARGO_INCREMENTAL: 0 # This is set to 0 by the https://github.com/Swatinem/rust-cache
CARGO_PROFILE_DEV_DEBUG: 0 # This would add unnecessary bloat to the target folder, decreasing cache efficiency.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-artifacs:
runs-on: ${{ matrix.platform }}
@@ -41,7 +45,7 @@ jobs:
if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf
- name: Get current date
run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV

View File

@@ -15,6 +15,10 @@ on:
- '**/package.json'
- '**/yarn.lock'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
audit-rust:
runs-on: ubuntu-latest

View File

@@ -12,6 +12,10 @@ env:
CARGO_INCREMENTAL: 0 # This is set to 0 by the https://github.com/Swatinem/rust-cache
CARGO_PROFILE_DEV_DEBUG: 0 # This would add unnecessary bloat to the target folder, decreasing cache efficiency.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
bench:
strategy:
@@ -43,7 +47,7 @@ jobs:
run: |
python -m pip install --upgrade pip
sudo apt-get update
sudo apt-get install -y webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf xvfb
sudo apt-get install -y webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf xvfb
wget https://github.com/sharkdp/hyperfine/releases/download/v1.11.0/hyperfine_1.11.0_amd64.deb
sudo dpkg -i hyperfine_1.11.0_amd64.deb
pip install memory_profiler

View File

@@ -17,4 +17,4 @@ jobs:
uses: jbolda/covector/packages/action@covector-v0
id: covector
with:
command: "status"
command: 'status'

View File

@@ -10,6 +10,91 @@ on:
- dev
jobs:
run-integration-tests:
runs-on: ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: install stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: install webkit2gtk (ubuntu only)
if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf
- name: Get current date
run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
if: matrix.platform == 'macos-latest' || matrix.platform == 'ubuntu-latest'
- name: Get current date
if: matrix.platform == 'windows-latest'
run: echo "CURRENT_DATE=$(Get-Date -Format "yyyy-MM-dd")" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
- name: Cache cargo state
uses: actions/cache@v2
env:
cache-name: cargo-state
with:
path: |
~/.cargo/registry
~/.cargo/git
~/.cargo/bin
key: ${{ matrix.platform }}-stable-${{ env.cache-name }}-${{ hashFiles('**/Cargo.toml') }}-${{ env.CURRENT_DATE }}
restore-keys: |
${{ matrix.platform }}-stable-${{ env.cache-name }}-${{ hashFiles('**/Cargo.toml') }}-
${{ matrix.platform }}-stable-${{ env.cache-name }}-
${{ matrix.platform }}-stable-
${{ matrix.platform }}-
- name: Cache core cargo target
uses: actions/cache@v2
env:
cache-name: cargo-core
with:
path: target
# Add date to the cache to keep it up to date
key: ${{ matrix.platform }}-stable-${{ env.cache-name }}-${{ hashFiles('core/**/Cargo.toml') }}-${{ env.CURRENT_DATE }}
# Restore from outdated cache for speed
restore-keys: |
${{ matrix.platform }}-stable-${{ env.cache-name }}-${{ hashFiles('core/**/Cargo.toml') }}
${{ matrix.platform }}-stable-${{ env.cache-name }}-
${{ matrix.platform }}-stable-
${{ matrix.platform }}-
- name: Cache CLI cargo target
uses: actions/cache@v2
env:
cache-name: cargo-cli
with:
path: tooling/cli/target
# Add date to the cache to keep it up to date
key: ${{ matrix.platform }}-stable-${{ env.cache-name }}-${{ hashFiles('tooling/cli/Cargo.lock') }}-${{ env.CURRENT_DATE }}
# Restore from outdated cache for speed
restore-keys: |
${{ matrix.platform }}-stable-${{ env.cache-name }}-${{ hashFiles('tooling/cli/Cargo.lock') }}
${{ matrix.platform }}-stable-${{ env.cache-name }}-
${{ matrix.platform }}-stable-
${{ matrix.platform }}-
- name: build CLI
uses: actions-rs/cargo@v1
with:
command: build
args: --manifest-path ./tooling/cli/Cargo.toml
- name: run integration tests
run: cargo test --test '*' -- --ignored
version-or-publish:
runs-on: ubuntu-latest
timeout-minutes: 65
@@ -17,6 +102,8 @@ jobs:
change: ${{ steps.covector.outputs.change }}
commandRan: ${{ steps.covector.outputs.commandRan }}
successfulPublish: ${{ steps.covector.outputs.successfulPublish }}
needs:
- run-integration-tests
steps:
- uses: actions/checkout@v2
@@ -35,6 +122,7 @@ jobs:
run: |
git config --global user.name "${{ github.event.pusher.name }}"
git config --global user.email "${{ github.event.pusher.email }}"
- name: covector version or publish (publish when no change files present)
uses: jbolda/covector/packages/action@covector-v0
id: covector
@@ -45,6 +133,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
command: 'version-or-publish'
createRelease: true
- name: Create Pull Request With Versions Bumped
if: steps.covector.outputs.commandRan == 'version'
uses: tauri-apps/create-pull-request@v3.4.1

View File

@@ -19,6 +19,10 @@ env:
CARGO_INCREMENTAL: 0 # This is set to 0 by the https://github.com/Swatinem/rust-cache
CARGO_PROFILE_DEV_DEBUG: 0 # This would add unnecessary bloat to the target folder, decreasing cache efficiency.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
fmt_check:
runs-on: ubuntu-latest

View File

@@ -20,6 +20,10 @@ env:
CARGO_INCREMENTAL: 0 # This is set to 0 by the https://github.com/Swatinem/rust-cache
CARGO_PROFILE_DEV_DEBUG: 0 # This would add unnecessary bloat to the target folder, decreasing cache efficiency.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
fmt_check:
runs-on: ubuntu-latest
@@ -46,10 +50,13 @@ jobs:
clippy:
- { args: '', key: 'empty' }
- {
args: '--features compression,wry,isolation,custom-protocol,api-all,cli,updater,system-tray',
args: '--features compression,wry,isolation,custom-protocol,api-all,cli,updater,system-tray,ayatana-tray,http-multipart',
key: 'all'
}
- { args: '--no-default-features', key: 'no-default' }
- {
args: '--no-default-features --features ayatana-tray',
key: 'no-default'
}
- { args: '--features custom-protocol', key: 'custom-protocol' }
- { args: '--features api-all', key: 'api-all' }
@@ -58,7 +65,7 @@ jobs:
- name: install webkit2gtk
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf
- uses: actions-rs/toolchain@v1
with:

View File

@@ -11,6 +11,10 @@ on:
- 'tooling/cli/node/**'
- 'tooling/api/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
eslint-check:
runs-on: ubuntu-latest

View File

@@ -22,35 +22,33 @@ jobs:
target: x86_64-apple-darwin
architecture: x64
build: |
yarn build
yarn build:release
strip -x *.node
- host: windows-latest
build: yarn build
build: yarn build:release
target: x86_64-pc-windows-msvc
architecture: x64
- host: windows-latest
build: yarn build --target i686-pc-windows-msvc
build: yarn build:release --target i686-pc-windows-msvc
target: i686-pc-windows-msvc
architecture: x64
- host: ubuntu-18.04
target: x86_64-unknown-linux-gnu
architecture: x64
docker: |
docker pull $DOCKER_REGISTRY_URL/napi-rs/napi-rs/nodejs-rust:lts-debian
docker tag $DOCKER_REGISTRY_URL/napi-rs/napi-rs/nodejs-rust:lts-debian builder
build: |
docker run --rm -v ~/.cargo/git:/root/.cargo/git -v ~/.cargo/registry:/root/.cargo/registry -v $(pwd)/../../../:/build -w /build builder sh -c "cd tooling/cli/node && yarn build && strip *.node"
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine-zig
build: |-
set -e &&
rustup target add x86_64-unknown-linux-gnu &&
cd tooling/cli/node
yarn build:release --target x86_64-unknown-linux-gnu --zig --zig-abi-suffix 2.12 &&
llvm-strip -x *.node
- host: ubuntu-18.04
target: x86_64-unknown-linux-musl
architecture: x64
docker: |
docker pull $DOCKER_REGISTRY_URL/napi-rs/napi-rs/nodejs-rust:lts-alpine
docker tag $DOCKER_REGISTRY_URL/napi-rs/napi-rs/nodejs-rust:lts-alpine builder
build: docker run --rm -v ~/.cargo/git:/root/.cargo/git -v ~/.cargo/registry:/root/.cargo/registry -v $(pwd)/../../../:/build -w /build builder sh -c "cd tooling/cli/node && yarn build && strip *.node"
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
build: set -e && cd tooling/cli/node && yarn build:release && strip *.node
- host: macos-latest
target: aarch64-apple-darwin
build: |
yarn build --target=aarch64-apple-darwin
yarn build:release --target=aarch64-apple-darwin
strip -x *.node
- host: ubuntu-18.04
architecture: x64
@@ -59,7 +57,7 @@ jobs:
sudo apt-get update
sudo apt-get install g++-aarch64-linux-gnu gcc-aarch64-linux-gnu -y
build: |
yarn build --target=aarch64-unknown-linux-gnu
yarn build:release --target=aarch64-unknown-linux-gnu
aarch64-linux-gnu-strip *.node
- host: ubuntu-18.04
architecture: x64
@@ -68,27 +66,29 @@ jobs:
sudo apt-get update
sudo apt-get install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf -y
build: |
yarn build --target=armv7-unknown-linux-gnueabihf
yarn build:release --target=armv7-unknown-linux-gnueabihf
arm-linux-gnueabihf-strip *.node
- host: ubuntu-18.04
architecture: x64
target: aarch64-unknown-linux-musl
downloadTarget: aarch64-unknown-linux-musl
docker: |
docker pull ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
docker tag ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine builder
build: |
docker run --rm -v ~/.cargo/git:/root/.cargo/git -v ~/.cargo/registry:/root/.cargo/registry -v $(pwd)/../../../:/build -w /build builder sh -c "cd tooling/cli/node && yarn build --target=aarch64-unknown-linux-musl && /aarch64-linux-musl-cross/bin/aarch64-linux-musl-strip *.node"
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
build: |-
set -e &&
rustup target add aarch64-unknown-linux-musl &&
cd tooling/cli/node &&
yarn build:release --target aarch64-unknown-linux-musl &&
/aarch64-linux-musl-cross/bin/aarch64-linux-musl-strip *.node
#- host: windows-latest
# architecture: x64
# target: aarch64-pc-windows-msvc
# build: yarn build --target aarch64-pc-windows-msvc
# build: yarn build:release --target aarch64-pc-windows-msvc
name: stable - ${{ matrix.settings.target }} - node@16
runs-on: ${{ matrix.settings.host }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
if: ${{ !matrix.settings.docker }}
with:
node-version: 16
check-latest: true
@@ -97,24 +97,16 @@ jobs:
architecture: ${{ matrix.settings.architecture }}
- name: Install
uses: actions-rs/toolchain@v1
if: ${{ !matrix.settings.docker }}
with:
profile: minimal
override: true
toolchain: stable
target: ${{ matrix.settings.target }}
# should be committed
#- name: Generate Cargo.lock
# uses: actions-rs/cargo@v1
# with:
# command: generate-lockfile
- uses: Swatinem/rust-cache@v1
with:
key: ${{ matrix.settings.target }}
working-directory: 'tooling/cli/'
- name: Pull latest image
run: ${{ matrix.settings.docker }}
env:
DOCKER_REGISTRY_URL: ghcr.io
if: ${{ matrix.settings.docker }}
- name: Setup toolchain
run: ${{ matrix.settings.setup }}
@@ -122,11 +114,22 @@ jobs:
shell: bash
- name: Install dependencies
run: yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
- name: Build in docker
uses: addnab/docker-run-action@v3
if: ${{ matrix.settings.docker }}
with:
image: ${{ matrix.settings.docker }}
options: '-v ${{ env.HOME }}/.cargo/git:/root/.cargo/git -v ${{ env.HOME }}/.cargo/registry:/root/.cargo/registry -v ${{ github.workspace }}:/build -w /build'
run: ${{ matrix.settings.build }}
- name: Build
run: ${{ matrix.settings.build }}
if: ${{ !matrix.settings.docker }}
shell: bash
- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: bindings-${{ matrix.settings.target }}
path: tooling/cli/node/${{ env.APP_NAME }}.*.node
@@ -135,10 +138,10 @@ jobs:
# runs-on: macos-10.15
# name: Build FreeBSD
# steps:
# - uses: actions/checkout@v2
# - uses: actions/checkout@v3
# - name: Build
# id: build
# uses: vmactions/freebsd-vm@v0.1.5
# uses: vmactions/freebsd-vm@v0.1.6
# env:
# DEBUG: napi:*
# RUSTUP_HOME: /usr/local/rustup
@@ -170,12 +173,12 @@ jobs:
# freebsd-version
# cd ./tooling/cli/node/
# yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
# yarn build
# yarn build:release
# strip -x *.node
# rm -rf node_modules
# rm -rf ../target
# - name: Upload artifact
# uses: actions/upload-artifact@v2
# uses: actions/upload-artifact@v3
# with:
# name: bindings-freebsd
# path: tooling/cli/node/${{ env.APP_NAME }}.*.node
@@ -198,9 +201,9 @@ jobs:
- '16'
runs-on: ${{ matrix.settings.host }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
check-latest: true
@@ -209,7 +212,7 @@ jobs:
- name: Install dependencies
run: yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: bindings-${{ matrix.settings.target }}
path: 'tooling/cli/node/'
@@ -231,9 +234,9 @@ jobs:
- '16'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
check-latest: true
@@ -242,7 +245,7 @@ jobs:
- name: Install dependencies
run: yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: bindings-x86_64-unknown-linux-gnu
path: 'tooling/cli/node/'
@@ -252,7 +255,7 @@ jobs:
- name: install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf
- name: Test bindings
run: yarn test
test-linux-x64-musl-binding:
@@ -270,9 +273,9 @@ jobs:
container:
image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
check-latest: true
@@ -281,7 +284,7 @@ jobs:
- name: Install dependencies
run: yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: bindings-x86_64-unknown-linux-musl
path: 'tooling/cli/node/'
@@ -320,19 +323,19 @@ jobs:
steps:
- run: docker run --rm --privileged multiarch/qemu-user-static:register --reset
working-directory: ${{ github.workspace }}
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: List packages
run: ls -R .
shell: bash
- name: Install dependencies
run: yarn install --ignore-scripts --ignore-platform --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
- name: Download aarch64-gnu artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: bindings-aarch64-unknown-linux-gnu
path: 'tooling/cli/node/'
- name: Download armv7-gnueabihf artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: bindings-armv7-unknown-linux-gnueabihf
path: 'tooling/cli/node/'
@@ -346,7 +349,7 @@ jobs:
set -e
export PATH=/usr/local/cargo/bin/:/usr/local/fnm:$PATH
apt-get update
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install --no-install-recommends -y unzip libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install --no-install-recommends -y unzip libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf
bash
curl https://sh.rustup.rs -sSf | bash -s -- -y
curl -fsSL https://fnm.vercel.app/install | bash -s -- --install-dir "/usr/local/fnm" --skip-shell
@@ -366,9 +369,9 @@ jobs:
- test-linux-x64-musl-binding
#- test-linux-arm-bindings
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
check-latest: true
@@ -377,7 +380,7 @@ jobs:
- name: Install dependencies
run: yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
- name: Download all artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
path: tooling/cli/node/artifacts
- name: Move artifacts

View File

@@ -19,6 +19,10 @@ env:
CARGO_INCREMENTAL: 0 # This is set to 0 by the https://github.com/Swatinem/rust-cache
CARGO_PROFILE_DEV_DEBUG: 0 # This would add unnecessary bloat to the target folder, decreasing cache efficiency.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-tauri-bundler:
runs-on: ${{ matrix.platform }}

View File

@@ -19,6 +19,10 @@ env:
CARGO_INCREMENTAL: 0 # This is set to 0 by the https://github.com/Swatinem/rust-cache
CARGO_PROFILE_DEV_DEBUG: 0 # This would add unnecessary bloat to the target folder, decreasing cache efficiency.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-tauri-cli:
runs-on: ${{ matrix.platform }}
@@ -106,7 +110,7 @@ jobs:
if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf
- name: Get current date
run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV

View File

@@ -21,6 +21,10 @@ env:
CARGO_INCREMENTAL: 0 # This is set to 0 by the https://github.com/Swatinem/rust-cache
CARGO_PROFILE_DEV_DEBUG: 0 # This would add unnecessary bloat to the target folder, decreasing cache efficiency.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-tauri-core:
runs-on: ${{ matrix.platform }}
@@ -40,7 +44,7 @@ jobs:
if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf
- name: Get current date
run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
@@ -85,4 +89,4 @@ jobs:
run: |
cargo test
cargo test --features api-all
cargo test --features compression,wry,isolation,custom-protocol,api-all,cli,updater,system-tray
cargo test --features compression,wry,isolation,custom-protocol,api-all,cli,updater,system-tray,ayatana-tray,http-multipart

View File

@@ -17,9 +17,31 @@ env:
CARGO_INCREMENTAL: 0 # This is set to 0 by the https://github.com/Swatinem/rust-cache
CARGO_PROFILE_DEV_DEBUG: 0 # This would add unnecessary bloat to the target folder, decreasing cache efficiency.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
udeps:
runs-on: ubuntu-latest
strategy:
matrix:
clippy:
- {
path: './core/tauri/Cargo.toml',
args: '--features compression,wry,isolation,custom-protocol,api-all,cli,updater,system-tray,ayatana-tray,http-multipart'
}
- { path: './core/tauri-build/Cargo.toml', args: '--all-features' }
- { path: './core/tauri-codegen/Cargo.toml', args: '--all-features' }
- { path: './core/tauri-macros/Cargo.toml', args: '--all-features' }
- { path: './core/tauri-runtime/Cargo.toml', args: '--all-features' }
- {
path: './core/tauri-runtime-wry/Cargo.toml',
args: '--features devtools,system-tray,macos-private-api,objc-exception,ayatana-tray'
}
- { path: './core/tauri-utils/Cargo.toml', args: '--all-features' }
- { path: './tooling/bundler/Cargo.toml', args: '--all-features' }
- { path: './tooling/cli/Cargo.toml', args: '--all-features' }
steps:
- uses: actions/checkout@v2
@@ -101,19 +123,9 @@ jobs:
- name: Install required packages
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf
- uses: actions-rs/cargo@v1
with:
command: udeps
args: --all-targets --all-features
- uses: actions-rs/cargo@v1
with:
command: udeps
args: --manifest-path ./tooling/bundler/Cargo.toml --all-targets --all-features
- uses: actions-rs/cargo@v1
with:
command: udeps
args: --manifest-path ./tooling/cli/Cargo.toml --all-targets --all-features
args: --manifest-path ${{ matrix.clippy.path }} --all-targets ${{ matrix.clippy.args }}

Some files were not shown because too many files have changed in this diff Show More