github tauri-apps/tauri @tauri-apps/api-v2.0.0-beta.1
@tauri-apps/api v2.0.0-beta.1

Yarn Audit

yarn audit v1.22.21
info No lockfile found.
0 vulnerabilities found - Packages audited: 162
Done in 2.81s.

[2.0.0-beta.1]

New Features

  • 16e550ec(#8844) Add a new webviewWindow module that exports WebviewWindow class and related methods such as getCurrent and getAll.
  • 16e550ec(#8844) Add Window.onFileDropEvent method.

Breaking Changes

  • 16e550ec(#8844) Renamed the following enum variants of TauriEvent enum:

    • TauriEvent.WEBVIEW_FILE_DROP -> TauriEvent.FILE_DROP
    • TauriEvent.WEBVIEW_FILE_DROP_HOVER -> TauriEvent.FILE_DROP_HOVER
    • TauriEvent.WEBVIEW_FILE_DROP_CANCELLED -> TauriEvent.FILE_DROP_CANCELLED
  • 16e550ec(#8844) Move WebviewWindow class from webview module to a new webviewWindow module.

Yarn Publish

yarn run v1.22.21
$ yarn build && cd ./dist && yarn publish --access public --loglevel silly --tag next
$ rollup -c --configPlugin typescript
�[36m
�[1m./src/app.ts, ./src/core.ts, ./src/dpi.ts, ./src/event.ts, ./src/index.ts, ./src/menu.ts, ./src/mocks.ts, ./src/path.ts, ./src/tray.ts, ./src/webview.ts, ./src/webviewWindow.ts, ./src/window.ts�[22m → �[1m./dist, ./dist�[22m...�[39m
�[32mcreated �[1m./dist, ./dist�[22m in �[1m1.2s�[22m�[39m
�[36m
�[1msrc/index.ts�[22m → �[1m../../core/tauri/scripts/bundle.global.js�[22m...�[39m
�[32mcreated �[1m../../core/tauri/scripts/bundle.global.js�[22m in �[1m1.7s�[22m�[39m
[1/4] Bumping version...
info Current version: 2.0.0-beta.1
[2/4] Logging in...
[3/4] Publishing...
success Published.
[4/4] Revoking token...
info Not revoking login token, specified via config file.
Done in 8.82s.

Don't miss a new tauri release

NewReleases is sending notifications on new releases.