Commit Graph

1880 Commits

Author SHA1 Message Date
Amr Bashir
ef21b681e2
refactor(api): generate types next to modules (#8391)
* refactor(api): generate types next to modules"

this fixes an issue with `moduleResolution: node`

* change file

* Update api-moduleresolution-node.md
2023-12-14 13:27:31 -03:00
Amr Bashir
c1bc4d2948
chore(cli/help): mention the need for a second -- in tauri dev (#8388)
* chore(cli/help): mention the need for a second `--` in `tauri dev`

ref: https://github.com/tauri-apps/tauri/issues/8382#issuecomment-1854016310

* add example to clarify [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-12-14 09:20:52 -03:00
github-actions[bot]
f9c97b7e5b
Apply Version Updates From Current Changes (v1) (#8377)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2023-12-13 14:43:54 -03:00
Amr Bashir
5ff9d4592a
fix(bundler/nsis): only kill processes of current user (#8390)
* fix(bundler/nsis): only kill processes of current user

Co-authored-by: FabianLars-crabnebula <fabianlars@crabnebula.dev>

* change file

---------

Co-authored-by: FabianLars-crabnebula <fabianlars@crabnebula.dev>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-12-13 18:57:32 +02:00
Amr Bashir
30adc8d45d
ci: fix publish @tauri-apps/api to latest instead of next (#8371)
* ci: fix publish `@tauri-apps/api` to `latest` instead of `next`

closes #8335

* just remove tag
2023-12-12 12:17:11 +02:00
Amr Bashir
777ddf434a
fix(bundler): unset NSISDIR and NSISCONFDIR when running makensis (#8376)
closes #8359
2023-12-12 12:17:03 +02:00
Sean Boult
803c3a794d
feat(cli): expose CLI signer flags as environment variables (#8327)
* feat(cli): expose signer flags as environment variables

* Update .changes/cli-signer-env-vars.md
2023-12-12 11:13:30 +02:00
Ananth
b6ca8885ff
feat(cli): improve error message with invalid target for build (#8321) 2023-12-12 00:06:43 +02:00
amrbashir
14e29f320d
chore: update tauri-cli lock file 2023-12-01 04:27:26 +02:00
github-actions[bot]
61cc7d9c5a
Apply Version Updates From Current Changes (v1) (#8203)
* apply version updates

* fmt

---------

Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
2023-12-01 03:05:05 +02:00
i-c-b
977a39f4f7
fix(bundler): migrate WebView2 offline installer to shorturl (#8292) 2023-11-29 03:51:42 +02:00
Chase Knowlden
c34710de67
fix: Fix archived links, Closes #8302 (#8315) 2023-11-29 03:41:41 +02:00
阿良仔
f78e5e4d4a
refactor: replace once_cell with std::sync::OnceLock (#8309)
Our MSRV is currently 1.70 and these new types were introduced in 1.70
2023-11-29 01:12:03 +02:00
Lucas Fernandes Nogueira
32bf201655
fix(bundler): lint and cleanup for #7964 (#8275) 2023-11-20 21:09:01 -03:00
Andrew
b0c5b06d06
feat(bundler): add dmg settings, closes #4669 (#7964) 2023-11-20 18:26:02 -03:00
Amr Bashir
3b91e236c6
refactor(tauri-utils)!: remove windows_version and is_windows_7 (#8271)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-11-20 18:21:42 -03:00
Amr Bashir
46451aee13
fix(api): add top-level main, module and types fields (#8268) 2023-11-20 18:13:50 -03:00
Amr Bashir
5046270273
fix(api): add top-level main, module and types fields (#8267) 2023-11-20 18:12:52 -03:00
Fabian-Lars
c2ad4d28c4
refactor(api)!: Rename primitives mod to core (#8273) 2023-11-20 17:53:13 -03:00
github-actions[bot]
3acf0d2ba4
Apply Version Updates From Current Changes (#8140)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-11-20 15:11:24 -03:00
Fabian-Lars
f26d9f0884
fix(bundler/nsis): remove empty resources folders on uninstall (#8263)
* fix(bundler/nsis): remove empty resources folders on uninstall

* make clippy happy for once
2023-11-20 14:43:47 +02:00
renovate[bot]
8accd6940e
chore(deps) Update Rust crate handlebars to 4.5 (1.x) (#8231)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-19 08:58:27 -03:00
Amr Bashir
f93148eac0
feat: add tray and menu javascript APIs and events, closes #6617 (#7709)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-11-19 08:38:24 -03:00
Fabian-Lars
92bc7d0e16
fix(bundler/nsis): calculate estimated size on build system (#8233)
* fix(bundler): Fix nsis installer taking longer than expected to install resources

* create dir structure for resources before extracting files

* calculate size in rust on the build system

* i'm sorry clippy, i programmed in unholy languages where += wasn't a thing so i forgot it exists in rust...

* i'm a better clippy than clippy🌚
2023-11-15 20:53:15 +02:00
renovate[bot]
626121e7bf
chore(deps) Update Tauri CLI (1.x) (#8193)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-11-13 23:58:27 -03:00
Lucas Fernandes Nogueira
92b50a3a39
fix(cli): add support to Xcode's archive (#8209) 2023-11-13 22:35:43 -03:00
Lucas Fernandes Nogueira
977d0e52f1
fix(cli): IDE failing to read CLI options on build --open commands (#8202) 2023-11-13 22:34:37 -03:00
renovate[bot]
f964cbdb93
chore(deps) Update dependency eslint to v8.53.0 (1.x) (#8189)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-13 21:45:24 -03:00
renovate[bot]
ecb5b0c21d
chore(deps) Update Tauri API Definitions (dev) (#8187)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-13 21:45:07 -03:00
renovate[bot]
0f7b2c4298
chore(deps) Update Rust crate tempfile to 3.8.1 (1.x) (#8188)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-13 21:43:45 -03:00
i-c-b
b7add750ef
Fix file-drop event payload (#8204)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-11-13 21:40:59 -03:00
Lucas Fernandes Nogueira
25e5f91dae
feat(cli): merge user-defined plist with the iOS plist file (#8200) 2023-11-13 21:12:44 -03:00
Merlin Gough
14544e4b87
fix(api): avoid crashing in clearMocks, closes #8179 (#8219)
* fix(api): do nothing in clearMocks if __TAURI_INTERNALS__ is not defined (fix: #8179)

Prevents tests that didn't define any mocks from failing in `afterEach` test hook.

* Update fix-clearmocks.md

* check for indvidiual properties instead
2023-11-13 17:48:54 +02:00
Tai Zeming
adc3cc2ffa
chore(deps): replace deprecated rollup-plugin-terser with @rollup/plugin-terser (#8194) 2023-11-13 17:13:01 +02:00
Olivier Lemasle
1d5aa38ae4
fix(cli): Fixes errors on command output, closes #8110 (#8162)
Fixes #8110
2023-11-09 15:34:16 -03:00
renovate[bot]
88ee0d8a04
chore(deps) Update Tauri CLI (dev) (#8097)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-11-09 08:31:32 -03:00
Vitor Ayres
88dac86f3b
fix: (cli) format plugin string to snake case, closes #8017 (#8149)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-11-07 22:56:39 -03:00
Lucas Fernandes Nogueira
bfbbefdb9e
fix(cli): invalid plugin template (#8161) 2023-11-07 22:56:21 -03:00
renovate[bot]
fc571ea2ce
chore(deps) Update Rust crate tempfile to 3.8.1 (dev) (#8150)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-07 13:57:43 -03:00
renovate[bot]
3ed6b3ef37
chore(deps) Update Tauri API Definitions (dev) (#8151)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-07 13:57:28 -03:00
moka-ayumu
34196e25c4
fix(bundler): modify version in output file name when bundling wix (#8182)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-11-07 10:08:30 -03:00
fetzsav
50f7ccbbf3
[feat (issue #6389)] make tauri icon support SVGs (#6444)
Co-authored-by: Fetzer <fetz@fetzverse.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2023-11-07 09:58:01 -03:00
i-c-b
416370a627
enhance(docs): Document Windows-specific icon behaviour (#8153) 2023-11-06 20:12:26 -03:00
ShoreCN
fd532da899
refactor: Optimize Simplified Chinese language content (#8137) 2023-11-06 19:10:20 -03:00
Lucas Fernandes Nogueira
01a7a983ab
feat(cli): transform paths into relative for the mobile IDE script (#8128) 2023-10-30 10:53:18 -03:00
github-actions[bot]
b5e1334149
Apply Version Updates From Current Changes (#8131)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-10-28 18:06:44 -03:00
Fabian-Lars
822bf15d6b
fix(api): include tslib dist in api package (#8130) 2023-10-28 17:40:38 -03:00
github-actions[bot]
618c4538ea
Apply Version Updates From Current Changes (#8064)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-10-28 15:04:15 -03:00
Lucas Fernandes Nogueira
74d2464d0e
refactor(core): implement on_page_load event using wry hook (#8116) 2023-10-27 10:00:59 -03:00
renovate[bot]
4077946229
chore(deps) Update dependency @types/node to v20.8.8 (dev) (#8098)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-26 13:42:30 -03:00
renovate[bot]
b6ef1fab0e
chore(deps) Update Tauri API Definitions (1.x) (#8100)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-26 13:42:15 -03:00
renovate[bot]
bf859859d6
chore(deps) Update Rust crate libflate to v2 (1.x) (#8106)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-26 13:33:01 -03:00
Lucas Fernandes Nogueira
6e75863041
fix(api): adjust documentation for mockConvertFileSrc (#8111) 2023-10-26 15:28:48 +03:00
Lucas Fernandes Nogueira
a635ec2345
feat(cli): add unit test for empty updater private key password (#8096) 2023-10-25 19:13:48 -03:00
github-actions[bot]
ae75004cee
Apply Version Updates From Current Changes (v1) (#8065)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-10-23 21:20:02 -03:00
Amr Bashir
a0f7b88fd8
build(api.js): simplify output JS files (#8025)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-23 18:22:00 -03:00
Fabian-Lars
5264e41db3
fix(deps): Downgrade minisign to 0.7.3 again (#8082) 2023-10-23 15:12:00 -03:00
Lucas Fernandes Nogueira
198abe3c2c
feat(plugins): typed invoke arguments for mobile plugins (#8076) 2023-10-23 14:09:42 -03:00
dependabot[bot]
a74ff464bb
chore(deps): bump rustix from 0.37.23 to 0.37.26 in /tooling/bench (#8070)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-22 11:14:57 -03:00
Olivier Lemasle
fec89434d8
fix(ci): Fix bench job (#8045)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-10-22 11:13:32 -03:00
Konstantin Azizov
287066b279
fix(api): do nothing in clearMocks if __TAURI_INTERNALS__ is not defined (#8071) 2023-10-21 14:51:08 -03:00
Lucas Nogueira
c6c59cf237
Merge branch '1.x' into dev 2023-10-20 08:56:02 -03:00
renovate[bot]
5f75ebbbbb
chore(deps) Update Tauri CLI (1.x) (#8051)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-10-20 02:26:11 +00:00
renovate[bot]
78586968a8
chore(deps) Update Tauri Bundler (dev) (#8047)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-20 00:00:07 +00:00
Johannes Velde
cfe6fa6c91
feat(lang) added german language (#8061) 2023-10-19 22:47:34 +00:00
github-actions[bot]
ae13be2d17
Apply Version Updates From Current Changes (v1) (#8062)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-10-19 16:48:27 +00:00
github-actions[bot]
d16206a086
Apply Version Updates From Current Changes (#8005)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-10-19 16:04:21 +00:00
Lucas Fernandes Nogueira
3880b42d18
feat(bundler): enhance notarization error message (#7974) 2023-10-19 15:56:20 +00:00
Lucas Fernandes Nogueira
9bead42dbc
feat(cli): allow rotating updater private key (#8059) 2023-10-19 15:43:48 +00:00
renovate[bot]
c90ee65dbf
chore(deps) Update Tauri CLI (dev) (#7630)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-19 11:14:23 -03:00
Olivier Lemasle
2da043f04d
fix: improve French translations for nsis installer (cherry-pick #7523 on 1.x) (#8058)
Co-authored-by: Stanislas Michalak <stanislas-m@users.noreply.github.com>
2023-10-19 10:48:16 -03:00
Lucas Fernandes Nogueira
ebcc21e4b9
refactor: change prefix of hook env vars to TAURI_ENV_, closes #8054 (#8057) 2023-10-19 10:46:04 -03:00
renovate[bot]
620b7a5d2f
chore(deps) Update Tauri API Definitions (dev) (#7633)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-18 13:32:10 -03:00
renovate[bot]
de985bad18
chore(deps) Update Tauri Bundler (1.x) (#7639)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-18 13:26:24 -03:00
renovate[bot]
a76588df75
chore(deps) Update Rust crate log to 0.4.20 (dev) (#7629)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-18 13:10:39 -03:00
Lucas Fernandes Nogueira
be8e5aa307
fix(cli): duplicated newlines on child process output (#8042) 2023-10-18 15:29:12 +00:00
renovate[bot]
5c0eeb40c1
chore(deps) Update Tauri API Definitions (dev) (major) (#7638)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-18 10:37:30 -03:00
renovate[bot]
94bef1c705
chore(deps) Update Tauri CLI (1.x) (#7641)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-18 09:48:30 -03:00
Andre Lew
c1ec0f1551
feat(core): expose always_on_bottom, closes #7847 (#7933)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-18 09:47:24 -03:00
Jason Tsai
c085addab5
feat: set application progress bar, close #7999 (#8009)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 16:25:30 -03:00
Amr Bashir
fb10b87970
feat: move app plugin back to core (#8039)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 15:13:47 -03:00
Amr Bashir
99865d9e9a
refactor(cli): cleanup info command (#7204)
Co-authored-by: martin frances <martinfrances107@hotmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 13:09:59 -03:00
github-actions[bot]
550173aaf5
Apply Version Updates From Current Changes (v1) (#8022)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 12:29:33 -03:00
Amr Bashir
ed32257d04
feat(windows): add tabbed effect (#7794)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-10-17 12:29:10 -03:00
Lucas Fernandes Nogueira
880266a7f6
chore: bump MSRV to 1.70 (#8031) 2023-10-17 11:08:15 -03:00
Amr Bashir
a63e71f979
refactor(core&api)!: hide internal functions and reuse them in api.js & rename tauri module to primitives (#7942)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 09:40:20 -03:00
Amr Bashir
2b0212af49
feat(api): add mock for convertFileSrc, closes #7935 (#7961)
* feat(api): add mock for `convertFileSrc`, closes #7935

* fix lint

* Update tooling/api/src/mocks.ts

* fmt
2023-10-17 15:33:44 +03:00
Amr Bashir
8b166e9bf8
refactor!: consistent environment variables (#7949)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 09:17:02 -03:00
Amr Bashir
c9a9246c37
feat: move window plugin back to core (#8007)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 08:33:23 -03:00
dependabot[bot]
f12306af5f
chore(deps): bump @babel/traverse from 7.17.0 to 7.23.2 in /tooling/cli/node (#8026)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.17.0 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 06:02:26 +03:00
Amr Bashir
2fe8782ad4
refactor: enhance the descriptions of CLI commands, closes #7572 (#7952)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-16 09:44:23 -03:00
Amr Bashir
d6e10e216e
chore: rename webview2 offline installer guid consts for more clarity (#8001) 2023-10-16 09:13:32 -03:00
Amr Bashir
9d40840299
chore: update tauri-cli lock file (#8015) 2023-10-16 08:50:11 -03:00
Olivier Lemasle
113bcd7b68
fix(bundler): In .deb packages, set uid=0 for all files (#7980) 2023-10-16 08:33:06 -03:00
Caijinglong
d0ae67503c
fix(bundler): read proxy when downloading resources. (#8012)
* fix(bundler): read http_proxy env when downloading resources.

Signed-off-by: CaiJingLong <cjl_spy@163.com>

* Update .changes/add-proxy-for-nsis-download.md

* Update add-proxy-for-nsis-download.md

* Update tooling/bundler/src/bundle/windows/util.rs

---------

Signed-off-by: CaiJingLong <cjl_spy@163.com>
2023-10-13 15:06:34 +03:00
github-actions[bot]
441eb4f4a5
Apply Version Updates From Current Changes (v1) (#7988)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-10-11 17:27:37 +00:00
Amr Bashir
4caa1cca99
refactor(cli): enhance plugin subcommand, closes #7749 (#7990)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-10-11 15:34:33 +00:00
i-c-b
f552c1796a
fix(bundler): WebView2 offline installer GUID changes (#7998) 2023-10-11 10:50:21 +00:00
github-actions[bot]
1241014a46
Apply Version Updates From Current Changes (v1) (#7960)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
fix(bundler): team ID is now required for notarytool via app password (#7972)
fix(bundler): team ID is now required for notarytool via app password (#7972)"
2023-10-08 11:12:42 +00:00
github-actions[bot]
713f84db2b
Apply Version Updates From Current Changes (#7823)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-10-08 10:03:49 +00:00