[pull] dev from tauri-apps:dev#19
Open
pull[bot] wants to merge 3684 commits into
Open
Conversation
…g>` (#14607) * refactor: use empty vector for features instead of None * refactor: reorder * add change file * comment: highlight places where serialization is used * refactor: simplify serialization * Update .changes/empty-vec-instead-of-none.md * Update crates/tauri-cli/src/mobile/ios/mod.rs --------- Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
* feat(cli): add RISC-V 64-bit pre-built binary support Add riscv64gc-unknown-linux-gnu target to the tauri-cli release workflow, enabling pre-built binaries for RISC-V 64-bit Linux systems. This eliminates the multi-hour QEMU compilation time that currently blocks RISC-V adoption of Tauri apps. Native compilation on RISC-V hardware takes ~63 minutes. Changes: - Add RISC-V entry to build matrix with self-hosted runner support - Support custom `runs_on` field for matrix entries (falls back to `os`) - Skip dtolnay/rust-toolchain and rust-cache for self-hosted runners - Source ~/.cargo/env for self-hosted runners where Rust is pre-installed Tested on: - Hardware: Banana Pi F3 (RISC-V64, 16GB RAM) - OS: Debian Trixie (required for WebKit2GTK RISC-V support) - Build time: 1h 2m 28s - Binary: ELF 64-bit RISC-V, 16MB stripped * feat(cli): use cross for RISC-V cross-compilation Switch from self-hosted runners to cross-rs for building RISC-V binaries. This approach is simpler and doesn't require maintaining self-hosted infrastructure. Local testing confirms cross builds a valid RISC-V binary in ~4 minutes. * refactor(cli): address review feedback for RISC-V workflow - Skip Rust toolchain and cache setup for cross builds (unnecessary) - Pin cross version to 0.2.5 for reproducibility - Fix Linux dependencies condition to match ubuntu-* variants
Co-authored-by: Fabian-Lars <github@fabianlars.de>
* chore: fix tests * windows
* chore(deps): update rust crate reqwest to 0.13 * Fix feature name --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Tony <legendmastertony@gmail.com>
* refactor(cli): disable jsonschema resolving external resources * Move `CONFIG_SCHEMA_VALIDATOR` to fn * Format * Update ureq to fix compile on linux * New clippy warnings
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <github@fabianlars.de>
* fixing bug where updater signer failed signing file withou extension * removing unnecessary unwrap() * Adding change file. Removing commnent. Adding TODO. * Apply suggestions from code review --------- Co-authored-by: Wuelfhis Asuaje <wasuaje@shorecg.com> Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: FabianLars <github@fabianlars.de>
Co-authored-by: Fabian-Lars <github@fabianlars.de>
* refactor(tauri-cli): introduce replacement functions * refactor(tauri-cli): apply replacement to remove.rs * refactor(tauri-cli): apply replacement to icon.rs * refactor(tauri-cli): apply replacement to bundle.rs * refactor(tauri-cli): apply replacement to build.rs * refactor(tauri-cli): apply replacement to add.rs * refactor(tauri-cli): apply replacement to dev.rs * refactor(tauri-cli): less controlflow * refactor(tauri-cli): split config loading from locking static * refactor(tauri-cli): remove duplicate checks covered by if let Some(tauri_dir) = tauri_dir tauri_dir.is_some() must be true, otherwise the entire block is not run, so the frontend_dir check is irrelevant * fmt * refactor(tauri-cli): apply replacement to inspect.rs * refactor(tauri-cli): dont use statics for config * refactor(tauri-cli): finish threading directory paths through functions * fix: clippy * fixup CI * refactor(tauri-cli): dont need mutex * refactor(tauri-cli): rescope mutex use to minimal necessary * fix CI, reduce mutex use * fixup PR #14607 * fix: clippy * refactor(tauri-cli): remove ConfigHandle * refactor(tauri-cli): remove more unwraps and panicing functions * refactor(tauri-cli): less mutexes * refactor(tauri-cli): undo mistaken change, address review comment * Split android build to 2 functions * Pass in dirs to migration v1 like the v2 beta * Add change file --------- Co-authored-by: Tony <legendmastertony@gmail.com>
* refactor(cli): remove mutex on config * Fix ios * Clippy * Fix ios * Unused import * Fix ios closure and clippy * Import `ConfigMetadata` * Remove life time tags
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com> Co-authored-by: FabianLars <github@fabianlars.de>
* fix(bundler): make .desktop and .DirIcon relative symlinks * fmt * Update .changes/appimage-diricon.md Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com> * Update .changes/appimage-diricon.md --------- Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* chore(ci): migrate to use `--use-napi-cross` * Disable all other workflows * Remove docker related if and setup zig * Clean up matrix * Try mirror in binding tests from https://github.com/napi-rs/package-template/blob/main/.github/workflows/CI.yml * Disable publish and run on pull requests * Try setting up target cc and riscv gcc(++) * Revert target_cc, napi sets it already * Try installing gcc-aarch64-linux-gnu as we did for riscv64gc-unknown-linux-gnu * Focus on aarch64-unknown-linux-gnu * No `--use-napi-cross` * Revert "Focus on aarch64-unknown-linux-gnu" This reverts commit 45f6880. * Use `--cross-compile` for all linux targets * Setup zip for all linux targets * Bring back `--frozen-lockfile --ignore-scripts` * Remove unused bsd comments * Try enabling corepack * Move pnpm install to inside docker run * Try running in sh... Seems like we're running pnpm outside of docker * Reenable publish to just before npm publish * Restore old test binding code * Run musl test in docker * Just test the binding on musl and armv7 for now * Change shell to sh * `cd` into `packages/cli` * Still need `set -e` * Use long option for docker and cd through `--workdir` * Update napi to latest * Revert "Disable publish and run on pull requests" This reverts commit 8fd8d19. * Revert "Disable all other workflows" This reverts commit 0756947.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* chore(deps): update rust crate ctor to v1 * Use declarative macro * Add change file * Actually std isn't needed either --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Tony <legendmastertony@gmail.com>
* feat: bump MSRV to 1.83 previous MSRV change was introduced by #11205 to follow the ecosystem and keep our dependencies up to date we must update our MSRV currently our agreed standard is to keep MSRV to "latest - 3", which currently is 1.83 * bump to 1.90 --------- Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com> Co-authored-by: Tony <legendmastertony@gmail.com>
* Update time * Clippy and address MSRV todo comments * Suppress RUSTSEC-2026-0194 * Ok, there're 2 quick-xml CVEs
* fix: mock runtime run on main thread dead locks * Try testing API example * Revert "Try testing API example" This reverts commit 1d04b9f. * Revert API example changes * Run unit tests in examples * Revert `not(test)` * Split out the example tests * Condition got reversed * Only android uses cross * Test api example * Install cross through `taiki-e/install-action@v2` * Install through cargo binstall instead * Revert "Install through cargo binstall instead" This reverts commit 2aec390. * Revert "Install cross through `taiki-e/install-action@v2`" This reverts commit b88035a. * Add change file
* chore(deps): update rust crate cargo_toml to v1 * Bump `embed-resource` and `tauri-winres` * Add change file --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Tony <legendmastertony@gmail.com>
* deps: apple-codesign, x509-certificate * chore: cleanup ignored vulnerabilities * Add change file
* fix: wait for window creation no matter if on main thread * Add change file * Avoid unwrap * Same for `create_webview`
* Removed a few clones * A few more * Move back make_event_handler and take context * Add change file
Co-authored-by: Tony <legendmastertony@gmail.com> Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
…5562) (#15563) This brings in the fix to point the movies directory on android to the correct path.
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Fabian-Lars <30730186+FabianLars@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )