Skip to content

upload-js v3.0.0-alpha.2

Choose a tag to compare

@github-actions github-actions released this 30 Sep 15:55
d9be6d0

[3.0.0-alpha.2]

  • 2fd27c2d Update MSRV to 1.95 to match tauri.

  • 0ecb30e3 (#3613 by @lucasfernog) Breaking: upload and download now take an options object as their last argument instead of positional headers, method and body arguments:

    await upload(url, filePath, onProgress, { headers, method: HttpMethod.Put })
    await download(url, filePath, onProgress, { headers, body })

    headers accepts both a Map and a plain object. Previously a Map was silently serialized as an empty object.

  • c7416a1a (#3601 by @lucasfernog) Enable reqwest's system-proxy feature instead of the deprecated macos-system-configuration alias.

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-upload@3.0.0-alpha.2
npm notice Tarball Contents
npm notice 888B LICENSE.spdx
npm notice 3.7kB README.md
npm notice 3.1kB dist-js/index.cjs
npm notice 3.6kB dist-js/index.d.ts
npm notice 3.1kB dist-js/index.js
npm notice 745B package.json
npm notice Tarball Details
npm notice name: @tauri-apps/plugin-upload
npm notice version: 3.0.0-alpha.2
npm notice filename: tauri-apps-plugin-upload-3.0.0-alpha.2.tgz
npm notice package size: 3.9 kB
npm notice unpacked size: 15.1 kB
npm notice shasum: 7c5e837781eec59bd9b3bf25247de9ff2b591c10
npm notice integrity: sha512-zBsRV1pGKh+p6[...]3SaCpqmZmCRQw==
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 next 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=3021545455
npm notice Your package is being processed and may take a few minutes to become available.
+ @tauri-apps/plugin-upload@3.0.0-alpha.2