Skip to content

Conversation

pull[bot]
Copy link

@pull pull bot commented Mar 17, 2022

See Commits and Changes for more details.


Created by pull[bot]

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

amrbashir and others added 27 commits April 23, 2025 03:29
* fix: add proxy URL support to Webview

* chore: add .changes file

* Change file
…window initialization (#13279)

* fix: typo

* docs(webview): corrected examples to ensure webview is created after window initialization
* fix(core): fix TrayIcon.getById returning new resource IDs

this prevents the close() from working properly if you somehow lose the new() resource ID (for instance when the app reloads) and need to pick it up again and close it.

* cleanup on close
macOS uses a different coordinate system for visibleFrame, so to get accurate values we should only get the diff between frame() and visibleFrame() and apply that to the standard monitor position returned by CGDisplayBounds. Size isn't impacted by this, and properly returns the value (accounting for dock position).
…s "/a" instead of "a" (#13313) (#13324)

* fix path joining behavior where path.join('', 'a') incorrectly returns "/a" instead of "a" (#13313)

* Clean up

---------

Co-authored-by: Tony <[email protected]>
…less it's cargo's target dir) (#13294)

Co-authored-by: Fabian-Lars <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix it

* Create change-pr-13288.md

* fixes

* fixes

* fix .change
* refactor: use WindowConfig for `create_webview`

* Pass in label inside options

* Fix compile
* fix: Can't register multiple listeners for an event

* add change file

---------

Co-authored-by: Lucas Nogueira <[email protected]>
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator.
* refactor: rework `transformCallback`

* Migrate listen and unlisten js

* handlerId -> listener.handlerId

* Update docs

* `transformCallback` change file

* typo
…ated classes (#13368)

* Detailed function description for popup()

* Expanded DPI class descriptions

* fmt

---------

Co-authored-by: Lucas Nogueira <[email protected]>
…_config` (#13374)

* Update docs for WebviewWindowBuilder::from_config

The documentation for `WebviewWindowBuilder::from_config` mentions changing the label of the new `WebviewWindowBuilder`, which is not possible.

Instead, the label must be changed in the `WindowConfig` that is passed into `WebviewWindowBuilder::from_config`.

This change fixes that description and adds an example code snippet for this use-case.

* Add reference to function arguments so the type is correctly inferred

* Remove unnecesary reference

* fix tests

* fix doctest

---------

Co-authored-by: Lucas Nogueira <[email protected]>
…3306)

* fix(core): immediately unregister event listener on unlisten call

the unlisten function is currently async, but marked as `() => void` in the TypeScript definition. To avoid a breaking change, we're going to immediately unregister the listener function so it's not called.

this fixes a race condition where after calling unlisten() you would still receive events if you do not `await` it and there's a new event triggering while the unlisten command is running

* cleanup

* fix build

* fix ci
* Use app's resource table for storing tray icons

* Clean up

* Move remove tray logic to Resource::close
* add support for Service-Worker-Allowed headers

* add changes readme

* add service_worker_allowed in to_tokens
lucasfernog and others added 30 commits August 28, 2025 12:36
without the type Deno assumes that the package is a ESM so it cannot use `require`
we should probably update our minimum Node.js version and use ESM instead, but I want to ship this fix first
useful to propagate RUST_BACKTRACE to the IDE commands
…14110)

Deno doesn't set an environment variable to help us, so I had to use the exe path to determine whether we're running under deno or not
* chore(tauri): update documentation for home_dir on iOS

ref #12497

* update
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* docs: improve resources docs

* Clippy
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
)

* feat(cli): prompt to install iOS runtime if needed, closes #9186

* ensure runtime is installed

* only when running directly

* use starts_with
* feat(cli): set default log level when adding the log plugin

needs tauri-apps/plugins-workspace#2965

ref #14075

* Update crates/tauri-cli/src/add.rs
* feat(api): ad dataDirectory setting config

* changefile fmt

* chain, log if dirs::data_local_dir fails

---------

Co-authored-by: Lucas Nogueira <[email protected]>
#14052)

* feat(bundle): add --no-sign flag to skip code signing in bundling process

- Introduce a
o_sign option in bundle settings to allow skipping code signing
- Update macOS and Windows bundler implementations to respect the flag
- Wire up CLI option --no-sign to control signing behavior during bundling
- Add necessary config and type changes to propagate the flag throughout bundler

Signed-off-by: ShigrafS <[email protected]>

* ci: added yml for github action testing

Signed-off-by: ShigrafS <[email protected]>

* fix: fixed field 'digest_algorithm' is already declared error

Signed-off-by: ShigrafS <[email protected]>

* ci: updated to test the new features as well

Signed-off-by: ShigrafS <[email protected]>

* ci: fixed yml issue

Signed-off-by: ShigrafS <[email protected]>

* fix: fixed missing parameter issue in android sign.rs

Signed-off-by: ShigrafS <[email protected]>

* chore: apply linting

Signed-off-by: ShigrafS <[email protected]>

* chore: remove redundant files

Signed-off-by: ShigrafS <[email protected]>

* chore: revert indentations

Signed-off-by: ShigrafS <[email protected]>

* fix: added parameters to ios mobile build.rs

Signed-off-by: ShigrafS <[email protected]>

* docs: updated documentation for settigs.rs

Signed-off-by: ShigrafS <[email protected]>

* docs(cli): add documentation for
o_sign flag in build options

Signed-off-by: ShigrafS <[email protected]>

* chore: apply cargo fmt

Signed-off-by: ShigrafS <[email protected]>

* docs: added CHANGES.md

Signed-off-by: ShigrafS <[email protected]>

* refactor(bundler): make
o_sign private and add getter

Signed-off-by: ShigrafS <[email protected]>

* fix: minor error

Signed-off-by: ShigrafS <[email protected]>

* refactor: revert build_benchmark_jsons.rs

Signed-off-by: ShigrafS <[email protected]>

* impl for macos too

* fix ci

* fix windows build

---------

Signed-off-by: ShigrafS <[email protected]>
Co-authored-by: Lucas Nogueira <[email protected]>
Co-authored-by: Lucas Fernandes Nogueira <[email protected]>
* Expose `ScrollBarStyle` webview option to tauri.

This commit exposes the scroll_bar_style option from wry via the tauri
WebviewWindowBuilder API. By itself, the commit does not include changes
to the configuration file or JavaScript APIs: These will be added in a
later commit.

* Fix a compile error on macOS and Linux.

* Add `scroll_bar_style` to WindowConfig.

This commit exposes the `scroll_bar_style` option in tauri.conf.json/
.json5/.toml as `scrollBarStyle` and `scroll-bar-style`.

* Expose `scroll_bar_style` to JavaScript API.

This commit exposes the `scroll_bar_style` in the options object passed
to the JavaScript API `Webview` and `WebviewWindow` constructors.

While testing this, I discovered that on Windows, attempting to create
a webview from the JavaScript API will cause the hosting window to
immediately hang if it attempts to use the same data directory as
another webview without sharing the same environment options. This
commit includes no mitigation for this behaviour, as I will be opening
a separate issue about it at some point in the near future.

* Document WebView2 environment requirements.

This commit adds a message to the documentation for all components of
the `scroll_bar_style` configuration option, telling users that all
webviews that use the same data directory must use the same value for
this option.

* Fix formatting.

* Add change files to .changes directory.

* Remove `tauri-schema-generator` from change file.

* Remove quotes from change tags.

* Add tags to change files.

I did not realise that these were needed, as the pull request that I
used as my reference when building this feature did not have them.

* update conf

---------

Co-authored-by: Lucas Nogueira <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* chore(deps-dev): bump vite from 7.0.4 to 7.0.7

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 7.0.4 to 7.0.7.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v7.0.7/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.0.7/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 7.0.7
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

* Deduplicate

* pnpm dedupe

* Update vite to 7.1.5

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tony <[email protected]>
…n closed on Windows platform (#14209)

Co-authored-by: Kirill Gribunin <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.