Commit Graph

912 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
1878766f7f
feat(cli): migrate allowlist to new ACL (#8667) 2024-01-24 16:57:40 -03:00
Lucas Fernandes Nogueira
c77b40324e
refactor(core): add support to multiple webviews on a Tauri window (#8280)
* feat: update to latest wry

* wry dev branch [skip ci]

* fix linux [skip ci]

* refactor(runtime): split webview and window types

* split dispatch

* implement create_webview

* move webview message

* wip webview mod

* create webview manager, finish webview struct and builder

* fix tests and docs

* rename WindowUrl to WebviewUrl

* update examples

* event refactor

* update JS API

* fix events

* update example

* add WebviewWindow class on JS

* fix macos build

* allow creating window+webview on the same runtime call

* rename tauri://window-created to tauri://webview-created

* Window::add_child

* use inner_size from webview on macOS

* add multiwebview example

* automatically resize webviews on window resize

* fix tests

* set_position, set_size

* position, size getters

* set_focus

* add close fn

* update mock runtime

* lint [skip ci]

* fix inner_size getter [skip ci]

* import hwnd [skip ci]

* update webview bound ratios on set_size/set_position

* add auto_resize option

* fix android

* fix build on windows

* typo

* with_webview isnt desktop only

* add WebviewWindow rust struct (and builder)

* fix build on android

* license header

* fix macos/windows

* fix macos build

* resolve todo

* handle window not found

* hide unstable features

* document unstable feature [skip ci]

* webview plugin permissions

* hide more stuff

* fix doctests

* typos

* add change files

* fix examples

* rename hook
2024-01-24 11:05:18 -03:00
tweidinger
3c2f79f6f3
Tauri ACL/Allowlist v2 Implementation and Plugin System Refactor (#8428)
* tauri-plugin concept

* wip

* move command module to its own directory

* wip: new command traits and generated code

* wip: whip

* wip: static dispatch

there is a man standing behind me

* wip

* re-add authority

* fix build [skip ci]

* parse plugin permissions

* merge permission files [skip ci]

* parse capabilities [skip ci]

* resolve acl (untested) [skip ci]

* split functionality, add some docs

* remove command2 stuff

* actually check runtime authority

* small fixes [skip ci]

* add function to auto generate basic permission for a command [skip ci]

* retrieve command scope, implement CommandArg [skip ci]

* fix tests [skip ci]

* global scope

* lint

* license headers [skip ci]

* skip canonicalize

* separate scope type in example

* remove inlinedpermission struct [skip ci]

* permission file schema

* capabilities schema

* move items from tauri-plugin to tauri-utils

this allows tauri-plugin to depend on tauri directly again
which will be used by the runtime feature as a superset to
existing plugin traits

* enable schema and glob [skip ci]

* fix glob [skip ci]

* fix capability schema [skip ci]

* enhance schema for permission set possible values [skip ci]

* permission set can reference other sets [skip ci]

* setup tests for resolving ACL

* fixture for permission set [skip ci]

* remote context test and small fix[skip ci]

* ignore empty scope [skip ci]

* code review [skip ci]

* lint [skip ci]

* runtime fixes

* readd schema feature on tauri-config-schema [skip ci]

* remove plugin example from workspace, it breaks workspace features resolution [skip ci]

* scope as array, add test [skip ci]

* accept new shapshot [skip ci]

* core plugin permissions, default is now a set

* license headers

* fix  on windows

* update global api

* glob is no longer optional on tauri-utils

* add missing permissions on api example [skip ci]

* remove ipc scope and dangerous remote access config

* lint

* fix asset scope usage

* create out dir [skip ci]

* reuse cargo_pkg_name [skip ci]

* capability window glob pattern [skip ci]

* add platforms for capability [skip ci]

* per platform schema [skip ci]

* lint [skip ci]

* rename allowlist build mod [skip ci]

* check restricted visibility

* simplify capability target [skip ci]

* hide codegen build behind tauri-build::try_run

* optimize build scripts [skip ci]

* fix tests

* tests for RuntimeAuthority::resolve_access

* remote domain glob pattern

* lint

---------

Co-authored-by: Chip Reed <chip@chip.sh>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-01-22 21:24:15 -03:00
Naman Garg
7aa30dec85
feat: Add Section, Priority and Changelog options (#8620)
* Init section, priority and changelog

* Add section. priority and changelog support

* fix variable name

* Add .changes file

* Fix Formatting

* Apply suggestions from code review
2024-01-17 04:21:46 +02:00
github-actions[bot]
e0b38d7434
Apply Version Updates From Current Changes (#8438)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2024-01-16 18:11:50 -03:00
Ning Sun
ef9fb982f8
feat: upgrade handlebars to 5.0 (#8615) 2024-01-16 17:21:18 +02:00
Fabian-Lars
b546b42db7
fix(core): Retain order of map keys in ipc, fixes #7922 (#8577)
* fix(core): Retain order of map keys in ipc, fixes #7922

* enable dep on http-api feature instead of http-request

* Create fix-formbody-order.md

* Update fix-formbody-order.md
2024-01-10 21:03:25 +02:00
Fabian-Lars
67d7877f27
fix(cli): Watch workspace members if tauri dir is workspace root (#8520)
* fix(cli): Watch workspace members if tauri dir is ws root

See title. This PR also includes a fix/workaround for paths with funny characters that may not make the glob expansion panic.

Fixes #8509

* extract into function

* cleanup
2024-01-04 01:37:05 +02:00
Lucas Fernandes Nogueira
0ec28c39f4
feat(cli): migrate tauri-build version (#8529)
* feat(cli): migrate tauri-build version

This changes the migrate command to also migrate the tauri-build dependency to v2, previously it only updated the tauri dependency.

* lint
2024-01-02 15:24:50 -03:00
Palash Bansal
27bad32d4d
feat: Add files field in macos build config, closes #3290 (#7798)
* Add appContents field in macos tauri config.

* Change MacConfig::appContents to MacConfig::files to make it similar to DebConfig::files.

* Change appContents to files in helloworld/tauri.conf.json

* use common::copy_dir helper

* add change files [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-12-28 12:10:50 -03:00
Amr Bashir
4f73057e6f
refactor!: match target triple for TAURI_ENV_ARCH (#8486)
* refactor!: match target triple for `TAURI_ENV_ARCH`

* fix build

* Update .changes/cli-hooks-env-vars-breaking.md

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

* Update tooling/cli/ENVIRONMENT_VARIABLES.md

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

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-12-28 12:10:12 -03:00
Olivier Lemasle
091100acbb
feat(bundler): Add RPM packaging, closes #4402 (#5202)
* feat(bundler): Add RPM packaging

* feat(bundler): Update 'rpm' to 0.13.1

* Fix fmt
2023-12-23 18:38:15 +01:00
Lucas Fernandes Nogueira
7e4580afed
fix(cli): remove test only relevant to v1 branch, adjust migration test (#8451) 2023-12-20 18:35:50 -03:00
Fabian-Lars
41990cd344
fix(cli): Handle target triples with 4 components (#8448)
* fix(cli): Handle target triples with 4 components

Follow up of #8321 which broke the `TAURI_ENV_` vars for linux, windows and ios-sim

* use host for platform as is

* clippy
2023-12-20 14:14:49 -03:00
github-actions[bot]
5966812735
Apply Version Updates From Current Changes (v1) (#8396)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-12-20 13:50:17 -03:00
Fabian-Lars
0a2175eabb
fix(cli): expand globs in workspace member paths (#8439)
* fix(cli): Expand globs in workspace member paths

fixes #8403

* unusued import

* into_iter

* return error instead of of empty vec

* Update dev-watcher-glob.md
2023-12-20 15:57:10 +02:00
Lucas Nogueira
a9b87c057d
Merge branch '1.x' into dev 2023-12-19 13:52:53 -03:00
Lucas Nogueira
6cd6d3fb32
chore(utils): add change file for #7964 2023-12-19 12:48:05 -03:00
github-actions[bot]
e44b36fea4
Apply Version Updates From Current Changes (#8274)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-12-19 11:03:26 -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
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
阿良仔
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
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
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
Lucas Fernandes Nogueira
25e5f91dae
feat(cli): merge user-defined plist with the iOS plist file (#8200) 2023-11-13 21:12:44 -03: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
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
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]
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
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
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
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
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
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
Lucas Fernandes Nogueira
be8e5aa307
fix(cli): duplicated newlines on child process output (#8042) 2023-10-18 15:29:12 +00: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
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
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
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
9d40840299
chore: update tauri-cli lock file (#8015) 2023-10-16 08:50:11 -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
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
Lucas Fernandes Nogueira
b2f17723a4
feat(cli): use devicetl to connect with iOS 17 devices (#7971) 2023-10-07 14:16:27 -03:00
Lucas Fernandes Nogueira
40d340021c
fix(bundler): team ID is now required for notarytool via app password (#7972) 2023-10-06 14:33:49 -03:00
Amr Bashir
1c9f3db916
chore: change tauri-mobile to cargo-mobile2 (#7953) 2023-10-05 19:30:56 +00:00
Lucas Fernandes Nogueira
d735324df0
fix(cli): deadlock regression from #7802 (#7948) 2023-10-03 11:46:20 -03:00
Amr Bashir
b597aa5f39
feat: add id option for tray icon in config file (#7871)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2023-10-03 10:18:19 -03:00
martin frances
44e8a562a2
fix: Cleared warnings seen while running ``cargo doc`` (#7862) 2023-10-03 08:37:54 -03:00
github-actions[bot]
19249d78fb
Apply Version Updates From Current Changes (v1) (#7938)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-10-02 13:16:57 -03:00
github-actions[bot]
a3277a245c
Apply Version Updates From Current Changes (v1) (#7924)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2023-09-30 04:41:23 +03:00
github-actions[bot]
0af553da72
Apply Version Updates From Current Changes (v1) (#7261)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-09-28 14:01:19 -03:00
Lucas Fernandes Nogueira
228e5a4c76
fix(cli): icons not added to the Android project (#7902) 2023-09-26 15:22:23 -03:00
Fabian-Lars
d1858de7a0
fix(cli): help output mixed up for private-key and private-key-path (#7901) 2023-09-26 14:41:32 -03:00
Fabian-Lars
9aa34ada57
feat(core): Allow http origin on Windows, fixes: #3007 (#7645)
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-09-26 14:40:38 -03:00
Fabian-Lars
e8ff6b153e
docs: change icon help output to ask for 1024px source icons, closes #7886 (#7896) 2023-09-25 14:44:27 +03:00
Trey Smith
2f8881c010
feat: add team_id option for apple notarization (#7775)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-09-15 08:30:27 -03:00
i-c-b
100d9ede35
fix(core): Correctly detect Android Tauri configuration file, closes #7785 (#7802)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-09-12 13:18:23 -03:00
github-actions[bot]
3c66a53a9e
Apply Version Updates From Current Changes (#7811)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-09-11 13:00:21 -03:00
Lucas Fernandes Nogueira
d5074af562
fix: custom protocol on Windows, change scheme on Android, closes #7801 (#7808) 2023-09-11 12:25:06 -03:00
github-actions[bot]
a6a42f8f0a
Apply Version Updates From Current Changes (#7770)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-09-08 11:49:37 -03:00
Lucas Fernandes Nogueira
4cb51a2d56
refactor(core): custom protocol on Windows now uses the http scheme (#7779) 2023-09-07 19:57:16 -03:00
Jason Tsai
e3bfb01411
feat(nsis): support choosing compression algorithms, closes #7685 (#7776) 2023-09-07 18:45:15 +03:00
Lucas Fernandes Nogueira
dfbbca423b
feat(bundler): try to find API key file for notarization, ref #7616 (#7771) 2023-09-07 10:01:12 -03:00
Lucas Fernandes Nogueira
974e38b4dd
refactor(cli): rename plugin add command to add (#7744) 2023-09-07 07:34:36 -03:00
github-actions[bot]
7db1c31e47
Apply Version Updates From Current Changes (#7627)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-09-06 18:12:36 -03:00
Lucas Fernandes Nogueira
8faa5a4a12
fix(cli): missing assets dir on iOS project when it is committed (#7765) 2023-09-06 17:22:39 -03:00
Lucas Fernandes Nogueira
b75a1210be
fix(cli): update tauri-mobile to fix iOS logs not showing (#7762) 2023-09-06 15:11:30 -03:00
Lucas Fernandes Nogueira
964282a267
fix(cli): migration tests (#7745) 2023-09-06 13:43:17 -03:00
Colin McDonnell
e152662687
feat: support Bun package manager (#7723)
* Support bun

* clippy
2023-08-31 02:48:36 +03:00
i-c-b
13279917d4
enhance(cli): Add Cargo Tauri CLI version to tauri info output (#7713)
* enhance(cli): Add Cargo Tauri CLI version to `tauri info` output

* Create enhance-cli-cargo-tauri-cli-version-info.md
2023-08-31 01:53:37 +03:00
Lucas Fernandes Nogueira
964d81ff01
refactor(bundler): switch to notarytool, closes #4300 (#7616) 2023-08-16 11:10:02 +09:00
Fabian-Lars
9308dee0a1
docs: Be more specific about plugin names in ipc scope (#7605) 2023-08-15 10:56:05 -03:00
github-actions[bot]
3bf1bce9ec
Apply Version Updates From Current Changes (#7612)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-08-14 12:19:36 -03:00
github-actions[bot]
28382fdf9e
Apply Version Updates From Current Changes (#7270)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-08-14 08:30:01 -03:00
Jonas Kruckenberg
02eb08bbd7
perf: remove lto setting from CLI (#6861)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-08-14 07:28:11 -03:00
renovate[bot]
d928d23cdb
chore(deps) Update Tauri Core - abandoned (#5253)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-08-13 22:41:00 -03:00
Amr Bashir
7fb419c326
refactor: move to muda and tray_icon crates (#7535)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-08-13 22:25:50 -03:00
Lucas Fernandes Nogueira
fbeb5b9185
refactor(core): use webview's URI schemes for IPC (#7170)
Co-authored-by: chip <chip@chip.sh>
2023-08-10 10:12:38 -03:00
Lucas Fernandes Nogueira
8af2497496
feat(cli): automate API -> plugin migration (#7561) 2023-08-08 13:21:46 -03:00
Lucas Fernandes Nogueira
d010bc07b8
feat(ios): properly set iOS product name (#7554) 2023-08-05 08:59:19 -03:00
Kris Krolak
4db363a03c
feat: add visible_on_all_workspaces, closes #6589 (#7437)
* feat: add visible_on_all_workspaces, closes #6589

* add changes file

* Apply suggestions from code review

* Update core/tauri-config-schema/schema.json

* Update tooling/cli/schema.json

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-07-26 19:38:09 +08:00
Lucas Fernandes Nogueira
522de0e788
feat(core): allow a plugin build script to read the plugin config object (#7447) 2023-07-18 11:04:15 -03:00
Lucas Fernandes Nogueira
aa94f7197e
feat(ios): add empty entitlements file to iOS project (#7445) 2023-07-18 10:20:32 -03:00
Lucas Fernandes Nogueira
c7dacca466
feat(cli): expose iOS project path and app name as env vars (#7446) 2023-07-18 10:19:01 -03:00
Bo
3b98141aa2
feat: add file association support, closes #3736 (#4320)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Raphii <iam@raphii.co>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-07-16 18:34:43 -03:00
Lucas Fernandes Nogueira
4dd4893d7d
feat: allow specifying a resource map, closes #5844 (#5950)
Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
closes #5844
2023-07-13 18:28:52 -03:00
Amr Bashir
71a0240166
chore: remove hotkey.js script and replace var with const (#7343)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-07-12 08:44:26 -03:00
Amr Bashir
a2be88a21d
refactor: remove bitness crate from bundler (#7405)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-07-12 07:38:25 -03:00
清茶
907425df55
feat(cli): check cwd for config file before traversing (#7395) 2023-07-11 18:29:15 +03:00
Lucas Fernandes Nogueira
eeff1784e1
chore(deps): update unmaintained dependency from kuchiki to kuchikiki (#7359) (#7367)
Co-authored-by: Davide Baldo <davide@baldo.me>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-07-11 19:19:13 +09:00
Amr Bashir
e05cd940d6
ci: fix audit workflow and add resolutions for vuln packages (#7392)
* ci: fix audit workflow and add resolutions for vuln packages

* revert rust audit changes
2023-07-11 00:25:18 +03:00
Amr Bashir
74b1f4fc66
feat(core): add dark/light mica option (#7384)
* feat(core): add dark/light mica option

* Update .changes/dark-light-mica-effect.md

* fix macos build
2023-07-10 14:31:29 +03:00
Davide Baldo
43c6285e90
chore(deps): update unmaintained dependency from kuchiki to kuchikiki (#7359)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-07-05 17:41:46 -03:00
Amr Bashir
46df2c9b91
fix(bundler): sort package types before bundling, closes #7349 (#7360)
fix(bundler): sort package types before bundling, closes #7349
2023-07-05 17:17:31 -03:00
Amr Bashir
23b0e1b9e5
fix: add resolution for semver npm package to fix cve (#7353) 2023-07-04 17:00:01 +03:00
Fabian-Lars
3065c8aea3
fix(bundler): Enable zip's deflate feature flag (#7296) 2023-06-26 11:43:43 -03:00
i-c-b
5eb8554331
fix(cli): Apple Dev Teams format for info::Section::Display (#7282)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-06-24 08:30:34 -03:00
Fabian-Lars
38d0bed8eb
fix(cli): Split metadata.json per major version. (#7276) 2023-06-22 10:43:47 -03:00
renovate[bot]
0ef9c6b7ec
chore(deps) Update Rust crate serde_json to 1.0.97 (#7271)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 10:56:25 -03:00
Fabian-Lars
dad4f54eec
fix(cli): Disable version check, fixes #7273 (#7277) 2023-06-21 19:19:31 +08:00
Simon Hyll
c34e37b1f7
docs: added rustdoc icons (#7253)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-06-19 21:51:05 -03:00
github-actions[bot]
bd29b05f15
Apply Version Updates From Current Changes (v2) (#7242)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-06-17 15:05:12 -03:00
Lucas Fernandes Nogueira
6252380f44
fix(cli): kill beforeDevCommand process if mobile dev command fails (#7241) 2023-06-17 14:10:01 -03:00
Lucas Fernandes Nogueira
655c714e41
fix(cli): do not panic on Ctrl+C on ios dev (#7240) 2023-06-17 14:09:37 -03:00
Lucas Nogueira
1e9c463d12
Merge remote-tracking branch 'origin/1.x' into dev 2023-06-17 11:02:14 -03:00
github-actions[bot]
4b3d66c793
Apply Version Updates From Current Changes (v1) (#7234)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-06-17 10:45:52 -03:00
Amr Bashir
066c09a6ea
fix(core): fix require_literal_leading_dot flipped behavior (#7227) 2023-06-17 09:17:36 -03:00
Jeffrey Hutchins
c7534e732d
feat(android): disable action bar in dark mode themes.xml (#7226) 2023-06-17 04:57:33 +03:00
Amr Bashir
8922be591c
feat(android): disable action bar in themes.xml (#7164) 2023-06-16 13:02:11 -03:00
Amr Bashir
4847b87b10
fix(cli): handle npx for mobile commands, closes #7209 (#7218)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-06-16 12:28:57 -03:00
Lucas Fernandes Nogueira
cafaf69fd7
fix(ci): add missing license headers, adjust script to properly ignore (#7216) 2023-06-15 11:05:59 -03:00
Lucas Fernandes Nogueira
7bbc626cc3
Merge remote-tracking branch 'origin/dev' into next (#7212) 2023-06-15 09:52:33 -03:00
Lucas Fernandes Nogueira
2071265fea
add to additionals (#7206) 2023-06-14 16:10:52 -07:00
github-actions[bot]
b7ae725c5e
Apply Version Updates From Current Changes (#6901)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-06-14 12:59:28 -03:00
Fabian-Lars
4cfb686d2b
fix(cli): Pin minisign to 0.7.3 to prevent issues with empty key passwords (#7197) 2023-06-14 08:00:28 -03:00
renovate[bot]
066417d3f0
chore(deps) Update Rust crate log to 0.4.19 (#7194)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-14 07:36:46 -03:00
Amr Bashir
d75c1b829b
fix(cli): warn about bundling updater target without appropriate targets, closes #7181 (#7189)
* fix(cli): warn about bundling updater target without appropriate targets, closes #7181

* change tags

* cleanup

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-06-14 02:14:35 +03:00
Amr Bashir
bfaf624a4c
chore: fix doc link (#7147) 2023-06-07 15:11:48 +03:00
Fabian-Lars
db7c5fbf2e
refactor(core): Remove attohttpc in favor of reqwest (#7143)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2023-06-06 13:29:52 -03:00
Lucas Fernandes Nogueira
52474e479d
feat(cli): enhance Cargo features injection, add tests (#7141) 2023-06-06 13:29:28 -03:00