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

latest releases: @tauri-apps/cli-v1.6.4, tauri-cli-v1.6.4, tauri-bundler-v1.7.2...
3 months ago

Yarn Audit

yarn audit v1.22.22
info No lockfile found.
0 vulnerabilities found - Packages audited: 160
Done in 1.87s.

[2.0.0-beta.15]

New Features

Enhancements

  • 080b6e127 (#10246 by @Legend-Master) Use EventName on Window, Webview and WebviewWindow's once so you can get auto complete for tauri's built-in events

Bug Fixes

Breaking Changes

  • 261c9f942 (#10170 by @amrbashir) Renamed drag and drop events in TauriEvent enum to better convey when they are triggered:

    • TauriEvent.DRAG -> TauriEvent.DRAG_ENTER
    • TauriEvent.DROP_OVER -> TauriEvent.DRAG_OVER
    • TauriEvent.DROP -> TauriEvent.DRAG_DROP
    • TauriEvent.DROP_CANCELLED -> TauriEvent::DRAG_LEAVE

    Also the type field values in Window/Webview/WebviewWindow.onDropEvent and DragDropEvent have changed:

    • dragged -> enter
    • dragOver -> over
    • dropped -> drop
    • cancelled -> leave
  • 2b1ceb40d (#10229 by @amrbashir) Renamed the JS getCurrent and getAll functions to a clearer name to avoid ambiguity:

    • getCurrent in window module has been renamed to getCurrentWindow
    • getCurrent in webview module has been renamed to getCurrentWebview
    • getCurrent in webviewWindow module has been renamed to getCurrentWebviewWindow
    • getAll in window module has been renamed to getAllWindows
    • getAll in webview module has been renamed to getAllWebviews
    • getAll in webviewWindow module has been renamed to getAllWebviewWindows

Yarn Publish

yarn run v1.22.22
$ 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/image.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.15
[2/4] Logging in...
[3/4] Publishing...
success Published.
[4/4] Revoking token...
info Not revoking login token, specified via config file.
Done in 7.81s.

Don't miss a new tauri release

NewReleases is sending notifications on new releases.