Amr Bashir
39bf0a1635
refactor: rename TAURI_SIGNTOOL_PATH
-> TAURI_WINDOWS_SIGNTOOL_PATH
( #10595 )
...
immediately after merging #10588 I noticed that the variable name might be a bit ambigious and could cause confusion on other pl atforms other than Windows
2024-08-13 21:48:12 -03:00
Amr Bashir
78e22bedca
feat(cli): support AndroidTV by default ( #10602 )
...
closes #10534
2024-08-13 21:47:41 -03:00
Lucas Fernandes Nogueira
f4cd68f040
fix(cli): builtin dev server should also be forwarded for Android ( #10600 )
2024-08-13 21:11:01 -03:00
Lucas Fernandes Nogueira
f35bcda289
feat(cli): handle known target specific plugins on permission add #10596 ( #10598 )
...
Closes #10596
2024-08-13 14:01:10 -03:00
Lucas Fernandes Nogueira
712f1049fa
fix(cli): ios dev
and ios build
support for bun
( #10569 )
2024-08-13 09:00:41 -03:00
Lucas Fernandes Nogueira
41c7a6646b
fix(cli): properly exit with code 0 on panic when running with bun ( #10572 )
2024-08-13 08:53:04 -03:00
anatawa12
f8d658ea1b
feat: TAURI_SIGNTOOL_PATH
environment variable for specifying the path to signtool.exe. ( #10588 )
2024-08-13 14:49:28 +03:00
Lucas Fernandes Nogueira
fedf93eb7e
refactor(core): return 200 on any IPC call, closes #10286 ( #10585 )
...
* refactor(core): return 200 on any IPC call, closes #10286
By default the webview prints a `Failed to load resource: the server responded with a status of 400 (Bad Request) ipc://localhost` error message when a command returns an error, which is confusing to users.
This changes the IPC to return status 200 on any call, with a header to indicate whether the result was ok or not. This removes the console error, which would only log the actual error result if it isn't caught by the user.
* add change file
* apply code review changes
2024-08-13 08:39:20 -03:00
Lucas Fernandes Nogueira
b1d9ffa1ab
fix(core): IPC fallback hanging when sending responses, closes #10327 ( #10582 )
...
The IPC fallback system kicks in when the custom protocol implementation cannot be used (e.g. CORS issues).
The fallback uses the postMessage mechanism, which by default uses channels to send large responses. If the custom protocol implementation cannot be used, we should not use channels, but eval the response directly.
2024-08-13 07:38:49 -03:00
Lucas Fernandes Nogueira
794cf8234f
chore(cli): change default export method to debugging ( #10571 )
2024-08-13 04:04:16 +03:00
Lucas Fernandes Nogueira
9fe846615b
fix(core): plugin permissions documentation heading ( #10547 )
...
Co-authored-by: Tillmann <28728469+tweidinger@users.noreply.github.com>
2024-08-13 03:58:44 +03:00
renovate[bot]
20be073bc4
chore(deps) Update Tauri CLI (dev) ( #10308 )
...
* chore(deps) Update Tauri CLI
* fix build
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-12 12:52:16 -03:00
renovate[bot]
f228d3d3d4
chore(deps) Update Tauri Bundler (dev) ( #10512 )
...
* chore(deps) Update Tauri Bundler
* fix build
* fix linux
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-12 12:39:33 -03:00
Lucas Fernandes Nogueira
3bec7b1595
feat(cli): add support to Svelte and Vue.js code on v1 migration ( #10544 )
...
* feat(cli): add support to Svelte and Vue.js code on v1 migration
* clippy
2024-08-12 13:45:42 +09:00
Lucas Fernandes Nogueira
3998570fd3
fix(cli): manifest v1 migration ( #10540 )
...
update features that got removed/renamed, and also migrate any core crate on any dependency table
2024-08-12 12:23:39 +09:00
Lucas Fernandes Nogueira
3beba92b5b
fix(cli): incorrect JS generated by frontend migration closes #10500 ( #10542 )
...
* fix(cli): incorrect JS generated by frontend migration closes #10500
2024-08-12 12:10:27 +09:00
Lucas Fernandes Nogueira
f3837d5b98
fix(cli): broken v1 updater migration, add TOML support, closes #10508 ( #10539 )
...
- make the v1 config migration more resilient by checking null values
- fix "targets: all" incorrectly migrating createUpdaterArtifacts when there's no updater configuration (this is problematic because this targets config is the default)
- migrate Tauri.toml
- add more tests
2024-08-12 11:56:13 +09:00
苏向夜
71d00646a9
feat(cli): detect project NPM package manager on init ( #10504 )
...
* feat(cli): improve init behavior to ask once
* chore(cli): bump version
* fix(clippy): fix clippy warning
* feat(cli): add `bun` and fix version bump msg
* refactor(cli): auto detect the package manager
* move function
* update change file
* update change file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-11 18:33:26 -03:00
renovate[bot]
416f845784
chore(deps) Update Tauri API Definitions (dev) ( #10370 )
...
* chore(deps) Update Tauri API Definitions
* format
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-11 09:47:00 -03:00
Sam Kearney
2d47352a07
fix(cli): make app_dir() logic consistent ( #10418 )
...
* fix(cli): Make app_dir() consistent by basing it on the explicit invocation directory rather than the current working directory
* resolve app paths before everything else
* fix xcode script
* fix test
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-11 09:44:15 -03:00
Yuri Astrakhan
0afee5ed80
chore: update brotli dependency to v6 ( #10436 )
...
* chore: update brotli dependency to v6
brotli v6 plays nice with other versions of the same crate
* add change file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-11 08:23:31 -03:00
AHQ
bfc49cc7a1
refactor(android): Remove targetSdk from gradle config ( #10558 )
...
* refactor: remove targetSdk as it is being removed in DSL 9.0
* note
* fix: typo
* update: changelog
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-08-11 07:06:14 -03:00
anatawa12
4bfe4880fb
fix: fails to build universal fat binary if main bin is renamed to another name ( #10550 )
...
* fix: fails to build universal fat binary if main bin is renamed to another name
* lint
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-11 06:56:53 -03:00
Maarten
bba1a44191
feat(cli): allow skipping rustfmt project reformatting when adding a plugin ( #10457 )
...
* feat(cli): allow skipping rustfmt project reformatting
* Apply suggestions from code review
* fixes, change file
* fix change file
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-08-10 17:09:07 -03:00
renovate[bot]
92cac12a92
chore(deps) Update Rust crate zip to v2 (dev) ( #10516 )
...
* chore(deps) Update Rust crate zip to v2
* SimpleFileOptions
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-10 16:55:53 -03:00
renovate[bot]
f65990d1d7
chore(deps) Update Rust crate json-patch to v2 (dev) ( #10515 )
...
* chore(deps) Update Rust crate json-patch to v2
* update other crates
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-10 16:45:24 -03:00
renovate[bot]
e91550bd86
chore(deps) Update Tauri CLI (dev) (major) ( #10517 )
...
* chore(deps) Update Tauri CLI
* update cargo-mobile2
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-10 16:39:55 -03:00
Jonas Kruckenberg
88a9fa23e5
docs: Add hyperlink to localhost-free readme item ( #10557 )
2024-08-10 21:26:12 +02:00
rwv
008b9f7481
chore: generate provenance statements for npm package ( #10477 )
...
* chore: generate provenance statements for npm package
See also https://docs.npmjs.com/generating-provenance-statements#example-github-actions-workflow
* also add --provenance for covector publishes
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-10 15:48:04 -03:00
chip
a975cd7976
yarn prettier --write core
(#10471 )
2024-08-10 15:44:33 -03:00
Norbiros
0bb7b0f352
feat: Add option to generate default permissions for inlined plugins ( #10559 )
...
* feat: Add option to allow all commands by default
* option to use a list of permissions, move logic to tauri-build
* fix plugin
* add utils change file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-10 15:34:49 -03:00
Tillmann
213c0b1b8e
add v2 report ( #10554 )
2024-08-10 14:52:09 -03:00
github-actions[bot]
ab4e56f5d2
apply version updates ( #10532 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-08-08 23:52:47 -03:00
Fabian-Lars
f5dfc02800
fix(core/cli): Add custom default
implementation for ios config ( #10533 )
...
* fix(cli): Add custom `default` implementation for ios config
* fix change
2024-08-08 19:57:56 -03:00
Fabian-Lars
5f56cb0a8b
feat(cli): Upgrade gradle to 8.9 and gradle-android to 8.5.1 ( #10507 )
...
* feat(cli): Upgrade gradle to 8.9 and gradle-android to 8.5.1
* Update .changes/android-gradle-8-9.md
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-08-08 08:48:54 -03:00
Fabian-Lars
00e5a6ac74
fix(cli): allow actions: write
for version-or-publish to fix cli publishing ( #10525 )
2024-08-08 07:25:59 -03:00
KV
10e30c5139
fix: 'ndecorated' typo in window shadow description ( #10527 )
2024-08-08 10:47:52 +08:00
github-actions[bot]
393428e5c8
apply version updates ( #10524 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-08-07 14:50:33 -03:00
Lucas Nogueira
9ed8fe8c92
fix(cli): allow write on pull-requests for version-or-publish
2024-08-07 14:32:06 -03:00
Lucas Fernandes Nogueira
8dc81b6cc2
feat(core): add option for custom Xcode project template (XcodeGen) ( #10496 )
2024-08-07 13:17:01 -03:00
Lucas Fernandes Nogueira
02c00abc63
feat(core): add config for the minimum iOS version ( #10495 )
...
* feat(core): add config for the minimum iOS version
* revert api exapmle
2024-08-07 13:16:27 -03:00
renovate[bot]
5be7607b26
chore(deps) Update Tauri Codegen to v1.7.0 ( #10513 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-07 13:52:44 +08:00
Catalin Andrei Cacuci
a440a3f9d8
fix(bundler): Correct nsis pre-uninstall hook to post-uninstall ( #10498 )
...
* fix(bundler): Correct nsis pre-uninstall hook to post-uninstall
* Create change-pr-10498.md
* Update change-pr-10498.md [skip ci]
---------
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-08-05 19:15:45 +02:00
Fabian-Lars
ab382f4ca9
ci: Use GITHUB_TOKEN for workflow_dispatch via gh cli ( #10493 )
2024-08-05 10:12:29 -03:00
Lucas Fernandes Nogueira
2e8ab7bac1
fix(cli): v1 migration should add the updater plugin if it is enabled ( #10481 )
...
* fix(cli): v1 migration should add the updater plugin if it is enabled
* fix change tag
* move to process_updater
* Update tooling/cli/src/migrate/migrations/v1/config.rs
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
---------
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-08-05 10:00:33 -03:00
Lucas Fernandes Nogueira
a3cd9779a4
chore(cli): remove android open
and ios open
commands ( #10480 )
...
It is recommended to use `[android|ios] dev --open` or `[android|ios] build --open` instead as it properly sets up the requirements for developing and building apps with Tauri.
2024-08-05 09:57:54 -03:00
chip
e2dc76cfbf
set packageManager
field in package.json for corepack ( #10470 )
2024-08-05 09:50:32 -03:00
Lucas Fernandes Nogueira
8e1e15304e
feat(cli): check if Rust lib contains required Android and iOS symbols #10094 ( #10483 )
...
* feat(cli): check if Rust lib contains required Android symbols #10094
* check for ios aswell
2024-08-05 09:46:28 -03:00
Lucas Fernandes Nogueira
ca68689564
feat(cli): check if project identifier or lib name changed ( #10479 )
...
* feat(cli): check if project identifier changed
* implement ios check
* also check lib name
* clippy
* ensure_init from xcode-script
* fill change file [skip ci]
2024-08-05 09:45:18 -03:00
anatawa12
7e810cb2a3
fix: permission file uses ':' in file name ( #10485 )
...
* fix: permission file uses ':' in file name
* style: rustfmt
2024-08-05 09:45:00 -03:00