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

3 months ago

Yarn Audit

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

[2.0.0-beta.16]

New Features

  • da25f7353 (#10242 by @amrbashir) Add APIs to enable setting window size constraints separately:

    • Added WindowSizeConstraints interface in window and webviewWindow modules.
    • Added Window.setSizeConstraints and WebviewWindow.setSizeConstraints

Bug Fixes

  • 3c17fb64f (#10277 by @Legend-Master) Fix Webview.reparent pointing to set_webview_focus instead of reparent Rust API
  • da25f7353 (#10242 by @amrbashir) Apply minWidth, minHieght, maxWidth and maxHeight constraints separately, which fixes a long standing bug where these constraints were never applied unless width and height were constrained together.

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.3s�[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.16
[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.76s.

Don't miss a new tauri release

NewReleases is sending notifications on new releases.