Skip to content

[pull] dev from tauri-apps:dev#19

Open
pull[bot] wants to merge 3707 commits into
ebfork:devfrom
tauri-apps:dev
Open

[pull] dev from tauri-apps:dev#19
pull[bot] wants to merge 3707 commits into
ebfork:devfrom
tauri-apps:dev

Conversation

@pull

@pull pull Bot commented Mar 17, 2022

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

Legend-Master and others added 27 commits January 18, 2026 21:09
* 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>
)

* feat(webview): add set_simple_fullscreen to WebviewWindow

* add changes

* Combine per platform fn to one

---------

Co-authored-by: Tony <legendmastertony@gmail.com>
Co-authored-by: Fabian-Lars <github@fabianlars.de>
* fix(cli): only watch dependent workspace members

* Use manifest path instead of `workspace_default_members`

* Add change file

* Merge remote-tracking branch 'upstream/dev' into only-watch-dependencies

* `bug` not `fix`

* Merge branch 'dev' into only-watch-dependencies

* Remove `CargoMetadataExpended`

* Merge remote-tracking branch 'upstream/dev' into only-watch-dependencies

* Remove top level `.taurignore`

* Load ignore files from workspace root
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
* fix(core): update error wording for invalid version field

fixes #14799

* fmt
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* feat(nsis): add Norwegian language support for installer

* feat(nsis): add Norwegian language support for installer strings

* Add change file
* fix(tauri-cli): be more conservative to preserve behavior (#14804)

* refactor(tauri-cli): move app path initialization into commands
* refactor(tauri-cli): use OsString where possible

* refactor(tauri-cli): remove needless scoping blocks

* refactor(tauri-cli): make return type concrete

* refactor(tauri-cli): use ?

* refactor(tauri-cli): coerce later to trait object

* refactor(tauri-cli): remove clone

* refactor(tauri-cli): make better use of static OnceLock

* fix(tauri-cli): upgrade atomics to SeqCst

* Add change file

* Update .changes/change-pr-14836.md

Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
* refactor(tauri-cli):  remove unneeded Arc<Mutex>

* fix(tauri-cli): remove busy-looping
* perf(tauri-build): refactor find_icon to use &str to remove unnecessary clones

* refactor(perf-tauri-build): remove obsolete changelog for find_icon refactor

* refactor(tauri-build): inline find_icon logic to simplify window icon path retrieval

* refactor(context): update find_icon predicate to use &str

* refactor(context): simplify predicate in find_icon to accept &&String

* Update crates/tauri-build/src/lib.rs

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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* feat(ci): use trusted publishers for NPM publishing

* bump npm version

* update npm

* use empty NODE_AUTH_TOKEN

* entire workflow permissions
api, CLI and tauri crates must be in sync
onehumandev and others added 30 commits July 6, 2026 20:35
…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>
* fix(tauri-runtime-wry): redraw Sync/non-Sync boundaries

* fix(tauri-runtime-wry): redraw Send/non-Send boundaries

* add change file

* fix: clippy

* address review
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
)

* remove needless pinning

* less unsafe

* reduce use of potentially dangerous fn inner() and replace with fn deref() where possible

* refactor(tauri): remove unnecessary trait bounds

* Add change file
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fabian-Lars <30730186+FabianLars@users.noreply.github.com>
* chore: run clippy on all platforms

* Only install dependencies for linux

* Use cross on Android

* mac clippy

* mobile clippy

* run on `macos-latest`

* duplicated cargo

* mac clippy suggestion take 2

* ios clippy

* Exclude tauri-cli and tauri-bundler on mobile

* Exclude `tauri-cli-node`

* just test api example on mobile

* Fix audit

* Android clippy

* Run the event handler in test
* chore(deps): serial_test 3.5.0 to deal with RUSTSEC advisory

* add change file
…ix #15583) (#15604)

* fix(core): purge JS event listeners when source webview is destroyed (fix #15583)

JS event listeners registered from a webview are stored in the backend
Listeners::js_event_listeners map keyed by the source webview label. When
the webview was destroyed the manager removed its handle but left the
listener entries behind. Their JS runtime no longer exists, so the
callbacks can never be delivered and the metadata leaked until app exit,
forcing apps to manually unlisten() before closing a window.

Add Listeners::remove_webview_events and call it from on_webview_close and
on_window_close so a destroyed webview's listeners are dropped with it.

* refactor(core): rename remove_webview_events to remove_webview_js_listeners

Clarify that this only purges JS-side listeners, matching the
js_event_listeners map it operates on.

Addresses @Legend-Master's review feedback.

* style(core): rustfmt remove_webview_js_listeners call site
)

* chore: rename LICENSE files to use dashes instead of underscores

cargo-about doesn't detect the license files because of the underscore in
their names (`LICENSE_APACHE-2.0`, `LICENSE_MIT`). Rename them to the
dashed form (`LICENSE-APACHE-2.0`, `LICENSE-MIT`), matching the more common
convention, and update the relative-path pointer files under
crates/tauri-driver and crates/tests/restart accordingly.

Closes #15243

* chore: rename bundler license files to use dashes
…5224)

* tauri-runtime-wry: avoid leaking ObjC retains in with_webview

WebviewMessage::WithWebview converted Retained<T> values to raw pointers with Retained::into_raw on Apple targets, transferring ownership without a corresponding release in this path.

Use scoped Retained bindings and Retained::as_ptr for pointer handoff to the callback payload. This preserves borrowing semantics for callback lifetime and keeps Objective-C retain/release balanced when the retained values drop after callback return.

Fixes #15210

* chore: add changes file for #15210

* changes: fix covector metadata for objc leak patch

Format .changes/fix-objc-retain-leak.md with valid covector front matter and package bump metadata.

This resolves CI failures in check-change-tags and covector status for this PR.

* chore(tauri-runtime-wry): document Apple Webview pointer fields

Add a doc/TODO note on the Apple with_webview pointer fields
(webview/manager/ns_window/view_controller): they're borrowed from
ObjC Retained handles and must not be mutated through, and should
become *const c_void in v3.

* refactor(tauri-runtime-wry): simplify pointer cast in with_webview

Apply Legend-Master's suggestion: use .cast_mut() instead of casting
through *const c_void first, across all macOS/iOS with_webview fields.
* chore: fix new clippy warnings from 1.97

* fix mac

* Put in `{}`
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Kotlin Gradle Plugin deprecated the string-based `kotlinOptions` DSL and
2.3+ rejects it with a hard error. Use the `compilerOptions` DSL with
`JvmTarget.JVM_1_8` instead, which is accepted on both 1.9.x and 2.x, so
projects can move to Kotlin 2.x without editing the vendored
`:tauri-android` scripts.
* Migrate to svelte ts for API example

* Clean up

* Use `$derived` `selectedWebview`

* Do the change in onchange instead of state effects

* Set initial x y and sizes

* revert ai slop on main.ts

* More cleanup

* Remove ConsoleMessage

* Remove View type

* license header

* Use `ViewProps`

* Use same button spacing through out

* Move theme example to top level theme switch

* Fix menu views

* More cleanups

* Final cleanup

* Move types to svelte files

* fallback to empty string not false
* fix(bundler): preserve mapped resource names in wix

* Refactor the entire `generate_resource_data`

* Add `ResourceFile::new`

* Use back the hashmap but with entry

* Remove `ResourceDirectory::name` and rely on `directories`

* Fix tests

* Fix git stage

* Add change file

* Make `target_name` optional

* Cleanup

---------

Co-authored-by: Tony <legendmastertony@gmail.com>
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
* fix: `referenced_by` compilation on different debug profiles

* Guess `ResolvedCommandReference` can't be `debug_assertions` only anymore

* no `const` or
`the destructor for this type cannot be evaluated in constant functions`

* Remove ToTokens guard for ResolvedCommandReference

* Rely on `default` and empty out the `ResolvedCommandReference`

* `ResolvedCommandReference` needs the same
* Migrate to svelte ts for API example

* Clean up

* Use `$derived` `selectedWebview`

* Do the change in onchange instead of state effects

* Set initial x y and sizes

* revert ai slop on main.ts

* More cleanup

* Remove ConsoleMessage

* Remove View type

* license header

* Use `ViewProps`

* Use same button spacing through out

* Move theme example to top level theme switch

* Fix menu views

* More cleanups

* Merge branch 'dev' into api-example-svelte-ts

* Final cleanup

* Move types to svelte files

* fallback to empty string not false

* Initial work

* Bump deps

* Make dragging with states work

* Fix sorting

* Move everything to `MenuBuilder.svelte`

* Add remove button

* Fix Menu and Tray

* Make menu items reactive

* Sync checked states

* Add placeholder to menu builder

* Set user-select to none

* Fix text in the console

* Rework tray page layout

* Close all menus on MenuBuilder unmounted

* Clean up menus properly

* Add initial text and icon on the menu builders

* Move MenuItems to MenuBuilder

* format

* Merge branch 'dev' into api-example-svelte-ts

* Merge branch 'api-example-svelte-ts' into menu-example-rework

* Re-create all the elements as a work around

* Reorder the menu items on builder changes

* On one tray for the tray page

* Update menus on add and remove

* Same for the tray

* Space and align checkboxes

* Merge remote-tracking branch 'upstream/dev' into menu-example-rework

* Clean up menus properly

* Merge branch 'dev' into menu-example-rework

* Remove duplicated webview in new command

* Merge branch 'dev' into menu-example-rework
* fix(ci): bump all setup-node action versions

* NAPI on node 22 as well

* remove covector node version lock
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* feat(bundler): show bundle sizes in the finished output

Append a human-readable size to each bundle path in the "Finished N bundles
at:" log, so the sizes are visible right after `tauri build` instead of
having to look them up manually. Directory bundles (e.g. macOS `.app`) are
measured recursively.

Closes #15341

* chore: include tauri-cli in changefile

* refactor(bundler): use human_bytes crate for size formatting

* Also `@tauri-apps/cli`

* Change to use bytesize for 2 digit precisions
And fail instead of reporting partial sizes

---------

Co-authored-by: Tony <legendmastertony@gmail.com>
* Use `Theme.Material3.DayNight.NoActionBar` by default

* Fix insets on Android

* Add change file

* Revert back to margin-top: 0.5rem

* Align content start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.