forked from tauri-apps/tauri
-
Notifications
You must be signed in to change notification settings - Fork 0
[pull] dev from tauri-apps:dev #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
pull
wants to merge
3,456
commits into
ebfork:dev
Choose a base branch
from
tauri-apps:dev
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
* feat: allow all frame init scripts in plugin * Add change files * Update crates/tauri/src/plugin.rs Co-authored-by: Fabian-Lars <github@fabianlars.de> * Default impl initialization_script_2 from 1 * Update crates/tauri/src/plugin.rs Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app> --------- Co-authored-by: Fabian-Lars <github@fabianlars.de> Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
…gs (#13811) * Update config.schema.json * Add RunnerConfig for customizable build runner Replaces runner String with RunnerConfig in CLI and config, allowing advanced runner configuration via string or object with cmd, cwd, and args. Updates schema and usage to support new format, and adds tests for serialization, deserialization, and API. Enables more flexible build and run command customization. * Create runner-object-config.md * Remove unused RunnerConfig import in tests Cleaned up the test module in config.rs by removing the unused RunnerConfig import from two test functions. * Fix tests failing Updates related tests in tauri-utils to improve readability and maintain consistency. Minor import reordering in tauri-cli for clarity. * Move RunnerConfig enum and impls above BuildConfig Relocated the RunnerConfig enum and its associated implementations to appear before the BuildConfig definition. This improves code organization and logical grouping of configuration-related types.
…) (#13810) * docs: add missing `trafficLightPosition` to `WindowOptions` * Change file and tweak docs --------- Co-authored-by: Tony <legendmastertony@gmail.com>
* failed binary patch warning * Update crates/tauri-bundler/src/bundle.rs Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com> --------- Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
* feat(mock): add mock for listen and emit * feat(mock): add mock for listen and emit * feat(mock): add mock for listen and emit * Add change file * correctly clear unregisterListener * format with prettier * build project * opt-in to mocking events * Use a minor bump
* test: make some of window id + stores public * test: make window wrapper label pub * feat: make label accessible for windowwrapper * chore: adds wry runtime changefile * chore: avoid forced clone on label Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com> --------- Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* feat(tauri): add `plugin_dyn` methods * refactor: rename `plugin_dyn` to `plugin_boxed`
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>
* feat: add config option for custom watch folders * fix: cargo clippy changes * chore: remove file * fix: ios dev * docs: clarify absolute allowed * refactor: rename variable * fix: review suggestions * fix: resolve paths * fixL use canonicalize * chore: add changefile * chore: add error if cant canonicalize * reformat changelog * Update .changes/additional-watch-folders.md * Update crates/tauri-cli/src/interface/rust.rs Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com> * Revert "Update .changes/additional-watch-folders.md" This reverts commit 98186b1. * Also bump `@tauri-apps/cli` * Apparently I'm so used to a higher rust version * Revert "Apparently I'm so used to a higher rust version" This reverts commit ea1d89e. * Need to check for existence for abs paths as well --------- Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com> Co-authored-by: Tony <legendmastertony@gmail.com>
* feat(tauri-plugin): add build::mobile::update_info_plist needed for tauri-apps/plugins-workspace#2870 * Update .changes/update-info-plist.md
* feat: reduce Image debug output
For example now:
`Image { rgba: Cow::Borrowed([u8; 4096]), width: 32, height: 32 }) }`
* feat: reduce EmbeddedAssets debug size
For example now:
```
EmbeddedAssets {
assets: {
"/index.html": [u8; 1835],
"/index.js": [u8; 212],
},
global_hashes: [
Script(
"'sha256-EOd6N98xxmK5s7VvxV7W2w7YG+dmP52MqNiZUq1NLeE='",
),
Style(
"'sha256-YEercZJImS+vUX2bz7vkQ0aA4rtBIPLuCEWz+yraQ/g='",
),
],
html_hashes: {
"/index.html": [
Script(
"'sha256-3g8CfFrjFLGpwD2o+hwMt+lh/hsHbQ3XY+EPJ35fFKk='",
),
Script(
"'sha256-EOd6N98xxmK5s7VvxV7W2w7YG+dmP52MqNiZUq1NLeE='",
),
],
},
}
```
* feat: reduce `app_icon` debug size
* chore: changelog
* chore: include tauri-utils in changelog
* doc: comment had extra closing brackets [skip ci]
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>
* refactor(tauri-utils): current_dest and current_pattern always change in-sync, group them to one Option * refactor(tauri-utils): pass path as explicit argument instead of implicitly through self * refactor(tauri-utils): remove struct field that is never set to Some * refactor(tauri-cli): use OsString, OsStr where possible * refactor(tauri-cli): Deref Arc early * refactor(tauri-cli): lock config before passing to build::setup() * refactor(tauri-build, tauri-utils): bettern pattern matching and borrowing * refactor(tauri-cli): dont need Arc if already have static * fix(tauri-cli): race condition initializing static flag, remove unnecessary OnceLock * refactor(tauri-cli): use expect * refactor(tauri-cli): remove unnecessary OnceLock * refactor(tauri-cli): better use of dunce api * refactor(tauri-cli): rename
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* chore(deps): update rust crate toml_edit to 0.24 * Downgrade indexmap to 2.11.4 for MSRV --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Tony <legendmastertony@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…4628) Co-authored-by: Fabian-Lars <github@fabianlars.de>
* Typos * Rename to `handler`/`protocol_handler` * Fix the `AssetResolver::get` fallback docs * Refactor and update the docs for `get_url` * Rename the remaining ones to `get_app_url` * Apply suggestions from code review Co-authored-by: Fabian-Lars <github@fabianlars.de> * Generate schema
…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>
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 : )