Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tauri-apps/tauri
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: tauri-build-v2.0.6
Choose a base ref
...
head repository: tauri-apps/tauri
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: tauri-build-v2.1.0
Choose a head ref

Commits on Feb 26, 2025

  1. ci: install corepack in docker (#12824)

    * ci: install corepack in docker
    
    this should fix the build errors from https://github.com/tauri-apps/tauri/actions/runs/13548556704/job/37866236681
    i only added it outside of docker in my last pr
    
    * remove musl
    FabianLars authored Feb 26, 2025
    Copy the full SHA
    b495fe0 View commit details
  2. fix(cli/ios): Configure initial view controller for the launch screen…

    … on iOS (#12538)
    
    Co-authored-by: Fabian-Lars <github@fabianlars.de>
    DeTeam and FabianLars authored Feb 26, 2025
    Copy the full SHA
    22e9bf7 View commit details
  3. chore(deps): update dependency eslint-config-prettier to v10.0.2 (#12822

    )
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Feb 26, 2025
    Copy the full SHA
    9332132 View commit details
  4. chore(deps): update rust crate resvg to 0.45.0 (#12825)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Feb 26, 2025
    Copy the full SHA
    b859dc4 View commit details

Commits on Feb 27, 2025

  1. docs: update WebViewBuilder::with_asynchronous_custom_protocol with…

    … platform-specific notes (#12830)
    Simon-Laux authored Feb 27, 2025
    Copy the full SHA
    4bffc32 View commit details
  2. Copy the full SHA
    4f26dcf View commit details
  3. chore(deps): update js dependencies (#12832)

    * chore(deps): update js dependencies
    
    * Update lock
    Legend-Master authored Feb 27, 2025
    Copy the full SHA
    887db08 View commit details
  4. Copy the full SHA
    bca0296 View commit details

Commits on Feb 28, 2025

  1. fix(windows): ensure APIs exist before using it (#12848)

    * fix(windows): ensure APIs exist before using it
    
    * fix build on other platforms
    
    * clippy
    
    * use GetSystemMetricsForDpi
    amrbashir authored Feb 28, 2025
    Copy the full SHA
    e103e87 View commit details
  2. apply version updates (#12826)

    Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
    github-actions[bot] and amrbashir authored Feb 28, 2025
    Copy the full SHA
    cab7f76 View commit details
  3. Copy the full SHA
    55ffa23 View commit details

Commits on Mar 1, 2025

  1. chore(deps): update dependency rollup to v4.34.9 (#12862)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 1, 2025
    Copy the full SHA
    3fb8d7c View commit details

Commits on Mar 2, 2025

  1. feat: add WebviewBuilder.disable_javascript and `WebviewWindowBuild…

    …er.disable_javascript` (#12821)
    
    * feat: add `WebviewBuilder.disable_javascript` and `WebviewWindowBuilder.disable_javascript`
    
    * wry 0.50.3
    
    * add missing config options and API types
    
    * add change file for api
    
    ---------
    
    Co-authored-by: Lucas Nogueira <lucas@tauri.app>
    Simon-Laux and lucasfernog authored Mar 2, 2025
    Copy the full SHA
    20c1906 View commit details
  2. feat: add Webview.reload and WebviewWindow.reload (#12818)

    * feat: add `Webview.reload` and `WebviewWindow.reload`
    
    * fix tests
    
    ---------
    
    Co-authored-by: Lucas Nogueira <lucas@tauri.app>
    Simon-Laux and lucasfernog authored Mar 2, 2025
    Copy the full SHA
    c698a6d View commit details
  3. feat(api): implement getIdentifier() to access tauri.conf.json id…

    …entifier (#12837)
    
    * feat(api): implement getIdentifier() to access tauri.conf.json identifier
    
    * updated
    
    * chore(api): update change file and rebuild bundle
    
    * Update to @SInCE 2.4.0
    
    * added tag
    
    * Update .changes/get-identifier.md
    
    Co-authored-by: Fabian-Lars <github@fabianlars.de>
    
    ---------
    
    Co-authored-by: Fabian-Lars <github@fabianlars.de>
    niladrix719 and FabianLars authored Mar 2, 2025
    Copy the full SHA
    060de5b View commit details
  4. Copy the full SHA
    f985988 View commit details

Commits on Mar 3, 2025

  1. Copy the full SHA
    dc78dfe View commit details
  2. Copy the full SHA
    755533c View commit details
  3. Copy the full SHA
    f268b3d View commit details
  4. Copy the full SHA
    2d029a9 View commit details

Commits on Mar 9, 2025

  1. chore(deps): update dependency eslint-config-prettier to v10.1.1 (#12916

    )
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 9, 2025
    Copy the full SHA
    4ce5c74 View commit details
  2. chore(deps): update dependency rollup to v4.35.0 (#12932)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 9, 2025
    Copy the full SHA
    eea12c1 View commit details
  3. fix(bundler): bundle resources to correct path during RPM bundling wh…

    …en resources are specified as a map (#12759)
    
    Co-authored-by: Fabian-Lars <github@fabianlars.de>
    ninjadev64 and FabianLars authored Mar 9, 2025
    Copy the full SHA
    3626b7a View commit details

Commits on Mar 10, 2025

  1. Copy the full SHA
    3a74dc8 View commit details
  2. Copy the full SHA
    93124ad View commit details

Commits on Mar 12, 2025

  1. chore(deps): update rust crate cargo_toml to 0.22 (#12940)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 12, 2025
    Copy the full SHA
    339a075 View commit details

Commits on Mar 13, 2025

  1. Copy the full SHA
    b9ee806 View commit details
  2. add Window.is_always_on_top() and WebviewWindow.is_always_on_top() (

    #12944)
    
    * add `Window.is_always_on_top()` and `WebviewWindow.is_always_on_top()`
    
    * add api
    
    * fmt
    
    ---------
    
    Co-authored-by: Lucas Nogueira <lucas@tauri.app>
    Simon-Laux and lucasfernog authored Mar 13, 2025
    Copy the full SHA
    be2e6b8 View commit details
  3. add AppHandle.fetch_data_store_identifiers and `AppHandle.remove_da…

    …ta_store` (#12900)
    
    * add `AppHandle::fetch_all_data_store_identifiers` and `AppHandle::remove_data_store`
    
    * make it run on main thread, so you can call the function from any thread and it works.
    
    * changes file
    
    * update signature, move functions to RuntimeHandle
    
    * add api
    
    ---------
    
    Co-authored-by: Lucas Nogueira <lucas@tauri.app>
    Simon-Laux and lucasfernog authored Mar 13, 2025
    Copy the full SHA
    d8059ba View commit details

Commits on Mar 14, 2025

  1. fix(core): AssetResolver.get(): don't skip first char (#12971)

    That is, it would try to get `sers/john` if you called
    `AssetResolver.get("users/john")`.
    This commit fixes the bug by only skipping the first character
    only if it _is_ a slash (/).
    
    Why it is important:
    `tauri::WebviewUrl::App()` docs state that it's OK to specify
    the path as `users/john` to get `tauri://localhost/users/john`
    in the end.
    So if an application developer is using `AssetResolver.get()`
    together with `WebviewUrl::App()`, they will would get
    inconsistent behavior: for the same path, the latter would work,
    while the former would fail.
    In fact, we encountered this bug in our code,
    [here](https://github.com/deltachat/deltachat-desktop/blob/c860b0f4c659cdb0659ba946ecdd7f0381792946/packages/target-tauri/src-tauri/src/help_window.rs#L34-L43).
    WofWca authored Mar 14, 2025
    Copy the full SHA
    f67a4a6 View commit details
  2. feat(cli): allow merging multiple configuration values (#12970)

    * feat(cli): allow merging multiple configuration values
    
    Currently the dev/build/bundle commands can only merge a single Tauri configuration value (file or raw JSON string), which imposes a limitation in scenarios where you need more flexibility (like multiple app flavors and environments). This changes the config CLI option to allow multiple values, letting you merge multiple Tauri config files with the main one.
    
    * fix ios build
    lucasfernog authored Mar 14, 2025
    Copy the full SHA
    d91bfa5 View commit details
  3. fix: allow double -- in permissions as command can have double __ (

    …#12884)
    
    * allow double `--` in permissions as command can have double `__`
    
    * Create change-pr-12884.md
    
    * Update .changes/change-pr-12884.md
    
    Co-authored-by: Fabian-Lars <github@fabianlars.de>
    
    ---------
    
    Co-authored-by: Fabian-Lars <github@fabianlars.de>
    oscartbeaumont and FabianLars authored Mar 14, 2025
    Copy the full SHA
    3cc4ad3 View commit details
  4. fix(cli): ios command wrong cwd on bun 1.2, closes #12965 (#12977)

    bun 1.2 changed the current working directory behavior to match NPM managers, so we must adapt our xcode-script logic to check the bun version
    
    see https://bun.sh/blog/bun-v1.2#bun-run-uses-the-correct-directory
    lucasfernog authored Mar 14, 2025
    Copy the full SHA
    b839212 View commit details

Commits on Mar 15, 2025

  1. fix(cli): Remove mention of updater bundle arg in help output (#12985)

    * fix(cli): Remove mention of `updater` bundle arg in help output
    
    * allow --bundles updater but hide from help
    FabianLars authored Mar 15, 2025
    Copy the full SHA
    0c4700e View commit details
  2. chore(deps): update dependency wrangler to v4 (#12967)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 15, 2025
    Copy the full SHA
    0ec71a8 View commit details
  3. fix(core): add ctrl '+' key as zoom in (#12911)

    * add '+' key as zoom in
    
    * add changefile
    
    ---------
    
    Co-authored-by: Lucas Nogueira <lucas@tauri.app>
    Daedaluz and lucasfernog authored Mar 15, 2025
    Copy the full SHA
    dc90cd3 View commit details
  4. Copy the full SHA
    c108024 View commit details
  5. Copy the full SHA
    08de8a1 View commit details
  6. feat: traffic light position (#12366)

    * moving to macbook
    
    * that was so weird to implement
    
    * rm patch
    
    * Discard changes to Cargo.lock
    
    * Create change-pr-12366.md
    
    * add missing builder fn
    
    * remove test
    
    * split change files
    
    ---------
    
    Co-authored-by: Lucas Nogueira <lucas@tauri.app>
    FabianLars and lucasfernog authored Mar 15, 2025
    Copy the full SHA
    30f5a15 View commit details
  7. feat: add Webview::cookies and Webview::cookies_for_url() (#12665)

    * Add support for fetching cookies by url
    
    * Add support for fetching all cookies
    
    * add missing getters, update change file
    
    * update docs for windows deadlock
    
    * fix mobile build
    
    * Update crates/tauri-runtime/Cargo.toml
    
    * add docs for stability [skip ci]
    
    ---------
    
    Co-authored-by: Adam Charron <acharron@higherlogic.com>
    Co-authored-by: Lucas Nogueira <lucas@tauri.app>
    3 people authored Mar 15, 2025
    Copy the full SHA
    cedb24d View commit details
  8. chore: Fix example readme instructions. Add pnpm build:debug. (#12983)

    * chore: Fix example readme instructions. Add `pnpm build:debug`.
    
    * keep terser on bundle.global.js build to avoid file modifications
    
    ---------
    
    Co-authored-by: Lucas Nogueira <lucas@tauri.app>
    FabianLars and lucasfernog authored Mar 15, 2025
    Copy the full SHA
    2fa33d5 View commit details
  9. feature(linux) add mousewheel bindings for zoom functions (#12912)

    * add mousewheel bindings commonly used for zooming
    
    * add change file
    
    * update docs
    
    * fmt
    
    ---------
    
    Co-authored-by: Lucas Nogueira <lucas@tauri.app>
    Daedaluz and lucasfernog authored Mar 15, 2025
    Copy the full SHA
    5591a4f View commit details
  10. feat: add a new option to remove unused commands (#12890)

    * Add a new option to remove unused commands
    
    * Fix compile
    
    * Add markers to all core plugins
    
    * Clippy
    
    * Add allow unused when running with this
    
    * Use build script to generate allowed-commands.json
    
    * Clean up and add proper reruns
    
    * Wrong path
    
    * Revert to #[cfg_attr(not(debug_assertions), allow(unused))]
    
    * Add change files
    
    * Some more docs
    
    * Add version requirement note
    
    * Avoid rerun if no capabilities folder
    
    * Remove unused box
    
    * small cleanup
    
    * fix channel
    
    * implement for app handler too
    
    * rely on core:default for channel perms
    
    * Move this feature to config
    
    * Docs change
    
    * Forget one last remove_unused_commands
    
    * Remove removeUnusedCommands from helloworld
    
    * tell handler that the app ACL manifest exists
    
    * update change file
    
    * update doc
    
    * update change file
    
    * Use a struct to pass the data instead of env var
    
    * Clippy
    
    * Fix can't exclude inlined plugins on Windows
    due to UNC paths...
    
    * Apply suggestion from code review
    
    * Remove remove on empty to tauri-build
    
    * Revert "Remove remove on empty to tauri-build"
    
    This reverts commit b727dd6.
    
    * Centralize remove_file(allowed_commands_file_path)
    
    * Escape glob pattern
    
    * update change file
    
    * remove unused commands for dev too
    
    * Update crates/tauri-utils/src/config.rs
    
    Co-authored-by: Fabian-Lars <github@fabianlars.de>
    
    * regen schema
    
    ---------
    
    Co-authored-by: Lucas Nogueira <lucas@tauri.app>
    Co-authored-by: Fabian-Lars <github@fabianlars.de>
    3 people authored Mar 15, 2025
    Copy the full SHA
    013f8f6 View commit details
  11. refactor: use a single closure for filtering in emit_to (#12907)

    * Use a single closure for filtering
    
    * clippy
    
    * Update crates/tauri/src/manager/mod.rs
    
    ---------
    
    Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
    Legend-Master and lucasfernog authored Mar 15, 2025
    Copy the full SHA
    51bcafe View commit details
  12. fix: ensure RunEvent::Exit is triggered on restart (#12313)

    * fix: AppHandle::restart() may not send RunEvent::Exit event
    
    * docs: add changelog: `AppHandle::restart()` may not send `RunEvent::Exit` event before exiting the application.
    
    * style: cargo fmt
    
    * avoid deadlock on main thread
    
    * do not let the restart be prevented
    
    leads to a deadlock currently
    
    * Apply suggestions from code review
    
    * lint
    
    * do not emit RunEvent on main thread
    
    * re-export RESTART_EXIT_CODE
    
    ---------
    
    Co-authored-by: Lucas Nogueira <lucas@tauri.app>
    anatawa12 and lucasfernog authored Mar 15, 2025
    Copy the full SHA
    b05f82d View commit details

Commits on Mar 16, 2025

  1. chore: examples: fix & simplify helloworld (#12995)

    Remove the cookies code from it.
    Firtly, they are not necessary: "Hello, world!" should be simple.
    Secondly, it's broken on Windows: `.cookies()` hangs.
    
    The cookies stuff was introduced recently,
    in cedb24d
    (#12665).
    This commit reverts the changes to the example.
    
    This supersedes #12992.
    WofWca authored Mar 16, 2025
    Copy the full SHA
    7930dde View commit details
  2. feat: introduce App::run_return (#12668)

    * Introduce `run_return`
    
    * Fix compile error
    
    * Clone web_context
    
    * Refactor to Result API
    
    * Fix clippy
    
    * Impl mock runtime
    
    * Make it desktop-only
    
    * Add changelog entry
    
    * Fix compile error
    
    * Make it semver compatible
    
    * Extend changelog entry
    
    * Undo semver-hack
    
    * Reduce diff
    
    * Remove unnecessary mut
    
    * Make it take `self` by value
    
    * Reduce diff
    
    * Undo diff hack
    
    * Make everything cfg(desktop)
    
    * Rename vars to reduce diff
    
    * Fix clippy
    
    * Extract make_event_handler
    
    * Reduce diff
    
    * Deprecate `App::run_return`
    
    * Update changelog
    
    * Fix compile errors
    
    * Accept reference
    
    * Create event handler first
    
    * Update example
    
    * Update manifest
    
    * Fix example
    
    * Fix example docs
    
    * Call `setup` only upon Ready
    
    * Update changelog entry
    
    * Update docs
    
    * Update changelog
    
    * Add platform-specific note
    
    * update docs
    
    * run_return on mobile
    
    * Apply suggestions from code review
    
    * remove change file
    
    ---------
    
    Co-authored-by: Lucas Nogueira <lucas@tauri.app>
    thomaseizinger and lucasfernog authored Mar 16, 2025
    Copy the full SHA
    658e5f5 View commit details
  3. Copy the full SHA
    0d14468 View commit details
  4. refactor: remove permission description from runtime (#12994)

    * Remove description from runtime
    
    * Just use none instead
    
    * global_scope_schema and add comments about it
    
    * Tweak wording
    
    * remove comments [skip ci]
    
    ---------
    
    Co-authored-by: Lucas Nogueira <lucas@tauri.app>
    Legend-Master and lucasfernog authored Mar 16, 2025
    Copy the full SHA
    72df2e4 View commit details
  5. feat: introduce request_restart (#12874)

    * Introduce request_restart
    
    * Migrate `restart`
    
    * Add change file
    
    * Save restart_on_exit and add docs
    
    * Tweak docs to include `restart`
    
    * clear restart flow
    
    ---------
    
    Co-authored-by: Lucas Nogueira <lucas@tauri.app>
    Legend-Master and lucasfernog authored Mar 16, 2025
    Copy the full SHA
    de7f34b View commit details
Showing with 3,626 additions and 1,434 deletions.
  1. +1 −1 .changes/config.json
  2. +13 −0 .github/workflows/publish-cli-js.yml
  3. +2 −0 .gitignore
  4. +53 −121 Cargo.lock
  5. +1 −0 Cargo.toml
  6. +7 −7 README.md
  7. +15 −0 crates/tauri-build/CHANGELOG.md
  8. +4 −4 crates/tauri-build/Cargo.toml
  9. +43 −16 crates/tauri-build/src/acl.rs
  10. +29 −20 crates/tauri-build/src/lib.rs
  11. +15 −0 crates/tauri-bundler/CHANGELOG.md
  12. +2 −2 crates/tauri-bundler/Cargo.toml
  13. +1 −0 crates/tauri-bundler/src/bundle/linux/debian.rs
  14. +5 −4 crates/tauri-bundler/src/bundle/linux/rpm.rs
  15. +2 −0 crates/tauri-bundler/src/bundle/platform.rs
  16. +4 −0 crates/tauri-bundler/src/bundle/settings.rs
  17. +8 −0 crates/tauri-bundler/src/bundle/windows/nsis/installer.nsi
  18. +30 −0 crates/tauri-cli/CHANGELOG.md
  19. +4 −4 crates/tauri-cli/Cargo.toml
  20. +50 −6 crates/tauri-cli/config.schema.json
  21. +4 −4 crates/tauri-cli/metadata-v2.json
  22. +13 −6 crates/tauri-cli/src/build.rs
  23. +15 −13 crates/tauri-cli/src/bundle.rs
  24. +17 −21 crates/tauri-cli/src/dev.rs
  25. +27 −5 crates/tauri-cli/src/helpers/app_paths.rs
  26. +32 −15 crates/tauri-cli/src/helpers/config.rs
  27. +17 −18 crates/tauri-cli/src/helpers/npm.rs
  28. +1 −1 crates/tauri-cli/src/info/app.rs
  29. +1 −1 crates/tauri-cli/src/inspect.rs
  30. +11 −10 crates/tauri-cli/src/interface/rust.rs
  31. +2 −2 crates/tauri-cli/src/lib.rs
  32. +9 −3 crates/tauri-cli/src/mobile/android/android_studio_script.rs
  33. +13 −3 crates/tauri-cli/src/mobile/android/build.rs
  34. +13 −3 crates/tauri-cli/src/mobile/android/dev.rs
  35. +1 −1 crates/tauri-cli/src/mobile/init.rs
  36. +9 −3 crates/tauri-cli/src/mobile/ios/build.rs
  37. +9 −3 crates/tauri-cli/src/mobile/ios/dev.rs
  38. +15 −5 crates/tauri-cli/src/mobile/ios/xcode_script.rs
  39. +15 −20 crates/tauri-cli/src/mobile/mod.rs
  40. +1 −1 crates/tauri-cli/templates/mobile/ios/LaunchScreen.storyboard
  41. +1 −1 crates/tauri-cli/templates/tauri.conf.json
  42. +10 −0 crates/tauri-codegen/CHANGELOG.md
  43. +2 −2 crates/tauri-codegen/Cargo.toml
  44. +12 −55 crates/tauri-codegen/src/context.rs
  45. +1 −1 crates/tauri-codegen/src/lib.rs
  46. +11 −0 crates/tauri-macros/CHANGELOG.md
  47. +3 −3 crates/tauri-macros/Cargo.toml
  48. +97 −14 crates/tauri-macros/src/command/handler.rs
  49. +10 −0 crates/tauri-macros/src/command/wrapper.rs
  50. +6 −0 crates/tauri-macros/src/lib.rs
  51. +14 −0 crates/tauri-plugin/CHANGELOG.md
  52. +2 −2 crates/tauri-plugin/Cargo.toml
  53. +9 −2 crates/tauri-plugin/src/build/mod.rs
  54. +25 −0 crates/tauri-runtime-wry/CHANGELOG.md
  55. +6 −5 crates/tauri-runtime-wry/Cargo.toml
  56. +205 −41 crates/tauri-runtime-wry/src/lib.rs
  57. +11 −10 crates/tauri-runtime-wry/src/undecorated_resizing.rs
  58. +118 −0 crates/tauri-runtime-wry/src/util.rs
  59. +16 −0 crates/tauri-runtime/CHANGELOG.md
  60. +4 −2 crates/tauri-runtime/Cargo.toml
  61. +60 −1 crates/tauri-runtime/src/lib.rs
  62. +26 −1 crates/tauri-runtime/src/webview.rs
  63. +7 −0 crates/tauri-runtime/src/window.rs
  64. +3 −3 crates/tauri-schema-generator/schemas/capability.schema.json
  65. +50 −6 crates/tauri-schema-generator/schemas/config.schema.json
  66. +1 −1 crates/tauri-schema-generator/schemas/permission.schema.json
  67. +1 −1 crates/tauri-schema-worker/package.json
  68. +19 −0 crates/tauri-utils/CHANGELOG.md
  69. +4 −2 crates/tauri-utils/Cargo.toml
  70. +120 −2 crates/tauri-utils/src/acl/build.rs
  71. +12 −5 crates/tauri-utils/src/acl/capability.rs
  72. +2 −1 crates/tauri-utils/src/acl/identifier.rs
  73. +9 −6 crates/tauri-utils/src/acl/manifest.rs
  74. +113 −8 crates/tauri-utils/src/acl/mod.rs
  75. +10 −5 crates/tauri-utils/src/acl/resolved.rs
  76. +48 −16 crates/tauri-utils/src/config.rs
  77. +7 −10 crates/tauri-utils/src/config/parse.rs
  78. +2 −0 crates/tauri-utils/src/platform.rs
  79. +12 −3 crates/tauri-utils/src/plugin.rs
  80. +58 −0 crates/tauri/CHANGELOG.md
  81. +20 −16 crates/tauri/Cargo.toml
  82. +33 −6 crates/tauri/build.rs
  83. +48 −0 crates/tauri/mobile/android/src/main/java/app/tauri/PathPlugin.kt
  84. +16 −0 crates/tauri/mobile/android/src/main/java/app/tauri/plugin/Plugin.kt
  85. +11 −0 crates/tauri/mobile/android/src/main/java/app/tauri/plugin/PluginHandle.kt
  86. +17 −1 crates/tauri/mobile/android/src/main/java/app/tauri/plugin/PluginManager.kt
  87. +79 −0 crates/tauri/permissions/app/autogenerated/reference.md
  88. +27 −0 crates/tauri/permissions/window/autogenerated/reference.md
  89. +1 −1 crates/tauri/scripts/bundle.global.js
  90. +0 −2 crates/tauri/scripts/init.js
  91. +208 −7 crates/tauri/src/app.rs
  92. +30 −0 crates/tauri/src/app/plugin.rs
  93. +3 −0 crates/tauri/src/error.rs
  94. +4 −1 crates/tauri/src/event/plugin.rs
  95. +1 −0 crates/tauri/src/image/plugin.rs
  96. +2 −1 crates/tauri/src/ipc/authority.rs
  97. +17 −3 crates/tauri/src/ipc/channel.rs
  98. +3 −3 crates/tauri/src/lib.rs
  99. +40 −44 crates/tauri/src/manager/mod.rs
  100. +0 −12 crates/tauri/src/manager/webview.rs
  101. +1 −0 crates/tauri/src/menu/plugin.rs
  102. +44 −1 crates/tauri/src/path/android.rs
  103. +17 −1 crates/tauri/src/path/desktop.rs
  104. +13 −9 crates/tauri/src/path/plugin.rs
  105. +22 −0 crates/tauri/src/plugin.rs
  106. +0 −1 crates/tauri/src/protocol/tauri.rs
  107. +4 −1 crates/tauri/src/resources/plugin.rs
  108. +48 −0 crates/tauri/src/test/mock_runtime.rs
  109. +1 −0 crates/tauri/src/tray/plugin.rs
  110. +71 −7 crates/tauri/src/webview/mod.rs
  111. +30 −30 crates/tauri/src/webview/plugin.rs
  112. +16 −1 crates/tauri/src/webview/scripts/zoom-hotkey.js
  113. +88 −9 crates/tauri/src/webview/webview_window.rs
  114. +17 −4 crates/tauri/src/window/mod.rs
  115. +86 −87 crates/tauri/src/window/plugin.rs
  116. +2 −15 examples/api/README.md
  117. +3 −3 examples/api/package.json
  118. +4 −1 examples/api/src-tauri/src/menu_plugin.rs
  119. +2 −2 examples/api/src-tauri/tauri-plugin-sample/permissions/schemas/schema.json
  120. +2 −1 examples/api/src-tauri/tauri.conf.json
  121. +0 −3 examples/run-iteration/README.md
  122. +3 −0 examples/run-return/README.md
  123. 0 examples/{run-iteration → run-return}/index.html
  124. +8 −13 examples/{run-iteration → run-return}/main.rs
  125. +1 −1 examples/{run-iteration → run-return}/tauri.conf.json
  126. +9 −3 package.json
  127. +14 −0 packages/api/CHANGELOG.md
  128. +10 −9 packages/api/package.json
  129. +79 −1 packages/api/src/app.ts
  130. +5 −1 packages/api/src/webview.ts
  131. +20 −0 packages/api/src/window.ts
  132. +7 −0 packages/cli/.cargo/config.toml
  133. +27 −0 packages/cli/CHANGELOG.md
  134. +3 −0 packages/cli/npm/linux-riscv64-gnu/README.md
  135. +35 −0 packages/cli/npm/linux-riscv64-gnu/package.json
  136. +4 −3 packages/cli/package.json
  137. +729 −598 pnpm-lock.yaml
2 changes: 1 addition & 1 deletion .changes/config.json
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
"feat": "New Features",
"enhance": "Enhancements",
"bug": "Bug Fixes",
"pref": "Performance Improvements",
"perf": "Performance Improvements",
"changes": "What's Changed",
"sec": "Security fixes",
"deps": "Dependencies",
13 changes: 13 additions & 0 deletions .github/workflows/publish-cli-js.yml
Original file line number Diff line number Diff line change
@@ -48,6 +48,8 @@ jobs:
target: x86_64-unknown-linux-gnu
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
build: |
npm i -g --force corepack
corepack enable
cd packages/cli
pnpm build --target x86_64-unknown-linux-gnu
strip *.node
@@ -67,6 +69,8 @@ jobs:
target: aarch64-unknown-linux-gnu
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
build: |
npm i -g --force corepack
corepack enable
cd packages/cli
pnpm build --target aarch64-unknown-linux-gnu
aarch64-unknown-linux-gnu-strip *.node
@@ -88,6 +92,15 @@ jobs:
rustup target add aarch64-unknown-linux-musl
pnpm build --target aarch64-unknown-linux-musl
/aarch64-linux-musl-cross/bin/aarch64-linux-musl-strip *.node
- host: ubuntu-22.04
architecture: x64
target: riscv64gc-unknown-linux-gnu
setup: |
sudo apt-get update
sudo apt-get install gcc-riscv64-linux-gnu g++-riscv64-linux-gnu -y
build: |
pnpm build --target=riscv64gc-unknown-linux-gnu
riscv64-linux-gnu-strip *.node
name: stable - ${{ matrix.settings.target }} - node@20
runs-on: ${{ matrix.settings.host }}
steps:
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -13,6 +13,8 @@ node_modules/

# .vscode workspace settings file
.vscode/settings.json
.vscode/launch.json
.vscode/tasks.json

# npm, yarn and bun lock files
package-lock.json
Loading