Commit Graph

471 Commits

Author SHA1 Message Date
Amr Bashir
acc36fe117
feat(core): add option for require_literal_leading_dot, closes #6158 (#6969)
* feat(core): add option for `require_literal_leading_dot`, closes #6158

* change to `Option<bool>`

* fix to tokens impl

* Apply suggestions from code review

Co-authored-by: Simon Hyll <hyllsimon@gmail.com>

---------

Co-authored-by: Simon Hyll <hyllsimon@gmail.com>
2023-05-18 16:11:50 +03:00
Amr Bashir
cd3846c8ce
feat(nsis): restart app after updating, closes #6955 (#6987)
* feat(nsis): restart app after updating, closes #6955

* Apply suggestions from code review
2023-05-18 16:11:31 +03:00
Amr Bashir
fd3b5a16b1
fix(cli): find correct binary when --profile is used, closes #6954 (#6979)
* fix(cli): find correct binary when `--profile` is used, closes #6954

* clippy
2023-05-17 16:17:47 +03:00
Amr Bashir
82169e69fc
fix(core): remove trailing slash in http scope url, closes #5208 (#6974)
* fix(core): remove trailing slash in http scope url, closes #5208

* fix tests

* one more tests fix

* clippy
2023-05-17 14:33:10 +03:00
Fabian-Lars
d2710e9d2e
fix(core): unpin all dependencies, closes #6944 (#6966) 2023-05-16 19:27:15 +08:00
Amr Bashir
2948820579
feat(bundler/NSIS): allow specifying custom lang files (#6867)
* feat(bundler/NSIS): allow specifying custom lang files

* add dunc as dep on all platforms

* clippy

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

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

* Update core/tauri-utils/src/config.rs

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

* schema files

---------

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-15 18:11:10 +03:00
Amr Bashir
e0c30a7e8b
refactor: use const instead of a function (#6958) 2023-05-14 17:03:40 -03:00
KurikoMoe
fb485d25a0
fix(cli): fix cli connection timeout to dev server (fix #6045) (#6046)
Fix tauri-cli connection to dev server stucks and waits for TCP timeout.
2023-05-12 15:01:24 +03:00
Amr Bashir
e092f79946
feat(bundler/nsis): allow specifying custom template, closes #6887 (#6922) 2023-05-12 14:02:07 +03:00
Simon Hyll
41e10b22fa
chore: fixed grammar and typos (#6937) 2023-05-11 02:21:15 +03:00
Ronie Martinez
96d346222f
docs: Update Github workflow status shields (#6910)
* docs: Update Github workflow status shields

* Update with name, icon and fix
2023-05-10 04:04:12 +03:00
Lucas Fernandes Nogueira
2659ca1ab4
feat(cli): add rustls as default Cargo feature (#6900) 2023-05-08 09:29:17 -03:00
chip
24490bca19
use handlebars::no_escape instead of closures (#6899) 2023-05-08 08:39:54 -03:00
github-actions[bot]
73a0ad41c7
apply version updates (#6858)
Co-authored-by: wusyong <wusyong@users.noreply.github.com>
2023-05-08 18:51:23 +08:00
Lucas Fernandes Nogueira
5053a9c4c4
fix(ci): use rustls on publish-cli-js workflow (#6847) 2023-05-03 14:59:09 -03:00
Lucas Nogueira
dafdcc9b42
fix(ci): use ubuntu-20.04 to build the CLI 2023-05-03 12:05:49 -03:00
github-actions[bot]
bf804657f5
Apply Version Updates From Current Changes (#5815)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-05-03 08:19:06 -03:00
Lucas Fernandes Nogueira
6d6b6e653e
feat: configure escaping on handlebars templates (#6678)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-05-02 09:59:59 -03:00
renovate[bot]
eae0150b0a
chore(deps) Update Rust crate serde_json to 1.0.96 (#6738)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-24 11:19:49 -03:00
Lucas Fernandes Nogueira
ee71c31fd0
feat(core): allow configuring remote domains with IPC access, closes #5088 (#5918) 2023-04-11 08:50:15 -03:00
Amr Bashir
6ff801e27d
chore: rename config-schema to tauri-config-schema (#6250)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-04-07 12:11:05 -03:00
renovate[bot]
5a1d86b346
chore(deps) Update Tauri JS CLI (#6177)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-06 21:14:04 -03:00
dependabot[bot]
919d96dd8a
chore(deps): bump openssl from 0.10.40 to 0.10.49 in /tooling/cli (#6618)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-03 10:57:03 -03:00
Miniontoby
a926b49a01
Fix Github Actions of Tauri Plugin with-api template (#6603)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-04-03 08:12:49 -03:00
Zeeshan Ali Khan
5fdc616df9
feat: Use the zbus-backed of notify-rust (#6332)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-03-31 12:36:59 -03:00
Amr Bashir
1487b18dcb
refactor: add useful diagnostics to tauri info (#6570)
* refactor: add useful diagnostics to `tauri info`

this also paves the way for interactive fixes in the future

* refactor: add useful diagnostics to `tauri info`

this also paves the way for interactive fixes in the future

* fix use_npm logic [skip ci]

* lint [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-03-31 10:23:34 -03:00
Lucas Fernandes Nogueira
54c6f158d9
chore(cli): enhance empty updater key password warning (#6558) 2023-03-31 10:13:25 -03:00
Amr Bashir
a7ee5ca7c3
fix(cli): look for available ports for built-in dev server, closes #6511 (#6514)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-03-31 10:03:38 -03:00
CzBiX
57c6bf07bb
fix(cli): fix default-run not deserialized (#6584)
* fix(cli): fix default-run not deserialized

* Create fix-cli-default-run.md

* Update .changes/fix-cli-default-run.md [skip ci]

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-03-29 14:43:16 -03:00
amrbashir
38ee5066e7
chore: update schema files 2023-03-28 16:25:33 +02:00
Elliot Waite
8c07076e25
docs: update grammer 2023-03-28 16:04:44 +02:00
Shaun Hamilton
c2867a65d8
feat: add config links to json schema (closes #5479) (#6356)
* feat(core): add config links to json schema

* feat(core): add schema builds
2023-03-17 13:17:34 -03:00
Amr Bashir
b7a2ce2c63
feat(cli): add --port, closes #6186 (#6283)
* feat(cli): add --dev-server-port, closes #6186

* add http:// prefix

* name it to `--port`

* rename in all places
2023-03-16 09:22:02 -03:00
Amr Bashir
1c8229fbe2
fix(cli.js): detect node-<version> binary, closes #6427 (#6432)
* fix(cli.js): detect `node-<version>` binary, closes #6427

* use `?` instead of `*` and escape the hyphen

Co-authored-by: TurtleIdiot <18502738+TurtleIdiot@users.noreply.github.com>

---------

Co-authored-by: TurtleIdiot <18502738+TurtleIdiot@users.noreply.github.com>
2023-03-16 09:01:41 -03:00
Lucas Fernandes Nogueira
46e6187c89
chore: update license year (#6311) 2023-02-19 10:17:49 -03:00
Amr Bashir
f6c3ea6faa
chore: simplify windows_subsystem attribute (#6273) 2023-02-18 16:23:09 -03:00
Amr Bashir
bfa69691a5
fix(cli): detect --profile. closes #6255 (#6268) 2023-02-18 16:20:21 -03:00
Lucas Fernandes Nogueira
e8014a7f61
fix(cli): do not crash on watcher (#6303) 2023-02-17 22:06:10 -03:00
dependabot[bot]
852e11e17b
chore(deps): bump tokio from 1.23.1 to 1.24.2 in /tooling/cli (#6194)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-02-08 09:15:49 -03:00
Lucas Fernandes Nogueira
a8d640b3c6
fix(core): pin unarray and os_info (#6212) 2023-02-07 20:47:31 -03:00
chip
50576a5e1e
fix 1.67 clippy warnings (compatible with MSRV) (#6179) 2023-02-01 14:24:01 -03:00
Alain Nicolas Schneble
314f0e212f
fix(cli): web_dev_server html template serialization (fix #6165) (#6166)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-29 15:12:01 -03:00
renovate[bot]
db7765edad
chore(deps) Update Tauri Codegen (#6034)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-26 11:23:08 -03:00
Fabian-Lars
d20a728892
feat: Further improve workspace inheritance, closes #6122, #5070 (#6144)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-26 10:47:23 -03:00
Amr Bashir
9da996073f
fix(cli): fix printing paths on Windows (#6137) 2023-01-26 10:45:58 -03:00
renovate[bot]
2d9936931a
chore(deps) Update Tauri JS CLI (#6138)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-26 09:24:08 -03:00
dependabot[bot]
87ea607ef4
chore(deps): bump bumpalo from 3.10.0 to 3.12.0 in /tooling/cli (#6118)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 18:10:07 -03:00
Fabian-Lars
60e6f6c3f1
feat(bundler): Add support for creating NSIS bundles on unix hosts (#5788)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-19 15:42:40 -03:00
Amr Bashir
35b587c830
feat: add languages support for nsis (#6039)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-19 14:39:53 -03:00
Lucas Nogueira
d4f89af18d
feat: skip password prompt on the build command if CI is set fixes #6089 2023-01-18 23:54:30 -03:00
Amr Bashir
8fb1df8aa6
feat(cli): add --ci flag to signer generate, closes #6089 (#6097)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-18 23:43:37 -03:00
renovate[bot]
581b515e08
chore(deps) Update Tauri JS CLI (#6088)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-18 22:39:44 -03:00
Lucas Nogueira
a822a6ad74
chore: update versions after ignore=0.4.18 patch 2023-01-18 21:47:26 -03:00
Lucas Nogueira
6ed2b04872
chore(deps): revert phf to 0.10 2023-01-17 13:26:22 -03:00
Lucas Nogueira
7ccfa2fb0b
chore(deps): pin ignore to =0.4.18 2023-01-17 13:10:09 -03:00
Lucas Nogueira
1b9f0ec350
fix(core): adjust aes_gcm usage 2023-01-17 13:09:49 -03:00
Amr Bashir
0b4882ed92
fix(cli/node): add json5 resolution, fix audit ci (#5991) 2023-01-16 22:55:18 -03:00
dependabot[bot]
ca3a53005a
chore(deps): bump tokio from 1.21.2 to 1.23.1 in /tooling/cli (#5997)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 22:47:48 -03:00
Amr Bashir
7aab3e2076
fix(cli.rs): improve rustc not found error msg (#6021) 2023-01-16 22:41:05 -03:00
dependabot[bot]
05662b3129
chore(deps): bump bzip2 from 0.4.3 to 0.4.4 in /tooling/cli (#6028)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 22:40:44 -03:00
renovate[bot]
8ac2f412be
chore(deps) Update Tauri JS CLI (#6032)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-16 22:40:21 -03:00
Fabian-Lars
b08ae637a0
fix(cli): remove default features from template (#6074) 2023-01-16 21:43:29 -03:00
matthme
72aa17f79a
added additional information to AllowlistConfid documentation (#5985)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-04 18:21:26 -03:00
renovate[bot]
4b9a5af3cf
chore(deps) Update dependency @napi-rs/cli to v2.14.1 (#5977)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-04 10:10:51 -03:00
Amr Bashir
c94e1326a7
feat(bundler): add nsis, closes #4450, closes #2319 (#4674)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-03 14:29:20 -03:00
dependabot[bot]
6d5dc9489c
chore(deps): bump json5 from 2.2.0 to 2.2.2 in /tooling/cli/node (#5949)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-31 12:55:52 -03:00
renovate[bot]
281714e567
chore(deps) Update dependency @napi-rs/cli to v2.14.0 (#5930)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-31 12:48:50 -03:00
Amr Bashir
0d5835d133
chore: update plugin example based on CTA (#5213)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-27 14:32:29 -03:00
Darin Morrison
3f35b45263
Expose wry navigation_handler via WindowBuilder closes #4080 (#5686)
Co-authored-by: silvanshade <silvanshade@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-27 12:54:57 -03:00
renovate[bot]
bf550f94cc
chore(deps) Update Tauri JS CLI (#5882)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 10:39:55 -03:00
khuongduy354
9d2144128f
feat(cli): add option to make custom icon sizes, closes #5121 (#5246)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-27 10:34:20 -03:00
Amr Bashir
72621892fe
fix(cli): use unicode feature for heck crate, closes #5860 (#5872) 2022-12-26 11:38:13 -03:00
Amr Bashir
c2608423b6
fix(cli): don't panic when a crate version couldn't be parsed (#5873)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-12-26 11:35:04 -03:00
Lucas Nogueira
14d567f7ec
chore: update tauri changelog 2022-12-22 11:35:29 -03:00
Lucas Nogueira
4f2fd4dcf7
chore: run cargo fmt 2022-12-15 18:40:57 -03:00
Lucas Nogueira
cf0986491c
chore(cli): fix clippy warnings 2022-12-15 18:30:32 -03:00
Lucas Nogueira
015020760a
chore: fix clippy warnings 2022-12-15 18:03:28 -03:00
Fabian-Lars
cd8c074ae6
feat(cli): add support for Cargo's workspace inheritance for the package version, closes #5070 (#5775)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-14 13:39:05 -03:00
Noam Zaks
3dc38b150e
feat(core): expose additional_browser_args to window config (fix: #5757) (#5799)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-14 11:46:24 -03:00
renovate[bot]
28133c5155
chore(deps) Update dependency @napi-rs/cli to v2.13.2 (#5827)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 09:01:29 -03:00
Amr Bashir
4ab5545b7a
feat: add content protection api, closes #5132 (#5513)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-13 01:04:22 -03:00
Lucas Fernandes Nogueira
d0d873e39a
feat(core): add support to mailto: and tel: links, closes #5521 (#5544) 2022-12-13 00:57:39 -03:00
github-actions[bot]
75a0c79dea
Apply Version Updates From Current Changes (#5710)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-12-08 11:57:21 -03:00
Avaab Razzaq
9e7ce0a8ee
feat(cli): detect SolidJS and SolidStart (#5758) 2022-12-08 09:47:32 -03:00
Lucas Nogueira
ffe21e0225
chore(cli): rerun build on template changes 2022-12-07 16:30:35 -03:00
renovate[bot]
7225501c13
chore(deps) Update dependency prettier to v2.8.1 (#5777)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-07 16:27:02 -03:00
Lucas Fernandes Nogueira
9d872ab872
feat(cli): detect SvelteKit and Vite (#5742) 2022-12-02 08:18:28 -03:00
renovate[bot]
2a0b2cea03
chore(deps) Update dependency fs-extra to v11 (#5727)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-30 11:30:53 -03:00
renovate[bot]
677db85877
chore(deps) Update Tauri JS CLI (#5678)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-30 11:10:54 -03:00
Amr Bashir
c0989848b9
feat(cli/dev): add --no-dev-server, ref #5708 (#5722) 2022-11-30 10:34:51 -03:00
Fabian-Lars
2d545eff58
fix(cli): corrupted icons in bundled macOS icons (#5698)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-11-28 08:57:32 -03:00
github-actions[bot]
527bd9feea
Apply Version Updates From Current Changes (#5644)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-11-24 12:52:54 -03:00
renovate[bot]
a883c31088
chore(deps) Update dependency jest to v29.3.1 (#5594)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-20 09:37:57 -03:00
Lucas Nogueira
1ecaeb29aa
fix(cli): inject config feature flags when features arg is not provided 2022-11-18 13:12:50 -03:00
Fabian-Lars
5fe68b1cec
docs: Various docs improvements (#5643) 2022-11-17 18:47:54 -03:00
Lucas Fernandes Nogueira
6e879742f0
feat(ci): improve cache, add test-core features matrix (#5604) 2022-11-10 17:30:10 -03:00
Orhun Parmaksız
a836373328
chore: fix a typo in changelog (#5580) 2022-11-08 23:23:25 +02:00
Lucas Nogueira
2e1bd04775
fix(cli.js): set version to 1.2.0 2022-11-08 10:33:33 -03:00
github-actions[bot]
45a5cd569b
Apply Version Updates From Current Changes (#5295)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-11-08 09:24:09 -03:00
renovate[bot]
e7078a3030
chore(deps) Update dependency jest to v29 (#5542)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-04 18:29:15 -03:00