Compare commits

...

1101 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
github-actions[bot]
7a814fcf3f Apply Version Updates From Current Changes (#3634)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-03-28 17:43:04 -03:00
Lucas Fernandes Nogueira
edad9f4f55 refactor(core): add RunEvent::WindowEvent (#3793) 2022-03-28 17:26:25 -03:00
Lucas Nogueira
d5c06f0240 chore: update lockfiles 2022-03-28 15:23:27 -03:00
Lucas Fernandes Nogueira
c64268f927 feat(updater): expose builder, allow setting a custom version checker (#3792) 2022-03-28 13:58:35 -03:00
Lucas Fernandes Nogueira
f6e32ee188 feat(core): add dangerous option to disable compile time CSP injection (#3775) 2022-03-28 11:55:54 -03:00
Lucas Fernandes Nogueira
e05d718a7b feat(core): add hotkey to toggle devtools, closes #3776 (#3791) 2022-03-28 11:17:28 -03:00
Lucas Fernandes Nogueira
9ddf8d84a2 fix(core): properly fire WindowEvent::Destroyed, closes #3688 (#3778) 2022-03-28 10:24:02 -03:00
Lucas Fernandes Nogueira
5fb74332ab chore(deps): update wry to 0.14, tao to 0.7 (#3790) 2022-03-28 10:20:38 -03:00
Lucas Fernandes Nogueira
8b807e09d6 refactor(bundler): allow downgrades, add option to disallow on Windows (#3777) 2022-03-27 21:34:19 -03:00
Lucas Fernandes Nogueira
94d78efbe5 fix(cli.rs): terminate the beforeDevCommand, closes #2794 (#2883) 2022-03-27 21:26:04 -03:00
Lucas Fernandes Nogueira
34a402f9b5 fix(core): do not allow path traversal on the asset protocol (#3774) 2022-03-27 21:25:26 -03:00
chip
8661e3e24d replace dependencies with long build times when used together (closes #3571) (#3773) 2022-03-27 20:52:43 -03:00
Lucas Fernandes Nogueira
dbc2873e82 feat(updater): improve validation and error messages, closes #3761 (#3780) 2022-03-27 20:48:57 -03:00
Lucas Fernandes Nogueira
3c4ee7c997 refactor(wry): emit RunEvent::Exit on Event::LoopDestroyed (#3785) 2022-03-27 20:22:34 -03:00
Lucas Fernandes Nogueira
9489963e00 fix(core): deadlock when closing the app on a tray event handler (#3771) 2022-03-25 13:17:32 -03:00
Lucas Nogueira
def8a62bd3 fix(core): docs.rs warning on doc attribute 2022-03-24 20:10:08 -03:00
Fabian-Lars
1deeb03ef6 fix(api.js): appWindow shown as type any, fixes #3747 (#3772)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-24 19:43:18 -03:00
Lucas Fernandes Nogueira
266156a0b0 feat(core): add BaseDirectory::Temp and $TEMP variable (#3763) 2022-03-24 14:12:17 -03:00
Amr Bashir
6054e981c4 Revert "Fix importing @tauri-apps/api in Node.js" (#3767) 2022-03-24 13:07:22 -03:00
dependabot[bot]
56ed486295 chore(deps): bump minimist from 1.2.5 to 1.2.6 in /tooling/cli/node (#3764)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-23 21:50:28 -03:00
dependabot[bot]
5000d4921f chore(deps): bump minimist from 1.2.5 to 1.2.6 in /examples/sidecar (#3765)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-23 21:50:20 -03:00
dependabot[bot]
7d41d800be chore(deps): bump minimist from 1.2.5 to 1.2.6 in /tooling/api (#3766)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-23 21:50:10 -03:00
Lucas Fernandes Nogueira
f1637d62df refactor(examples): remove unused files (#3762) 2022-03-23 20:45:43 -03:00
chip
55c8680590 add restart integration test to cargo workspace (#3675)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-23 17:14:52 -03:00
renovate[bot]
4d6a78bf82 chore(deps) Update dependency @napi-rs/cli to v2.5.0 (#3757)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 15:04:20 -03:00
renovate[bot]
5b6ba9db02 chore(deps) Update Rust crate tar to 0.4.38 (#3755)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 14:00:12 -03:00
renovate[bot]
da3164133a chore(deps) Update Tauri API Definitions (#3756)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 14:00:01 -03:00
Lucas Fernandes Nogueira
579312f834 feat(updater): separate intel and apple silicon targets, closes #3359 (#3739) 2022-03-23 13:31:27 -03:00
Lucas Fernandes Nogueira
bf89a05fcf fix(core): dialog parent window on macOS, closes #3312 (#3753) 2022-03-23 13:31:15 -03:00
Kasper
4e807a53e2 Support window parenting on macOS, closes #3751 (#3754)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-23 13:30:44 -03:00
Kasper
d36c8e0322 Fix importing @tauri-apps/api in Node.js (#3752)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-22 18:19:46 -03:00
Lucas Fernandes Nogueira
1730b1a51d feat(core): enable CORS on the tauri protocol (#3750) 2022-03-22 15:17:05 -03:00
Lucas Nogueira
3d11ac656c chore(deps): update Rust crate png to 0.17 2022-03-22 15:07:41 -03:00
renovate[bot]
d112f2005a chore(deps) Update Rust crate zstd to 0.11 (#3706)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-22 15:05:01 -03:00
Lucas Fernandes Nogueira
da1e879358 feat(core): improve and cleanup the Error enum (#3748) 2022-03-22 15:04:47 -03:00
Lucas Fernandes Nogueira
1099a9696e refactor(core): do not export tauri_runtime on tauri (#3749) 2022-03-22 15:04:16 -03:00
Lucas Fernandes Nogueira
7b24448137 fix(updater): request stream usage (#3746) 2022-03-22 12:31:41 -03:00
Lucas Nogueira
b8ea013fd8 fix(updater): fix typo, keep client instance 2022-03-22 11:27:20 -03:00
Lucas Fernandes Nogueira
11cca918d9 chore(deps): update dependencies fixing security issues (#3744) 2022-03-21 22:34:07 -03:00
Lucas Fernandes Nogueira
203c6a8b13 feat: remove chrono and time audit ignore rules (#3741) 2022-03-20 09:57:52 -03:00
Jonas Kruckenberg
393f4b3d79 docs: update WebviewWindow doc comment (#3730) 2022-03-19 23:05:44 -03:00
Lucas Fernandes Nogueira
f0db3f9b83 feat(updater): add download progress events (#3734) 2022-03-18 22:58:44 -03:00
Lucas Fernandes Nogueira
348a1ab59d fix(bundler): DMG bundling on macOS 12.3 cannot use bless, closes #3719 (#3721) 2022-03-18 13:57:54 -03:00
mic69ziz
72f19f8d5e Update README.md (#3707) 2022-03-18 10:26:48 +01:00
Lucas Nogueira
aba3238146 feat(core): add cfg alias for the updater feature 2022-03-17 10:41:25 -03:00
Lucas Fernandes Nogueira
4094494a1b feat(core): add API to manually trigger updater check (#3712) 2022-03-17 10:04:13 -03:00
renovate[bot]
137c9c7d4c chore(deps) Update dependency prettier to v2.6.0 (#3713)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-17 10:03:04 -03:00
Adrian Hupka
5ed46f010b fix: added command line argument to successfully run multiwindow example (#3717)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-03-17 10:01:05 -03:00
renovate[bot]
1967ac8a07 chore(deps) Update Tauri API Definitions (#3703)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-16 14:25:02 -03:00
renovate[bot]
57d6db6fe4 chore(deps) Update Tauri CLI (#3704)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-16 14:24:46 -03:00
renovate[bot]
99e324cdd5 chore(deps) Update dependency prettier to v2.6.0 (#3710)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-16 14:24:38 -03:00
Fabian-Lars
b0376e7749 fix doc generation when using updater-docs flag (#3711) 2022-03-16 14:24:06 -03:00
Lucas Nogueira
c29ed94d43 feat(core): add payload data to UpdaterEvent::UpdateAvailable 2022-03-15 16:56:38 -03:00
Lucas Fernandes Nogueira
7cd39c70c9 refactor(core): use random window id to simplify window creation, closes #3645 #3597 (#3684)
* refactor(core): window id

* fixes

* reintroduce send_tao_window_event

* cleanup code

* add change file

* fix: windows build

* add getter

* fix windows build
2022-03-15 12:59:37 -03:00
Lucas Fernandes Nogueira
c4ca80f919 feat(core): use AppHandle instead of Window on the updater logic (#3702) 2022-03-15 12:58:53 -03:00
Lucas Fernandes Nogueira
5d538ec27c refactor(core): use the event loop proxy to send updater events (#3687)
* feat(core): add `WindowEvent::FileDrop`, closes #3664

* refactor(core): use the event loop proxy to send updater events

* simplify generics with user event trait

* fix tray impl
2022-03-15 11:20:23 -03:00
Lucas Fernandes Nogueira
4c84559e1f fix(cli): root resource bundling on Windows, closes #3539 (#3685) 2022-03-13 11:28:36 -03:00
Lucas Fernandes Nogueira
07d1584cf0 feat(core): add WindowEvent::FileDrop, closes #3664 (#3686) 2022-03-13 11:28:16 -03:00
renovate[bot]
c40f640ddc chore(deps) Update Tauri API Definitions (#3656)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-13 11:21:25 -03:00
Lucas Fernandes Nogueira
cc7c2d77da feat(cli): allow conf path to be gitignored, closes #3636 (#3683) 2022-03-13 11:20:51 -03:00
Lucas Fernandes Nogueira
263b45e1b4 refactor(core): return boolean on Manager::manage (#3682) 2022-03-13 11:20:35 -03:00
Lucas Fernandes Nogueira
c81534ebd8 feat(cli): use default macOS minimum system version when it is empty (#3658) 2022-03-13 11:20:11 -03:00
Lucas Nogueira
9258aed114 docs(config): list valid categories, closes #3690 ref #3150 2022-03-13 11:17:54 -03:00
Lucas Nogueira
ea94a28a34 fix(examples): fix streaming example on Windows, closes #3646 2022-03-12 08:43:17 -03:00
Lucas Nogueira
e974f8fbae fix(examples): api build on macOS 2022-03-11 22:57:16 -03:00
Jonas Kruckenberg
0b49dd566d impl Debug for State closes #3676 (#3677)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-11 22:28:47 -03:00
renovate[bot]
cf53761718 chore(deps) Update Rust crate png to 0.17 (#3652)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-09 23:28:39 -03:00
renovate[bot]
66c52f0ac8 chore(deps) Update Rust crate once_cell to 1.10 (#3651)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-09 21:03:39 -03:00
Lucas Fernandes Nogueira
49546c5269 feat(build): print error context (#3644) 2022-03-09 21:01:26 -03:00
renovate[bot]
b3515014ef chore(deps) Update Tauri CLI (#3648)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-09 21:01:08 -03:00
renovate[bot]
7a27713067 chore(deps) Update Tauri JS CLI (#3649)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-09 21:00:24 -03:00
Amr Bashir
49d2f13fc0 feat(cli): colorful cli (#3635)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-08 16:35:19 -03:00
Lucas Fernandes Nogueira
bcd43168a5 fix(core): properly add CSP header to fallback routes (#3641) 2022-03-08 12:44:51 -03:00
Lucas Nogueira
f5efc248da fix(core): runtime CSP changes on Linux 2022-03-07 21:03:23 -03:00
Lucas Nogueira
36ca392f38 chore(cli.js): bump to rc.7 2022-03-07 20:49:00 -03:00
Lucas Nogueira
a30712fde2 fix(cli.js): change access for '@tauri-apps/cli-win32-ia32-msvc' 2022-03-07 19:37:01 -03:00
github-actions[bot]
fbb9017840 Apply Version Updates From Current Changes (#3512)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-03-07 18:20:13 -03:00
Lucas Fernandes Nogueira
96a2040076 fix(core): performance when generating code for default window icon (#3633) 2022-03-07 17:09:12 -03:00
Lucas Fernandes Nogueira
834ccc5153 feat(core): reimplement readTextFile for performance (#3631) 2022-03-07 11:34:33 -03:00
Lucas Fernandes Nogueira
06ab85b469 chore(codegen): remove dead code on macOS (#3630) 2022-03-07 10:53:02 -03:00
Lucas Fernandes Nogueira
9c65abce1b feat(core): run cleanup code on the relaunch API (#3629) 2022-03-07 10:08:19 -03:00
Lucas Fernandes Nogueira
5293445f08 refactor(core): disable default features for the zip crate (#3624) 2022-03-06 21:30:15 -03:00
gardc
bdd5f7c2f0 fix: add support for Time-Stamping Protocol for Windows codesigning (fix #3563) (#3570)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-03-06 21:29:17 -03:00
Lucas Fernandes Nogueira
76c791bd2b fix(core): regression on the unlisten function (#3623) 2022-03-06 20:45:38 -03:00
Lucas Nogueira
66fe5d81bc chore: small tweak to the serde CommandArg impl for cargo 1.61.0-nightly
The nightly version 1.61.0 of Cargo is failing to generate JSON documentation for this implementation, so we're helping it a little bit by changing `Self` to `D` since that's where their assert is failing
2022-03-06 20:35:12 -03:00
Lucas Nogueira
34090bab8f chore(cli): update schema.json 2022-03-06 19:48:40 -03:00
Lucas Fernandes Nogueira
c08cc6d500 fix(core): deadlock on focus events with invisible window,#3534 (#3622)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-03-06 18:44:12 -03:00
Lucas Nogueira
3f45c23a75 fix(core): window > create endpoint 2022-03-06 14:54:11 -08:00
Lucas Nogueira
5b2700b964 fix(core): change Window::builder to be an associated function 2022-03-06 10:44:01 -03:00
Lucas Nogueira
aab8006b93 fix(core): Rust documentation generation 2022-03-06 10:42:24 -03:00
Lucas Nogueira
9e31dd5ccb Merge remote-tracking branch 'origin/dev' into dev 2022-03-06 10:16:28 -03:00
Lucas Fernandes Nogueira
3b13fda56f feat(core): add WindowBuilder::on_request, closes #3533 (#3618)
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
2022-03-06 10:15:43 -03:00
Lucas Nogueira
0f46e5664a fix(cli.rs): add publish scripts to the default covector template 2022-03-06 10:15:35 -03:00
Lucas Fernandes Nogueira
8c9358725a refactor(core): move png and ico behind Cargo features (#3588) 2022-03-05 14:19:24 -03:00
Lucas Nogueira
a332b09f43 fix(core): rename ManageBase::app_handle to avoid naming conflict 2022-03-04 21:27:30 -03:00
Lucas Fernandes Nogueira
fce7d3bbae feat(core): run app cleanup code before updater restart, closes #3605 (#3616) 2022-03-04 21:19:01 -03:00
Lucas Fernandes Nogueira
58070c1eb4 feat(core): filesystem and asset protocol scope events (#3609) 2022-03-04 21:18:50 -03:00
Lucas Fernandes Nogueira
3fe0260f4c feat(core): allow CSP configuration to be an object, ref #3533 (#3603) 2022-03-04 21:18:39 -03:00
Lucas Fernandes Nogueira
141133a414 feat(core): add WindowBuilder type (#3598) 2022-03-04 21:18:22 -03:00
Lucas Fernandes Nogueira
da8824318a fix(core): update tray menu ids on set_menu, closes #3608 (#3611) 2022-03-04 16:00:03 -03:00
Lucas Fernandes Nogueira
f7acb061e4 feat(cli): use plugin::Builder syntax on the plugin template (#3606) 2022-03-03 17:40:25 -03:00
Lucas Fernandes Nogueira
983ccb815b feat(core): allow denying paths on the fs and asset scopes (#3607) 2022-03-03 17:32:12 -03:00
Lucas Fernandes Nogueira
b744cd2758 feat: extend scopes with user selected paths, closes #3591 (#3595) 2022-03-03 15:41:58 -03:00
Lucas Fernandes Nogueira
64e0054299 refactor(core): do not panic on invalid window labels,#3544 (#3596) 2022-03-03 14:47:31 -03:00
Lucas Fernandes Nogueira
4d0e2eccd9 fix(core): scope should not strip the first path component, closes #3592 (#3602) 2022-03-03 13:09:46 -03:00
Lucas Fernandes Nogueira
929a83dd4d fix(core): ignore trailing slashes on scope validation, closes #3580 (#3601) 2022-03-03 13:09:28 -03:00
Lucas Nogueira
3e18264d9e docs(api): fix shell links 2022-03-03 12:43:55 -03:00
renovate[bot]
9d01dc6633 chore(deps) Update dependency rollup to v2.69.0 (#3589)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-03 10:43:56 -03:00
renovate[bot]
af3c2835fb chore(deps) Update dependency rollup to v2.69.0 (#3590)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-03 10:43:50 -03:00
renovate[bot]
1d19021d10 chore(deps) Update Rust crate termcolor to 1.1.3 (#3593)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-03 10:41:57 -03:00
Lucas Fernandes Nogueira
4e1af005a1 refactor(core): rename command feature to process-command-api (#3594) 2022-03-03 10:40:44 -03:00
Lucas Fernandes Nogueira
9cb1059aa3 fix(api): do not throw an exception if __TAURI_METADATA__ is not set, fixes #3554 (#3572) 2022-03-03 10:40:31 -03:00
Lucas Fernandes Nogueira
0f1558980a fix(core): docs.rs on Windows and macOS (#3566)
Co-authored-by: chip <chip@chip.sh>
2022-03-02 13:08:42 -03:00
renovate[bot]
55280bdea6 chore(deps) Update Tauri API Definitions (#3585)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-02 10:21:48 -03:00
Lucas Fernandes Nogueira
9b3b163baa feat(core): simplify scope definition for sidecars (#3574) 2022-03-02 10:21:36 -03:00
Amr Bashir
91ec876b50 chore: remove accidental checked cli.js dir (#3562)
Co-authored-by: chip <chip@chip.sh>
2022-03-02 10:21:00 -03:00
renovate[bot]
a78bd693b1 chore(deps) Update Tauri CLI (#3587)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-02 10:04:25 -03:00
Lucas Nogueira
a6a4f689a0 chore(deps): update png to 0.17.5 2022-03-02 10:03:41 -03:00
chip
73388119e6 use older symlink check function (#3579)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-01 20:22:27 -03:00
Lucas Fernandes Nogueira
b10a7cfa00 chore(cli): update clap to 3.1 (#3568) 2022-02-27 17:35:43 -03:00
Lucas Nogueira
913fb001c6 doc(config): fix http scope example 2022-02-27 16:48:53 -03:00
Aidan Labourdette
2d8dd49589 chore: fix formatting (#3560)
Fixed the markdown formatting for the openWith? parameter options for the open function in shell module.

see: https://github.com/tauri-apps/tauri-docs/pull/476
2022-02-26 04:40:54 +02:00
Fabian-Lars
8d699283a4 fix(bundler): Auto-launch app from install location, closes #3547 (#3553)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-24 12:52:04 -03:00
Lucas Fernandes Nogueira
0a0de8ab6e fix: read Command output ending with a carriage return, closes #3508 (#3523)
Co-authored-by: chip <chip@chip.sh>
2022-02-24 12:10:43 -03:00
Lucas Fernandes Nogueira
2b554c38a5 fix(core): revert to clap 3.0 API, allow deprecations, closes #3549 (#3552)
Co-authored-by: chip <chip@chip.sh>
2022-02-24 11:29:31 -03:00
Lucas Fernandes Nogueira
0163489ed6 fix(core): safe_block_on usage on async contexts, closes #3505 (#3513) 2022-02-24 10:06:50 -03:00
Lucas Fernandes Nogueira
944b124ce0 feat(core): enhance HTTP scope glob validation, closes #3507 (#3515) 2022-02-24 10:06:19 -03:00
Lucas Fernandes Nogueira
6a6f1e7bf9 fix(bundler): build updater bundle for all .msi files (#3520) 2022-02-24 10:05:58 -03:00
Lucas Fernandes Nogueira
d06efc7704 fix(core): parse range bytes=0-*, closes #3143 (#3516) 2022-02-24 10:05:50 -03:00
Fabian-Lars
fb6744daa4 feat(cli.js): add 32bit cli for windows (#3540)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-24 10:05:13 -03:00
renovate[bot]
e694dd6730 chore(deps) Update dependency fs-extra to v10.0.1 (#3538)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-24 09:40:40 -03:00
renovate[bot]
597c8b2006 chore(deps) Update Tauri CLI (#3537)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-24 09:40:17 -03:00
renovate[bot]
b300039a0f chore(deps) Update Tauri API Definitions (#3536)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-24 09:39:59 -03:00
renovate[bot]
426b16983d chore(deps) Update Rust crate image to 0.24.1 (#3535)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-24 09:39:44 -03:00
Qizheng Mo
d7924b0525 fix: typo in the hello world example README.md (#3531) 2022-02-24 09:39:23 -03:00
Jordan Baron
cf29e02043 Docs: change command to cmd (#3530) 2022-02-24 09:37:47 -03:00
Lucas Fernandes Nogueira
080755b537 feat(core): warn if private APIs are not enabled, closes #3481 (#3511) 2022-02-19 10:22:54 -03:00
github-actions[bot]
82b7f51956 Apply Version Updates From Current Changes (#3468)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-02-18 11:37:36 -03:00
Lucas Fernandes Nogueira
5999379fb0 chore(cli): improve "waiting for dev server" message, closes #3491 (#3504) 2022-02-18 10:39:22 -03:00
Lucas Fernandes Nogueira
b571c249dc chore(deps): update to wry v0.13.2 (#3503) 2022-02-18 10:39:10 -03:00
Fabian-Lars
a7fd9e3f03 fix(deps): update webview2-com to 0.13.0 to fix compilation on windows (#3502) 2022-02-18 09:57:55 -03:00
Lucas Fernandes Nogueira
fce344b90b feat(core): set default value for minimum_system_version to 10.13 (#3497) 2022-02-17 22:19:16 -03:00
Lucas Fernandes Nogueira
4bacea5bf4 feat(core): set MACOSX_DEPLOYMENT_TARGET environment variable, closes #2732 (#3496) 2022-02-17 19:00:19 -03:00
Lucas Fernandes Nogueira
17f17a80f8 fix(cli): do not panic if private key password is wrong, closes #3449 (#3495) 2022-02-17 18:41:47 -03:00
Jacob Bolda
53e4dd8c2d remove create-tauri-app (#3493)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-17 18:20:56 -03:00
Lucas Fernandes Nogueira
a975551461 fix(cli): duplicated short flag for signer sign, closes #3483 (#3492) 2022-02-17 17:57:29 -03:00
Lucas Fernandes Nogueira
84895a9cd2 fix(runtime): trait requirements (#3489) 2022-02-17 17:44:46 -03:00
Lucas Fernandes Nogueira
b8e4d651f9 fix(core): drop all plugin builder Sync requirements (#3490) 2022-02-17 17:44:37 -03:00
fncraft
163c4e87b0 docs(examples): fix typo in hello world example (#3494) 2022-02-17 20:26:46 +02:00
Lucas Nogueira
b4212eb2ae refactor(core): drop usage of deprecated clap APIs 2022-02-17 12:39:58 -03:00
Lucas Fernandes Nogueira
060538331c feat(core): add context to the filesystem APIs errors, closes #3457 (#3480) 2022-02-16 21:45:40 -03:00
renovate[bot]
72ca1970c6 chore(deps) Update dependency svelte-check to v2.4.5 (#3485)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
[skip ci]
2022-02-16 21:45:01 -03:00
Lucas Fernandes Nogueira
2ecbed8d59 fix(bundler): sidecar on Windows, closes #3446 (#3482) 2022-02-16 21:44:40 -03:00
renovate[bot]
5a4e9efa0a chore(deps) Update Tauri JS CLI (#3475)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-16 12:17:47 -03:00
renovate[bot]
0f92c2ec14 chore(deps) Update dependency svelte-check to v2.4.4 (#3479)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
[skip ci]
2022-02-16 12:17:37 -03:00
renovate[bot]
aff8264960 chore(deps) Update create-tauri-app (#3477)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-16 10:39:28 -03:00
Lucas Fernandes Nogueira
d6918efdaf refactor(core): use anyhow for endpoint errors, ref #3457 (#3467) 2022-02-16 10:12:10 -03:00
Kasper
76b8c214df Shorter commit signing guideline (#3470) 2022-02-16 10:07:32 -03:00
Jonas Kruckenberg
fb7ee2c987 drop Sync req from setup and setup_with_config (#3471) 2022-02-16 10:06:56 -03:00
renovate[bot]
123beddc52 chore(deps) Update Tauri API Definitions (#3473)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-16 10:06:28 -03:00
renovate[bot]
7ee118cece chore(deps) Update Tauri CLI (#3474)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-16 10:06:09 -03:00
Lucas Fernandes Nogueira
a06de37601 fix(cli): path lookup should not check subfolder before the current one (#3465) 2022-02-15 11:40:21 -03:00
github-actions[bot]
bf05c3aeb4 Apply Version Updates From Current Changes (#3461)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-02-14 18:47:19 -03:00
Lucas Fernandes Nogueira
afcc3ec501 fix(build): rerun if resource or sidecar change (#3460) 2022-02-14 18:33:40 -03:00
Jonas Kruckenberg
79bf061e01 fix: move to separate config file and fix mocks docs (#3456) 2022-02-14 16:15:08 -03:00
Lucas Nogueira
a1882b84b7 fix(ci): update bundle.js 2022-02-14 10:49:41 -03:00
github-actions[bot]
8d290cb2d7 Apply Version Updates From Current Changes (#3430)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-02-14 02:17:24 -03:00
Lucas Nogueira
6f5ed2e69c fix: change file 2022-02-14 02:07:04 -03:00
Lucas Fernandes Nogueira
e1b8fc739a docs(core): add examples to the API module (#3450) 2022-02-14 02:00:56 -03:00
Lucas Fernandes Nogueira
c6031c7070 feat(cli): increase lookup depth, add env var option (#3451) 2022-02-13 22:13:13 -03:00
Jonas Kruckenberg
7e04c072c4 feat: add mock functions for testing and SSG (#3437)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-02-13 20:33:10 -03:00
Lucas Fernandes Nogueira
49955ea1aa feat(ci): simplify cache (#3448) 2022-02-13 20:27:21 -03:00
Lucas Fernandes Nogueira
759d1afb86 feat(cli): improve error message when dev runner command fails (#3447) 2022-02-13 19:13:31 -03:00
Lucas Fernandes Nogueira
8d0d4f290f perf(ci): optimize caches and workflow runs (#3445) 2022-02-13 18:21:15 -03:00
Lucas Fernandes Nogueira
16f1173f45 feat(cli): add tao and wry version to the info output (#3443) 2022-02-13 17:47:21 -03:00
Jonas Kruckenberg
f3483f6e20 Update Cargo.crate-manifest #3441 cont'd (#3444)
[skip ci]
2022-02-13 17:25:18 -03:00
Lucas Fernandes Nogueira
63826010d1 feat(cli.js): show full error message (#3442) 2022-02-13 14:55:11 -03:00
Lucas Fernandes Nogueira
23fe8cbf9a chore(cli): add comments on app template Cargo.toml (#3441) 2022-02-13 14:19:39 -03:00
Lucas Fernandes Nogueira
2d69dfe1dc fix(cli): package license, remove test code (#3439) 2022-02-13 13:51:05 -03:00
Lucas Fernandes Nogueira
cd9a20b9ab refactor(cli.js): run on separate thread (#3436) 2022-02-13 13:50:51 -03:00
Lucas Nogueira
9c50bda6c1 fix(ci): covector configuration
the config had a test code on the postversion check for cli.rs
[skip ci]
2022-02-13 11:51:30 -03:00
Lucas Fernandes Nogueira
20f0477f95 fix(core): updater not replacing variables, closes #3428 (#3432) 2022-02-13 11:48:10 -03:00
Kan-Ru Chen
28e4845a89 fix: InvalidArgs error message should include the command name (#3433) 2022-02-13 11:25:50 -03:00
Lucas Fernandes Nogueira
679fe1fedd feat(cli.rs): allow passing arguments to the build runner, closes #3398 (#3431)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-13 10:54:18 -03:00
Lucas Fernandes Nogueira
102a5e9bb8 refactor(cli.rs): change template config CSP to null, closes #3427 (#3429) 2022-02-13 02:01:48 -03:00
Lucas Nogueira
bdd41e2413 fix(changelog): mark macos-private-api feature as breaking change 2022-02-13 01:20:22 -03:00
Lucas Fernandes Nogueira
6d8073efff fix(covector): asset configuration, update action (#3425) 2022-02-13 00:56:06 -03:00
Jonas Kruckenberg
fd557e984d Ease plugin hook restrictions (#3404)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-13 00:55:57 -03:00
github-actions[bot]
d24045e884 Apply Version Updates From Current Changes (#3414)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-02-12 10:47:49 -03:00
Jonas Kruckenberg
369d0c9d09 doc: Add plugin::Builder examples and expand doc comments (#3422)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-02-12 10:39:56 -03:00
Lucas Fernandes Nogueira
3a4c016061 fix(core): change default freezePrototype to false, closes #3416 #3406 (#3423) 2022-02-12 10:28:05 -03:00
Amr Bashir
c01036043d fix(cta): fix cli install with other deps, fixes #3417 (#3420)
* fix(cta): fix cli install with other deps, fixes #3417
2022-02-12 11:04:24 +02:00
chip
c046681b51 fix text file busy on linux CI (#3413) 2022-02-11 23:00:09 -03:00
chip
65287cd614 remove non-existent cargo rerun check (#3412) 2022-02-11 22:19:55 -03:00
Lucas Nogueira
8f5dba04e2 fix: covector config 2022-02-11 20:27:02 -03:00
github-actions[bot]
9f0395ae3c Apply Version Updates From Current Changes (#3411)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-02-11 19:48:29 -03:00
Lucas Fernandes Nogueira
d8acbe1149 fix(cli.rs): app path resolution on projects without git, closes #3409 (#3410) 2022-02-11 19:41:50 -03:00
Lucas Fernandes Nogueira
d29c5d551f Merge pull request #3408 from tauri-apps/docs/api 2022-02-11 16:37:01 -03:00
Lucas Nogueira
cb5c722c3f docs(api): document FS scope 2022-02-11 15:40:13 -03:00
Lucas Nogueira
5a0c382f3a docs(api): document HTTP scope 2022-02-11 15:19:01 -03:00
Lucas Nogueira
9ed1ba0bce fix(docs): imports must come after module docs 2022-02-11 15:08:17 -03:00
Lucas Nogueira
317d5dd17d docs(api): document shell scope 2022-02-11 15:04:00 -03:00
github-actions[bot]
fe0cfea03e Apply Version Updates From Current Changes (#3401)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-02-11 14:13:00 -03:00
Lucas Nogueira
f37a36f58b fix: streaming example 2022-02-11 14:12:44 -03:00
Lucas Nogueira
1d92d6a55d fix(examples): streaming example CSP 2022-02-11 14:04:24 -03:00
Lucas Nogueira
49c1970fae docs(api): convertFileSrc example 2022-02-11 14:02:58 -03:00
Lucas Nogueira
c50fbc22e7 docs(api): window label 2022-02-11 13:56:31 -03:00
Lucas Nogueira
8d6f629445 docs(api): window allowlist 2022-02-11 13:56:15 -03:00
Lucas Nogueira
41052deeda fix(covector): add cli.js to change files 2022-02-11 13:42:54 -03:00
Lucas Fernandes Nogueira
9c6c5a8c52 perf(cli.rs): improve performance of tauri dir lookup reading .gitignore (#3405) 2022-02-11 13:35:15 -03:00
Carlton Gibson
989ee4e14e Removed tauri-hotkey-rs from External Crates list. (#3403) 2022-02-11 12:03:47 -03:00
Lucas Fernandes Nogueira
8beab63634 fix(cli): build freezing on Windows, closes #3399 (#3402) 2022-02-11 11:38:10 -03:00
Lucas Fernandes Nogueira
def7684025 fix(cli.rs): do not prompt for init values if arg set (#3400) 2022-02-11 11:00:11 -03:00
github-actions[bot]
ffb9a192cb apply version updates (#3397)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2022-02-11 11:45:59 +02:00
amrbashir
e25fc68da6 fix(cta): account for null args 2022-02-11 11:36:26 +02:00
Amr Bashir
536c0cd7d4 fix(cta): filter out empty args, fixes #3393 (#3396)
* fix(cta): filter out empty args, fixes #3393

* use strict inequality [skip ci]
2022-02-11 10:31:29 +02:00
github-actions[bot]
5c0a8bfef7 Apply Version Updates From Current Changes (#3392)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-10 23:05:06 -03:00
Dave Lage
c0c9537543 fix(cli): Typo (#3390) 2022-02-10 22:59:26 -03:00
Lucas Nogueira
3227502e8c fix(cli.rs): package vswhere.exe 2022-02-10 22:55:59 -03:00
Lucas Nogueira
cde6e3cf9d fix(ci): covector configuration and usage
[skip ci]
2022-02-10 20:08:54 -03:00
Lucas Nogueira
7c0fb73bb8 fix(covector): tauri-utils before tauri-bundler 2022-02-10 18:42:50 -03:00
Lucas Nogueira
a1cac948d9 chore: ignore time and chrono security advisories 2022-02-10 18:17:26 -03:00
github-actions[bot]
0876bbbb57 Apply Version Updates From Current Changes (#2522)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-10 18:03:25 -03:00
Lucas Nogueira
18b7ffb4e2 fix(covector): remove sync-cli-metadata.js usage 2022-02-10 17:37:21 -03:00
Lucas Fernandes Nogueira
45d427e44c Merge pull request #3389 from tauri-apps/next 2022-02-10 17:30:34 -03:00
Lucas Fernandes Nogueira
4334865266 refactor(cli): rename tooling/cli.rs folder to tooling/cli (#3388)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-10 17:23:10 -03:00
Lucas Fernandes Nogueira
62c7a8ad30 chore(covector): prepare for rc release (#3376) 2022-02-10 16:46:30 -03:00
Lucas Fernandes Nogueira
2403e732df feat(cli.rs): add tests to node binding, delete cli.js (#3381)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: LongYinan <lynweklm@gmail.com>
2022-02-10 16:45:41 -03:00
Lucas Nogueira
8562706428 fix(core): documentation links 2022-02-10 16:03:24 -03:00
Jonas Kruckenberg
d5400a3d62 once_global and once accept FnOnce callbacks (#3383) 2022-02-10 11:29:47 -03:00
Lucas Fernandes Nogueira
7918584b5c feat(core): expose setup_with_config on the plugin builder (#3379) 2022-02-10 11:24:25 -03:00
Lucas Fernandes Nogueira
c119060e3d refactor(core): empty default value for config > tauri > windows (#3380) 2022-02-10 11:23:08 -03:00
Lucas Nogueira
e61162aa9a refactor(example): use path_resolver API on the resource example 2022-02-10 11:21:02 -03:00
Fabian-Lars
02ac3215ea feat(cli.js): rewrite cli.js with napi-rs, closes #2651,#3287 (#3370)
Co-authored-by: Chip Reed <chip@chip.sh>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-09 22:11:00 -03:00
renovate[bot]
d218499574 chore(deps) Update Tauri Utils (#3375)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-09 14:18:46 -03:00
Jonas Kruckenberg
84a19edafb Add code signing explainer (#3377) 2022-02-09 14:01:19 -03:00
renovate[bot]
7690d1b92e chore(deps) Update create-tauri-app (#3364)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 13:46:51 -03:00
Lucas Fernandes Nogueira
7aca0a6233 refactor(core): simplify shell scope, input only string arrays (#3372) 2022-02-09 13:44:52 -03:00
renovate[bot]
55726f236c chore(deps) Update Tauri Core (#3374)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-09 13:44:40 -03:00
renovate[bot]
d694027447 chore(deps) Update Rust crate heck to 0.4 (#3366)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-09 13:44:28 -03:00
renovate[bot]
391454d88a chore(deps) Update Rust crate image to 0.24.0 (#3367)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-09 13:02:33 -03:00
Lucas Fernandes Nogueira
85632759c3 fix(examples): remove inline style usage due to CSP (#3373) 2022-02-09 12:45:34 -03:00
Lucas Nogueira
ef9ecd511f fix(ci): windows tests 2022-02-09 12:44:08 -03:00
renovate[bot]
27b1a0719a chore(deps) Update Rust crate cargo_toml to 0.11 (#3365)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 11:49:14 -03:00
renovate[bot]
b5581741e8 chore(deps) Update Rust crate sha2 to 0.10 (#3368)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 11:40:01 -03:00
renovate[bot]
d6fbfaf7c2 chore(deps) Update Tauri API Definitions (#3369)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 11:37:51 -03:00
renovate[bot]
69c4e814fa chore(deps) Update Tauri CLI (#3371)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-09 11:36:29 -03:00
Lucas Nogueira
e0588c45b8 fix(tests): remove windows assertion on check_read_string_fail 2022-02-09 01:26:50 -03:00
Lucas Fernandes Nogueira
7b7a3a89d1 feat(core): update serialize-to-javascript dependency (#3363) 2022-02-09 01:24:35 -03:00
Fabian-Lars
617b397a7f feat(docs): Generate json AST for js api. Remove docs related workflows. (#3335)
* feat(docs): Generate json AST for js api

* generate api.json in docs folder

* remove doc workflows. add dispatch for tauri-docs

* move cli/config doc generation to tauri-docs
2022-02-09 00:02:51 +01:00
Fabian-Lars
4ae5e34079 fix(cli.rs): remove duplicate shortname for internal flag (#3361) 2022-02-08 13:13:46 -03:00
Lucas Fernandes Nogueira
5eb72c24de refactor: copy resources and sidecars on the Cargo build script (#3357) 2022-02-08 13:13:21 -03:00
Lucas Fernandes Nogueira
4a10e88c4b feat(docs): document data URLs usage (#3360) 2022-02-08 11:11:32 -03:00
Lucas Fernandes Nogueira
a2d5929a8f feat(cli.rs): wait for dev URL to be reachable, exit if command fails (#3358)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-08 10:43:07 -03:00
Didrik Nordström
3035e4581c Remove target triple from sidecar bin paths, closes #3355 (#3356)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-07 22:16:09 -03:00
Lucas Fernandes Nogueira
5a94200f65 feat(core): expose functions to serialize serde::Serialize values to JS (#3354) 2022-02-07 20:17:58 -03:00
Jonas Kruckenberg
9aed299621 feat: plugin::Builder closes #2959 (#3005)
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-07 14:06:35 -03:00
Lucas Fernandes Nogueira
10e3190fdd fix(core): do not use capture on _blank link event handler, closes #2791 (#3349) 2022-02-07 13:06:35 -03:00
Lucas Fernandes Nogueira
a03b85545a fix(core): tray not closing on Windows (#3351) 2022-02-07 13:04:38 -03:00
Lucas Fernandes Nogueira
af44bf8168 feat(core): allow app run on any thread on Linux & Windows, closes #3172 (#3353) 2022-02-07 11:31:07 -03:00
Lucas Fernandes Nogueira
8483fde975 feat(core): expose run_return on Linux (#3352) 2022-02-07 11:30:45 -03:00
Lucas Fernandes Nogueira
55aa22de80 feat(core): add Window#open_devtools API, closes #1213 (#3350) 2022-02-07 10:04:33 -03:00
nothingismagick
58030172ed feat(tauricon): remove from cli (#3293)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-07 00:59:51 -03:00
Lucas Fernandes Nogueira
03fc92c830 fix(core): resolve request instead of panicking on asset protocol (#3347) 2022-02-06 23:54:47 -03:00
Lucas Fernandes Nogueira
3d92f4c272 fix(cli.rs): --release flag for the dev command, closes #3324 (#3348) 2022-02-06 23:52:57 -03:00
Lucas Fernandes Nogueira
f739e446f5 fix(core): set window URL before preparing asset protocol CORS header (#3346) 2022-02-06 18:50:59 -03:00
Lucas Fernandes Nogueira
9b34055264 fix(core): window-specific event delivery, closes #3302 (#3344) 2022-02-06 17:50:02 -03:00
Lucas Fernandes Nogueira
6330b66be7 fix(core): sidecar usage on Windows, closes #3341 (#3345) 2022-02-06 16:59:20 -03:00
Lucas Nogueira
5e7611aaa7 fix(cli.rs): build on Windows 2022-02-06 10:52:01 -03:00
Lucas Fernandes Nogueira
a892728c08 fix(examples): allowlist configuration for core examples (#3340) 2022-02-06 10:50:45 -03:00
Fabian-Lars
7d2a6d8055 Fix(core): import regex if shell-open is enabled. (#3339)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-06 10:50:27 -03:00
philipborg
52e9a6d81a fix: Make CMD handle quotes " properly. (#3334)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-06 10:22:07 -03:00
Ngo Iok Ui (Wu Yu Wei)
343ea3e2e8 Update wry to 0.13 (#3336)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-06 10:08:12 -03:00
Lucas Nogueira
1e5a8c9db6 fix(cli.rs): lint warning on cross_command fn 2022-02-06 09:52:39 -03:00
Kasper
d0f9a03d20 Add tauri::Builder doc comment examples (#3151)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-02-05 20:36:36 -03:00
Amr Bashir
a8e5ad9299 fix: improve vs build tools detection, closes #3113 (#3144)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-05 20:17:39 -03:00
renovate[bot]
c5f3cbc683 chore(deps) Update dependency sirv-cli to v2 (#3134)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-05 15:20:32 -03:00
renovate[bot]
78bf08e9ad chore(deps) Update Rust crate clap to v3.0.6 (#3194)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-05 15:17:55 -03:00
Lucas Fernandes Nogueira
af329f2722 feat(bundler): wix localization, closes #3174 (#3179) 2022-02-05 15:13:07 -03:00
Lucas Nogueira
de0543f3e0 feat(cli.rs): change inferred dev server port to 8080 for Svelte apps 2022-02-05 15:12:36 -03:00
Lucas Nogueira
a017fbc71d fix(core): regression on dialog and updater feature flag usage 2022-02-05 14:55:28 -03:00
Ngo Iok Ui (Wu Yu Wei)
1805d05867 Remove chrono dependency in some crates (#2890)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-05 14:21:04 -03:00
renovate[bot]
e855c1435d chore(deps) Update Tauri API Definitions (#3195)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-05 13:11:30 -03:00
renovate[bot]
21fb74bb37 chore(deps) Update Rust crate clap to v3.0.7 (#3209)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-05 13:10:35 -03:00
Ngo Iok Ui (Wu Yu Wei)
2815bf6511 Update gtk to 0.15 (#3247) 2022-02-05 13:29:03 +08:00
Lucas Fernandes Nogueira
4818531aba refactor(core): add blocking dialog APIs, improve docs, closes #3255 (#3270) 2022-02-05 00:43:19 -03:00
renovate[bot]
effba95dd6 chore(deps) Update Rust crate zstd to 0.10 (#3282)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-05 00:43:03 -03:00
Jonas Kruckenberg
839daec7ab fix(bundler): Use arch instead of llvm_target. fix #3285 (#3286)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-05 00:40:13 -03:00
renovate[bot]
8d39741aa1 chore(deps) Update create-tauri-app (#3245)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-04 23:51:49 -03:00
dependabot[bot]
784ecf7a64 chore(deps): bump nanoid from 3.1.30 to 3.2.0 in /examples/api (#3262)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
[skip ci]
2022-02-04 23:51:14 -03:00
Lucas Fernandes Nogueira
1dbd887a6e fix(core): emit tauri://window-created event for windows created on Rust (#3299) 2022-02-04 23:47:44 -03:00
Lucas Fernandes Nogueira
878b8b9a1f fix(core): immediately listen to window-created, closes #3297 (#3298) 2022-02-04 23:39:23 -03:00
dependabot[bot]
2bade5ecaa chore(deps): bump simple-get from 4.0.0 to 4.0.1 in /tooling/cli.js (#3303)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
[skip ci]
2022-02-04 22:31:19 -03:00
Jonas Kruckenberg
9b19a805aa fix(api.js) Replace number[]with Uint8Array. fixes #3306 (#3305)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-04 22:18:23 -03:00
Lucas Fernandes Nogueira
f5109e0c96 fix(api): window label null instead of actual value, closes #3295 (#3332) 2022-02-04 21:57:41 -03:00
Amr Bashir
65ad5b5ef9 feat(cli.rs/info): detect if tauri is used from git (#3309)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-04 21:00:55 -03:00
Didrik Nordström
83f52fdbe3 feat: Add universal-darwin-macos build target, closes #3317 (#3318)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-04 18:56:57 -03:00
Lucas Nogueira
3d77bd3981 refactor(examples): use fixed file name on API example dist files 2022-02-04 18:33:43 -03:00
Lucas Nogueira
6ea4626337 fix(examples): API example compilation issues 2022-02-04 18:31:54 -03:00
Lucas Nogueira
a76abc48f2 fix(config): doc for beforeDevCommand and beforeBuildCommand 2022-02-04 18:13:46 -03:00
Jacob
e57a303748 docs(examples): add missing Readme and clarify existing (#3327)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-04 17:56:57 -03:00
Cobalt
15358b1895 Expose event interface. fixes #2733 (#3321)
Co-authored-by: Cobalt <c0balt@disroot.org>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-04 17:44:12 -03:00
Lucas Fernandes Nogueira
bff86ee4c4 chore: remove egui feature (#3330) 2022-02-04 17:02:54 -03:00
Lucas Nogueira
a434393413 fix(core): feature flag usage on the shell APIs 2022-02-04 16:28:11 -03:00
dependabot[bot]
4e6308c296 chore(deps): bump simple-get from 3.1.0 to 3.1.1 in /examples/sidecar (#3329)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-04 15:52:45 -03:00
Lucas Fernandes Nogueira
b94a0aadc9 Merge pull request #3328 from tauri-apps/feat/audit-patches 2022-02-04 15:51:15 -03:00
Lucas Nogueira
01f8fff34b fix(ci): Rust workspace test with all features 2022-02-04 15:17:08 -03:00
Lucas Nogueira
c6ba7f6524 fix(ci): update lockfiles 2022-02-04 14:48:45 -03:00
Lucas Nogueira
0fcd7bec37 fix(deps): remove unused dependencies 2022-02-04 14:24:56 -03:00
Lucas Nogueira
675d171eed fix(core): tests, lint 2022-02-04 14:03:27 -03:00
Lucas Nogueira
5fe3a37da3 fix(build): allowlist features mismatch detection 2022-02-04 13:37:23 -03:00
Lucas Nogueira
f834a1545c chore(api): fix formatting 2022-02-04 11:51:41 -03:00
Lucas Nogueira
a08509c641 fix(api): remove currentDir API from the path module 2022-02-04 11:49:23 -03:00
Lucas Nogueira
38a9b58219 fix(bundler): remove unused test code 2022-02-04 11:47:10 -03:00
Lucas Nogueira
095a696c85 chore(audit): add report 2022-02-04 11:41:15 -03:00
Lucas Nogueira
224f81b4d0 chore(deps): update wry rev 2022-02-04 11:40:56 -03:00
Lucas Nogueira
06cbc1ee57 chore(core): fix clippy warnings 2022-02-03 10:18:24 -03:00
Lucas Nogueira
b1d7464d61 chore(cli.rs): fix clippy warnings 2022-02-03 10:16:32 -03:00
Lucas Nogueira
995de57a76 Add seamless support for using JSON5 in the config file (#47)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-03 10:16:00 -03:00
Lucas Fernandes Nogueira
61851f49ea refactor(core): use regex only for the shell scope API (#46)
Co-authored-by: chip <chip@chip.sh>
2022-02-03 10:01:30 -03:00
Lucas Nogueira
320bb0b52a fix(examples): API example shell scope configuration 2022-02-02 21:02:27 -03:00
Lucas Nogueira
d740ae66ac refactor: move data-url usage behind window-data-url feature 2022-02-02 20:43:14 -03:00
Lucas Nogueira
0d1e3219b4 Merge branch 'next' into feat/audit-patches 2022-02-02 20:09:41 -03:00
chip
7c3db7a381 cache current binary path much sooner (#45)
* use ctor to cache starting executable

* clean up symlink checking logic

* changefile

* use wrapper for the static, put it in tauri_utils

* cargo +nightly fmt

* add license header to `StartingBinary`

* fix clippy warning

* fix: test

* simplify macOS dangerous flag detection

* update restart test to allow expected failure on macOS

* finish documentation

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-02 19:58:56 -03:00
Lucas Nogueira
b82e2b5cf7 feat(core): configure HTTP scope using glob patterns 2022-01-31 10:30:32 -03:00
Lucas Nogueira
de35f4b624 fix(core): use std::env::temp_dir instead of fixed /tmp 2022-01-31 10:30:27 -03:00
Lucas Nogueira
ff37a715ab fix(core): remove $APP from fs scope default 2022-01-31 10:30:10 -03:00
Lucas Nogueira
645b5a8b8a chore: fix clippy warnings and tests 2022-01-31 10:30:05 -03:00
Lucas Nogueira
dc8ae7485e fix: put eprintln usage behind #[cfg(debug_assertions)] 2022-01-31 10:29:56 -03:00
amrbashir
093f85dc2b chore: update pull request commit exmple 2022-01-29 18:01:09 +02:00
Manuel Alabor
8ab8d52942 Fix #3288: Add provider_short_name for macOS (#3289) 2022-01-27 15:22:30 -03:00
Lucas Nogueira
696dca58a9 refactor(core): remove BaseDirectory::Current variant 2022-01-26 16:48:31 -03:00
Lucas Nogueira
c80e8b6886 fix: fs-read-file allowlist usage 2022-01-26 16:47:42 -03:00
chip
10314cd5cf feat(core): add argument parsing on shell scope (#44)
* feat: initial implementation

* feat: arg parser

* refactor: move codegen to context struct

* feat: regex validation

* fix tests

* fix: support magic argument value `-`

* feat: support value regex starting with `-`

* refactor: shell_scope mod, add happy path tests

* wip: scope command arguments

* wip: commands

* add better scoped errors and pattern matching

* add documentation to scoped command items

* support using the new shell scope for open

* use the proper items in tauri::scope during codegen

* shell-open uses ScopeError::Validation also

* use shell scoping for sidecar commands

* fix: cli.rs build

* fix: validation when arg list is empty

* require args in a non-fixed, non-empty config list

Co-authored-by: Chip Reed <chip@chip.sh>
2022-01-26 16:43:24 -03:00
Jonas Kruckenberg
9bb68973dd fix(cli.rs): prefix the "before script" env vars with TAURI_ (#3274) 2022-01-24 10:27:23 -03:00
Wojciech Niedźwiedź
d801cc89b8 wix installer is also signed (#3266) 2022-01-23 17:50:05 -03:00
dependabot[bot]
529912515e chore(deps): bump node-fetch from 2.6.1 to 2.6.7 in /examples/sidecar (#3271)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-23 16:54:16 -03:00
Lucas Nogueira
efa1970db5 fix(api): type definition for http > Part, closes #3268 2022-01-23 16:51:35 -03:00
Lorenzo Lewis
75dea8bd39 Docs removal (#3263) 2022-01-23 16:48:42 -03:00
Edqe
18aab872a9 chore(docs): fix minor typo #3264 (#3265) 2022-01-23 16:43:29 -03:00
Lucas Nogueira
28a67fdb60 chore(docs): update platform-specific documentation notes 2022-01-22 14:35:36 -03:00
Lucas Fernandes Nogueira
28dd9adb26 feat(bundler): support building AppImage without FUSE (#3259) 2022-01-21 15:41:00 -03:00
Lorenzo Lewis
b928a6edaf tauri-studio JS doc generation (#3249)
* Add `generate-docs` command to JS tooling

* Stop generating Rust docs, update JS docs generation

* Change target folder for js copy

* Add recursive to copy

* Add in ARCHITECTURE.md copy

* Add in guides copy

* Change architecture output dir, fix guides destination

* Revert back to GitHub.workspace path

* Change cp to rsync to be able to exclude

* Fix source path

* Change to render title better

* Revert "Change to render title better"

This reverts commit 72b78f3901.

* Fix broken links
2022-01-20 22:32:57 +01:00
sdoering01
1eec7282c7 fix(cli.rs): typo (#3248) 2022-01-19 10:57:25 +01:00
sdoering01
4de8577a48 fix(create-tauri-app): correct dev port for svelte, closes #3210 (#3246) 2022-01-19 10:44:37 +01:00
Lucas Nogueira
ec8661f18e fix: do not enforce updater's pubkey field when active is false 2022-01-17 10:48:03 -03:00
Lucas Nogueira
487441c991 fix: update dev dependencies 2022-01-17 10:47:54 -03:00
chip
d5d6d2abc1 Isolation Pattern (#43)
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-01-17 10:46:14 -03:00
Jonas Kruckenberg
e1d6a6e644 Create api-file-dialog-title.md (#3235) 2022-01-16 16:41:33 -03:00
Lucas Nogueira
8376e3c035 chore(deps): update webview2-com to 0.30 on tauri-runtime 2022-01-16 15:58:17 -03:00
Jonas Kruckenberg
ce03909fb6 [feat] add dialog title option. closes #3232 (#3233) 2022-01-16 19:41:11 +01:00
Lucas Fernandes Nogueira
9014fe88b6 refactor(core): cleanup egui implementation (#3227) 2022-01-16 01:14:18 -03:00
Jonas Kruckenberg
b5d9bcb402 Consistent event name usage (#3228) 2022-01-15 17:47:15 -03:00
Lucas Nogueira
5b66dede9b chore(docs): add target folder note on the FAQ, ref #3223 2022-01-15 16:08:14 -03:00
Justin
e651c62c94 Added Windows signing guide, renamed osx guide to macos (#3213) 2022-01-15 16:04:57 -03:00
Lucas Nogueira
b9c00d2db5 chore(deps): update windows to 0.30 2022-01-15 13:20:30 -03:00
Lucas Fernandes Nogueira
ab7d3b51eb feat: emit CloseRequested event for egui windows (#3222) 2022-01-15 12:23:26 -03:00
Lucas Fernandes Nogueira
e15a8af843 refactor(core): return Window on create_window API (#3211) 2022-01-13 13:51:45 -03:00
FabianLars
d5e6046756 Fix broken links to tauri.studio docs (#3212) 2022-01-13 13:34:31 -03:00
renovate[bot]
85b738fe68 chore(deps) Update Rust crate blake3 to 1.3 (#3200)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-12 10:19:27 -03:00
renovate[bot]
ce8a37152a chore(deps) Update create-tauri-app (#3199)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-12 10:19:14 -03:00
renovate[bot]
b36c8232a0 chore(deps) Update Tauri CLI (#3196)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-12 10:18:57 -03:00
renovate[bot]
30eae51426 chore(deps) Update Rust crate tempfile to 3.3.0 (#3202)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-12 10:15:05 -03:00
renovate[bot]
39e67922b8 chore(deps) Update Tauri JS CLI (#3197)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-12 10:13:15 -03:00
Ahmad AlHallak
c6e05380f7 fix: getter macro panicking on RecvError, closes #3188 (#3192)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-01-10 15:33:35 -03:00
Lucas Nogueira
c077f44927 feat: force endpoint URL to use https on release [TRI-015] (#41) 2022-01-09 16:40:22 -03:00
Lucas Nogueira
d95cc83105 feat: enforce updater public key [TRI-015] (#42) 2022-01-09 16:37:03 -03:00
Lucas Nogueira
b43019a2b0 fix: shell allowlist scope 2022-01-09 16:31:40 -03:00
chip
2e212e1eac use our current_exe implementation in more places (#39) 2022-01-09 16:30:25 -03:00
david
be096623bf feat(updater): refactor in-memory (#37)
* refactor: updater archive is now fully validated from memory

Signed-off-by: David Lemarier <david@lemarier.ca>

* fix CI

Signed-off-by: David Lemarier <david@lemarier.ca>

* make clippy happy

Signed-off-by: David Lemarier <david@lemarier.ca>

* update documentation and fmt

Signed-off-by: David Lemarier <david@lemarier.ca>

* cleanup and add final doc

Signed-off-by: David Lemarier <david@lemarier.ca>

* fmt

Signed-off-by: David Lemarier <david@lemarier.ca>

* make clippy happy

Signed-off-by: David Lemarier <david@lemarier.ca>

* remove unwanted clone

Signed-off-by: David Lemarier <david@lemarier.ca>

* [ci skip] cleanup

Signed-off-by: David Lemarier <david@lemarier.ca>

* run `http_updater_complete_process` on all platforms

Signed-off-by: David Lemarier <david@lemarier.ca>

* fix CI: `cargo test --all-features` on core tests

Signed-off-by: David Lemarier <david@lemarier.ca>

* fix appimage build

Signed-off-by: David Lemarier <david@lemarier.ca>

* update

Signed-off-by: David Lemarier <david@lemarier.ca>

* chore(deps) Update dependency @types/imagemin to v8 (#2635)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: David Von Edge <david.vonedge@smiths.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Elvinas Predkelis <elvinas.predkelis@gmail.com>
Co-authored-by: edgex004 <edgex004@gmail.com>
Co-authored-by: Barry Simons <linuxuser586@gmail.com>
Co-authored-by: Kris Scott <kscott91@gmail.com>
Co-authored-by: grey4owl <66082492+grey4owl@users.noreply.github.com>
Co-authored-by: cybai <cyb.ai.815@gmail.com>
Co-authored-by: Lucas Nogueira <lucasfernandesnog@gmail.com>
Co-authored-by: Robert Buchanan <robbie.buchanan@ioneyed.com>
Co-authored-by: Kasper <kasperkh.kh@gmail.com>
Co-authored-by: Manuel Quarneti <manuelquarneti@gmail.com>
Co-authored-by: Stef Kors <stef.kors@gmail.com>
Co-authored-by: David D <1168397+davedbase@users.noreply.github.com>
Co-authored-by: Adilson Schmitt Junior <adilsonschj@gmail.com>
Co-authored-by: Bill Avery <wravery@users.noreply.github.com>
Co-authored-by: Julien Kauffmann <90217528+jkauffmann-legion@users.noreply.github.com>
Co-authored-by: Andrea Giammarchi <andrea.giammarchi@gmail.com>
Co-authored-by: ThisSeanZhang <46880100+ThisSeanZhang@users.noreply.github.com>
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>

* Revert "chore(deps) Update dependency @types/imagemin to v8 (#2635)"

This reverts commit c0285e873d.

* [ci skip] fix errors

Signed-off-by: David Lemarier <david@lemarier.ca>

* [ci skip] fix build errors

Signed-off-by: David Lemarier <david@lemarier.ca>

* [ci skip] path `SafePathBuf` tests

Signed-off-by: David Lemarier <david@lemarier.ca>

* allow minisign legacy

Signed-off-by: David Lemarier <david@lemarier.ca>

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: David Von Edge <david.vonedge@smiths.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
Co-authored-by: Elvinas Predkelis <elvinas.predkelis@gmail.com>
Co-authored-by: edgex004 <edgex004@gmail.com>
Co-authored-by: Barry Simons <linuxuser586@gmail.com>
Co-authored-by: Kris Scott <kscott91@gmail.com>
Co-authored-by: grey4owl <66082492+grey4owl@users.noreply.github.com>
Co-authored-by: cybai <cyb.ai.815@gmail.com>
Co-authored-by: Lucas Nogueira <lucasfernandesnog@gmail.com>
Co-authored-by: Robert Buchanan <robbie.buchanan@ioneyed.com>
Co-authored-by: Kasper <kasperkh.kh@gmail.com>
Co-authored-by: Manuel Quarneti <manuelquarneti@gmail.com>
Co-authored-by: Stef Kors <stef.kors@gmail.com>
Co-authored-by: David D <1168397+davedbase@users.noreply.github.com>
Co-authored-by: Adilson Schmitt Junior <adilsonschj@gmail.com>
Co-authored-by: Bill Avery <wravery@users.noreply.github.com>
Co-authored-by: Julien Kauffmann <90217528+jkauffmann-legion@users.noreply.github.com>
Co-authored-by: Andrea Giammarchi <andrea.giammarchi@gmail.com>
Co-authored-by: ThisSeanZhang <46880100+ThisSeanZhang@users.noreply.github.com>
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
2022-01-09 16:30:14 -03:00
Lucas Nogueira
24fa21c9b7 fix: build with all features 2022-01-09 16:29:56 -03:00
Lucas Fernandes Nogueira
4d89f60d77 refactor(core): prevent path traversal [TRI-012] (#35) 2022-01-09 16:28:56 -03:00
Lucas Fernandes Nogueira
d4db95e716 feat(core): shell execute API scope [TRI-002] (#36)
* feat(core): shell execute API scope [TRI-002]

* fix tests

* also check with empty extension

* lockfile
2022-01-09 16:28:22 -03:00
Lucas Nogueira
eae311e6e2 fix(core): ipc and tests 2022-01-09 16:27:57 -03:00
Lucas Nogueira
766c4f2c57 refactor: unify fs read and write cmds for binary/text data [TRI-009] (#34) 2022-01-09 16:24:44 -03:00
Lucas Fernandes Nogueira
bf5667f21c fix(core): resolve symbolic links on current_exe calls [TRI-048] (#33) 2022-01-09 16:21:21 -03:00
Ngo Iok Ui (Wu Yu Wei)
804a8b53da Add note about local storage on stronghold plugin (#32) 2022-01-09 16:21:10 -03:00
Lucas Fernandes Nogueira
6ad702920f feat(core): allowlist tests [TRI-028] (#28) 2022-01-09 16:20:55 -03:00
chip
fa21fe9ca6 fix typo in current_binary docs (#31) 2022-01-09 16:20:48 -03:00
chip
5f3487d0c4 Resolve symlinks during tauri::api::process::current_binary [TRI-047] (#29)
* create integration test for tauri process restart

most notably, this integration test is entirely self-contained and
should successfully run with a regular `cargo test`.

* cargo fmt

* canonicalize the current_binary path to resolve links

* add licensing metadata to restart test cargo project

* remove use statements for simpler restart test binary code

* allow windows to fail creating the symlink due to permissions

* provide an overload of information on current_binary

* add nested symlinking to the restart test

* user -> attacker

* grammar (i think)
2022-01-09 16:20:32 -03:00
Lucas Nogueira
6feb5a0c50 refactor(core): api feature flags, documentation (#26) 2022-01-09 16:20:13 -03:00
Lucas Fernandes Nogueira
85df94f2b0 feat(core): config for fixed webview2 runtime version path (#27) 2022-01-09 16:16:45 -03:00
Lucas Nogueira
a62faf2085 fix(covector): remove empty change file 2022-01-09 16:16:36 -03:00
Lucas Fernandes Nogueira
0ad1c6515f feat(core): add http allowlist scope [TRI-008] (#24) 2022-01-09 16:16:12 -03:00
Lucas Nogueira
239bba5666 refactor(core): check notification permission on the Rust endpoint [TRI-017] (#23) 2022-01-09 16:15:47 -03:00
Lucas Nogueira
a48b8b18d4 feat(core): validate callbacks and event names [TRI-038] [TRI-020] (#21) 2022-01-09 16:12:29 -03:00
Lucas Nogueira
2f3a582c69 feat(cli.rs): strip release binaries [TRI-031] (#22) 2022-01-09 15:46:43 -03:00
Lucas Nogueira
153a6a44b3 fix(cli.rs): build on windows 2022-01-09 15:41:51 -03:00
Lucas Nogueira
5687b7fdcd refactor: use macros to match core commands with allowlist conditionals [TRI-028] (#20) 2022-01-09 15:41:28 -03:00
Lucas Nogueira
828b9ee54c fix: build failing on env validation on windows/macos 2022-01-09 15:20:14 -03:00
Lucas Nogueira
ae60a6e892 fix: use default values for scopes on serde 2022-01-09 15:19:08 -03:00
Lucas Nogueira
4fa5ec9606 chore: cleanup repo lockfiles and gitignores 2022-01-09 15:18:14 -03:00
Lucas Nogueira
9b4c47c4f8 refactor(build): use cargo_toml instead of toml_edit for perf [TRI-023] 2022-01-09 14:59:06 -03:00
Lucas Nogueira
63921fada4 refactor: change tauri::api::open with argument to an enum [TRI-022] (#19) 2022-01-09 14:58:38 -03:00
Lucas Fernandes Nogueira
eed017287f feat(core): add shell > sidecar allowlist and process feature flag [TRI-037] (#18) 2022-01-09 14:57:43 -03:00
Lucas Fernandes Nogueira
6fbd6dba52 feat(core): validate AppImage execution when env vars are set [TRI-041] (#17) 2022-01-09 14:57:29 -03:00
Lucas Nogueira
8259cd64c2 feat(core): inject CSP on data URLs [TRI-049] (#16) 2022-01-09 14:57:12 -03:00
Lucas Fernandes Nogueira
d4017d505c chore: remove eprintln! usage on release [TRI-051] (#15) 2022-01-09 14:49:17 -03:00
Lucas Nogueira
d660cab38d feat: enhance allowlist configuration [TRI-027] (#11) 2022-01-09 14:48:55 -03:00
Lucas Nogueira
2a7bf6d912 refactor(examples): improve security when rendering HTML strings [TRI-003] (#14) 2022-01-09 14:35:30 -03:00
Lucas Fernandes Nogueira
680554de3e feat: validate window label [TRI-021] (#13) 2022-01-09 14:30:43 -03:00
Lucas Fernandes Nogueira
d42ccfb34f feat: add clipboard flag to WebviewAttributes [TRI-032] (#12) 2022-01-09 14:30:31 -03:00
Lucas Nogueira
7920ff14e6 feat: scope the fs API and the asset protocol [TRI-026] [TRI-010] [TRI-011] (#10) 2022-01-09 14:30:04 -03:00
Lucas Nogueira
3420aa5031 refactor: IPC handler [TRI-019] (#9)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-01-09 14:17:29 -03:00
Lucas Nogueira
6ac21b3cef feat: add private api feature flag (#7) 2022-01-09 11:29:29 -03:00
Lucas Nogueira
cf54dcf9c8 feat: improve CSP security with nonces and hashes, add devCsp [TRI-004] (#8) 2022-01-09 11:11:59 -03:00
Lucas Nogueira
dd83217301 fix: build on windows 2022-01-09 10:58:06 -03:00
Lucas Nogueira
7209fdf732 refactor(core): load APPIMAGE and APPDIR env vars on startup [TRI-007] [TRI-041] 2022-01-09 10:57:29 -03:00
Lucas Nogueira
4de285c396 feat(core): validate Cargo features matching allowlist [TRI-023] 2022-01-09 10:55:09 -03:00
Lucas Fernandes Nogueira
46f2eae8aa feat: allow config's version to be a path to package.json, closes #2967 (#2971) 2022-01-07 16:55:30 -03:00
Lucas Fernandes Nogueira
0600099696 feat(api): support unknown types for event emit payload, closes #2929 (#2964) 2022-01-07 16:50:07 -03:00
Kasper
983cecb795 Fix links (#3182) 2022-01-07 19:09:25 +01:00
Lucas Fernandes Nogueira
b7a2345b06 feat(core): add raw headers to HTTP API, closes #2695 (#3053) 2022-01-07 13:53:04 -03:00
renovate[bot]
0a857f8fdc chore(deps) Update Tauri CLI (#3163)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:52:38 -03:00
renovate[bot]
e637361e4c chore(deps) Update Rust crate clap to v3.0.4 (#3159)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:52:11 -03:00
renovate[bot]
294bb857c9 chore(deps) Update Tauri API Definitions (#3160)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:48:03 -03:00
renovate[bot]
2d6d358298 chore(deps) Update Tauri JS CLI (#3164)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:46:35 -03:00
renovate[bot]
03f60eb54a chore(deps) Update create-tauri-app (#3166)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:46:25 -03:00
renovate[bot]
2a94165901 chore(deps) Update Rust crate handlebars to 4.2 (#3171)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:45:48 -03:00
FabianLars
ac1dfd8c30 feat(bundler): initialize msi install path with previous location (#3158) 2022-01-07 13:45:34 -03:00
Lucas Fernandes Nogueira
1e7c2cb6e6 docs(windows): document required NuGet configuration (#3173) 2022-01-07 13:44:55 -03:00
Hecatron
bc7973d10e Added example for CPP Dll useage (#3157) 2022-01-07 12:37:31 -03:00
Kasper
4f9c9e6307 Restructure docs (#3180)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-01-07 09:30:23 -03:00
Lucas Nogueira
c7621aa019 chore: fix some clippy warnings 2022-01-06 10:39:21 -03:00
Ngo Iok Ui (Wu Yu Wei)
3dddce5436 fix(tauri-runtime-wry): egui deps should be added behind the flag (#3170)
* Add egui deps behind feature flag

* Fix errors on Linux
2022-01-05 22:39:43 +08:00
Ngo Iok Ui (Wu Yu Wei)
5e0d59ec7d Initial support of egui native window (#3165)
* Initial support of egui

Expose method

Handle egui window lifetime properly

Add focus event logic

Check window_id on window event

Add Linux support

Fix window closing on Linux

Update flag to configure on different platforms

Fix control flow when egui window close

Add label param to egui window

* Innitial egui window support

* Add feature flag and change file

* Fix errors on Linux
2022-01-05 17:56:55 +08:00
Amr Bashir
4143ffd427 fix(cli.js): detect CARGO_TARGET_DIR for local run (#3147)
* fix(cli.js): detect `CARGO_TARGET_DIR` for local run

* [skip ci] revert schema changes
2022-01-04 13:57:50 +02:00
Lucas Nogueira
45eba33dc1 fix(cli.rs): plugin init --api usage 2022-01-03 20:00:58 -03:00
FabianLars
5b2db3f481 fix lint warnings in appimage bash file (#3155) 2022-01-03 17:48:36 -03:00
Lucas Fernandes Nogueira
d0970e3499 feat(driver): add args to tauri:options (#3154) 2022-01-03 17:37:16 -03:00
Lucas Fernandes Nogueira
4c1be45106 fix(bundler): deadlock on ResourcePaths iterator, closes #3146 (#3152) 2022-01-02 14:28:07 -03:00
Kasper
62182383de List categories in tooltips (#3150) 2022-01-01 21:55:29 -03:00
Amr Bashir
f5e77ff48f refactor(cta): use commander instead of minimst (#2551)
* refactor(cta): use `commander` instead of `minimst`

* fix default

* pin deps

* update lock file

* rearrange options

* style changes

* colorful help message

* add missing `dev` option

* style

* use local api for tests

* concise checks for vite and solid

* update lock file

* fix api formatting

* improvements to updating json files

* hopefully the last commit in this PR

* fix eslint

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-01-01 14:38:43 +02:00
Christian Schulze
2d39f12060 fix: #3137 - remove querystring when using asset protocol (#3141)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-31 15:36:50 -03:00
Lucas Fernandes Nogueira
e784ebca9f fix(core): Send+Sync for Window, closes #3135 (#3140) 2021-12-30 13:46:05 -03:00
Lucas Fernandes Nogueira
efbf236f35 refactor(core): make zstd optional enabled by default (#3133) 2021-12-30 11:28:41 -03:00
renovate[bot]
543e6bdb91 chore(deps) Update Rust crate clap to v3.0.0-rc.9 (#3127)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 07:16:02 -03:00
renovate[bot]
6e4a9f154f chore(deps) Update Tauri API Definitions (#3128)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 07:15:51 -03:00
renovate[bot]
8b3fbb88b0 chore(deps) Update Tauri CLI (#3129)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 07:14:40 -03:00
renovate[bot]
a9ef0459d7 chore(deps) Update Tauri JS CLI (#3130)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 07:14:25 -03:00
renovate[bot]
fa84c186e5 chore(deps) Update create-tauri-app (#3131)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 07:14:12 -03:00
Ngo Iok Ui (Wu Yu Wei)
0deaed8c57 Update windows dependency to 0.29 (#3132) 2021-12-29 07:07:08 -03:00
Amr Bashir
935638e64d chore: update pull request template 2021-12-29 07:31:26 +02:00
Lucas Fernandes Nogueira
9c82006b2f fix(core): deadlock when creating window from menu handler, closes #3110 (#3126) 2021-12-28 22:51:33 -03:00
FabianLars
3206a7088c fix(bundler): detect per-user webview2 installations (#3076)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-28 19:28:21 -03:00
Lucas Fernandes Nogueira
2212bd5d75 fix: dialog default path on Linux, closes #3091 (#3123) 2021-12-27 13:03:51 -03:00
Oliver Ford
722d9ede6e doc(api) XDG user dirs are not env vars, fix: #3090 (#3092) 2021-12-27 10:57:45 -03:00
Lucas Fernandes Nogueira
3f3599b9cc refactor(core): change setup closure type to FnOnce, closes #3061 (#3065) 2021-12-27 10:50:38 -03:00
Lucas Fernandes Nogueira
35588b2e04 fix(cli.rs): check default arch at runtime, closes #3067 (#3078) 2021-12-27 10:49:59 -03:00
Lucas Fernandes Nogueira
7cc95e10ec feat(core): add Menu::with_items, closes #2807 (#2966) 2021-12-27 10:48:13 -03:00
FabianLars
3a04c036ff update wry rev. fixes crash on webkit2gtk-sys compilation (#3112) 2021-12-25 15:50:13 +01:00
Kasper
44aec4b0a5 Update README.md (#3094) 2021-12-23 10:09:30 -03:00
renovate[bot]
8d1a6978c1 chore(deps) Update Tauri CLI (#3097)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:07:06 -03:00
renovate[bot]
0fdf0aa4e9 chore(deps) Update Tauri Core (#3098)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:06:56 -03:00
renovate[bot]
84f9d571d5 chore(deps) Update Tauri API Definitions (#3100)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:05:43 -03:00
renovate[bot]
c6f90b1c3e chore(deps) Update Tauri JS CLI (#3101)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:05:33 -03:00
renovate[bot]
b5b4751be1 chore(deps) Update create-tauri-app (#3102)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:05:17 -03:00
renovate[bot]
0a97c61ac5 chore(deps) Update dependency @tsconfig/svelte to v3 (#3103)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:05:04 -03:00
renovate[bot]
b41ff93c8f chore(deps) Update dependency eslint-plugin-promise to v6 (#3104)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:04:25 -03:00
Kasper
c0c244dab5 Simplify PR template (#3096) 2021-12-23 02:33:31 +01:00
Kasper
67951fa0d5 Add GitHub issue forms (#3095) 2021-12-23 02:33:08 +01:00
renovate[bot]
a377e18df6 chore(deps) Update Rust crate tokio to 1.15 (#3079)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-15 19:04:05 -03:00
renovate[bot]
485e25a22a chore(deps) Update Tauri CLI (#3074)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-15 17:18:59 -03:00
renovate[bot]
142eb3643e chore(deps) Update Rust crate clap to v3.0.0-rc.5 (#3077)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-15 17:18:40 -03:00
renovate[bot]
383cb6d4db chore(deps) Update Rust crate heck to 0.4 (#3073)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-15 16:02:56 -03:00
renovate[bot]
66ca8af977 chore(deps) Update Rust crate heck to 0.4 (#3072)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-15 16:02:48 -03:00
renovate[bot]
d433e42664 chore(deps) Update create-tauri-app (#3075)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-15 15:16:34 -03:00
renovate[bot]
b3ff814aa7 chore(deps) Update Tauri JS CLI (#3071)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-15 14:57:28 -03:00
renovate[bot]
e345e677ef chore(deps) Update Tauri Core (#3070)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-15 14:57:16 -03:00
renovate[bot]
4445b47c9f chore(deps) Update Tauri API Definitions (#3069)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-15 14:55:54 -03:00
Lucas Nogueira
d56a7fc7f7 fix: asset protocol CORS on Windows 2021-12-13 14:37:37 -03:00
Lucas Nogueira
26dab690b7 fix(cli.rs): distDir validation 2021-12-10 12:24:45 -03:00
FabianLars
bec7833a6c fix(bundler): bundle additional webkit files. patch absolute paths in libwebkit*.so files. fixes #2805,#2689 (#2940) 2021-12-09 18:38:01 -03:00
Lucas Nogueira
73274a895f chore: add release profile for updater and api examples 2021-12-09 18:26:44 -03:00
Lucas Fernandes Nogueira
d7c02a30a5 feat(core): persist non-session cookies on Linux (#3052) 2021-12-09 18:11:00 -03:00
Chaoqian Xu
156cdbc9f8 fix: extract an entire source archive into a specified path is not working if the archive includes dirs. (#2997)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-09 12:22:32 -03:00
Lucas Fernandes Nogueira
74dff536d4 fix(core): emit tauri://close-requested to JS, closes #2996 (#3041) 2021-12-09 12:22:12 -03:00
Jonas Kruckenberg
1458ab3c53 refactor(cli.rs): signer and plugin subcommands, use new clap derive syntax (#2928)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-09 12:21:33 -03:00
Amr Bashir
28aaec87e2 feat(cli.rs): add active toolchain and rustup to tauri info, closes #2730 (#2986) 2021-12-09 01:28:26 -03:00
Lucas Fernandes Nogueira
feb3a8f896 feat(bundler): configure WiX to add launch option, closes #3015 (#3043) 2021-12-09 01:27:11 -03:00
Lucas Fernandes Nogueira
151e629ebf fix(core): streaming of small files using asset://, closes #2854 (#3039) 2021-12-09 01:24:11 -03:00
Lucas Fernandes Nogueira
fb2b9a52f5 feat(cli.js): allow configuring tauri app path on package.json #2752 (#3035)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2021-12-09 01:23:49 -03:00
Amr Bashir
f87c04d70b refactor(examples/api): use vite (#2998)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-09 01:16:00 -03:00
Amr Bashir
1bfc32a3b2 fix(api.js): add fileDropEnabled to WindowOptions, closes #2968 (#2989) 2021-12-09 01:03:21 -03:00
renovate[bot]
875c35e6e4 chore(deps) Update Tauri CLI (#2994)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-09 01:02:12 -03:00
renovate[bot]
4268cbaeee chore(deps) Update Tauri API Definitions (#2995)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-09 01:02:03 -03:00
renovate[bot]
ba14d69650 chore(deps) Update Tauri JS CLI (#3000)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-09 01:01:02 -03:00
renovate[bot]
ea9e7ca44a chore(deps) Update create-tauri-app (#3001)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-09 01:00:28 -03:00
Lucas Fernandes Nogueira
d28ac8aac0 fix(core): enable CORS on the asset protocol, closes #2965 (#2974) 2021-12-09 00:56:58 -03:00
Amr Bashir
76ce9f61dd fix(core): fix window.center panic when window size > screen, closes #2978 (#3002) 2021-12-09 00:21:29 -03:00
FabianLars
1e336b6872 fix(cli.js): Fix package installation on yarn 2+ (#3012) 2021-12-09 00:11:51 -03:00
renovate[bot]
639fcad307 chore(deps) Update Rust crate clap to v3.0.0-rc.0 (#3046)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-08 23:47:43 -03:00
Lucas Fernandes Nogueira
a3537078dd feat(core): allow running along another tokio runtime, closes #2838 (#2973) 2021-12-08 23:41:34 -03:00
Amr Bashir
50c63900c7 fix(api.js): fix http.fetch throwing error if response body is empty, closes #2831 (#3008)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-08 23:39:42 -03:00
renovate[bot]
c664e9dbe0 chore(deps) Update Rust crate sha2 to 0.10 (#3045)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-08 22:32:41 -03:00
Amr Bashir
17a1ad6823 fix(cli.rs): ensure target/release/wix exists, closes #2927 (#2987) 2021-12-07 11:01:17 -03:00
Lorenzo Lewis
1f800e83b6 fix: #617 Update macOS icons to Big Sur style (#2870) 2021-12-06 23:41:13 +01:00
Hans Tognon
8c19995f04 fix: correct fedora initial setup command (#3034) 2021-12-07 00:35:37 +02:00
Lucas Nogueira
508e815247 chore(api): fix documentation tags 2021-12-06 16:49:09 -03:00
Lucas Nogueira
be5cb571c3 feat: temporarily enable wry's private APIs feature flags 2021-12-05 09:50:26 -03:00
Amr Bashir
0196c89768 fix(cta): use node12 compatible apis to clean node_modules (#3010) 2021-12-02 10:45:00 +02:00
Amr Bashir
b4fcb364d3 chore: improve comments in path endpoint (#2999) 2021-12-01 09:41:37 +02:00
Amr Bashir
25651ec10b fix(cli.rs): don't enforce a rustfmt.toml (#2990)
* fix(cli.rs): don't enforce a `rustfmt.toml`

* rmove it from plugins templates
2021-12-01 11:04:50 +08:00
Amr Bashir
ea51504e3a fix(cta): stop react recipe from opening in browser, closes #2793 (#2988) 2021-11-30 18:30:25 +02:00
West
1c7ee6ec06 feat: add CLJS project to create-tauri-app, fix: #2822 (#2843)
* include lockfile-lint in devDependencies

* add cljs template

* lockfile lint should be included as part of another pr

* few fixes
- Added url for the create-cljs-app project
- Added beforeDevCommand and beforeBuildCommand
- Make sure to delete redundant lockfile depending on package manager

* reinstall dependencies after deleting lockfiles

* fix eslint check

* add support for `pnpm`

Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
2021-11-30 18:14:37 +02:00
Carter Snook
5f71f72170 chore(doc): remove trailing comma in JSON (#2979) 2021-11-29 18:35:05 +02:00
Lucas Fernandes Nogueira
411618f0de fix(core): menu ids map not updated after set_menu call (#2963) 2021-11-25 13:27:12 -03:00
Lucas Nogueira
c52b4b7da4 fix: API example for window interaction 2021-11-25 12:37:36 -03:00
renovate[bot]
9e53e54b9b chore(deps) Update Rust crate raw-window-handle to 0.4.2 (#2955)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 13:22:37 -03:00
renovate[bot]
ec8540d65b chore(deps) Update Tauri Core (#2946)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-11-24 11:12:26 -03:00
renovate[bot]
f813a25da8 chore(deps) Update Tauri API Definitions (#2949)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 10:22:00 -03:00
renovate[bot]
d11495f45a chore(deps) Update Tauri JS CLI (#2950)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 10:21:47 -03:00
renovate[bot]
cc55242cd2 chore(deps) Update create-tauri-app (#2951)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 10:21:37 -03:00
renovate[bot]
b4b25a2d44 chore(deps) Update Tauri CLI (#2945)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 10:21:24 -03:00
Lucas Fernandes Nogueira
7b81e5b82e feat(cli.rs): allow config argument to be a path to a JSON file (#2938) 2021-11-22 19:08:54 -03:00
Chaoqian Xu
8b651b9e31 feat: pub use tauri_runtime as runtime (#2926)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-11-22 12:07:00 -03:00
renovate[bot]
cca9064e51 chore(deps) Update dependency typescript to v4.5.2 (#2922)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 00:40:33 -03:00
renovate[bot]
3fe89ecab6 chore(deps) Update dependency typescript to v4.5.2 (#2921)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 00:40:23 -03:00
renovate[bot]
46f8f2ab4c chore(deps) Update dependency typescript to v4.5.2 (#2920)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 19:29:35 -03:00
renovate[bot]
d0c0f8a2d3 chore(deps) Update Tauri JS CLI (#2919)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 19:29:24 -03:00
renovate[bot]
c765bfb762 chore(deps) Update dependency svelte-check to v2.2.10 (#2917)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 11:47:40 -03:00
renovate[bot]
4cb574d10c chore(deps) Update dependency execa to v6 (#2913)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-11-17 11:25:02 -03:00
renovate[bot]
c5852da779 chore(deps) Update dependency type-fest to v2.5.4 (#2914)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 11:24:51 -03:00
renovate[bot]
64fb688780 chore(deps) Update Rust crate shared_child to v1 (#2910)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-11-17 10:30:55 -03:00
renovate[bot]
3efaa86df5 chore(deps) Update Tauri Core to v1 (major) (#2912)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 10:30:37 -03:00
renovate[bot]
7b6db05182 chore(deps) Update create-tauri-app (#2909)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 09:49:44 -03:00
gardc
3a924bceed Correct GitHub secret name in sign-osx docs (#2908) 2021-11-17 09:49:33 -03:00
renovate[bot]
d6ccdfce0b chore(deps) Update Tauri CLI (#2907)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 09:48:58 -03:00
renovate[bot]
6cd214ccb5 chore(deps) Update Rust crate tokio to 1.14 (#2906)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 09:48:36 -03:00
renovate[bot]
9721b4ae13 chore(deps) Update Tauri JS CLI (#2905)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 09:48:27 -03:00
renovate[bot]
21bb8bfe09 chore(deps) Update Tauri API Definitions (#2904)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 09:48:17 -03:00
Lucas Fernandes Nogueira
4c4ab1eb8b fix(core): trigger tauri://* events to Rust listeners, closes #2901 (#2902) 2021-11-16 16:41:45 -03:00
Lucas Fernandes Nogueira
000d126e0e fix(core): properly check if document is loaded, closes #2716 (#2900) 2021-11-16 14:18:42 -03:00
Lucas Fernandes Nogueira
15164d930a feat(core): allow defining a custom invoke system (#2899) 2021-11-16 12:58:18 -03:00
Lucas Fernandes Nogueira
dd1d2b6d34 docs(setup): mention Windows SDK requirement, closes #2871 (#2884) 2021-11-16 11:57:06 -03:00
Devyn S
59b6ee8793 fix(tauri-build): allow user to specify win sdk path (fix: #2871) (#2893)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-11-16 11:18:13 -03:00
gryffyn
b9e9670f70 Change partial Arch upgrade to full upgrade (#2897) 2021-11-16 10:36:36 -03:00
Oleg Dovger
a67e736d4a Update ARCHITECTURE.md (#2889) 2021-11-14 14:05:36 -03:00
Lucas Fernandes Nogueira
4e3b366e64 feat(ci): automate config.md docs generation (#2887) 2021-11-14 09:26:41 -03:00
Oleg Dovger
bffd5131fb Add links in "What Tauri is NOT" on WRY and TAO (#2888) 2021-11-14 09:25:46 -03:00
Lucas Fernandes Nogueira
8000675366 feat(ci): fill CLI docs on covector version (#2886) 2021-11-13 19:49:48 -03:00
Lucas Fernandes Nogueira
db275f0b63 refactor(cli.rs): rename init plugin subcommand to plugin init (#2885) 2021-11-13 19:28:18 -03:00
Kasper
dfe508d492 Add doc comment example for App::run (#2824) 2021-11-13 11:12:58 -03:00
Lucas Fernandes Nogueira
7c6c7adcc4 feat(core): add asset_resolver API (#2879) 2021-11-12 22:23:54 -03:00
Lorenzo Lewis
d13c48f02f Add extra context to clarify use of setup scripts (#2869) 2021-11-12 22:22:52 -03:00
Chaoqian Xu
ad16975938 feat: Add JoinHandle::abort() (#2877)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-11-12 22:22:26 -03:00
Roland Fredenhagen
3de67cb341 Add needed to pacman command (#2878) 2021-11-12 21:48:54 -03:00
Bill Avery
34be6cf37a Update webview2-com and windows crates (#2875) 2021-11-11 18:38:41 -03:00
renovate[bot]
348c38db5b chore(deps) Update dependency eslint-plugin-import to v2.25.3 (#2865)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 11:12:26 -03:00
renovate[bot]
0818b267ec chore(deps) Update dependency eslint-plugin-import to v2.25.3 (#2864)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 11:12:17 -03:00
renovate[bot]
2661af4de4 chore(deps) Update Rust crate blake3 to 1.2 (#2859)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-11-10 11:12:05 -03:00
renovate[bot]
da12927ed6 chore(deps) Update create-tauri-app (#2858)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 09:01:05 -03:00
Per Steinhorst
7e979dc55f fix: #2861 return platform type typo "Darwing" instead of "Darwin" (#2862) 2021-11-10 09:00:25 -03:00
renovate[bot]
930b39e766 chore(deps) Update Tauri API Definitions (#2856)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 08:58:36 -03:00
renovate[bot]
0718791999 chore(deps) Update Tauri JS CLI (#2857)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 08:58:24 -03:00
renovate[bot]
f8b98edf29 chore(deps) Update create-tauri-app (#2837)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 09:21:43 -03:00
renovate[bot]
b1202d94ba chore(deps) Update Tauri JS CLI (#2836)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 09:21:31 -03:00
renovate[bot]
9772776876 chore(deps) Update Tauri CLI (#2835)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 09:21:20 -03:00
renovate[bot]
7ae982b8ab chore(deps) Update Tauri API Definitions (#2834)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 09:21:08 -03:00
renovate[bot]
8ff6914869 chore(deps) Update Rust crate tokio to 1.13 (#2833)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 09:20:41 -03:00
Michał Sidor
c4bb305dae fix: typo in generate_context doc block (#2830) 2021-11-02 10:42:09 -03:00
Lucas Nogueira
4f2309cbb3 fix(covector): wrong front matter syntax on change files 2021-11-01 11:22:46 -03:00
Lucas Fernandes Nogueira
ed497d74c8 fix(core): CLI API usage of positional arguments, closes #2821 (#2823) 2021-10-29 09:22:10 -03:00
renovate[bot]
2538bc639f chore(deps) Update Rust crate blake3 to 1.1 (#2810)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-27 12:29:41 -03:00
renovate[bot]
e3bf23eb2d chore(deps) Update create-tauri-app (#2814)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 11:58:28 -03:00
renovate[bot]
502b85ed35 chore(deps) Update Tauri CLI (#2809)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 11:58:15 -03:00
renovate[bot]
341f803150 chore(deps) Update dependency type-fest to v2.5.2 (#2815)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 11:49:11 -03:00
renovate[bot]
fc21187800 chore(deps) Update Tauri JS CLI (#2812)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 02:41:46 -03:00
renovate[bot]
c2b2d6258c chore(deps) Update Tauri API Definitions (#2811)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 02:41:37 -03:00
Oscar Dominguez
651fc01492 ci(workflow): add cache to workflows using actions/setup-node (#2740)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-22 11:33:02 -03:00
Lucas Fernandes Nogueira
b1f5c6d7ac refactor(cli.rs): drop dialoguer and console soft fork (#2790) 2021-10-22 10:41:43 -03:00
Benno
da35d55b09 feat: /bin/bash to /usr/bin/env for compatibility (#2761) 2021-10-22 10:17:53 -03:00
facklambda
5f7b156033 Provide an alert to users performing DMG bundles in non-standard environments. fix: #2567[,#2567] (#2785)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2021-10-22 10:15:18 -03:00
Lucas Fernandes Nogueira
a9dfc01550 feat: update to edition 2021 and set minimum rust to 1.56 (#2789) 2021-10-22 10:04:42 -03:00
facklambda
80ffa87edb fix: #2781[,#2781]: added clarity regarding lockfile (#2784)
Co-authored-by: fack <fack>
2021-10-21 09:08:11 -03:00
facklambda
ff2c9fafa4 added ARCHITECTURE to update-docs workflow, fixes #2088 (#2773)
Co-authored-by: fack <fack>
2021-10-21 09:06:29 -03:00
renovate[bot]
23956ef39d chore(deps) Update Tauri Core (#2779)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-20 12:57:17 -03:00
renovate[bot]
6c92bb402b chore(deps) Update Tauri API Definitions (#2771)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 11:01:29 -03:00
renovate[bot]
4ec94736c9 chore(deps) Update Tauri CLI (#2772)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 11:01:00 -03:00
renovate[bot]
f13f3c590f chore(deps) Update create-tauri-app (#2777)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 10:56:49 -03:00
renovate[bot]
11f64ff7b4 chore(deps) Update Rust crate attohttpc to 0.18 (#2778)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 10:56:33 -03:00
renovate[bot]
68020b9ea7 chore(deps) Update Tauri JS CLI (#2780)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 10:54:38 -03:00
Andy Li
dbe9e44622 Fix hyperlinks in integration.md (#2770) 2021-10-20 00:49:01 -03:00
Lucas Nogueira
1fbc8237e5 fix(cli.rs): config.json on plugin template 2021-10-18 19:32:54 -03:00
Amr Bashir
84f2695e10 fix(cli.rs): remove short flag for init>plugin>tauri (#2764) 2021-10-18 15:38:55 -03:00
Lucas Nogueira
1325e3ab64 fix(cli.rs): do not enable all tauri features on plugin template manifest 2021-10-18 14:43:25 -03:00
Lucas Nogueira
2e1f207165 fix: use Wait instead of Poll 2021-10-18 13:34:06 -03:00
Jalal El Mansouri
7086cd54d8 Setting the control flow to Poll by default (#2763) 2021-10-18 13:18:48 -03:00
Ngo Iok Ui (Wu Yu Wei)
b48487e6a7 Fix empty header from CORS on Linux, closes #2327 (#2762)
* Fix empty header from CORS on Linux

* Fix commit hash
2021-10-18 21:36:45 +08:00
Todsaporn Banjerdkit
80bad76053 use npx instead of npm x (#2757) 2021-10-17 09:44:38 -03:00
Jonas Kruckenberg
39e0da1652 Fix log_dir (#2756) 2021-10-17 08:12:52 -03:00
Jonas Kruckenberg
acbb3ae7bb feat: add Log directory (#2736)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-16 09:56:23 -03:00
Junil Kim
2c1af90c35 Add executable(+x) permissions on setup.sh (#2734) 2021-10-16 09:51:14 -03:00
Lucas Nogueira
e3122ab51f fix(core): menu_ids not updated with global menu 2021-10-16 09:47:14 -03:00
renovate[bot]
1e48b689f5 chore(deps) Update create-tauri-app (major) (#2749)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-13 11:49:47 -03:00
renovate[bot]
c869bec3fc chore(deps) Update Tauri JS CLI (major) (#2748)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-13 10:30:50 -03:00
renovate[bot]
b759744999 chore(deps) Update Tauri API Definitions (major) (#2747)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-13 10:30:24 -03:00
renovate[bot]
c2a6e8d7e6 chore(deps) Update Tauri Core (#2746)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-13 10:02:35 -03:00
renovate[bot]
c446908dc5 chore(deps) Update Tauri CLI (#2745)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-13 10:02:14 -03:00
renovate[bot]
c39797cb89 chore(deps) Update create-tauri-app (#2744)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 08:44:58 -03:00
renovate[bot]
bfb28fdf44 chore(deps) Update Tauri JS CLI (#2743)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 08:42:48 -03:00
renovate[bot]
7dca44bf41 chore(deps) Update Tauri API Definitions (#2742)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 08:41:08 -03:00
renovate[bot]
2efdaf5283 chore(deps) Update Rust crate thiserror to 1.0.30 (#2741)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 08:40:29 -03:00
Siddharth Singh
8d7c097e68 docs: update tauri icon syntax (#2739) 2021-10-12 11:54:54 -03:00
renovate[bot]
97344c1b07 chore(deps) Update create-tauri-app (#2718)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 12:39:49 -03:00
Lucas Nogueira
b2b99aea0e fix(examples): API example distDir regression 2021-10-11 10:51:14 -03:00
renovate[bot]
1fded9ea65 chore(deps) Update Tauri API Definitions (#2717)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 10:19:01 -03:00
renovate[bot]
4eb7aa136f chore(deps) Update Tauri CLI (#2719)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 10:18:32 -03:00
renovate[bot]
c1fc3fb80f chore(deps) Update Tauri JS CLI (#2720)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 10:17:57 -03:00
renovate[bot]
84ab0e530a chore(deps) Update Tauri JS CLI (major) (#2721)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 10:17:37 -03:00
renovate[bot]
040c69d392 chore(deps) Update dependency @rollup/plugin-commonjs to v21 (#2722)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 10:17:01 -03:00
renovate[bot]
ded91eecf3 chore(deps) Update dependency @rollup/plugin-commonjs to v21 (#2723)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 10:16:44 -03:00
renovate[bot]
54a4cf7ca3 chore(deps) Update dependency @rollup/plugin-commonjs to v21 (#2724)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 10:16:22 -03:00
Justin Maximillian Kimlim
6c96aa01cf docs: add information to reboot MSWindows computer before using tauri (#2710)
Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
2021-10-11 10:16:08 -03:00
Lucas Fernandes Nogueira
ac37b56ef4 fix(core): menu id map not reflecting the current window menu (#2726) 2021-10-08 11:38:24 -03:00
Jonas Kruckenberg
b5ee03a13a feat(cli.rs): expose debug flag to beforeDev/beforeBuild commands (#2727)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-08 11:30:06 -03:00
Lucas Fernandes Nogueira
53fdfe52bb feat(core): expose run_on_main_thread API (#2711) 2021-10-04 12:54:38 -03:00
Lucas Fernandes Nogueira
7ed3f3b7e4 feat(cli.rs): validate distDir, closes #2554 (#2701) 2021-10-04 12:54:14 -03:00
Lucas Nogueira
9c9dead8a0 feat(cli.rs): add tauri and author options to the init plugin cmd 2021-10-03 08:58:31 -03:00
Lucas Nogueira
62b6b5b1aa feat(cli.rs): add API package to template's covector config 2021-10-03 08:23:10 -03:00
DEWA Kazuyuki/出羽和之
063eb586bd .scripts/setup.sh does not work on Ubuntu dash (#2702) 2021-10-03 00:56:49 -03:00
Lucas Nogueira
28895ddc76 feat(ci): run tests on next branch for cache 2021-10-02 16:15:50 -03:00
Lucas Fernandes Nogueira
e98c1af442 feat(core): expose message dialog APIs, fix window.confirm, implement HasRawWindowHandle for Window, closes #2535 (#2700) 2021-10-02 16:13:24 -03:00
Fausto Núñez Alberro
0e4d12b541 fix: #2502 Expose set_menu from tao through the TrayHandle struct (#2532)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-02 15:57:53 -03:00
Lucas Nogueira
170b96b3f3 chore(docs): pull changes from tauri-docs/pull/283 2021-10-02 15:53:14 -03:00
Lucas Nogueira
9d62853b3c chore(docs): pull changes from tauri-docs/pull/281 2021-10-02 15:49:59 -03:00
Lucas Nogueira
7356861876 chore(docs): pull changes from tauri-docs/pull/287 2021-10-02 15:47:28 -03:00
Amr Bashir
3924c3d853 fix(api.js): fix os.platform return on macos and windows, closes #2698 (#2699)
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2021-10-02 14:15:20 -03:00
Lucas Fernandes Nogueira
11db96e440 fix(cli.js): .ico icon generation, closes #2692 (#2694)
* fix(cli.js): `.ico` icon generation, closes #2692

* fmt

* chore: cleanup resize logic
2021-10-02 08:42:32 -03:00
Lucas Nogueira
45573aed5d fix(cli.rs): default cargo features on templates 2021-10-01 20:21:47 -03:00
Lucas Nogueira
a0bea432b4 chore(cli.rs): some plugin template fixes 2021-10-01 13:17:02 -03:00
Lucas Nogueira
3450902862 fix(cli.js): do not run dependency updater on init plugin command 2021-10-01 10:39:09 -03:00
Lucas Nogueira
40a15647aa chore: improve panic message on state usage 2021-09-30 16:11:10 -03:00
Lucas Fernandes Nogueira
4c0c780e00 fix(core): window's inner_size usage, closes #2187 (#2690) 2021-09-29 20:52:05 -03:00
Lucas Nogueira
4bd1aa690c chore(docs): improve sidecar target script 2021-09-29 19:50:53 -03:00
renovate[bot]
f09a13a978 chore(deps) Update Rust crate toml_edit to 0.4 (#2688)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 19:45:07 -03:00
renovate[bot]
9081f9330c chore(deps) Update create-tauri-app (#2687)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 19:02:35 -03:00
Lucas Nogueira
a21f6b212c docs(api): clarify setSize, setMinSize, setMaxSize and setLocation, closes #2660 2021-09-29 18:00:59 -03:00
Lucas Fernandes Nogueira
35ae9c8a2e fix(core): macOS crashing due to WebContext drop, closes #2622 (#2686) 2021-09-29 16:28:37 -03:00
renovate[bot]
ca30dbe2cc Revert "chore(deps) Update dependency @types/imagemin to v8 (#2635)"
This reverts commit c0285e873d.
2021-09-29 14:29:40 -03:00
renovate[bot]
cfc316482c chore(deps) Update Tauri JS CLI to v27.2.4 (#2683)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 12:15:42 -03:00
renovate[bot]
51dd08ab25 chore(deps) Update dependency @jest/globals to v27.2.4 (#2682)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 11:48:44 -03:00
renovate[bot]
709739e6d2 chore(deps) Pin dependencies (#2676)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 11:44:32 -03:00
renovate[bot]
c0285e873d chore(deps) Update dependency @types/imagemin to v8 (#2635)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: David Von Edge <david.vonedge@smiths.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Elvinas Predkelis <elvinas.predkelis@gmail.com>
Co-authored-by: edgex004 <edgex004@gmail.com>
Co-authored-by: Barry Simons <linuxuser586@gmail.com>
Co-authored-by: Kris Scott <kscott91@gmail.com>
Co-authored-by: grey4owl <66082492+grey4owl@users.noreply.github.com>
Co-authored-by: cybai <cyb.ai.815@gmail.com>
Co-authored-by: Lucas Nogueira <lucasfernandesnog@gmail.com>
Co-authored-by: Robert Buchanan <robbie.buchanan@ioneyed.com>
Co-authored-by: Kasper <kasperkh.kh@gmail.com>
Co-authored-by: Manuel Quarneti <manuelquarneti@gmail.com>
Co-authored-by: Stef Kors <stef.kors@gmail.com>
Co-authored-by: David D <1168397+davedbase@users.noreply.github.com>
Co-authored-by: Adilson Schmitt Junior <adilsonschj@gmail.com>
Co-authored-by: Bill Avery <wravery@users.noreply.github.com>
Co-authored-by: Julien Kauffmann <90217528+jkauffmann-legion@users.noreply.github.com>
Co-authored-by: Andrea Giammarchi <andrea.giammarchi@gmail.com>
Co-authored-by: ThisSeanZhang <46880100+ThisSeanZhang@users.noreply.github.com>
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
2021-09-29 11:05:33 -03:00
renovate[bot]
ba6e35ec65 chore(deps) Update Tauri JS CLI (#2677)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 11:04:28 -03:00
renovate[bot]
b7bb314c46 chore(deps) Update create-tauri-app (#2678)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 11:04:09 -03:00
renovate[bot]
6aeee67fac chore(deps) Update Tauri API Definitions (#2679)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 11:03:38 -03:00
renovate[bot]
65e4e2fa75 chore(deps) Update Tauri CLI (major) (#2680)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 11:03:11 -03:00
Lucas Nogueira
a6f270c235 chore(changes): remove change file 2021-09-28 10:11:06 -03:00
Jonas Kruckenberg
c8262b736f fix: include typescript declarations in plugin template (#2674) 2021-09-28 10:03:38 -03:00
Lucas Fernandes Nogueira
7c455b86b6 feat(ci): cache cli.js's template test (#2670) 2021-09-27 20:50:27 -03:00
Lucas Fernandes Nogueira
d24fd8d102 feat(tauri-runtime-wry): allow window creation and closing on the main thread (#2668) 2021-09-27 20:18:06 -03:00
Lucas Fernandes Nogueira
ac8e69a98c feat(cli.rs): add init plugin command, bootstraps a plugin project (#2669) 2021-09-27 20:15:17 -03:00
ThisSeanZhang
3a59f5f79e Unlisten to an event on this window (#2664)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-27 17:11:23 -03:00
Andrea Giammarchi
4298c0c6bb Arch: do not download/install what's already installed (#2666) 2021-09-27 16:37:13 -03:00
Julien Kauffmann
bdbf905e5d Transformed event-loop callback to FnMut to allow mutable values (#2667) 2021-09-27 16:27:37 -03:00
Lucas Nogueira
2792531347 chore: apply temporary change to __currentWindow usage 2021-09-27 15:13:01 -03:00
Lucas Fernandes Nogueira
a8cff6b3bc feat(cli): do not enforce src-tauri folder structure, closes #2643 (#2654) 2021-09-27 14:54:41 -03:00
Lucas Nogueira
f68603aee4 chore(docs): simplify event system documentation 2021-09-27 13:07:05 -03:00
Lucas Nogueira
4866404f04 fix(core): deadlock on window event handler 2021-09-26 10:01:03 -03:00
Lucas Nogueira
63ae30f187 fix(core): deadlocks on previous commit 2021-09-26 01:54:20 -03:00
Lucas Fernandes Nogueira
2812c4464b feat(core): window, shortcut and clipboard API calls on main thread (#2659) 2021-09-26 01:50:27 -03:00
Lucas Fernandes Nogueira
cc2f39a29f feat(core): add on_event hook on the Plugin trait (#2656) 2021-09-26 01:25:45 -03:00
Lucas Fernandes Nogueira
8599313a0f feat(cli.rs): env vars for beforeDev/beforeBuild commands, closes #2610 (#2655) 2021-09-26 01:25:35 -03:00
Lucas Fernandes Nogueira
0fe680d90e refactor(cli.rs): move template's build.rs file to the root (#2657) 2021-09-25 16:07:45 +08:00
Bill Avery
bb00d5bd6c Replace winapi with windows crate and use webview2-com instead of webview2 (#2615)
* Switch to webview2-com version of tao and wry

* Pick up latest branch of TAO and WRY

* Let WRY pick the branch for TAO instead of patch

* Add comment for wry next branch pending merge

* Add changelog

* Revert wry redirect in Cargo.toml

* Use pinned rev for matching PR merge commit
2021-09-24 17:40:22 +08:00
Lucas Fernandes Nogueira
205b0dc8f3 feat(cli.js): add CommonJS dist files (#2646) 2021-09-23 23:48:02 -03:00
Lucas Fernandes Nogueira
0f321ac08d fix(api): do not ship TS files, closes #2598 (#2645) 2021-09-23 23:41:55 -03:00
Lucas Fernandes Nogueira
8d630bc8c4 fix(cli.rs): fix workspace detection, fixes #2614, closes #2515 (#2644) 2021-09-23 23:37:27 -03:00
Lucas Nogueira
d8fe9d6dc6 feat(ci): run benchmarks on next branch 2021-09-23 14:43:07 -03:00
Lucas Nogueira
904bdb22f7 chore(deps): pin wry, update lock files 2021-09-23 14:42:25 -03:00
dependabot[bot]
c3d49fdcb1 chore(deps): bump ansi-regex from 5.0.0 to 5.0.1 in /tooling/api (#2638)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-23 13:09:43 -03:00
renovate[bot]
9e8c571c26 chore(deps) Update dependency rollup to v2.57.0 (#2639)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-23 13:09:35 -03:00
Lucas Nogueira
a2443906e0 chore(deps): remove unused tauri-build dependencies 2021-09-23 12:57:44 -03:00
Adilson Schmitt Junior
cc8b1468c8 Fix(api): Window size and position returning wrong class (fix: #2599) (#2621)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-22 18:57:23 -03:00
dependabot[bot]
4dc5a9f924 chore(deps): bump tmpl from 1.0.4 to 1.0.5 in /tooling/cli.js (#2629)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-22 17:51:09 -03:00
renovate[bot]
deed4b1a3e chore(deps) Update dependency @types/inquirer to v8.1.2 (#2636)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-22 17:50:59 -03:00
renovate[bot]
60774350bf chore(deps) Update dependency @types/inquirer to v8.1.2 (#2637)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-22 17:50:51 -03:00
renovate[bot]
262781d9f7 chore(deps) Update Tauri API Definitions (#2623)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-22 17:50:05 -03:00
renovate[bot]
20ace05683 chore(deps) Update Tauri CLI (#2624)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-22 17:49:42 -03:00
renovate[bot]
73f3019c45 chore(deps) Update Tauri Core (#2627)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-22 17:48:03 -03:00
renovate[bot]
7500cbab98 chore(deps) Update create-tauri-app (#2630)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-22 17:44:31 -03:00
renovate[bot]
5288c6e8a8 chore(deps) Update Tauri JS CLI (#2628)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-22 12:51:22 -03:00
David D
71ea86a443 feat(cta): add SolidJS recipe (#2619)
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-09-22 10:42:58 -03:00
renovate[bot]
943e6fe3b2 chore(deps) Update create-tauri-app (major) (#2585)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-22 10:42:44 -03:00
Stef Kors
d57a3d176c Add path of input file to Icons guide (#2538)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2021-09-21 16:26:08 -03:00
Manuel Quarneti
a1e40480c1 Typing (api/os) (#2558)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-09-21 16:24:09 -03:00
Amr Bashir
fe381a0bde fix: join no longer cares if path doesn't exist, closes #2499 (#2548) 2021-09-21 16:22:23 -03:00
renovate[bot]
36367ddf55 chore(deps) Update Tauri JS CLI (#2582)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-21 15:19:07 -03:00
Kasper
d692e969cd Document tauri.conf.json version & name defaults (#2550) 2021-09-21 15:18:49 -03:00
renovate[bot]
ae8d805155 chore(deps) Update Tauri Core (#2581)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-21 14:43:46 -03:00
renovate[bot]
6477533ea9 chore(deps) Update Rust crate thiserror to 1.0.29 (#2578)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-21 14:32:56 -03:00
renovate[bot]
63ff59f049 chore(deps) Update Tauri API Definitions (#2579)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-21 14:32:33 -03:00
renovate[bot]
277fa324d3 chore(deps) Update create-tauri-app (#2583)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-21 14:32:08 -03:00
renovate[bot]
b294dd67ae chore(deps) Update Tauri Bundler (#2606)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-21 13:44:27 -03:00
renovate[bot]
aaa589efd1 chore(deps) Update Tauri CLI (#2580)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-21 13:41:44 -03:00
renovate[bot]
84b3e5cbfe chore(deps) Update Tauri JS CLI (major) (#2584)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-21 13:41:17 -03:00
Lucas Nogueira
0473e25d89 Merge branch 'dev' into next 2021-09-21 13:16:27 -03:00
Robert Buchanan
2be1abd112 fix(bundler) wix template escape character (#2608)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-21 12:43:51 -03:00
Lucas Fernandes Nogueira
d5f07d14f3 feat(cli.rs): build tools info (#2618) 2021-09-21 10:24:48 -03:00
Ngo Iok Ui (Wu Yu Wei)
84f6e3e84a Switch to next branch of wry (#2574) 2021-09-09 13:05:03 -03:00
Amr Bashir
70300ee233 refactor(core): remove unused polyfills in core.js (#2544) 2021-09-04 21:35:03 -03:00
renovate[bot]
8a37be6817 chore(deps) Update create-tauri-app (#2528)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-04 21:06:53 -03:00
renovate[bot]
3bd4622f39 chore(deps) Pin dependencies (#2523)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-04 13:16:20 -03:00
amrbashir
ba9f1a3ceb docs(api.js): update platform-specific notes size 2021-09-04 17:52:57 +02:00
renovate[bot]
21239962a9 chore(deps) Update Tauri API Definitions (#2524)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-04 12:17:28 -03:00
renovate[bot]
1ff8ffa342 chore(deps) Update Tauri CLI (#2525)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-04 12:17:12 -03:00
renovate[bot]
f68f74da17 chore(deps) Update Tauri Core (#2526)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-04 12:02:42 -03:00
dependabot[bot]
9f7ade2759 chore(deps): bump tar from 6.1.8 to 6.1.11 in /tooling/create-tauri-app (#2559)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-04 00:37:16 -03:00
renovate[bot]
53cf4a80a3 chore(deps) Update dependency eslint-config-standard-with-typescript to v21 (#2563)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-03 23:31:35 -03:00
renovate[bot]
9b6162a617 chore(deps) Update Rust crate thiserror to 1.0.28 (#2560)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-03 23:06:14 -03:00
renovate[bot]
7917aa4722 chore(deps) Update Tauri JS CLI (major) (#2561)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-03 22:42:59 -03:00
renovate[bot]
cb7738bc9b chore(deps) Update dependency eslint-config-standard-with-typescript to v21 (#2562)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-03 22:42:52 -03:00
Lucas Nogueira
c1494b3532 refactor: return Weak<Window> on create_tao_window 2021-08-31 15:50:40 -03:00
Lucas Nogueira
dbe0d21b6f fix(core): initialize system tray before app windows 2021-08-31 14:53:27 -03:00
Amr Bashir
4042769e88 chore: update labels in issue templates (#2553) 2021-08-30 23:44:16 +08:00
cybai
f2865fad13 fix: recommended run dev command in create-tauri-app (#2555)
`--dev` is not a valid option for `tauri` cli; instead, we should use
`-- dev` or just `dev`. Also, we can just use `tauri dev` for all
package managers so we don't need to do the npm checking.
2021-08-30 17:31:38 +02:00
Lucas Nogueira
2ec998b982 fix(examples): use dev server URL on API example devPath config 2021-08-30 11:37:51 -03:00
Amr Bashir
ad17b9bf2a chore: add note about focusing the webview (#2545) 2021-08-29 20:12:45 +08:00
grey4owl
774b8a1df7 fix(examples): API example with npm, closes #2470 (#2536)
* refactor: custom protocol (#2503)

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>

* Apply Version Updates From Current Changes (#2513)

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>

* fix(api): revert ES2021 target

* Apply Version Updates From Current Changes (#2520)

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>

* docs: webdriver guide (#2461)

Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>

* fix(core): `Notification.requestPermission()` deadlock regression

* Update package.json

Small typo in path..

* update lockfile [skip ci]

Co-authored-by: david <david@lemarier.ca>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
2021-08-26 10:47:20 -03:00
Kris Scott
e706df7d03 Fix svelte recipe packageManager ternary (#2534)
* refactor: custom protocol (#2503)

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>

* Apply Version Updates From Current Changes (#2513)

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>

* fix(api): revert ES2021 target

* Apply Version Updates From Current Changes (#2520)

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>

* docs: webdriver guide (#2461)

Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>

* fix(core): `Notification.requestPermission()` deadlock regression

* Fix packageManager ternary

Co-authored-by: david <david@lemarier.ca>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
2021-08-26 10:36:10 -03:00
Lucas Nogueira
48f3768c41 fix(core): Notification.requestPermission() deadlock regression 2021-08-24 13:07:02 -03:00
Barry Simons
2026134f47 fix(cli.rs): pnpm tauri info exits with error (fix #2509) (#2510)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-24 13:01:16 -03:00
renovate[bot]
245d12fbf4 chore(deps) Pin dependencies (#2477)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-24 12:27:35 -03:00
david
ecf13f968f fix: CI updater artifacts (#2517) 2021-08-24 12:27:12 -03:00
renovate[bot]
dbe88b1658 chore(deps) Update Tauri API Definitions to v4.29.2 (#2479)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-24 12:26:41 -03:00
renovate[bot]
e7836cdb21 chore(deps) Update Rust crate clap to 3.0.0-beta.4 (#2478)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-24 12:26:22 -03:00
renovate[bot]
68df388940 chore(deps) Update dependency read-chunk to v4 (#2483)
* chore(deps) Update dependency read-chunk to v4

* update read-chunk usage

* fmt

* update lockfiles

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-24 12:03:10 -03:00
edgex004
97edb3ac49 Fix: #2508. Update dominator recipe description. (#2514)
Co-authored-by: David Von Edge <david.vonedge@smiths.com>
2021-08-24 11:58:08 -03:00
Elvinas Predkelis
3b33d67aa4 fix: re-adding focus/blur events for linux and macos (fix #2485) (#2489)
* fix: re-adding focus/blur events for linux and macos, closes #2485

* add change files [skip ci]

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-24 11:47:54 -03:00
renovate[bot]
1f98853573 chore(deps) Update Tauri Core (#2480)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
2021-08-24 11:40:10 -03:00
renovate[bot]
5ca831e6d7 chore(deps) Update Rust crate ar to 0.9.0 (#2482)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-24 10:49:36 -03:00
renovate[bot]
2c1dff0e19 chore(deps) Update create-tauri-app (#2481)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-24 10:30:16 -03:00
chip
40d08a60fe docs: webdriver guide (#2461)
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
2021-08-24 10:11:37 -03:00
github-actions[bot]
17500cbadb Apply Version Updates From Current Changes (#2520)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-08-23 13:03:31 -03:00
Lucas Nogueira
657c7dac73 fix(api): revert ES2021 target 2021-08-23 12:49:57 -03:00
github-actions[bot]
52723ee8a1 Apply Version Updates From Current Changes (#2513)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-08-23 11:19:45 -03:00
david
539e4489e0 refactor: custom protocol (#2503)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-23 11:09:23 -03:00
Lucas Nogueira
1a28904b8e fix(core): resource path resolution on Linux, closes #2493 2021-08-22 20:41:26 -03:00
Ngo Iok Ui (Wu Yu Wei)
994b5325dd fix: missing asset protocol path (#2484) 2021-08-22 16:12:45 -03:00
edgex004
0391ac3dc9 fix: Update cli.yml to pass clap ArgSettings::MultipleValues assertion. (#2506) (#2507)
Co-authored-by: David Von Edge <david.vonedge@smiths.com>
2021-08-22 16:08:31 -03:00
Ngo Iok Ui (Wu Yu Wei)
8fcdc1d474 doc: move breaking change to top for better visibility (#2472) 2021-08-17 13:34:49 -03:00
github-actions[bot]
431e9e44e4 Apply Version Updates From Current Changes (#2467)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-08-17 10:41:30 -03:00
Lucas Fernandes Nogueira
aecdfaf76f fix(core): raw-window-handle dependency, closes #2460 (#2465) 2021-08-17 10:27:18 -03:00
Lucas Fernandes Nogueira
8d1fe0ea05 feat(cli.js): readd ESM distribution (#2468) 2021-08-17 10:27:02 -03:00
Lucas Fernandes Nogueira
a54bba6c86 fix(core): cleanup app before exit, closes #2464 (#2466) 2021-08-17 09:29:32 -03:00
github-actions[bot]
81d245f687 apply version updates (#2458)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-08-16 20:19:59 -03:00
Lucas Fernandes Nogueira
01ad29257c fix(cli.js): revert ESM distribution (#2457) 2021-08-16 20:15:49 -03:00
Lucas Nogueira
fbb405ba90 chore(webdriver): update Cargo.lock 2021-08-16 18:36:42 -03:00
github-actions[bot]
80f16d35f9 Apply Version Updates From Current Changes (#2246)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-16 17:59:06 -03:00
Lucas Fernandes Nogueira
50ffdc06fb feat(core): panic when a dispatcher getter is used on the main thread (#2455) 2021-08-16 17:28:15 -03:00
Lucas Fernandes Nogueira
c76f4b7d39 feat(core): set parent window on ask and message dialog APIs (#2454) 2021-08-16 17:25:45 -03:00
Lucas Fernandes Nogueira
b0a8c38a73 feat(docs): improve config documentation (#2451) 2021-08-16 16:52:10 -03:00
Lucas Nogueira
60b1e260f5 chore: adjust change file 2021-08-16 15:39:12 -03:00
david
126e18142f fix(examples): icon transparency (#2450) 2021-08-16 13:01:53 -03:00
Lucas Fernandes Nogueira
9bfdeb42ef feat(bundler): add config for WiX dialog image path (#2449) 2021-08-16 12:03:00 -03:00
Ngo Iok Ui (Wu Yu Wei)
cd55d67149 doc: update tauri documentations (#2446) 2021-08-16 11:32:37 -03:00
Lucas Fernandes Nogueira
13003ec761 feat(bundler): add config for WiX banner path, closes #2175 (#2448) 2021-08-16 11:17:29 -03:00
Alve Larsson
7057c0f7b8 New brand (#2445)
* Update readme

* Update splash.svg

* New logo

* change to image

* Update splash.png

* Update README.md

* Mac Tray icon fix
2021-08-16 22:00:40 +08:00
david
f33305ea3f feat: Add WebRTC example (#2447) 2021-08-16 09:46:40 -04:00
Lucas Fernandes Nogueira
537ab1b6d5 feat(core): inject src-tauri/Info.plist file on dev and merge on bundle, closes #1570 #2338 (#2444) 2021-08-15 21:36:43 -03:00
Lucas Fernandes Nogueira
957e863e59 fix(core): unique WebContext for each window when TAURI_AUTOMATION unset (#2396) 2021-08-15 20:33:45 -03:00
Lucas Fernandes Nogueira
1635798a66 feat(core): improve HeaderValue compatibility, closes #2162 (#2438) 2021-08-15 18:14:40 -03:00
Lucas Fernandes Nogueira
6be3f43391 feat(core): add Resumed and MainEventsCleared events, closes #2127 (#2439) 2021-08-15 18:14:26 -03:00
david
28c6b7adfe feat: add Event::Ready (#2433) 2021-08-15 17:10:22 -03:00
Lucas Fernandes Nogueira
397710b2c5 refactor(bundler): use linuxdeploy instead of appimagetool, closes #1986 (#2437) 2021-08-15 17:09:55 -03:00
Ngo Iok Ui (Wu Yu Wei)
12642a1ad4 doc: update doc in tauri-utils and tauri (#2435)
* Update several documentations in tauri-utils

* Update a few documentation in tauri

* Add change file

* Update macro usage
2021-08-15 23:06:46 +08:00
Lucas Nogueira
c72e4b3e75 fix(cli.rs): use multiple_values instead of multiple 2021-08-15 10:57:53 -03:00
Lucas Fernandes Nogueira
a539471609 chore: update rust to 1.54.0 (#2434) 2021-08-15 10:47:15 -03:00
Riccardo Padovani
102895fa0c Remove as_str() call from event.menu_item_id() (#2430)
There isn't a method `as_str()` associated to the `MenuIdRef` returned by `menu_item_id()`
2021-08-14 21:15:48 -03:00
Lucas Fernandes Nogueira
2088cd0f24 refactor(core): handle dialog threading internally, closes #2223 (#2429)
* refactor(core): handle dialog threading internally, closes #2223

* thread spawn
2021-08-14 16:00:23 -03:00
Lucas Fernandes Nogueira
dd5e1ede32 fix(bundler): AllowSameVersionUpgrades on WiX, closes #2211 (#2428) 2021-08-14 14:44:30 -03:00
Lucas Nogueira
aa0828f8ad fix(docs): wrong import path on updater guide 2021-08-14 10:39:07 -03:00
Lucas Nogueira
206c1d0f23 feat(docs): mention @tauri-apps/api on integration guide, closes #2235 2021-08-14 10:35:33 -03:00
Lucas Fernandes Nogueira
9acd83017f fix(core): percent decode asset protocol URL (#2427) 2021-08-14 10:02:20 -03:00
Lucas Fernandes Nogueira
e2a0704c6c refactor(core): remove salt APIs (#2426) 2021-08-14 09:30:13 -03:00
Lucas Fernandes Nogueira
fbf8caf5c4 fix(core): ESM detection when using export async function (#2425) 2021-08-14 09:02:54 -03:00
Lucas Fernandes Nogueira
5ebf389f6c feat(bundler): check target arch at runtime, closes #2286 (#2422) 2021-08-13 18:05:18 -03:00
Lucas Fernandes Nogueira
4a031add69 feat(core): expose set_activation_policy, closes #2258 (#2420)
* feat(core): expose `set_activation_policy`, closes #2258

* fix change file [skip ci]

* Update .changes/runtime-set-activation-policy.md [skip ci]

Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>

* clippy

* allow unused mut on example

Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-08-13 13:25:31 -03:00
Lucas Fernandes Nogueira
c544cea8c9 fix(cli.js): force version update on Cargo manifest (#2419) 2021-08-13 11:41:06 -03:00
Lucas Fernandes Nogueira
b85775911d feat(docs): improve feature-specific API documentation (#2418) 2021-08-13 11:40:57 -03:00
Lucas Nogueira
6cd640fa0a fix(core): import set_native_image on macOS 2021-08-13 11:25:39 -03:00
Lucas Fernandes Nogueira
6bfe7422eb refactor(core): rename __TAURI__._invoke to __TAURI_INVOKE__ (#2417) 2021-08-13 11:19:03 -03:00
Ngo Iok Ui (Wu Yu Wei)
f81ebddfcc feat: remove menu feature flag (#2415)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-13 10:23:32 -03:00
Lucas Nogueira
f665d001ed feat(docs): improve splashscreen example 2021-08-13 10:09:43 -03:00
Lucas Fernandes Nogueira
f4eafec705 feat(core): add window_label to the ExitRequested event payload (#2410) 2021-08-12 14:22:08 -03:00
Ngo Iok Ui (Wu Yu Wei)
88382fe147 chore(api): update protocol url path with wry 0.12.1 on Windows (#2409) 2021-08-12 13:56:07 -03:00
Alan Ninan Thomas
cad7b17cf4 Update WebView2 requirement docs for Windows 11 (#2408) 2021-08-12 09:50:09 -03:00
renovate[bot]
459f0145bf chore(deps) Update create-tauri-app (#1941)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-11 22:58:54 -03:00
Lucas Fernandes Nogueira
855ed0f54e chore(cli.js): remove no longer needed resolutions (#2401) 2021-08-11 22:58:27 -03:00
Lucas Fernandes Nogueira
9aeb04faf4 feat(core): async_runtime handle API, spawn returns JoinHandle (#2399) 2021-08-11 21:49:09 -03:00
renovate[bot]
bdda79cfbc chore(deps) Update dependency tslib to v2.3.1 (#2400)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 21:18:29 -03:00
Thad Guidry
efefc6e6c1 Add example of using allowlist to reduce binary size (#2111)
* Add example of using allowlist to reduce binary size

based on comment from@lucasfernog at https://discord.com/channels/616186924390023171/807549941936816148/859059694316683295

* fix example

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-11 20:24:51 -03:00
Thad Guidry
af72e8e690 Clarify and improve accuracy of semantics we talk about (#2153)
Co-authored-by: Laegel <laegel@tutanota.com>
2021-08-11 20:15:32 -03:00
Lucas Nogueira
178164b259 fix(docs): splashscreen guide using dropped Params syntax 2021-08-11 14:52:47 -03:00
Lucas Fernandes Nogueira
5f6e135f23 refactor(cli.js): package as ES module, closes #2256 (#2392) 2021-08-11 14:00:35 -03:00
renovate[bot]
f55016be74 chore(deps) Update dependency imagemin to v8.0.1 (#2395)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 11:45:51 -03:00
renovate[bot]
4f11481813 chore(deps) Update Rust crate phf to 0.10 (#2393)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 11:44:55 -03:00
renovate[bot]
e18d3536ff chore(deps) Update Tauri JS CLI (#2394)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 11:05:34 -03:00
renovate[bot]
6063f5c73c chore(deps) Update Rust crate rfd to 0.4.2 (#2389)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 04:18:51 -03:00
dependabot[bot]
b6405313a0 chore(deps): bump path-parse from 1.0.6 to 1.0.7 in /tooling/create-tauri-app (#2385)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-11 04:18:43 -03:00
dependabot[bot]
a97b8dab62 chore(deps): bump path-parse from 1.0.6 to 1.0.7 in /examples/api (#2386)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-11 04:18:36 -03:00
renovate[bot]
99a5435d72 chore(deps) Update Tauri API Definitions (#2390)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 04:18:24 -03:00
Lucas Fernandes Nogueira
fa9341ba18 feat(core): implement Debug on public API structs/enums, closes #2292 (#2387) 2021-08-11 02:07:39 -03:00
david
50bf87a80a disable enableElevatedUpdateTask on the updater sample (#2388)
Signed-off-by: David Lemarier <david@lemarier.ca>
2021-08-10 16:01:39 -04:00
Lucas Fernandes Nogueira
3f039cb8a3 fix: keep original productName for .desktop Name field, closes #2295 (#2384) 2021-08-10 16:02:46 -03:00
Lucas Fernandes Nogueira
8b2cc2615d fix(core): dialog's defaultPath behavior on Linux, closes #2232 (#2382) 2021-08-10 15:28:24 -03:00
Lucas Fernandes Nogueira
9c4032ba10 fix(cli.js): usage with HTTPS_PROXY, closes #2237 (#2381) 2021-08-10 11:31:48 -03:00
FabianLars
b2b36cfe8d fix(core): fixes ES Module detection for default imports with relative paths or scoped packages (#2380) 2021-08-10 10:55:23 -03:00
Lucas Fernandes Nogueira
8e48029790 feat(api): improve EventName type definition (#2379) 2021-08-10 10:54:42 -03:00
david
b9a9de6b64 fix(benchmarks): pure virtual method called (#2377)
* remove bench test lock

Signed-off-by: David Lemarier <david@lemarier.ca>

* use tauri commands to close the app

Signed-off-by: David Lemarier <david@lemarier.ca>
2021-08-10 11:18:16 +08:00
Lucas Fernandes Nogueira
737da87244 fix(core): random shell command output order, closes #2184 (#2376) 2021-08-09 10:56:21 -03:00
Lucas Nogueira
77595b1c37 chore(cli.rs): change author [skip ci] 2021-08-09 09:26:39 -03:00
Ngo Iok Ui (Wu Yu Wei)
25ae04e8af chore(cli.rs): improve how cli process arguments, closes #2335 (#2373) 2021-08-09 09:25:39 -03:00
Lucas Fernandes Nogueira
1ecb8651a7 fix(core): listen receiving past events, closes #2323 (#2371) 2021-08-09 00:10:25 -03:00
Lucas Fernandes Nogueira
d7dd653026 chore(deps): wry 0.12 (#2372)
* chore(deps): wry 0.12

* update tokio [skip ci]

* keep wry github [skip ci]
2021-08-09 00:10:02 -03:00
Lucas Fernandes Nogueira
9b32b93996 fix(core): fs-all feature not including base64 crate, closes #2336 (#2368) 2021-08-08 21:16:03 -03:00
renovate[bot]
c2f35f3b89 chore(deps) Update Rust crate blake3 to v1 (#2305)
* chore(deps) Update Rust crate blake3 to v1

* fix build

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-08 21:15:43 -03:00
Wouter Buckens
892c63a053 feat(#2287): Add ExitRequested event to let users prevent app from exiting (#2293)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-08 21:12:32 -03:00
Lucas Nogueira
fd80dd97e8 chore: update bundle script [skip ci] 2021-08-08 20:57:24 -03:00
renovate[bot]
9bfcab216a chore(deps) Update dependency @rollup/plugin-commonjs to v20 (#2351)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-08 20:28:33 -03:00
renovate[bot]
a6d231df48 chore(deps) Update Rust crate open to v2 (#2306)
* chore(deps) Update Rust crate open to v2

* fix build

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-08 20:28:26 -03:00
renovate[bot]
ecef9946e7 chore(deps) Update Tauri API Definitions (#2265)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-08 20:28:04 -03:00
david
44f6ee4cfd chore(ci): add step to detect code signing (#2245)
* chore(ci): add step to detect code signing

* fix variable name and add changefile
2021-08-08 18:19:45 -03:00
renovate[bot]
3574a911e6 chore(deps) Update Tauri JS CLI (#2266)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-08 18:14:59 -03:00
renovate[bot]
df01358fb3 chore(deps) Update Rust crate zeroize to 1.4 (#2267)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-08 18:14:52 -03:00
david
c576119013 fix(updater): Run elevated task only if server tell us (#2357)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-08 18:13:54 -03:00
Pankaj Patil
97bc52ee03 Tooling: [API] Changed target in tsconfig to es6 (#2362)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-08 18:13:46 -03:00
renovate[bot]
eba7813e8a chore(deps) Update dependency @rollup/plugin-commonjs to v20 (#2350)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-08 18:13:34 -03:00
dependabot[bot]
4d69a445f3 chore(deps): bump tar from 6.1.1 to 6.1.6 in /tooling/create-tauri-app (#2365)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-08 17:48:53 -03:00
Sanket Chaudhari
7fcd991aab Fix import path for getCurrent and WebviewWindow in docs (#2364) 2021-08-08 17:41:27 -03:00
Jacob Bolda
c410e034f7 convert jest tests to child_process run script (#2308)
* convert jest tests to child_process run script

* remove vuecli (it freezes), add angular

* run cargo build in correct dir

* add in asserts on fs

* normalize assert for node14

* fix installing empty dependencies

* add messages to asserts

* use test dir to check if running local cli

* try running in parallel

* run in parallel and log output serially

* avoid parallel, skip yarn for now

* add change file

* disable running with npm6 due to vite fail

Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
2021-08-08 03:13:05 -05:00
Ngo Iok Ui (Wu Yu Wei)
63ad303903 chore(linux): bump gtk to v0.14 (#2361)
* Bump gtk to v0.14

* Switch back to rfd
2021-08-06 18:15:22 +02:00
Amr Bashir
235e0f6785 feat(CTA): add official support for pnpm package manager (#2348)
* feat(CTA): add official support for `pnpm` package manager

* adjust post-message formatting [skip ci]

* optimize package managers checks
2021-08-06 23:35:39 +08:00
Lucas Nogueira
fee3c5820b fix(api): unused @ts-expect-error 2021-08-04 10:41:50 -03:00
Lucas Fernandes Nogueira
c17532f741 refactor(core): change Plugin initialize signature, move register t… (#2347)
* refactor(core): change Plugin `initialize` signature, move register to AppHandle

* clippy
2021-08-03 22:06:05 -03:00
Lucas Fernandes Nogueira
d0142e87dd fix(core): invoke key injection on regular JS scripts, closes #2342 (#2344) 2021-08-03 13:53:38 -03:00
david
6e0dbf639a fix(core): Expose ClipboardManager and GlobalShortcutManager (#2263) 2021-08-03 12:56:43 -03:00
Lucas Fernandes Nogueira
84a0e04cbe feat(core): try_state API on the Manager trait (#2341) 2021-08-02 17:01:53 -03:00
Lucas Fernandes Nogueira
15566cfd64 feat(core): add API to send wry window message to the event loop (#2339)
* feat(core): add API to send wry window message to the event loop

* expose types
2021-08-02 16:45:24 -03:00
Lucas Fernandes Nogueira
5b7be8133a feat(core): add plugin register API on the Manager trait (#2340) 2021-08-02 16:06:41 -03:00
Michael E. Snowden
2eed5b5e97 Update Rust example in cli.md (#2337)
* Update cli.md

Updating the example Rust code with an example graciously provided by @amrbashir . This is also in response to a [docs issue](https://github.com/tauri-apps/tauri/issues/2332) that I had raised earlier.

* Update docs/usage/guides/cli.md

* Update cli.md

* Update cli.md

Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-08-02 13:13:44 -03:00
Amr Bashir
05b9d81ee6 feat(api.js): add nodejs-inspired functions in path module (#2310)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-02 10:58:09 -03:00
Amr Bashir
1a51006673 fix(core): data-tauri-drag-region didn't respect resizable, closes #2314 (#2316)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-02 10:43:31 -03:00
Ikko Ashimine
807b8625b7 fix(cli.rs): typo in input.rs (#2326)
existance -> existence
2021-08-01 23:59:21 -03:00
Zoe
58472d4ed2 chore(docs) fix typo of the example code (#2315) 2021-08-01 23:54:49 -03:00
renovate[bot]
b6e9b46989 chore(deps) Update dependency @rollup/plugin-sucrase to v4 (#2307)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-01 23:54:34 -03:00
chip
4b2aa35684 Add back WebDriver support (#2324) 2021-08-01 23:54:10 -03:00
Pauan
af3cc7d7f7 Adding in Dominator recipe (#1912)
* Adding in Dominator recipe

* Running prettifier

* add dominator to cta tests

* update postinit message

* add `src-tauri` as a worksapce member

Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
2021-08-01 23:47:31 -03:00
Amr Bashir
d22da650ef fix(core): fallback to {asset}/index.html before index.html, closes #2328 (#2329) 2021-08-01 23:46:13 -03:00
Amr Bashir
cf9f6aa148 fix(core): fix typo in notifications, closes #2330 (#2331)
* fix(core): fix typo in notifications, closes #2330

* Update core-notification-typo.md

* [skip ci]
2021-08-01 23:45:36 -03:00
ilukinov
4678144e22 fix(create-tauri-app): Change script name in App.tsx from 'App.js' to 'App.tsx' (#2333) 2021-08-01 23:44:11 -03:00
FabianLars
c2b0fe1ce5 fix(core): fix wrong file drop events (#2300) 2021-07-30 18:58:09 -04:00
david
426a6b4996 feat(macOS): Implement tray icon template (#2322) 2021-07-29 15:29:59 -04:00
david
8808085541 feat(window): Allow creation of Window without wry (#2321)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-07-29 14:35:26 -03:00
FabianLars
0f63f5e757 fix(api): Fix monitor functions, closes #2294 (#2301)
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-07-29 13:44:24 -03:00
Amr Bashir
caa7bf44c9 refactor(core/wry): use is_menu_visible instead of atomic bool (#2320) 2021-07-29 09:50:18 -03:00
Amr Bashir
c0f42ad0e3 feat(cta): prompt users to install @tauri-apps/api package (#2251) 2021-07-29 09:34:29 -03:00
Amr Bashir
718d9513ce refactor(cta): update vite recipe to use their new npm package (#2220) 2021-07-29 09:31:04 -03:00
FabianLars
aa498e7261 fix: unlisten removes all listeners, closes #2264 (#2302) 2021-07-28 19:56:47 -03:00
Lucas Nogueira
e6d9b0bae8 fix(core): export PathResolver and SystemTrayHandle 2021-07-28 15:22:08 -03:00
Lucas Fernandes Nogueira
1792c45592 fix(core): run setup after preparing system tray (#2312)
* fix(core): run setup after preparing system tray

* change file [skip ci]
2021-07-28 15:13:30 -03:00
Amr Bashir
05e679a6d2 feat(api.js): add os module (#2299)
* feat(api.js): add `os` module

* use correct endpoint for version

* return version as a string

* clippy

* cleanup ?!

* [skip ci]

* [skip ci]
2021-07-28 13:17:11 -03:00
Lucas Fernandes Nogueira
71d687b787 feat(cli.rs): platform-specific conf.json (#2309) 2021-07-28 12:55:32 -03:00
Lucas Fernandes Nogueira
268450b132 fix(api): global bundle broken code, closes #2289 (#2297) 2021-07-26 11:25:08 -03:00
chip
8216cba13d App.create_window() to accept any Into<String> type (fix #2290) (#2291)
* Fix `App.create_window()` to accept any `Into<String>` type

* Update changefile to show both changed functions

* Reduce changefile level to patch

Co-authored-by: Wouter Buckens <wouter@epicteddy.com>
2021-07-26 08:28:50 -04:00
david
70a1941468 fix(core): Force data_directory on Windows (#2288) 2021-07-23 10:29:22 -04:00
Amr Bashir
d832d575d9 fix(windows): use webview events on windows (#2277) 2021-07-23 09:31:17 -04:00
FabianLars
a8c1de5547 fix listen_global not listening to events with a window label (#2272) 2021-07-23 09:23:38 -04:00
Wouter Buckens
31685c9f9d fix(#2281): Prevent double slashes when joining URLs (#2282) 2021-07-23 09:17:28 -04:00
Amr Bashir
9fbcc02454 fix(api.js): fix double window creation, closes #2284 (#2285) 2021-07-23 09:06:12 -04:00
Joaquín
3f84381ea9 fix[docs]: Fix import in the Plugin example (#2224) 2021-07-23 07:44:17 -04:00
Ben Briggs
83786ce8a4 fix(#2230) - Unable to uninstall when using Skip UAC task (#2231) 2021-07-23 07:43:17 -04:00
Kris Scott
151c3157be Add svelte recipe to create-tauri-app (#2276) (#2279) 2021-07-22 15:26:57 -04:00
Amr Bashir
74a278fcfc chore(docs): devPath & distDir are relative to tauri.conf.json, closes #2236 (#2259)
* chore(docs): `devPath` & `distDir` are relative to tauri.conf.json

* change cli.rs message
2021-07-21 15:40:03 +08:00
Amr Bashir
785865863e chore(api.js): better platform-specific notes (#2253) 2021-07-21 12:23:16 +08:00
Amr Bashir
f130a167c5 chore(api.js): copy README.md & CHANGELOG.md to dist (#2252) 2021-07-21 12:22:55 +08:00
Jonathan Dizdarevic
226414d1a5 "cannot find type MenuHash in this scope" (#2240) 2021-07-20 05:37:21 -04:00
Amr Bashir
dd52e738f1 fix(api.js): fix @ts-expect-error usage, closes #2249 (#2250) 2021-07-19 18:19:58 -04:00
FabianLars
e3f9916526 fix(core) minHeight being used as maxHeight (#2247) 2021-07-19 13:24:03 -04:00
Amr Bashir
4f88c3fb94 fix(api.js): bundle now exports clipboard mod, closes #2243 (#2244) 2021-07-19 08:30:28 -04:00
github-actions[bot]
e48bb3edff apply version updates (#2121) 2021-07-16 09:23:10 -04:00
david
3389bd8180 fix(linux): use glib main context for the updater on linux (#2222) 2021-07-16 09:06:56 -04:00
david
f0a8db62e4 core(deps): bump wry to 0.11 (#2210) 2021-07-15 11:47:19 -04:00
Ben Briggs
58129e0a95 feat(bundler) Update on Windows without UAC Prompt (#2155) 2021-07-15 10:38:03 -04:00
david
59eb14e25b fix(ci): code sign artifacts (#2217) 2021-07-15 08:48:27 -04:00
Thad Guidry
9aa24dfde6 Add further notes for CTO types to understand Tauri (#2152) 2021-07-15 07:42:48 -03:00
renovate[bot]
8be6755c6a chore(deps) Update Tauri API Definitions (#2205)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-15 07:41:33 -03:00
renovate[bot]
ed62cc6fa7 chore(deps) Update Tauri JS CLI (#2206)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-15 07:40:08 -03:00
chip
fd8fab507c refactor(core): remove Params and replace with strings (#2191)
* refactor(core): remove `Params` and replace with strings

* add tauri-utils to changelog

* update default runtime macro to accept type and feature

* remove accidental default feature addition

* remove changefile todo items that have no futher action

* fix clippy warning

* update changefile

* finish change file

* fix splashscreen example

* fix markdown typo [skip ci]

* remove final uses of `Params`

* add license header to new runtime module in tauri-macros

* update plugin guide to use runtime instead of params
2021-07-15 18:05:29 +08:00
david
074caa3247 fix(ci): expose TAURI_PRIVATE_KEY for PR's (#2215) 2021-07-14 17:38:25 -04:00
Epsilon_02
489fad5524 Angular create tauri app [#1934] (#2203) 2021-07-14 16:36:46 -04:00
david
8237260f01 fix(ci): CTA cleanup (#2214) 2021-07-14 16:22:10 -04:00
david
6874cc6b7a fix(cta): remove branch from workflow_dispatch (#2212) 2021-07-14 16:13:30 -04:00
david
caa8fcc93e fix(windows): use random Guid for uninstaller (wix) (#2208)
* use random `Guid` for uninstaller

* add changefile

* better naming structure for the component
2021-07-14 21:38:31 +08:00
Friedel Ziegelmayer
7ee2dc8b69 feat(cli.rs): add release argument to the dev command (#2192) 2021-07-12 12:59:02 -03:00
Lucas Fernandes Nogueira
a410958d45 Revert "fix(wry): resize webview on window move, closes #1911" (#2202)
This reverts commit 06abe65569.
2021-07-12 12:58:49 -03:00
DeemoDing
4bc23c01c1 docs(getting-started): add libvips to arch linux (#2150) 2021-07-12 12:03:40 -03:00
david
456a94f663 fix(macOS): updater EXC_BAD_ACCESS (#2181)
* fix(ci): updater artifacts

* add temporary macos signature

* add entitlement and notarization credentials

* WIP macos fix

* build version 2.0.0 with macos signature

* [ci skip] revert version to `1.0.0`

* sandbox current app to a directory

* make clippy happy

* [ci skip] disable `Notarization` in CI tests

* [ci skip] add changefile

* remove unwanted `unwrap` and `expect`

* fmt
2021-07-12 12:03:27 -03:00
Noah Klayman
852b40d4b8 fix(readme): typo in electron comparison table, fixes #2176 (#2195) 2021-07-12 12:01:30 -03:00
Joaquín
aba52cf21d fix(docs): make the splashscreen guide work (fix: #2185) (#2186) 2021-07-12 12:01:11 -03:00
FabianLars
578610a29d fix(core): fix drag-region not sending its events correctly (#2196) 2021-07-12 12:00:41 -03:00
FabianLars
bc2c331dec fix: center and focus not being allowed in config (#2199) 2021-07-12 11:59:32 -03:00
renovate[bot]
d0f34a3784 chore(deps) Update Rust crate thiserror to 1.0.26 (#2164)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-08 12:06:04 -03:00
renovate[bot]
7eaf437b7f chore(deps) Update Tauri API Definitions (#2165)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-08 12:05:44 -03:00
renovate[bot]
9a21885341 chore(deps) Update Tauri JS CLI (#2166)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-08 12:05:22 -03:00
renovate[bot]
4905797614 chore(deps) Update Rust crate handlebars to 4.1 (#2167)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-08 12:05:14 -03:00
renovate[bot]
224fe56766 chore(deps) Update Rust crate handlebars to 4.1 (#2171)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-08 12:05:06 -03:00
up-to-you
d4ff7be3b4 Update example/api README.md fix #2151 (#2177) 2021-07-08 12:04:22 -03:00
Joaquín
324275c00a Fix outdated Plugin page (#2178)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-07-08 11:45:35 -03:00
Lucas Fernandes Nogueira
8157a68af1 feat(core): allow listening to event loop events & prevent window close (#2131) 2021-07-06 13:36:37 -03:00
Lucas Fernandes Nogueira
d69b1cf6d7 feat(api): allow mananing windows created on JS (#2154) 2021-07-05 12:16:55 -03:00
Lucas Nogueira
af634db275 feat(cli.rs): add skip_taskbar to conf schema 2021-07-04 00:06:41 -03:00
Lucas Nogueira
7660a23d22 fix(tooling): clippy 2021-07-03 23:49:01 -03:00
Lucas Fernandes Nogueira
5d7626f897 feat(api): WindowManager extends WebviewWindowHandle, add events docs (#2146) 2021-07-03 23:38:35 -03:00
Lucas Fernandes Nogueira
acb88929c4 fix(core): export MenuHandle and MenuEvent (#2148) 2021-07-03 23:27:48 -03:00
Lucas Nogueira
2e2dc7c774 fix(core): temporary fix for clippy issue 2021-07-03 20:20:54 -03:00
Amr Bashir
66916b739f chore: add .prettierrc in repo root (#2145) 2021-07-03 19:48:04 -03:00
Lucas Fernandes Nogueira
e0a8e09cab feat(core): expose gtk_window, closes #2083 (#2141) 2021-07-02 13:08:51 -03:00
Ngo Iok Ui (Wu Yu Wei)
6569c2bf5c refactor(wry): remove a few locks requirements (#2137)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-07-02 00:06:58 -03:00
Lucas Fernandes Nogueira
4b0ec01880 fix(core): improve JS ESM detection (#2139) 2021-07-02 00:00:40 -03:00
Lucas Fernandes Nogueira
51a5cfe4b5 feat(api): add convertFileSrc helper (#2138) 2021-07-02 00:00:30 -03:00
Lucas Fernandes Nogueira
06abe65569 fix(wry): resize webview on window move, closes #1911 (#2135) 2021-07-02 00:00:05 -03:00
Amr Bashir
189c129f4f fix(docs): use correct link (#2134) 2021-06-30 19:08:48 -03:00
Amr Bashir
373e2ba318 docs: add maximize toggle to window_customization guide (#2132) 2021-06-30 15:32:38 -03:00
Amr Bashir
3e6f34160d fix(cli.rs): run powershell kill command without profile (#2130) 2021-06-30 15:12:37 -03:00
Lucas Fernandes Nogueira
e663bdd593 fix(core): svg mime type (#2129) 2021-06-30 13:04:09 -03:00
renovate[bot]
df32ff5f4a chore(deps) Update dependency rollup to v2.52.4 (#2128)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-30 10:38:33 -03:00
Ngo Iok Ui (Wu Yu Wei)
a280ee90af Fix high cpu usage on mac, fix #2074 (#2125)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-30 10:38:22 -03:00
renovate[bot]
1b00855af8 chore(deps) Update Tauri API Definitions (#2122)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-30 10:14:30 -03:00
renovate[bot]
894fe82873 chore(deps) Update Tauri JS CLI (#2123)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-30 10:14:20 -03:00
Ikko Ashimine
8f16c1df7e refactor(core): fix typo in event.rs (#2126)
recieved -> received
2021-06-30 10:04:09 -03:00
LisiurDay
fd0334645b fix: tauri init may failed with no error message. (fix #2079) (#2117)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-30 09:26:49 -03:00
Lucas Fernandes Nogueira
f03eea9c9b feat(core): inject invoke key on <script type="module"> (#2120) 2021-06-29 20:40:41 -03:00
Laegel
94a5848afb chore(docs): Applied change from tauri-docs 2021-06-29 23:33:09 +02:00
github-actions[bot]
4339b46e4b Apply Version Updates From Current Changes (#2113)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-06-28 21:57:26 -03:00
Lucas Fernandes Nogueira
99d960841c fix(core): custom protocol regression (#2115) 2021-06-28 21:51:12 -03:00
Lucas Fernandes Nogueira
1a41e9f040 feat(cli.rs): improve error message on app rename, closes #2101 (#2114) 2021-06-28 21:25:18 -03:00
Amr Bashir
8b7ac1ad14 feat: double-click tauri-drag-region to maximize, closes #1839 (#2106) 2021-06-28 20:14:36 -03:00
Amr Bashir
2a6cfbf818 fix(docs): use data-tauri-drag-region instead of drag-region class (#2112) 2021-06-28 20:13:41 -03:00
Lucas Nogueira
a9d031873b chore: update Bundle 2021-06-28 11:36:18 -03:00
github-actions[bot]
3806b88ee1 Apply Version Updates From Current Changes (#2069)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-06-28 11:03:55 -03:00
Ngo Iok Ui (Wu Yu Wei)
ee60e42422 feat: asset custom protocol to access local file system (#2104) 2021-06-28 10:56:20 -03:00
Lucas Fernandes Nogueira
628a53eb61 fix(cli): properly detect target architecture, closes #2040 (#2102)
* fix(cli): properly detect target architecture, closes #2040

* clippy
2021-06-28 10:17:43 -03:00
Lucas Fernandes Nogueira
66efb43388 fix(docs): target triple detection script, closes #2084 (#2096) 2021-06-27 21:21:24 -03:00
Lucas Fernandes Nogueira
8e23870189 fix(cli.rs): fix out dir detection when target arg is set, closes #2040 (#2098) 2021-06-27 21:21:05 -03:00
Lucas Fernandes Nogueira
d18b5367a9 feat(core): enfore label uniqueness, closes #2067 (#2097) 2021-06-27 21:05:45 -03:00
Thad Guidry
fa06fa07e3 Add Docs as a checkmark category for PR's coming directly (#2087)
...like mine!
2021-06-27 19:53:58 -03:00
Thad Guidry
302ac84a39 Add mention of why/how we use WRY (#2086)
from @Laegel , thanks !
2021-06-27 19:53:42 -03:00
Thad Guidry
da2e72698c Fix grammar and typos in Anti Bloat doc (#2095)
* Fix grammer and typos in Anti Bloat doc

- use Simple English to bring clarity and easier translations
- fix typos and grammar

* Update anti-bloat.md

* Update anti-bloat.md
2021-06-27 19:52:59 -03:00
Lucas Fernandes Nogueira
7765c7fa28 fix(core): invoke key injection on ES module, improve performance (#2094) 2021-06-27 19:51:47 -03:00
Lucas Fernandes Nogueira
fe32afcc93 fix(core): Window must be Send + Sync on Windows, closes #2078 (#2093) 2021-06-27 11:02:17 -03:00
Lucas Fernandes Nogueira
8c13344f8f fix(core): command events not firing consistently (#2082) 2021-06-27 10:00:43 -03:00
Laegel
bd038b5f5d fix: Not SCPing the correct source 2021-06-26 23:37:45 +02:00
Laegel
710a4f95db Merge branch 'dev' of github.com:tauri-apps/tauri into dev 2021-06-26 19:54:22 +02:00
Laegel
b607ac37ad fix: tauri-docs ref was wrong 2021-06-26 19:54:08 +02:00
Laegel
2a65ac1a77 Fix/update docs (#2070)
* fix: Adding SSH inspector

* debug: Update docs

* debug: With SSH

* fix: Wrong target path for typedocusaurus

* fix: Search bot is SCPed in a deeper directory
2021-06-26 17:14:54 +02:00
Lucas Fernandes Nogueira
a61572127d fix(bundler): resources bundling on Windows with nested folder structure (#2081) 2021-06-25 21:15:45 -03:00
Lucas Nogueira
ed5c1cd514 fix: error message on path API usage when not allowlisted 2021-06-25 00:43:27 -03:00
Lucas Nogueira
b46a2884ac fix: menu docs 2021-06-25 00:12:01 -03:00
Thad Guidry
9125affab7 Add note about Toast notifications (#2071)
...in case user's actually search with "toast" a typical word used in web and app development for brief auto-expiring OS window element for notifying user.
2021-06-24 22:28:41 +02:00
github-actions[bot]
df95fb6aaa Apply Version Updates From Current Changes (#2068)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-06-24 09:47:49 -03:00
renovate[bot]
c57139f16f chore(deps) Update dependency typedoc-plugin-markdown to v3.10.1 (#2059)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-24 09:39:00 -03:00
Roojay
394b6e0572 fix(api): http ResponseType export type error (#2065)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-24 09:38:29 -03:00
nothingismagick
ad341517df chore(issue-template): make tauri info required [skip ci] (#2066)
Make our expectations clear.
2021-06-24 08:57:12 -03:00
1382 changed files with 65122 additions and 48766 deletions

View File

@@ -1,4 +0,0 @@
[advisories]
ignore = [
"RUSTSEC-2020-0095" # difference is unmaintained (used by `mockito`)
]

View File

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

View File

@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---
Allows the `tauri.conf.json` file to be git ignored on the path lookup function.

View File

@@ -0,0 +1,5 @@
---
"tauri-utils": patch
---
The `allowlist` configuration now includes a `clipboard` object, controlling the exposure of the `writeText` and `readText` APIs.

View File

@@ -0,0 +1,6 @@
---
"tauri-utils": patch
"tauri": patch
---
The dialog allowlist now includes flags for the `message`, `ask` and `confirm` APIs.

View File

@@ -0,0 +1,5 @@
---
"tauri-utils": patch
---
The `allowlist` configuration now includes a `process` object, controlling the exposure of the `relaunch` and `exit` APIs.

View File

@@ -0,0 +1,5 @@
---
tauri-utils: patch
---
The `window` allowlist now includes options to enable all window modification APIs: `center`, `close`, `create`, `hide`, `maximize`, `minimize`, `print`, `requestUserAttention`, `setAlwaysOnTop`, `setDecorations`, `setFocus`, `setFullscreen`, `setIcon`, `setMaxSize`, `setMinSize`, `setPosition`, `setResizable`, `setSize`, `setSkipTaskbar`, `setTitle`, `show`, `startDragging`, `unmaximize` and `unminimize`.

View File

@@ -0,0 +1,5 @@
---
"tauri-build": patch
---
Remove `cargo:rerun-if-changed` check for non-existent file that caused projects to _always_ rebuild.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Remove anonymous lifetimes on examples.

View File

@@ -0,0 +1,5 @@
---
"api": patch
---
Add `fileDropEnabled` property to `WindowOptions` so you can now disable it when creating windows from js.

View File

@@ -0,0 +1,6 @@
---
"api": patch
---
Add `logDir` function to the `path` module to access the sugested log directory.
Add `BaseDirectory.Log` to the `fs` module.

View File

@@ -0,0 +1,5 @@
---
"api": patch
---
Do not crash if `__TAURI_METADATA__` is not set, log an error instead.

View File

@@ -0,0 +1,6 @@
---
"tauri": patch
---
* **Breaking change:** Renamed `tauri::Event` to `tauri::RunEvent`
* Exported `tauri::Event` and `tauri::EventHandler` so you can define a function and pass it to `Window::listen`

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
CommonJS chunks are now properly exported with `.cjs` extension

View File

@@ -0,0 +1,5 @@
---
"api": patch
---
Expose `ask`, `message` and `confirm` APIs on the dialog module.

View File

@@ -0,0 +1,5 @@
---
"api": patch
---
Event `emit` now automatically serialize non-string types.

View File

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

View File

@@ -1,6 +0,0 @@
---
"api": patch
---
Export `BaseDirectory` in `path` module

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Adds `package.json` to the `exports` object.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Use `export type` to export TS types, enums and interfaces.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Moves `shell`, `dialog::FileDialogBuilder` and `process::Command` APIs behind their allowlist feature flags.

5
.changes/api-features.md Normal file
View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
The `tauri::api` modules `http`, `notification`, `dialog`, and `process::Command` APIs are now hidden behind a feature flag, `http-api`, `notification`, `dialog` and `command`, respectively.

View File

@@ -0,0 +1,5 @@
---
"api": patch
---
Fix `http.fetch` throwing error if the response is successful but the body is empty.

View File

@@ -0,0 +1,6 @@
---
"api": patch
"tauri": patch
---
Add `title` option to file open/save dialogs.

View File

@@ -0,0 +1,5 @@
---
"api": patch
---
Fix `os.platform` returning `macos` and `windows` instead of `darwin` and `win32`.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Adds `focus?: boolean` to the WindowOptions interface.

View File

@@ -0,0 +1,5 @@
---
"api": patch
---
The `formatCallback` helper function now returns a number instead of a string.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Adds `isDecorated` getter on the window API.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Adds `isResizable` getter on the window API.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Adds `isVisible` getter on the window API.

View File

@@ -0,0 +1,5 @@
---
"api": patch
---
Added `rawHeaders` to `http > Response`.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Run `AppHandle` cleanup code before restarting the application on the `process > relaunch` API.

View File

@@ -0,0 +1,5 @@
---
"api": "patch"
---
Removed the `currentDir` API from the `path` module.

View File

@@ -0,0 +1,5 @@
---
"api": patch
---
Remove `.ts` files on the published package.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Adds `requestUserAttention` API to the `window` module.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Adds `setFocus` to the window API.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Adds `setSkipTaskbar` to the window API.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Adds `skipTaskbar?: boolean` to the WindowOptions interface.

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

@@ -1,5 +0,0 @@
---
"api": patch
---
Adds `transparent?: boolean` to the `WindowOptions` interface.

View File

@@ -0,0 +1,5 @@
---
"api": patch
---
**Breaking change:** Replaces all usages of `number[]` with `Uint8Array` to be closer aligned with the wider JS ecosystem.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Adds `center?: boolean` to `WindowOptions` and `center()` API to the `appWindow`.

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,6 @@
---
"api": patch
---
`WindowManager` methods `innerPosition` `outerPosition` now correctly return instance of `PhysicalPosition`.
`WindowManager` methods `innerSize` `outerSize` now correctly return instance of `PhysicalSize`.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Added `any_thread()` to the `tauri::Builder` to run applications on any thread (only exposed on Linux and Windows).

View File

@@ -1,6 +0,0 @@
---
"tauri": patch
---
**Breaking:** `api::path::resolve_path()` and `api::path::app_dir()` now takes the config as first argument and the `PackageInfo` as second argument.
**Breaking:** `api::path::app_dir()` now resolves to `${configDir}/${config.tauri.bundle.identifier}`.

View File

@@ -0,0 +1,6 @@
---
"cli.js": patch
"cli.rs": patch
---
Do not force Tauri application code on `src-tauri` folder and use a glob pattern to look for a subfolder with a `tauri.conf.json` file.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Adds `create_window` API to the `AppHandle` struct.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Adds a `handle` function to the `App` struct, which returns a `Send` handle to the app instance.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Adds `manage` API to the `Builder` struct, which manages app state.

View File

@@ -0,0 +1,5 @@
---
"api": patch
---
Properly define the `appWindow` type.

View File

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

View File

@@ -0,0 +1,5 @@
---
"tauri-utils": patch
---
Added `asset` allowlist configuration, which enables the `asset` protocol and defines it access scope.

5
.changes/asset-cors.md Normal file
View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Enable CORS on the `asset` protocol.

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
---
The `asset://` custom protocol is only defined when either the `api-all`, `protocol-all` or `protocol-asset` feature flags are enabled. These feature flags are accessible with the `tauri.conf.json` allowlist.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Expose the `asset_resolver` API on the `App` and `AppHandle` structs.

View File

@@ -1,7 +0,0 @@
---
"tauri-codegen": patch
"tauri-utils": patch
"tauri": patch
---
**Breaking:** The `assets` field on the `tauri::Context` struct is now a `Arc<impl Assets>`.

5
.changes/async-cli.js.md Normal file
View File

@@ -0,0 +1,5 @@
---
"cli.js": patch
---
Change the `run` function to take a callback and run asynchronously instead of blocking the event loop.

View File

@@ -1,6 +0,0 @@
---
"tauri": patch
"tauri-macros": patch
---
Only commands with a `async fn` are executed on a separate task. `#[command] fn command_name` runs on the main thread.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
**Breaking change:** Refactored the types returned from the `async_runtime` module.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Added `tauri::async_runtime::set` method, allowing to share your tokio runtime with Tauri.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Added `tauri::async_runtime::spawn_blocking` API.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Use `attohttpc` on the HTTP API by default for bundle size optimization. `reqwest` is implemented behind the `reqwest-client` feature flag.

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 @@
---
"cli.rs": patch
---
Define `TAURI_PLATFORM`, `TAURI_ARCH`, `TAURI_FAMILY`, `TAURI_PLATFORM_TYPE`, `TAURI_PLATFORM_VERSION` and `TAURI_DEBUG` environment variables for the `beforeDevCommand` and `beforeBuildCommand` scripts.

View File

@@ -1,16 +0,0 @@
---
"api": major
"tauri-bundler": major
"cli.rs": major
"cli.js": major
"tauri-utils": major
"tauri-codegen": major
"tauri-macros": major
"tauri-build": major
"tauri-runtime": minor
"tauri-runtime-wry": minor
"tauri": major
"create-tauri-app": major
---
Upgrade to beta!

View File

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

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Support `cargo tauri build` on Apple M1 chip.

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-build": patch
---
Rerun if sidecar or resource change.

View File

@@ -0,0 +1,5 @@
---
"tauri-build": patch
---
Allow user to specify windows sdk path in build.rs.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
**Breaking change:** The `Builder#create_window` API now returns a Result validating the window label.

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
Fixes the `Installed-Size` value on the debian package.

View File

@@ -0,0 +1,5 @@
---
"tauri-bundler": patch
---
Provide a provider short name for macOS app notarization if your Apple developer account is connected to more than one team.

View File

@@ -0,0 +1,9 @@
---
"tauri-bundler": patch
"cli.rs": patch
"cli.js": patch
"tauri": patch
---
Added `tsp` config option under `tauri > bundle > windows`, which enables Time-Stamp Protocol (RFC 3161) for the timestamping
server under code signing on Windows if set to `true`.

View File

@@ -0,0 +1,5 @@
---
"tauri-bundler": patch
---
Allow building AppImages on systems without FUSE setup.

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
Use `armhf` as Debian package architecture on `arm` CPUs.

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
Adds basic library documentation.

View File

@@ -0,0 +1,5 @@
---
'tauri-bundler': patch
---
Fixes AppImage crashes caused by missing WebKit runtime files.

View File

@@ -0,0 +1,5 @@
---
"tauri-bundler": patch
---
Initialize the preselected installation path with the location of the previous installation.

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
The process of copying binaries and resources to `project_out_directory` was moved to the Tauri CLI.

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
The `PackageTypes` enum now includes all options, including Windows packages.

View File

@@ -0,0 +1,5 @@
---
"tauri-bundler": patch
---
Replaces usage of the nightly command `RUSTC_BOOTSTRAP=1 rustc -Z unstable-options --print target-spec-json` with the stable command `rustc --print cfg`, improving target triple detection.

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

@@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
Adds `icon_path` field to the `WindowsSettings` struct (defaults to `icons/icon.ico`).

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
The `callback` and `error` invoke fields, along with other `transformCallback` usages, are now validated to be numeric.

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Fixes a cargo `target/` cache issue.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Kill child processes spawned with `tauri::api::process::Command` on `tauri::App` drop. Can be skipped with `tauri::Builder#skip_cleanup_on_drop`.

5
.changes/clap-3.0.md Normal file
View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Revert the `clap` usage back to the version 3.0 API.

View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Change `Error::ParseCliArguments(clap::Error)` to `Error::ParseCliArguments(String)` because `clap::Error` is not `Send`.

5
.changes/clap-beta.4.md Normal file
View File

@@ -0,0 +1,5 @@
---
"tauri-utils": patch
---
Change `CliArg` numeric types from `u64` to `usize`.

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,5 @@
---
"cli.rs": patch
---
Allow `config` arg to be a path to a JSON file on the `dev` and `build` commands.

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

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Improve error logging.

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