Update tauri monorepo to v2 (major) #258
Open
+79
−73
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.
This PR contains the following updates:
1.6.0->2.9.01.5.6->2.9.31.5.2->2.0.01.5.0->2.0.0Release Notes
tauri-apps/tauri (@tauri-apps/api)
v2.9.0: @tauri-apps/api v2.9.0Compare Source
PNPM Audit
[2.9.0]
New Features
f5851ee00(#14089) Adds thescrollBarStyleoption to the Webview and WebviewBuilder constructors.3397fd9bf(#14133) Addedapp > onBackButtonPressfor Android back button handling.Enhancements
59089723f(#14091) Added a config to set a data_directory relative to the app-specific data dir in JavaScript andtauri.conf.json.Bug Fixes
08bda64c2(#14132) Fixcore > addPluginListenerfailing on command permission check.PNPM Publish
v2.8.0: @tauri-apps/api v2.8.0Compare Source
PNPM Audit
[2.8.0]
New Features
68874c68c(#13564 by @robertrpf) Add window focusable attribute and set_focusable API.5110a762e(#13830 by @Sky-walkerX) AddedWindow::setSimpleFullscreen.Enhancements
5ba1c3faa(#13722 by @s00d) Added icon (icon and nativeIcon) support for Submenu:tauri), you can now set an icon for submenus via the builder and dedicated methods.@tauri-apps/api),SubmenuOptionsnow has aniconfield, and theSubmenuclass providessetIconandsetNativeIconmethods.This is a backwards-compatible feature. Submenus can now display icons just like regular menu items.
PNPM Publish
v2.7.0: tauri v2.7.0Compare Source
Cargo Audit
[2.7.0]
New Features
7bc77a038(#13609 by @Legend-Master) Addedtauri::plugin::Builder::js_init_script_on_all_framesthat allows plugins to add initialization scripts that runs on all framesEnhancements
7f3c98911(#13837 by @WSH032) AddAppHandle::plugin_boxedandBuilder::plugin_boxedmethods to allow adding plugins in the form of boxed trait objects.7bc77a038(#13609 by @Legend-Master)tauri::plugin::Builder::js_init_scriptnow takesimpl Into<String>instead ofStringBug Fixes
6a4451bcd(#13849 by @Legend-Master) Fix isolation pattern creates iframes within iframes on Windows4ba871c5d(#13782 by @lucasfernog) Fixes loading external URLs in mobile development mode.1c5df96fe(#13773 by @tasgon) Forward request body on the mobile frontend proxy.Dependencies
[email protected][email protected][email protected][email protected][email protected]Cargo Publish
v2.6.0: @tauri-apps/api v2.6.0Compare Source
PNPM Audit
[2.6.0]
New Features
50ebddaa2(#13319 by @kingsword09) Expose thesetAutoResizeAPI for webviews in@tauri-apps/api.267368fd4(#13276 by @amrbashir) AddMonitor.workAreafield.Bug Fixes
23b9da75b(#13324 by @kingsword09) Fixed path joining behavior wherepath.join('', 'a')incorrectly returns "/a" instead of "a".b985eaf0a(#13306 by @lucasfernog) Immediately unregister event listener when the unlisten function is called.What's Changed
b5c549d18(#13325 by @Legend-Master)transformCallbacknow registers the callbacks insidewindow.__TAURI_INTERNALS__.callbacksinstead of directly onwindow['_{id}']PNPM Publish
v2.5.0: tauri-build v2.5.0Compare Source
Cargo Audit