Commit Graph

4139 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
11a1529d6a
feat(core): set CORS headers on protocol errors (#8419)
* feat(core): set CORS headers on protocol errors

This ensures the frontend can read the error message instead of just showing a CORS error

* fix statuscode
2023-12-18 20:54:40 -03:00
dependabot[bot]
ea03adee74
chore(deps-dev): bump vite from 4.4.9 to 4.4.12 in /examples/api (#8342)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.4.9 to 4.4.12.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.4.12/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.4.12/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 18:42:51 -03:00
Amr Bashir
31b3545e31
ci: access cli release id directly (#8397) 2023-12-18 18:17:33 -03:00
Amr Bashir
428ea6524c
feat(api): expose Resource class (#8370)
* feat(api): expose `Resource` class

continuation of https://github.com/tauri-apps/tauri/pull/8276

* Apply suggestions from code review

* fmt

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-12-18 18:16:21 -03:00
Amr Bashir
face0b6a89
chore: cleanup issue and PR templates (#8410)
* chore: cleanup issue and PR templates

* Delete .github/config.yml

* Update bug_report.yml

* Update .github/PULL_REQUEST_TEMPLATE.md

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

* Update PULL_REQUEST_TEMPLATE.md

---------

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2023-12-18 18:15:04 -03:00
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
Alexandre Dang
db12777742
feat(core): allow the MockRuntime to call a command and get a return value + fix doctest (#8380)
* Add `get_ipc_response` to the `MockRuntime`

* Fix `MockRuntime` doctests

* Add support for raw ipc

* cleanup, add change file

* only a single get fn

---------

Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
2023-12-14 11:52:25 -03:00
Guillem Córdoba
5848b4e8e9
Fixed channel deserialisation in iOS (#8386)
* Fixed channel

* Change file
2023-12-14 09:25:28 -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
Michael Howell
f98ce5aa47
fix: fix incorrect predefined menu item for Close Window (#8328)
* Fix incorrect predefined menu item for Close Window

* change file

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-12-12 00:29:55 +02:00
Ananth
b6ca8885ff
feat(cli): improve error message with invalid target for build (#8321) 2023-12-12 00:06:43 +02:00
Fabian-Lars
940ec1dd01
chore: Cleanup Readme. Add Sponsor section. (#8269)
* chore: Cleanup Readme. Add Sponsor section.

* move logo into sponsors subfolder

* Update README.md

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

* Update README.md

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

* Update README.md

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

* move getting started up

* remove docs info

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-11-30 11:15:02 +01: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
Davide Ferrero
5ff6a74430
chore: aligned cocoa crate to 0.25 (#8297) 2023-11-24 22:09:15 +02:00
Davide Ferrero
ad8836b1d2
chore: remove unused import muda::AboutMetadataBuilder (#8294) 2023-11-23 17:15:40 +02:00
Lucas Fernandes Nogueira
4f4313e17a
fix(ci): skip installing unnecessary deps (#8277) 2023-11-21 12:34:15 -03:00
Lucas Fernandes Nogueira
ebc3e78e68
feat: update to latest wry (#8213)
Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
2023-11-21 12:32:06 -03:00
Amr Bashir
bf095df55a
feat: expose Manager::resources_table (#8276)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-11-21 07:57:35 -03: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
Fabian-Lars
c2ad4d28c4
refactor(api)!: Rename primitives mod to core (#8273) 2023-11-20 17:53:13 -03:00
Amr Bashir
618b0d01cb
ci: fix parsing covector ouput (#8241)
* ci: fix parsing covector ouput

* delete parse-output.js

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-11-20 21:02:31 +02: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]
aa1d67ab75
chore(deps) Update Tauri Core (dev) (#8227)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-11-19 14:21:12 -03:00
Amr Bashir
5e84e92e99
feat: migrate manual implementation to the light windows-version crate (#8243) 2023-11-19 08:50:36 -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
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]
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
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
Tai Zeming
adc3cc2ffa
chore(deps): replace deprecated rollup-plugin-terser with @rollup/plugin-terser (#8194) 2023-11-13 17:13:01 +02:00
renovate[bot]
b6ed4ecb37
chore(deps) Update Rust crate syn to v2 (dev) (#7634)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-11-13 08:20:19 -03:00
renovate[bot]
e9aa7276e9
chore(deps) Update Tauri Core (dev) (#7631)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-11-09 14:15:41 -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
renovate[bot]
ec78f1613a
chore(deps) Update Rust crate cargo_toml to 0.17 (dev) (#8154)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-07 13:57:07 -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
Lucas Fernandes Nogueira
b5f40ae58d
fix(core): global events regression from #7996 closes #8146 (#8147) 2023-11-07 09:59:09 -03:00
Lucas Fernandes Nogueira
04a682beb0
refactor(core): break manager struct into smaller ones (#8124) 2023-11-07 09:58:57 -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
ShoreCN
fd532da899
refactor: Optimize Simplified Chinese language content (#8137) 2023-11-06 19:10:20 -03:00
Fabian-Lars
a547971209
fix(build): always invoke resource compiler on windows, fixes #8164 (#8168)
* fix(build): Always invoke resource compiler on windows, fixes #8164

* move all the stuff out of the version check

* check for icon path when setting the icon
2023-11-06 21:46:25 +02: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