Kingsword
638804e9c4
fix: ensure set_window_effects runs on main thread in WindowBuilder ( #13422 ) ( #13423 )
...
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com >
2025-05-16 23:38:12 +02:00
Tony
1686296463
refactor: put dynamic acl to a feature ( #13418 )
...
* refactor: put dynamic acl to a feature
* Add change file
* Tweak remove_unused_commands's docs
* License header
* Document the feature
* Merge remote-tracking branch 'upstream/dev' into dynamic-acl-feature
* Use a inner non generic fn for add_capability
* Clippy and macro stability notice
* Merge remote-tracking branch 'upstream/dev' into dynamic-acl-feature
* Format
2025-05-16 22:54:23 +08:00
dependabot[bot]
85baacd18b
chore(deps): bump undici from 5.28.5 to 5.29.0 ( #13450 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <github@fabianlars.de >
2025-05-15 18:41:01 +02:00
Tony
c31c75fffc
docs: fix missing docs for a few methods ( #13449 )
2025-05-16 00:17:28 +08:00
renovate[bot]
9687a9b4fb
chore(deps): update rust crate zip to v3 ( #13445 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-15 15:25:25 +08:00
Tony
4acae1ec02
fix(macos): run app.set_theme on main thread ( #13443 )
...
* fix(macos): run `app.set_theme` on main thread
* Change file
2025-05-15 15:13:23 +08:00
Tony
d38d90b8d9
refactor: reduce the code in macro pass ( #13441 )
2025-05-15 09:26:49 +08:00
Tony
b52da29d5d
fix: main binary name can't contain dots ( #13429 )
...
* fix: main binary name can't contain dots
* Revert the change in tauri.conf.json
* Change file
* Use target platform when matching extension
2025-05-14 16:50:12 +08:00
Tony
574a4d4d36
fix(cli): slow dev startup ( #13426 )
...
* fix(cli): slow dev startup
* Use `recv_timeout` instead
* Update crates/tauri-cli/src/interface/rust.rs
Co-authored-by: Fabian-Lars <github@fabianlars.de >
---------
Co-authored-by: Fabian-Lars <github@fabianlars.de >
2025-05-14 16:48:05 +08:00
Tony
1777406a16
chore: apply some clippy suggestions ( #13424 )
2025-05-13 14:18:24 +08:00
MidnightCrowing
d3586a2afa
docs(api): fix incorrect example and clarify description for dirname in path API docs ( #13417 )
2025-05-12 16:35:35 +08:00
Tony
b7cdb3b39e
chore: feature gate html manipulation code ( #13410 )
...
* Feature gate html manipulation code
* Change file
2025-05-11 00:13:19 +08:00
Amr Bashir
96ecfca428
feat: check if webview runtime is accessible when creating a webview ( #13406 )
2025-05-10 06:00:09 +03:00
dependabot[bot]
0e616dbbcb
chore(deps): bump ring from 0.17.8 to 0.17.14 ( #13409 )
...
Bumps [ring](https://github.com/briansmith/ring ) from 0.17.8 to 0.17.14.
- [Changelog](https://github.com/briansmith/ring/blob/main/RELEASES.md )
- [Commits](https://github.com/briansmith/ring/commits )
---
updated-dependencies:
- dependency-name: ring
dependency-version: 0.17.14
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-10 09:58:21 +08:00
Oscar Beaumont
bc2f0e48ac
fix(macOS): caculation for work area ( #13401 )
...
* remove y offset
* Create change-pr-13401.md
2025-05-09 08:36:12 -03:00
renovate[bot]
efcc840ff0
chore(deps): update dependency eslint-config-prettier to v10.1.5 ( #13403 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-09 15:27:18 +08:00
Fabian-Lars
7897ed257d
fix(cli): don't canonicalize cargo's target dir in frontendDist verification ( #13392 )
2025-05-07 23:00:24 +02:00
renovate[bot]
1a018878ab
chore(deps): update dependency eslint-config-prettier to v10.1.3 ( #13387 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-07 21:17:19 +08:00
renovate[bot]
e15f665efc
chore(deps): update dependency rollup to v4.40.2 ( #13381 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-06 20:12:53 +08:00
Fabian-Lars
479cee3d36
fix(bundler): set ARCH env var for appimagetool ( #13260 )
2025-05-06 08:48:56 -03:00
39zde
09c19932d2
feat: add support for Service-Woker-Allowed HTTP header ( #13304 )
...
* add support for Service-Worker-Allowed headers
* add changes readme
* add service_worker_allowed in to_tokens
2025-05-06 08:15:19 -03:00
Tony
4221124c4e
fix: use app's resource table for storing tray icons ( #13316 )
...
* Use app's resource table for storing tray icons
* Clean up
* Move remove tray logic to Resource::close
2025-05-06 08:11:49 -03:00
Lucas Fernandes Nogueira
b985eaf0a2
fix(core): immediately unregister event listener on unlisten call ( #13306 )
...
* 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
2025-05-05 10:46:05 -03:00
Miguel Duarte
c84b162374
docs: Fix description and add example for WebviewWindowBuilder::from_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 <lucas@tauri.app >
2025-05-05 09:37:53 -03:00
geeseofbeverlyroad
4f75bf5bdb
docs: Added more detailed comments to menu popup method and DPI-related classes ( #13368 )
...
* Detailed function description for popup()
* Expanded DPI class descriptions
* fmt
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2025-05-05 09:25:30 -03:00
Tony
b5c549d189
refactor: rework transformCallback ( #13325 )
...
* refactor: rework `transformCallback`
* Migrate listen and unlisten js
* handlerId -> listener.handlerId
* Update docs
* `transformCallback` change file
* typo
2025-05-05 09:15:38 -03:00
Daniil Oberlev
208f4bcadc
changed operator in vite.config.js ( #13373 )
...
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator.
2025-05-04 03:56:28 +03:00
Lucas Fernandes Nogueira
f0662e41f4
fix(tauri-runtime-wry): window prevent overflow monitor check ( #13365 )
2025-05-03 14:31:43 -03:00
Matthew Richardson
dfacb656d2
fix: Can't register multiple plugin listeners for an event ( #13360 )
...
* fix: Can't register multiple listeners for an event
* add change file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2025-05-02 15:43:47 -03:00
Tony
db03f00693
refactor: use WindowConfig for create_webview ( #13322 )
...
* refactor: use WindowConfig for `create_webview`
* Pass in label inside options
* Fix compile
2025-05-01 09:43:25 -03:00
Lucas Nogueira
a60a383360
chore(ci): tweak workflow name reference in paths list
2025-05-01 09:20:52 -03:00
Tony
aa8661acfd
chore(deps): bump js dependencies ( #13355 )
2025-05-01 11:29:35 +02:00
Lucas Fernandes Nogueira
e045fe32c9
fix(bundler): custom sign command failing to sign uninstaller executable ( #13334 )
2025-04-30 15:21:14 -03:00
Kingsword
197da6fe78
docs(window): monitorFromPoint example error ( #13340 )
2025-04-30 03:24:32 +03:00
Oscar Beaumont
94b77b36e3
fix: use format_callback::format_raw for channels ( #13288 )
...
* fix it
* Create change-pr-13288.md
* fixes
* fixes
* fix .change
2025-04-29 08:45:22 +08:00
renovate[bot]
527bf0031e
chore(deps): update dependency rollup to v4.40.1 ( #13328 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-28 15:03:27 +08:00
Kingsword
35aa7e1218
fix(cli): Allow the use of target dir inside frontendDist/distDir (unless it's cargo's target dir) ( #13294 )
...
Co-authored-by: Fabian-Lars <github@fabianlars.de >
2025-04-27 21:37:50 +02:00
Kingsword
23b9da75b9
fix path joining behavior where path.join('', 'a') incorrectly returns "/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 <legendmastertony@gmail.com >
2025-04-27 14:18:27 +08:00
Neriya Cohen
8a8c1f9f3b
fix(windows): typos in Hebrew translation for NSIS installer ( #13317 )
2025-04-27 11:09:20 +08:00
Kingsword
50ebddaa2d
feat: expose the setAutoResize API for webviews in @tauri-apps/api ( #13318 ) ( #13319 )
2025-04-27 10:27:23 +08:00
Lucas Fernandes Nogueira
568efb4568
fix: follow-up fix for monitor work area on macOS ( #13310 )
...
follow-up for #13309
2025-04-26 15:03:35 -03:00
Lucas Fernandes Nogueira
6ce10ab773
fix: monitor work_area on macOS ( #13309 )
...
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).
2025-04-25 20:08:46 -03:00
Lucas Fernandes Nogueira
039f44b7b1
fix(core): fix TrayIcon.getById returning new resource IDs ( #13307 )
...
* 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
2025-04-25 15:30:53 -03:00
situ2001
00dfc32a2d
docs(webview): corrected examples to ensure webview is created after window initialization ( #13279 )
...
* fix: typo
* docs(webview): corrected examples to ensure webview is created after window initialization
2025-04-23 04:56:52 +02:00
situ2001
76cbeef208
fix: add proxy URL support to Webview at Rust-side. ( #13278 )
...
* fix: add proxy URL support to Webview
* chore: add .changes file
* Change file
2025-04-23 09:38:43 +08:00
Amr Bashir
267368fd4f
feat: add workarea getter for monitor ( #13276 )
2025-04-23 03:29:03 +02:00
situ2001
4e00b27913
docs: update example for in webview ts api ( #13272 )
2025-04-21 18:15:14 +02:00
github-actions[bot]
766bccc341
apply version updates ( #13243 )
...
Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com >
tauri-v2.5.1
2025-04-21 05:54:30 +02:00
Amr Bashir
31becbd1d1
enhance(core): respect data-tauri-drag-region="false" ( #13269 )
2025-04-21 05:03:54 +02:00
Tony
da2a6ae5e3
fix(core): raw channel message type regression ( #13268 )
...
* Fix raw channel message type regression
* Re-word change file
* Rename formated_bytes to bytes_as_json_array
2025-04-21 10:26:00 +08:00