Repository navigation
updater-js v2.14.0
[2.14.0]
-
b6f39cc5(#3688 by @followdarko) On Linux, installing an AppImage update no longer fails withInvalid cross-device link (os error 18)when the temp or cache directory is a separate mount of the AppImage's file system, such as a bind-mounted or private/tmp. The backup now moves on to the next location, ending with the AppImage's own directory. -
f2af373b(#3696 by @lucasfernog) On Linux, reject an AppImage update that is neither an AppImage nor a compressed AppImage (or a compressed AppImage when thezipfeature is disabled) before touching the installed app. Such payloads were written over the AppImage as-is, corrupting the app. -
24e6451b(#3693 by @lucasfernog) On Linux, try the next temporary directory location (the user cache directory, then the directory holding the AppImage) when a temporary directory cannot be created in the previous one, instead of failing the AppImage update right away. Also avoids a panic when the app path has no parent directory. -
a819187e(#3690 by @lucasfernog)check(),Update.download()andUpdate.downloadAndInstall()no longer replace theheadersof the options object they are given with an array. -
7b7c7c62(#3691 by @lucasfernog) CallingUpdate.download()again now releases the bytes of the previous download instead of keeping them in memory until the webview is destroyed. -
4b1ba079(#3695 by @lucasfernog) On Android and iOS,Update::installnow returnsError::UnsupportedOsinstead of reporting success without installing anything. -
fce235c3(#3640 by @t8y2) AddUpdater::restore_updateto restore an update from cached release metadata, andUpdate::verifyto verify package bytes using the configured signing key and signed-version policy. Restored updates always require the signature to bind the announced version.Update::installnow verifies the package bytes before installing them, andUpdater::checkresolves toNoneinstead of a target error when the release is not an update and has no entry for the current target. -
d057ec47(#3694 by @lucasfernog) Log a warning when the download URL of an update does not usehttpsanddangerousInsecureTransportProtocolis not enabled. -
21ebe1f5(#3692 by @lucasfernog) On Windows, report why launching the installer failed from theShellExecuteWreturn value (for example "Access is denied" when the user declines the UAC prompt) instead of an unrelatedGetLastErrormessage.
PNPM Publish
npm warn publish npm auto-corrected some errors in your package.json when publishing. Please run "npm pkg fix" to address these errors.
npm warn publish errors corrected:
npm warn publish "repository" was changed from a string to an object
npm warn publish "repository.url" was normalized to "git+https://github.com/tauri-apps/plugins-workspace.git"
npm notice
npm notice 📦 @tauri-apps/plugin-updater@2.14.0
npm notice Tarball Contents
npm notice 888B LICENSE.spdx
npm notice 3.2kB README.md
npm notice 6.9kB dist-js/index.cjs
npm notice 7.1kB dist-js/index.d.ts
npm notice 6.8kB dist-js/index.js
npm notice 659B package.json
npm notice Tarball Details
npm notice name: @tauri-apps/plugin-updater
npm notice version: 2.14.0
npm notice filename: tauri-apps-plugin-updater-2.14.0.tgz
npm notice package size: 4.9 kB
npm notice unpacked size: 25.5 kB
npm notice shasum: 212adc6dc62e7c9bda0c216f12b3eee0824f6908
npm notice integrity: sha512-gdylJ9tger4hk[...]nALfrqIPSzh7Q==
npm notice total files: 6
npm notice
npm notice npm tokens that bypass 2FA are being restricted for account changes and direct publishing. Learn how to prepare: https://gh.io/npm-gat-bypass2fa-deprecation
npm notice Publishing to https://registry.npmjs.org/ with tag latest and public access
npm notice publish Signed provenance statement with source and build information from GitHub Actions
npm notice publish Provenance statement published to transparency log: https://search.sigstore.dev/?logIndex=3253707095
npm notice Your package is being processed and may take a few minutes to become available.
+ @tauri-apps/plugin-updater@2.14.0