@tauri-apps/api-v2.0.0-beta.6
版本发布时间: 2024-03-18 21:01:44
tauri-apps/tauri最新发布版本:tauri-v2.1.1(2024-11-11 22:51:00)
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
Enhancements
Bug Fixes
-
379cc2b35
(#9165) Fixbasename(path, 'ext')
JS API when removing all occurances ofext
where it should only remove the last one.
Breaking Changes
-
ea0242db4
(#9179)Image::rgba()
now returnsPromise<Uint8Array>
. -
ea0242db4
(#9179) Removedwidth
andheight
methods on the JSImage
class, usesize
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.