fix(deps): update tauri monorepo to v2 (major) #16
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->^2.0.0^1->^2.0.01->21->2Release Notes
tauri-apps/tauri (@tauri-apps/api)
v2.9.1: @tauri-apps/api v2.9.1Compare Source
PNPM Audit
[2.9.1]
Bug Fixes
ad1dec2e2(#14464 by @funnydino) FixaddPluginListenerfallback added in #14132 didn't work properlyPNPM Publish
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-apps/api v2.7.0Compare Source
PNPM Audit
[2.7.0]
New Features
232265c70(#13209 by @kandrelczyk) AddedgetBundleTypeto the app module.Enhancements
96391467e(#13783 by @JosephBrooksbank) Allow events emitted withemitto be handled correctly bylistencallbacks when in a mocked environmentBug Fixes
152d971bc(#13744 by @Legend-Master) ExposeunregisterCallback,runCallback,callbacksinmockIPCb821796ad(#13810 by @asdolo) Add missingtrafficLightPositionTypeScript type definitionPNPM 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-apps/api v2.5.0Compare Source
PNPM Audit
[2.5.0]
New Features
66e6325f4(#13136) Allow passing the callback as the parameter of constructor ofChannelso you can use it like thisnew Channel((message) => console.log(message))ea36294cb(#13208) AddeddisableInputAccessoryView: boolconfig for iOS.c1cd0a2dd(#13090) macOS/iOS: add option to disable or enable link previews when building a webview (the webkit api has it enabled by default)WindowOptions::allowLinkPreviewWebviewOptions::allowLinkPreviewb072e2b29(#9687) AddpreventOverflowconfig option to prevent the window from overflowing the monitor size on creationdd4f13ce4(#13185) Addedapp.setDockVisibilityfor macOS.Enhancements
b8f86669a(#13145)core.isTaurinow leveragesglobalThisinstead ofwindowin order to be used in unit tests.Bug Fixes
66e6325f4(#13136) FixChannel's callback attached towindownever cleaned upPNPM Publish
v2.4.1: @tauri-apps/api v2.4.1Compare Source
PNPM Audit
[2.4.1]
Enhancements
dd1372833(#13066 by @ahaoboy) Add a generic toemitandemitTofunctions for thepayloadinstead of the previously used type (unknown).PNPM Publish
v2.4.0: @tauri-apps/api v2.4.0Compare Source
PNPM Audit
[2.4.0]
New Features
d8059bad3(#12900 by @Simon-Laux) addAppHandle.fetch_data_store_identifiersandAppHandle.remove_data_store(macOS and iOS only)20c190691(#12821 by @Simon-Laux) AddedWindowOptions::javascriptDisabledandWebviewOptions::javascriptDisabled.060de5bbd(#12837 by @niladrix719) AddedgetIdentifier()function to get the application identifier configured in tauri.conf.jsonbe2e6b85f(#12944 by @Simon-Laux) AddedWindow#isAlwaysOnTopandWebviewWindow#isAlwaysOnTopmethods.bcdd51025(#13012 by @lucasfernog) Thepathbasename and extname APIs now accept Android content URIs, such as the paths returned by the dialog plugin.Bug Fixes
3a74dc8f3(#12935 by @tk103331) FixWebview.closealways fail with command not foundPNPM Publish
v2.3.0: @tauri-apps/api v2.3.0Compare Source
PNPM Audit
[2.3.0]
Enhancements
a2d36b8c3(#12181 by @bastiankistner) Add an option to change the default background throttling policy (currently for WebKit only).PNPM Publish