Skip to content

@tauri-apps/api v2.0.0-beta.6

Compare
Choose a tag to compare
@github-actions github-actions released this 18 Mar 13:01
f1df6b2

Yarn Audit

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

[2.0.0-beta.6]

New Features

  • acdd76833(#9155) Add TrayIcon.getById and TrayIcon.removeById static methods.

Enhancements

  • ea0242db4(#9179) The Image constructor is now public (for internal use only).

Bug Fixes

  • 379cc2b35(#9165) Fix basename(path, 'ext') JS API when removing all occurances of ext where it should only remove the last one.

Breaking Changes

  • ea0242db4(#9179) Image::rgba() now returns Promise<Uint8Array>.
  • ea0242db4(#9179) Removed width and height methods on the JS Image class, use size instead.

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.6
[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.64s.