Compare commits

...

536 Commits

Author SHA1 Message Date
Lucas Nogueira
1a9b13330f chore(ci): disable integration tests temporarily 2022-06-29 15:22:39 -03:00
github-actions[bot]
df5fd52a4c Apply Version Updates From Current Changes (#4382)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-06-29 14:34:20 -03:00
Lucas Fernandes Nogueira
5105b428c4 feat(cli): change app template to only set default menu on macOS (#4518) 2022-06-29 14:03:42 -03:00
Fabian-Lars
de645a32e9 fix(cli): Typo in beforeBuildCommand error message (#4516) 2022-06-29 09:38:03 -03:00
renovate[bot]
49e49f5bba chore(deps) Update dependency jest to v28.1.2 (#4515)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-29 09:07:21 -03:00
Lucas Nogueira
0257004be1 chore(deps): update lockfiles 2022-06-29 01:06:16 -03:00
renovate[bot]
be4831fdfb chore(deps) Update Tauri API Definitions (#4512)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-29 00:58:07 -03:00
Lucas Nogueira
3cf178654c fix(renovate): only enable cargo manager for tooling/cli
This disables updates for the templates - should be handled by the app/plugin instead
2022-06-29 00:11:53 -03:00
Lucas Nogueira
445e05d9bd chore(config): add link to doc page 2022-06-29 00:01:31 -03:00
Lucas Nogueira
eac56c32fe chore(cli): update lockfile 2022-06-28 23:52:18 -03:00
Robin van Boven
bf45ca1df6 fix(cli,bundler): prefer AppImage libraries with ABI version (#4505) 2022-06-28 23:45:36 -03:00
Robin van Boven
0e6edeb14f fix(cli): Don't add pkg-config to deb (#4508) 2022-06-28 23:44:14 -03:00
MentalGear
94e581b8d0 docs: fixed readdir example code (#4510) 2022-06-28 17:56:44 -03:00
Lucas Fernandes Nogueira
fd125f76d7 fix(updater): fallback if tmp is on different mount point, closes #4500 (#4504) 2022-06-28 12:20:59 -03:00
Lucas Fernandes Nogueira
f6edc6df29 chore(deps): update tao to 0.12, wry to 0.19, closes #3220 (#4502) 2022-06-28 10:05:09 -03:00
Lucas Fernandes Nogueira
57039fb216 fix(core): add windows 7 notification support (#4491) 2022-06-28 09:59:13 -03:00
Lucas Nogueira
1949aa89be chore: remove println 2022-06-28 09:50:47 -03:00
Lucas Fernandes Nogueira
643ae846d8 fix: fire window-specific event on Window emit_to/emit_all, closes #4493 (#4498) 2022-06-28 09:34:09 -03:00
Lucas Fernandes Nogueira
b857a00679 perf(ci): run CLI tests only when template changes and on dev push (#4487) 2022-06-27 12:46:49 -03:00
dswd
b0133083dd Fix appimage creation in container when host has appimagelauncher enabled (#4457)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-27 10:36:37 -03:00
Lucas Fernandes Nogueira
46196fe922 refactor(tauri-runtime-wry): move window and menu listeners to window (#4485) 2022-06-27 10:36:28 -03:00
Lucas Fernandes Nogueira
66ed165773 chore(ci): remove sync-prerelease script (#4486) 2022-06-27 10:36:14 -03:00
Lucas Fernandes Nogueira
e39e2999e0 refactor(tauri-runtime-wry): enhance plugin interface (#4476) 2022-06-27 09:57:00 -03:00
Lucas Fernandes Nogueira
094b3eb352 fix(cli): file name instead of path on updater sig comment, closes #4467 (#4484) 2022-06-27 09:56:37 -03:00
Fabian-Lars
68a09b3588 fix(docs): Fix typos in js path api docs. Extend rust path api docs. (#4482) 2022-06-27 08:41:00 -03:00
Lucas Fernandes Nogueira
956af4f30f feat(bundler): validate wix toolset files, ref #4474 (#4475) 2022-06-26 18:00:33 -03:00
Lucas Fernandes Nogueira
2ca762d207 feat(bundler): extend webview2 installation options, closes #2882 #2452 (#4466)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2022-06-26 15:45:31 -03:00
Amr Bashir
3efbc67f74 feat: implement raw_window_handle on Linux (#4469)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-26 11:56:12 -03:00
Fabian-Lars
82eb6e79e8 fix(bundler): Fix appimage bundler crashing if path has spaces (#4471)
* fix(bundler): Fix appimage bundler crashing if path has spaces

* add changefile
2022-06-26 09:28:29 -03:00
Lucas Nogueira
23a049c593 chore: fix clippy warnings, remove license template
The license template has been removed from rustfmt nightly :(
2022-06-24 22:01:13 -03:00
Lucas Fernandes Nogueira
9d33d09341 fix(core): deadlock on plugin webview ready hook (#4462) 2022-06-24 15:34:07 -03:00
Lucas Fernandes Nogueira
13b8a2403d feat(cli): validate target argument (#4458) 2022-06-24 13:16:19 -03:00
Jiwon Choi
08a73acde8 fix(bundler): fix language code. closes #4437 (#4444)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-24 00:19:31 -03:00
Lucas Fernandes Nogueira
be4bb391a9 feat: add AppHandle::remove_plugin and plugin on_drop, closes #4361 (#4443) 2022-06-24 00:15:44 -03:00
renovate[bot]
4b5291d9d9 chore(deps) Update dependency prettier to v2.7.1 (#4436)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-24 00:10:40 -03:00
Lucas Fernandes Nogueira
b025b9f581 refactor(cli): set binary name on dev (#4447) 2022-06-23 22:09:37 -03:00
Lorenzo Lewis
d277881d7f fix: add supported OSs to readme, update status badges to stable (#4432)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2022-06-23 15:31:11 -03:00
Lucas Nogueira
95e77e591d docs(api): enhance theme api doc 2022-06-23 15:31:12 -03:00
renovate[bot]
d38e66aca2 chore(deps) Update Tauri API Definitions (#4442)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-22 09:49:01 -03:00
Lucas Fernandes Nogueira
6650e5d672 fix(cli): preserve Cargo manifest formatting when possible (#4431) 2022-06-22 00:14:46 -03:00
Lucas Fernandes Nogueira
672174b822 feat(bundler): validate version before bundling with WiX (#4429) 2022-06-22 00:14:39 -03:00
Lucas Fernandes Nogueira
e0e5f77243 feat(cli): improve cargo not found error message, closes #4428 (#4430) 2022-06-22 00:14:27 -03:00
Lucas Nogueira
38f5db6e6a feat(codegen): fill app metadata in development Info.plist 2022-06-21 20:36:49 -03:00
Lucas Fernandes Nogueira
2616ede410 perf(ci): optimize cargo package step, closes #3823 (#4427) 2022-06-21 15:21:47 -03:00
Lucas Fernandes Nogueira
77ef1cd849 docs(api): fix dialog filters usage, closes #4367 (#4424) 2022-06-21 14:37:53 -03:00
Cyandev
45981851e3 chore(lint): unused variable warnings for release builds (#4411)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-21 13:19:57 -03:00
Lucas Fernandes Nogueira
12f65219ea fix(cli): read lockfile from workspace on the info command, closes #4232 (#4423) 2022-06-21 13:19:36 -03:00
Brian Li
35dd51db68 fix(cli): add shebang for kill-children.sh, closes #4262 (#4416)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-06-21 13:16:16 -03:00
Lucas Fernandes Nogueira
31c15cd2bd docs(config): enhance documentation for bundle targets, closes #3251 (#4418) 2022-06-21 13:13:56 -03:00
Lucas Nogueira
384dc8c9cf chore(cli): adjust default release tag in the plugin templates 2022-06-21 12:46:50 -03:00
Ngo Iok Ui (Wu Yu Wei)
538d35f462 Update CODEOWNERS (#4420) 2022-06-21 12:19:35 -03:00
Robin van Boven
aa0336d6c5 fix(bundler): ensure AppImage usr/lib is a dir (#4419)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-21 12:16:46 -03:00
Lucas Fernandes Nogueira
45076b3ede refactor(bundler): use the plist crate to create and merge Info.plist (#4412) 2022-06-21 10:00:12 -03:00
Lucas Fernandes Nogueira
079b1cc06e fix(core): properly get external URL origin, closes #4414 (#4417) 2022-06-21 09:29:03 -03:00
Lucas Nogueira
f1d998243a fix(core): regression on Size and Position serde 2022-06-21 09:19:15 -03:00
Lucas Nogueira
11ca206b2d docs(core): update MenuItem entries supported platforms, closes #3882 2022-06-20 20:13:45 -03:00
fehnomenal
83186dd897 Read extra ignore file for dev watcher, closes #4406 (#4409)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-20 09:49:19 -03:00
Lucas Nogueira
32f35196a3 docs(api): add example for tauri://close-requested event usage 2022-06-19 22:38:44 -03:00
Lucas Nogueira
09241f9aca chore(cli): remove unused template GH action 2022-06-19 20:40:01 -03:00
Lucas Nogueira
b8a64d01ba fix(cli): add prepublish scripts to the plugin templates 2022-06-19 15:54:55 -03:00
Lucas Nogueira
07f9079532 chore(cli): update plugin template tauri-apps/create-pull-request 2022-06-19 15:17:39 -03:00
Lucas Fernandes Nogueira
307c2ebfb6 feat(core): set macOS app icon in development (#4385) 2022-06-19 13:02:02 -03:00
Lucas Fernandes Nogueira
c7d13a1c60 feat(core): add missing methods to the dpi module (#4393)
* feat(core): add missing methods to the dpi module

* cleanup impl
2022-06-19 13:01:53 -03:00
Lucas Fernandes Nogueira
123f6e69f6 fix(tauri-runtime-wry): release windows lock immediately, closes #4390 (#4392) 2022-06-19 13:00:21 -03:00
Lucas Fernandes Nogueira
010530459e chore(cli): use unix path separator on $schema (#4384) 2022-06-19 12:48:48 -03:00
Lorenzo Lewis
1a2e141bad Update documentation link (#4405) 2022-06-19 12:35:33 -03:00
yutotnh
cbceb7d6cf fix: some typos (#4403)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-19 10:23:35 -03:00
Lucas Fernandes Nogueira
6d94ce4235 feat(core): theme is now implemented on macOS (#4380) 2022-06-17 14:08:35 -03:00
Lucas Fernandes Nogueira
7be997b974 feat(core): set macOS app bundle name in development (#4381) 2022-06-17 13:54:31 -03:00
Imad Bouziani
0674a80129 fix: assert config.bundle.identifier to be only alphanumeric, hyphens or dots. closes #4359 (#4363)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-17 11:26:14 -03:00
github-actions[bot]
8457cccab0 Apply Version Updates From Current Changes (#4369)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-06-16 12:26:04 -03:00
Lucas Fernandes Nogueira
ea43cf52db fix(api): writeBinaryFile sends an empty contents with only one arg (#4368) 2022-06-16 11:56:13 -03:00
github-actions[bot]
13c2fc1ffe Apply Version Updates From Current Changes (#4352)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-15 23:08:50 -03:00
Didrik Nordström
4e51dce6ca fix: dialog open supports multiple dirs, fixes #4091 (#4354)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-15 19:24:28 -03:00
Lucas Fernandes Nogueira
f4bb30cc73 feat(covector): prepare for v1 (#4351) 2022-06-15 13:53:44 -03:00
github-actions[bot]
f5f9f105f7 apply version updates (#4348)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-06-15 11:16:08 -03:00
Amr Bashir
4c4acc3094 feat: implement Default for Menu, closes #2398 (#4291)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-15 10:51:40 -03:00
renovate[bot]
2bb4faac2d chore(deps) Update dependency prettier to v2.7.0 (#4346)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-15 09:06:33 -03:00
renovate[bot]
33ab8f1900 chore(deps) Update Tauri API Definitions (#4344)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-15 09:06:20 -03:00
renovate[bot]
f94174b215 chore(deps) Update Tauri CLI (#4345)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-15 09:06:07 -03:00
Lucas Nogueira
562e8ca23f fix(codegen): tray icon path is relative to the config directory 2022-06-15 09:03:53 -03:00
github-actions[bot]
dc432ef8b0 Apply Version Updates From Current Changes (#4343)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-14 21:49:04 -03:00
Lucas Nogueira
f11dab4e96 fix(ci): remove windows from integration test platforms 2022-06-14 19:40:32 -03:00
Lucas Nogueira
aff6538a5c fix(ci): change cache key 2022-06-14 19:29:52 -03:00
Lucas Fernandes Nogueira
4ce8e22813 refactor(core): use Icon for tray icons (#4342) 2022-06-14 17:50:15 -03:00
Fabian-Lars
6e1667998a fix(docs): use appdir instead of resourcedir in writeFile examples. Fix dialog docs. (#4337) 2022-06-14 06:09:53 -07:00
Lucas Fernandes Nogueira
d29971e22c fix(ci): [CLI] do not rely on libappindicator-sys (#4335) 2022-06-14 02:06:39 -03:00
github-actions[bot]
0e95a74950 Apply Version Updates From Current Changes (#4235)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-14 00:03:11 -03:00
Lucas Nogueira
73860840a6 fix(core): linting errors 2022-06-13 18:30:46 -03:00
Lucas Nogueira
e7312ef11c fix(ci): install deps 2022-06-13 18:02:43 -03:00
Lucas Nogueira
73a495126c chore: remove outdated comment [skip ci] 2022-06-13 17:59:24 -03:00
Lucas Nogueira
2ced690207 docs(config): improve bundle identifier documentation, closes #4203 2022-06-13 17:26:22 -03:00
Lucas Nogueira
0c45641398 chore: add comment explaining preventDefault() usage 2022-06-13 16:57:09 -03:00
Lucas Nogueira
30450d0fb9 Merge remote-tracking branch 'origin/dev' into dev 2022-06-13 16:49:46 -03:00
Lucas Nogueira
a0e20621f5 fix: preventDefault mousedown on data-tauri-drag-region, closes #4059 2022-06-13 16:49:36 -03:00
renovate[bot]
0a656befd8 chore(deps) Update Tauri Core (#4330)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-12 23:54:44 -03:00
renovate[bot]
b632737a25 chore(deps) Update Rust crate open to v3 (#4327)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-12 23:23:58 -03:00
renovate[bot]
1c6b8b59f5 chore(deps) Update Tauri JS CLI (#4326)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-12 23:12:16 -03:00
renovate[bot]
47e18077ef chore(deps) Update dependency @rollup/plugin-typescript to v8.3.3 (#4329)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-12 23:09:21 -03:00
renovate[bot]
7bef8bde0d chore(deps) Update Tauri API Definitions (#4328)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-12 23:08:23 -03:00
Lucas Fernandes Nogueira
a136d0ed5c docs(api): add example to all functions, closes #4322 (#4325) 2022-06-12 21:44:33 -03:00
Lucas Fernandes Nogueira
b77877fd2c fix(updater): set tmp folder permissions (#4311) 2022-06-12 21:44:19 -03:00
Shikhar Sharma
123d46a715 fix(README.md): module is not a "development" dependency (#4324) 2022-06-12 18:35:53 -03:00
Lucas Fernandes Nogueira
58a6879b82 feat(tauri-build): improve Windows GNU toolchain usage, closes #4319 (#4323) 2022-06-12 14:06:15 -03:00
Lucas Fernandes Nogueira
76d1eaaebd feat(cli): debug command output in real time (#4318) 2022-06-12 09:00:54 -03:00
Ikko Ashimine
b9e1e909a7 Fix typo in parse.rs (#4313) 2022-06-10 16:49:24 -03:00
Lucas Nogueira
8a63489567 fix(build): fixed Webview2 runtime path in development, closes #4308 2022-06-10 16:40:16 -03:00
Fabian-Lars
d335fae92c feat(bundler): bundle additional gstreamer files, closes #4092 (#4271)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-10 16:20:37 -03:00
Lucas Nogueira
f6205afc0d fix(core): wrong Content-Type when using reqwest's multipart, ref #4312 2022-06-10 16:10:46 -03:00
Lucas Nogueira
8ce5b76264 fix: scope check when using the HTTP API to upload files closes #4312 2022-06-10 15:54:26 -03:00
Didrik Nordström
c2b7c77517 fix: put linux high dpi icons in the correct dir (#4281) 2022-06-10 08:58:38 -03:00
Lucas Nogueira
084c079c4d fix(bundler): build AppDir in the cache folder so the appimage works 2022-06-09 23:32:13 -03:00
Didrik Nordström
f482b09422 fix: remove notification permission prompt (#4302)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-09 17:37:05 -03:00
Didrik Nordström
a6f45d5248 Debian icon no fallback, fixes #4280 (#4282) 2022-06-09 16:45:21 -03:00
dependabot[bot]
2c1353f609 chore(deps): bump regex from 1.5.4 to 1.5.6 in /core/tests/restart (#4287)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-09 16:42:18 -03:00
Didrik Nordström
235e448def fix: add a default icon to notifications on linux (#4283) 2022-06-09 16:42:07 -03:00
renovate[bot]
48af96930a chore(deps) Update Tauri API Definitions (#4293)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-09 16:40:13 -03:00
renovate[bot]
84d13d1bbc chore(deps) Update Tauri CLI (#4294)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-09 16:39:57 -03:00
renovate[bot]
36113b2910 chore(deps) Update dependency jest to v28.1.1 (#4296)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-09 16:39:50 -03:00
Amr Bashir
f48b1b0b3b feat(bundler): cache bundling tools in a common dir for all projects (#4305)
* feat(bundler): cache bundling tools in a common dir for all projects

* fix changefile

* fix linux

* linux again

* again

* again

* omg I could've reboot into my linux system

* I rebooted into my linux

* fix linux one more time

* finally

* -nc

* cleanup gitignores

* Revert "-nc"

This reverts commit 8d821c6c37.

* use -N on appimage's wget calls

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-09 16:16:33 -03:00
Fabian-Lars
55f89d5f9d fix(api): Rename FormPart value to file to match docs and endpoint (#4307) 2022-06-09 11:22:17 -03:00
Lucas Fernandes Nogueira
69ae6f1494 refactor(window): block main thread when creating a new window (#4298) 2022-06-08 09:22:07 -03:00
Lucas Fernandes Nogueira
d703d27a70 fix(build): statically link VC runtime only on tauri build (#4292) 2022-06-07 22:34:30 -03:00
Lucas Fernandes Nogueira
3455244436 feat(cli): bundle appindicator library in the AppImage, closes #3859 (#4267) 2022-06-07 11:48:29 -03:00
Berton Zhu
3a7cd28a7b fix(test): replace test_binary with a real binary file (#4285) 2022-06-07 11:38:50 -03:00
Lucas Fernandes Nogueira
74457222b4 fix(core): handle requests to https://tauri.* on Windows (#4270) 2022-06-05 22:27:28 -03:00
Damien Wilson
7d6f5ba77b VS Code: Ubuntu development container via Docker (#4128) 2022-06-05 21:42:36 -03:00
f91kdash
f72cace368 fix: never remove ipc callback & mem never be released (#4274)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-05 10:51:20 -03:00
Fabian-Lars
53ae13d99a fix(bundler): Pull correct 32bit linuxdeploy appimage, closes #4260 (#4269) 2022-06-04 17:55:18 -03:00
renovate[bot]
9845a5c0c1 chore(deps) Update Tauri CLI (#4248)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 13:07:42 -03:00
renovate[bot]
77e585baac chore(deps) Update Tauri API Definitions (#4249)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 13:07:34 -03:00
Charlie Wilkin
6ba9127298 Fix: sidecar cleanup when only shell-sidecar is enabled (#4254)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-04 12:04:53 -03:00
Lucas Fernandes Nogueira
2322ac11cf fix(bundler): bundle /usr/bin/xdg-open in appimage if open API enabled (#4265) 2022-06-04 11:45:24 -03:00
Lucas Nogueira
b369069c5a fix: remove gtk-tray from docs.rs features 2022-06-03 19:36:47 -03:00
Lucas Fernandes Nogueira
6216eb49e7 refactor(core): drop ayatana-tray and gtk-tray Cargo features (#4247) 2022-06-02 14:42:15 -03:00
Robin van Boven
5c20c84701 fix: benchmark build error (#4246) 2022-05-31 11:22:40 -03:00
Lucas Nogueira
0c63595916 fix(docs): grammar on private API usage warning 2022-05-30 11:06:32 -03:00
Lucas Fernandes Nogueira
7bba8db83e feat(api): add resolveResource API to the path module (#4234) 2022-05-29 14:35:35 -03:00
Lucas Fernandes Nogueira
3f998ca294 feat(api): add writeTextFile and (path, contents, options) overload (#4228) 2022-05-29 10:10:41 -03:00
Lucas Fernandes Nogueira
f685df399a fix(cli): parsing of arguments with multiple values, closes #4231 (#4233) 2022-05-29 10:06:57 -03:00
github-actions[bot]
2c040eaadd Apply Version Updates From Current Changes (#4217)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-27 16:01:43 -03:00
Lucas Nogueira
a7388e23c3 fix(ci): adjust change file to include tauri-utils and tauri-codegen 2022-05-27 15:10:32 -03:00
renovate[bot]
6c95951fab chore(deps) Update Tauri API Definitions to v7.18.2 (#4214)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-27 14:42:27 -03:00
Lucas Fernandes Nogueira
bb061509fb refactor(core): statically link vcruntime, closes #4122 (#4227) 2022-05-27 14:33:04 -03:00
Ryan Russell
62ce02f6b5 docs(various): Improve Readability (#4225) 2022-05-27 10:06:11 +02:00
Fabian-Lars
bd8f3e298a fix(cli): manual config lookup to handle gitignored folders, fixes #3527 (#4224) 2022-05-26 15:14:43 -03:00
Fabian-Lars
569fbd8b40 fix(cli): typo in update check notification (#4223) 2022-05-26 14:27:06 -03:00
Lucas Fernandes Nogueira
ac7656ab19 refactor(updater): strong type for the pub_date field, ref #4162 (#4218) 2022-05-25 15:22:16 -07:00
Lucas Fernandes Nogueira
2badbd2d7e refactor: force semver versions, change updater should_install sig (#4215) 2022-05-25 13:15:21 -03:00
renovate[bot]
cb807e1f5a chore(deps) Update Rust crate regex to 1.5.6 (#4206)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-25 11:42:31 -03:00
renovate[bot]
a629c8c6c7 chore(deps) Update Tauri CLI (#4207)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-25 11:42:23 -03:00
renovate[bot]
f057326b34 chore(deps) Update Tauri API Definitions (#4209)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-25 11:42:12 -03:00
github-actions[bot]
2e3239b51a Apply Version Updates From Current Changes (#4213)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-05-25 11:14:24 -03:00
Lucas Fernandes Nogueira
9cdcf9b3a8 feat(build): create dev alias (#4212) 2022-05-25 10:51:33 -03:00
Lucas Nogueira
ac5b2d66c1 Apply Version Updates From Current Changes 2022-05-25 01:21:09 -03:00
Kasper
80458a031b Fix message_dialog flag (#4204)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-25 00:51:33 -03:00
Lucas Nogueira
c479922f9a refactor: use strip_prefix to remove request uri domain, ref #4132 2022-05-24 16:57:02 -03:00
github-actions[bot]
8b6bb6720c Apply Version Updates From Current Changes (#4175)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-24 15:35:35 -03:00
Lucas Nogueira
d0233db317 fix(updater): pub_date is not required, defaults to N/A 2022-05-24 13:59:55 -03:00
Lucas Fernandes Nogueira
2326be3982 feat(core): update windows-rs to 0.37.0 (#4199) 2022-05-24 11:44:07 -03:00
Lucas Fernandes Nogueira
6830a73953 fix(bundler): use binary arch on appimage bundle script (#4194) 2022-05-23 11:50:22 -03:00
Lucas Fernandes Nogueira
43daeafd73 refactor: cleanup logic to get path from protocol req url, closes #4132 (#4192) 2022-05-23 09:37:50 -03:00
Lucas Fernandes Nogueira
cdfa625511 fix(cli): properly read info when using yarn 2+, closes #4106 (#4193) 2022-05-23 09:37:31 -03:00
Lucas Fernandes Nogueira
55892c35f5 fix(core): updater documentation not showing on docs.rs (#4190) 2022-05-22 14:43:03 -03:00
renovate[bot]
eedadd3ae8 chore(deps) Update dependency @tauri-apps/cli to v1.0.0-rc.11 (#4164)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-22 11:21:32 -03:00
Lucas Fernandes Nogueira
78f2565e14 fix: allow return value of fs::canonicalize on fs scope, closes #4130 (#4188) 2022-05-21 16:52:21 -03:00
Lorenzo Lewis
72700eca59 Update macOS icon based on brand guidelines design (#4171) 2022-05-21 15:57:48 -03:00
Jonas Kruckenberg
50a47f8c7a refactor(updater): replace manual parsing with struct definitions (#4162)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-21 15:49:53 -03:00
Lucas Nogueira
8539e02f7f fix(bundler): wix upgrade do not installing new files, closes #4182 2022-05-21 15:07:36 -03:00
Lucas Fernandes Nogueira
f46175d5d4 feat(core): expose option to set dialog type, closes #4183 (#4187) 2022-05-21 11:24:39 -03:00
Lucas Fernandes Nogueira
d99c5d583b fix(core): HTTP timeout not working on Windows, closes #4050 (#4185) 2022-05-21 10:54:22 -03:00
Lucas Fernandes Nogueira
ae99f99167 feat(core): expose message dialog's title option, ref #4183 (#4186) 2022-05-21 10:46:14 -03:00
Lucas Fernandes Nogueira
a7a9fde16f fix(core): account for monitor position when centering window (#4166) 2022-05-21 09:56:56 -03:00
Lucas Fernandes Nogueira
52d177543a fix(core): immediately create window when using tauri::App, closes #4170 (#4172) 2022-05-21 09:56:31 -03:00
Lucas Fernandes Nogueira
4ac7bb12e5 docs(core): improve target documentation, cleanup logic, closes #4161 (#4173) 2022-05-21 09:55:01 -03:00
Lucas Nogueira
356b3e1c46 chore(examples): use appWindow on multiwindow example 2022-05-19 16:12:37 -03:00
Lucas Fernandes Nogueira
a737f25c10 fix(tauri-build): delete existing sidecar file, closes #4134 (#4167) 2022-05-18 22:49:53 -03:00
Lucas Nogueira
b7281317ba chore(docs): split app and window implementations 2022-05-18 19:38:18 -03:00
github-actions[bot]
393c774dfd Apply Version Updates From Current Changes (#4117)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-05-18 12:53:01 -03:00
Lucas Fernandes Nogueira
cfd81bdead feat(ci): update publish-cli workflow (#4158) 2022-05-18 11:13:46 -03:00
renovate[bot]
f439557ba6 chore(deps) Update Tauri API Definitions (#4154)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-18 09:56:50 -03:00
renovate[bot]
3070d698fe chore(deps) Update Rust crate handlebars to 4.3 (#4155)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-18 09:56:23 -03:00
renovate[bot]
f608d272fe chore(deps) Update Tauri CLI (#4156)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-18 09:56:16 -03:00
renovate[bot]
7d35b7739a chore(deps) Update dependency @napi-rs/cli to v2.9.0 (#4157)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-18 09:56:05 -03:00
Lorenzo Lewis
62cb5b4d5c chore(config) Fix config links (#4153)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-18 09:53:56 -03:00
Lucas Nogueira
6c92fb0aef chore(config): adjust documentation 2022-05-17 19:15:50 -03:00
Lucas Nogueira
617f1144f3 feat(core): add App::get_cli_matches helper ref #4145 2022-05-17 18:12:40 -03:00
Md. Fahim Bin Amin
612c7341e5 Updated the Code of Conduct, Closes #4081 (#4141) 2022-05-17 14:09:28 -03:00
Lucas Fernandes Nogueira
d965b92174 fix(bundler): prevent removal of pin to taskbar on Windows (#4144) 2022-05-17 13:39:10 -03:00
Lucas Fernandes Nogueira
29d8e768aa feat(config): adjust schema for documentation website, closes #4139 (#4142)
Co-authored-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>
2022-05-17 13:38:52 -03:00
TomScavo
706fcbd39c fix(core): fileDropEnabled option is not working when creating a new WebviewWindow (#4146) 2022-05-17 13:38:40 -03:00
Lucas Fernandes Nogueira
8e1daad153 fix(bundler): set app name when signing MSI, closes #3945 (#3950) 2022-05-17 13:26:35 -03:00
Lucas Fernandes Nogueira
25aa4347b3 fix(core): prepare window icon and menu on remote URLs, closes #4131 (#4140) 2022-05-16 10:19:11 -03:00
Lucas Fernandes Nogueira
3e702cf8b1 fix(bundler): ignore duplicated files in resource iter, closes #4126 (#4129) 2022-05-15 10:01:10 -03:00
Gomes
e43ef69992 fix documentation broken url on README.md (#4107)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-05-15 09:22:37 -03:00
Lucas Fernandes Nogueira
9f2c341319 feat(core): configure msiexec display options, closes #3951 (#4061)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2022-05-15 09:02:30 -03:00
Lucas Fernandes Nogueira
1948ae53fd fix(bundler): only reinstall missing or != version files, closes #4122 (#4125) 2022-05-15 09:02:19 -03:00
Lucas Fernandes Nogueira
61e37652b9 fix(core): deadlock when creating window from IPC handler, closes #4121 (#4123) 2022-05-13 19:04:28 -03:00
renovate[bot]
b9d96096b2 chore(deps) Update Rust crate napi-build to v2 (#4103)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-13 13:11:13 -03:00
Lucas Fernandes Nogueira
e35aaebc30 feat(core): add PathResolver::resolve_resource API (#4116) 2022-05-13 11:00:34 -03:00
Lucas Fernandes Nogueira
bad85a1f11 feat(build): find .ico in config instead of default icons/icon.ico (#4115) 2022-05-13 10:39:04 -03:00
Autumn Meadow
45c4525386 fix: add mjs mime type (fix: #4098) (#4108)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-13 10:05:42 -03:00
renovate[bot]
5aff1435e1 chore(deps) Update Tauri CLI (#4100)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-13 10:03:26 -03:00
renovate[bot]
45f68291bd chore(deps) Update Tauri API Definitions (#4101)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-13 10:03:15 -03:00
renovate[bot]
353650ccd2 chore(deps) Update Tauri JS CLI (#4102)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-13 10:02:44 -03:00
Aitor Miguel Blanco
787ea09adc fix: generate windows resource directories using resource_relpath, closes #4087. (#4111)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-13 09:56:04 -03:00
Fabian-Lars
2b6c24dff9 fix link to docs in contributing guide (#4109) 2022-05-13 09:33:33 -03:00
github-actions[bot]
c8667f9ff7 Apply Version Updates From Current Changes (#4095)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-05-10 20:31:34 -03:00
Liam Segura
2b495f8736 Corrected some grammar on README (#4082) 2022-05-10 20:05:01 -03:00
Lucas Fernandes Nogueira
71a553b715 chore(deps): update wry to 0.16.2, webkit2gtk to 0.18.0 (#4099) 2022-05-10 20:04:24 -03:00
Lucas Fernandes Nogueira
c8e0e5b97d feat(tauri-runtime-wry): add plugin API (#4094) 2022-05-10 11:23:16 -03:00
Lucas Nogueira
87a2c2f8f6 chore(cli.js): update lockfile [skip ci] 2022-05-07 21:37:02 -03:00
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
691 changed files with 29572 additions and 37382 deletions

View File

@@ -1,6 +0,0 @@
[advisories]
ignore = [
"RUSTSEC-2020-0095", # difference is unmaintained (used by `mockito`)
"RUSTSEC-2020-0071", # potential segfault in the time crate (not fixed on `zip` and `mac-notification-sys`)
"RUSTSEC-2020-0159" # potential segfault in `localtime_r` invocations on the chrono crate (not fixed on `mac-notification-sys`)
]

View File

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

View File

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

View File

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

View File

@@ -1,5 +0,0 @@
---
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

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

View File

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

View File

@@ -1,6 +0,0 @@
---
"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
---
Expose `ask`, `message` and `confirm` APIs on the dialog module.

View File

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

View File

@@ -1,5 +0,0 @@
---
"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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,6 +0,0 @@
---
"api": patch
---
`WindowManager` methods `innerPosition` `outerPosition` now correctly return instance of `PhysicalPosition`.
`WindowManager` methods `innerSize` `outerSize` now correctly return instance of `PhysicalSize`.

View File

@@ -1,5 +0,0 @@
---
"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 @@
---
"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-utils": patch
---
Added `asset` allowlist configuration, which enables the `asset` protocol and defines it access scope.

View File

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

View File

@@ -1,5 +0,0 @@
---
"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

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

View File

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

View File

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

View File

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

View File

@@ -1,5 +0,0 @@
---
"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,5 +0,0 @@
---
"tauri-build": patch
---
Allow user to specify windows sdk path in build.rs.

View File

@@ -1,5 +0,0 @@
---
"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

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

View File

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

View File

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

View File

@@ -1,5 +0,0 @@
---
"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

@@ -1,5 +0,0 @@
---
"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 @@
---
"tauri": patch
---
Change `Error::ParseCliArguments(clap::Error)` to `Error::ParseCliArguments(String)` because `clap::Error` is not `Send`.

View File

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

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Allow `config` arg to be a path to a JSON file on the `dev` and `build` commands.

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Include `vswhere.exe` on the published package.

View File

@@ -1,5 +0,0 @@
---
"cli.js": patch
---
Added CommonJS output to the `dist` folder.

View File

@@ -1,5 +0,0 @@
---
"cli.js": patch
---
Fixes `.ico` icon generation.

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Add `rustup` version and active rust toolchain to the `info` command output.

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Add `Visual Studio Build Tools` installed versions to the `info` command output.

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
The inferred development server port for Svelte is now `8080` (assumes latest Svelte with `sirv-cli >= 2.0.0`).

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Detect if tauri is used from git in the `info` command.

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Drop the `dialoguer` soft fork and use the published version instead.

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Fix `build` command when executed on a 32-bit Windows machine when pulling from the `binary-releases` repo.

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
The `generate` and `sign` commands are now available under a `signer` subcommand.

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Use `tauri-utils` to get the `Config` types.

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Print warning and exit if `distDir` contains `node_modules`, `src-tauri` or `target` folders.

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Fix `tauri build` failing on Windows if `tauri.conf.json > tauri > bundle > Windows > wix > license` is used.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
The `api::process::Command` APIs are now hidden behind the `command` feature flag.

View File

@@ -3,12 +3,12 @@
"timeout": 3600000,
"pkgManagers": {
"rust": {
"errorOnVersionRange": "1.0.0-rc.100 - 99.x || ^1.1.0-0 || ^2.0.0-0",
"errorOnVersionRange": "^2.0.0-0",
"version": true,
"getPublishedVersion": "cargo search ${ pkgFile.pkg.package.name } --limit 1 | sed -nE \"s/^[^\\\"]*\\\"//; s/\\\".*//1p\"",
"prepublish": [
"sudo apt-get update",
"sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf",
"sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf",
"cargo install cargo-audit --features=fix",
{
"command": "cargo generate-lockfile",
@@ -41,7 +41,7 @@
"publish": [
"sleep 15s",
{
"command": "cargo package --allow-dirty --no-verify",
"command": "cargo package --no-verify",
"dryRunCommand": true
},
{
@@ -55,8 +55,8 @@
"pipe": true
},
{
"command": "cargo publish --no-verify",
"dryRunCommand": "cargo publish --no-verify --dry-run --allow-dirty",
"command": "cargo publish",
"dryRunCommand": "cargo publish --dry-run",
"pipe": true
},
{
@@ -72,13 +72,13 @@
],
"assets": [
{
"path": "${ pkg.path }/target/package/${ pkgFile.pkg.name }-${ pkgFile.version }.crate",
"path": "${ pkg.path }/target/package/${ pkg.pkg }-${ pkgFile.version }.crate",
"name": "${ pkg.pkg }-${ pkgFile.version }.crate"
}
]
},
"javascript": {
"errorOnVersionRange": "1.0.0-rc.100 - 99.x || ^1.1.0-0 || ^2.0.0-0",
"errorOnVersionRange": "^2.0.0-0",
"version": true,
"getPublishedVersion": "npm view ${ pkgFile.pkg.name } version",
"prepublish": [
@@ -213,49 +213,32 @@
"tauri-bundler": {
"path": "./tooling/bundler",
"manager": "rust",
"dependencies": [
"tauri-utils"
]
"dependencies": ["tauri-utils"]
},
"tauri-runtime": {
"path": "./core/tauri-runtime",
"manager": "rust",
"dependencies": [
"tauri-utils"
],
"postversion": "node ../../.scripts/covector/sync-prerelease.js ${ pkg.pkg } ${ release.type }"
"dependencies": ["tauri-utils"]
},
"tauri-runtime-wry": {
"path": "./core/tauri-runtime-wry",
"manager": "rust",
"dependencies": [
"tauri-utils",
"tauri-runtime"
],
"postversion": "node ../../.scripts/covector/sync-prerelease.js ${ pkg.pkg } ${ release.type }"
"dependencies": ["tauri-utils", "tauri-runtime"]
},
"tauri-codegen": {
"path": "./core/tauri-codegen",
"manager": "rust",
"dependencies": [
"tauri-utils"
]
"dependencies": ["tauri-utils"]
},
"tauri-macros": {
"path": "./core/tauri-macros",
"manager": "rust",
"dependencies": [
"tauri-codegen",
"tauri-utils"
]
"dependencies": ["tauri-codegen", "tauri-utils"]
},
"tauri-build": {
"path": "./core/tauri-build",
"manager": "rust",
"dependencies": [
"tauri-codegen",
"tauri-utils"
],
"dependencies": ["tauri-codegen", "tauri-utils"],
"postversion": "node ../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }"
},
"tauri": {
@@ -272,9 +255,7 @@
"cli.js": {
"path": "./tooling/cli/node",
"manager": "javascript",
"dependencies": [
"cli.rs"
],
"dependencies": ["cli.rs"],
"postversion": "node ../../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
"prepublish": [],
"publish": [],
@@ -283,20 +264,18 @@
"cli.rs": {
"path": "./tooling/cli",
"manager": "rust",
"dependencies": [
"tauri-bundler",
"tauri-utils"
],
"postversion": "cargo check"
},
"create-tauri-app": {
"path": "./tooling/create-tauri-app",
"manager": "javascript"
"dependencies": ["tauri-bundler", "tauri-utils"],
"postversion": "cargo check",
"assets": [
{
"path": "${ pkg.path }/target/package/tauri-cli-${ pkgFile.version }.crate",
"name": "${ pkg.pkg }-${ pkgFile.version }.crate"
}
]
},
"tauri-driver": {
"path": "./tooling/webdriver",
"manager": "rust",
"postversion": "node ../../.scripts/covector/sync-prerelease.js ${ pkg.pkg } ${ release.type }"
"manager": "rust"
}
}
}
}

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Change the `event` field of the `Event` interface to type `EventName` instead of `string`.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Add `tauri::api::path::log_dir` function to access the sugested log directory path.

View File

@@ -1,5 +0,0 @@
---
"tauri-runtime-wry": patch
---
Fix `window.center` panic when window size is bigger than screen size.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
The `process`, `path` and `updater` APIs now takes a `tauri::Env` argument, used to force environment variables load on startup to prevent env var update attacks.

View File

@@ -1,6 +0,0 @@
---
"tauri": patch
"api": patch
---
Now `resolve()`, `join()` and `normalize()` from the `path` module, won't throw errors if the path doesn't exist, which matches NodeJS behavior.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
**Breaking change:** Return `Window` on `App` and `AppHandle`'s `create_window` function.

View File

@@ -1,7 +0,0 @@
---
"tauri": patch
"tauri-codegen": patch
"tauri-utils": patch
---
Apply `nonce` to `script` and `style` tags and set them on the `CSP` (`script-src` and `style-src` fetch directives).

View File

@@ -1,5 +0,0 @@
---
"create-tauri-app": patch
---
Add empty description to Cargo.toml in dominator recipe.

View File

@@ -1,5 +0,0 @@
---
"create-tauri-app": patch
---
`create-tauri-app` should now be fully compatiable with CI environments.

View File

@@ -1,5 +0,0 @@
---
"create-tauri-app": patch
---
Fix crash when using `create-react-app` recipe.

View File

@@ -1,5 +0,0 @@
---
"create-tauri-app": patch
---
Fix `create-tauri-app` failing to bootstrap projects.

View File

@@ -1,5 +0,0 @@
---
"create-tauri-app": patch
---
Stop react recipe from opening in browser by default.

View File

@@ -1,5 +0,0 @@
---
'create-tauri-app': patch
---
Add SolidJS recipe using the official template.

View File

@@ -1,6 +0,0 @@
---
tauri: patch
tauri-utils: patch
---
The path returned from `tauri::api::process::current_binary` is now cached when loading the binary.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Added an API to use a custom invoke system to receive and respond to commands (`Builder#invoke_system`).

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Inject configured `CSP` on `data:` URLs.

View File

@@ -1,6 +0,0 @@
---
"tauri-utils": patch
"cli.rs": patch
---
Added `dev_csp` to the `security` configuration object.

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Kill process if `beforeDevCommand` exits with a non-zero status code.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Emit `tauri://*` events to Rust listeners.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Emit `tauri://window-created` event for windows created on the backend.

View File

@@ -1,6 +0,0 @@
---
"tauri": "patch"
"tauri-runtime-wry": patch
---
Enable non-session cookie persistence on Linux.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Expose `tauri::api::ipc::{serialize_js_with, serialize_js}` functions.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Resolve `asset` protocol HTTP request instead of panicking if the file does not exist or cannot be read.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Avoid `async_runtime::block_on` panics when used along another tokio runtime.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Fix `init` command prompting for values even if the argument has been provided on the command line.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Fixes CLI freezing when running `light.exe` on Windows without the `--verbose` flag.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Prevent window closing if `tauri://close-requested` is listened on the JS layer. Users must call `appWindow.close()` manually when listening to that event.

View File

@@ -1,7 +0,0 @@
---
"tauri-runtime-wry": patch
"tauri": patch
---
Fixes a deadlock when creating a window from a menu event handler.

View File

@@ -1,5 +0,0 @@
---
"tauri-bundler": patch
---
Fixes a deadlock on the `ResourcePaths` iterator.

View File

@@ -1,6 +0,0 @@
---
"tauri": patch
"tauri-utils": patch
---
Change default value for the `freezePrototype` configuration to `false`.

View File

@@ -1,6 +0,0 @@
---
"tauri": patch
"api": patch
---
Fixes the dialog `defaultPath` usage on Linux.

View File

@@ -1,6 +0,0 @@
---
"tauri-runtime-wry": patch
"tauri": patch
---
Fixes `WindowEvent::Focus` and `WindowEvent::Blur` events not firing.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Fixes `tauri://focus` and `tauri://blur` events not firing.

View File

@@ -1,6 +0,0 @@
---
"tauri": patch
"tauri-runtime-wry": patch
---
Use webview's inner_size instead of window's value to get the correct size on macOS.

View File

@@ -1,6 +0,0 @@
---
"tauri-utils": patch
"tauri": patch
---
Fixes resource directory resolution on Linux.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Fixes the menu id mapping not reflecting the current window.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
`Manager::once_global` and `Window::once` allow `FnOnce` callbacks.

View File

@@ -1,5 +0,0 @@
---
"cli.rs": patch
---
Fixes output directory detection when using Cargo workspaces.

View File

@@ -1,6 +0,0 @@
---
"cli.rs": patch
"cli.js": patch
---
Fixes Tauri path resolution on projects without Git or a `.gitignore` file.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Properly check if document is loaded before invoking commands.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Initialize system tray before windows so `tray_handle` can be accessed on command handlers.

View File

@@ -1,6 +0,0 @@
---
"tauri": patch
"tauri-runtime-wry": patch
---
Reimplement `remove_system_tray` on Windows to drop the `SystemTray` to run its cleanup code.

View File

@@ -1,5 +0,0 @@
---
"tauri": patch
---
Immediately listen to `tauri://window-created` event to catch it before the application triggers it.

View File

@@ -1,5 +0,0 @@
---
"api": patch
---
Fixes `window.label` property returning null instead of the actual label.

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