パッケージの詳細

@uppy/core

transloadit1.2mMIT4.4.6

Core module for the extensible JavaScript file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Instagram, Dropbox, Google Drive, S3 and more :dog:

file uploader, uppy, uppy-plugin

readme

Uppy uppy on npm

Uppy logo: a smiling puppy above a pink upwards arrow

Uppy is a sleek, modular JavaScript file uploader that integrates seamlessly with any application. It’s fast, has a comprehensible API and lets you worry about more important problems than building a file uploader.

  • Fetch files from local disk, remote URLs, Google Drive, Dropbox, Box, Instagram or snap and record selfies with a camera
  • Preview and edit metadata with a nice interface
  • Upload to the final destination, optionally process/encode

Read the docs | Try Uppy

<picture> <source media="(prefers-color-scheme: dark)" srcset="https://github.com/transloadit/uppy/assets/375537/6651e57e-cb57-4336-8745-6473ae68d0bd"> <source media="(prefers-color-scheme: light)" srcset="https://github.com/transloadit/uppy/assets/375537/7f14421d-1e37-464e-8203-ade121216c88"> Developed by Transloadit </picture>

Uppy is being developed by the folks at Transloadit, a versatile API to handle any file in your app.

TestsCI status for Uppy testsCI status for Companion testsCI status for browser tests
DeploysCI status for CDN deploymentCI status for Companion deploymentCI status for website deployment

Example

Code used in the above example:

import Uppy from '@uppy/core'
import Dashboard from '@uppy/dashboard'
import RemoteSources from '@uppy/remote-sources'
import ImageEditor from '@uppy/image-editor'
import Webcam from '@uppy/webcam'
import Tus from '@uppy/tus'

const uppy = new Uppy()
  .use(Dashboard, { trigger: '#select-files' })
  .use(RemoteSources, { companionUrl: 'https://companion.uppy.io' })
  .use(Webcam)
  .use(ImageEditor)
  .use(Tus, { endpoint: 'https://tusd.tusdemo.net/files/' })
  .on('complete', (result) => {
    console.log('Upload result:', result)
  })

Try it online or read the docs for more details on how to use Uppy and its plugins.

Features

  • Lightweight, modular plugin-based architecture, light on dependencies :zap:
  • Resumable file uploads via the open tus standard, so large uploads survive network hiccups
  • Supports picking files from: Webcam, Dropbox, Box, Google Drive, Instagram, bypassing the user’s device where possible, syncing between servers directly via @uppy/companion
  • Works great with file encoding and processing backends, such as Transloadit, works great without (all you need is to roll your own Apache/Nginx/Node/FFmpeg/etc backend)
  • Sleek user interface :sparkles:
  • Optional file recovery (after a browser crash) with Golden Retriever
  • Speaks several languages (i18n) :earth_africa:
  • Built with accessibility in mind
  • Free for the world, forever (as in beer 🍺, pizza 🍕, and liberty 🗽)
  • Cute as a puppy, also accepts cat pictures :dog:

Installation

npm install @uppy/core @uppy/dashboard @uppy/tus

Add CSS uppy.min.css, either to your HTML page’s <head> or include in JS, if your bundler of choice supports it.

Alternatively, you can also use a pre-built bundle from Transloadit’s CDN: Smart CDN. In that case Uppy will attach itself to the global window.Uppy object.

⚠️ The bundle consists of most Uppy plugins, so this method is not recommended for production, as your users will have to download all plugins when you are likely using only a few.

<!-- 1. Add CSS to `<head>` -->
<link
  href="https://releases.transloadit.com/uppy/v4.17.0/uppy.min.css"
  rel="stylesheet"
/>

<!-- 2. Initialize -->
<div id="files-drag-drop"></div>
<script type="module">
  import {
    Uppy,
    Dashboard,
    Tus,
  } from 'https://releases.transloadit.com/uppy/v4.17.0/uppy.min.mjs'

  const uppy = new Uppy()
  uppy.use(Dashboard, { target: '#files-drag-drop' })
  uppy.use(Tus, { endpoint: 'https://tusd.tusdemo.net/files/' })
</script>

Documentation

  • Uppy — full list of options, methods and events
  • Companion — setting up and running a Companion instance, which adds support for Instagram, Dropbox, Box, Google Drive and remote URLs
  • React — components to integrate Uppy UI plugins with React apps
  • Architecture & Writing a Plugin — how to write a plugin for Uppy

Plugins

UI Elements

  • Dashboard — universal UI with previews, progress bars, metadata editor and all the cool stuff. Required for most UI plugins like Webcam and Instagram
  • Progress Bar — minimal progress bar that fills itself when upload progresses
  • Status Bar — more detailed progress, pause/resume/cancel buttons, percentage, speed, uploaded/total sizes (included by default with Dashboard)
  • Informer — send notifications like “smile” before taking a selfie or “upload failed” when all is lost (also included by default with Dashboard)

Sources

  • Drag & Drop — plain drag and drop area
  • File Input — even plainer “select files” button
  • Webcam — snap and record those selfies 📷
  • Google Drive — import files from Google Drive
  • Dropbox — import files from Dropbox
  • Box — import files from Box
  • Instagram — import images and videos from Instagram
  • Facebook — import images and videos from Facebook
  • OneDrive — import files from Microsoft OneDrive
  • Import From URL — import direct URLs from anywhere on the web

The ⓒ mark means that @uppy/companion, a server-side component, is needed for a plugin to work.

Destinations

  • Tus — resumable uploads via the open tus standard
  • XHR Upload — regular uploads for any backend out there (like Apache, Nginx)
  • AWS S3 — plain upload to AWS S3 or compatible services
  • AWS S3 Multipart — S3-style “Multipart” upload to AWS or compatible services

File Processing

Miscellaneous

  • Golden Retriever — restores files after a browser crash, like it’s nothing
  • Thumbnail Generator — generates image previews (included by default with Dashboard)
  • Form — collects metadata from <form> right before an Uppy upload, then optionally appends results back to the form
  • Redux — for your emerging time traveling needs

React

  • React — components to integrate Uppy UI plugins with React apps
  • React Native — basic Uppy component for React Native with Expo

Browser Support

We aim to support recent versions of Chrome, Firefox, and Safari.

FAQ

Why not use <input type="file">?

Having no JavaScript beats having a lot of it, so that’s a fair question! Running an uploading & encoding business for ten years though we found that in cases, the file input leaves some to be desired:

  • We received complaints about broken uploads and found that resumable uploads are important, especially for big files and to be inclusive towards people on poorer connections (we also launched tus.io to attack that problem). Uppy uploads can survive network outages and browser crashes or accidental navigate-aways.
  • Uppy supports editing meta information before uploading.
  • Uppy allows cropping images before uploading.
  • There’s the situation where people are using their mobile devices and want to upload on the go, but they have their picture on Instagram, files in Dropbox or a plain file URL from anywhere on the open web. Uppy allows to pick files from those and push it to the destination without downloading it to your mobile device first.
  • Accurate upload progress reporting is an issue on many platforms.
  • Some file validation — size, type, number of files — can be done on the client with Uppy.
  • Uppy integrates webcam support, in case your users want to upload a picture/video/audio that does not exist yet :)
  • A larger drag and drop surface can be pleasant to work with. Some people also like that you can control the styling, language, etc.
  • Uppy is aware of encoding backends. Often after an upload, the server needs to rotate, detect faces, optimize for iPad, or what have you. Uppy can track progress of this and report back to the user in different ways.
  • Sometimes you might want your uploads to happen while you continue to interact on the same single page.

Not all apps need all these features. An <input type="file"> is fine in many situations. But these were a few things that our customers hit / asked about enough to spark us to develop Uppy.

Why is all this goodness free?

Transloadit’s team is small and we have a shared ambition to make a living from open source. By giving away projects like tus.io and Uppy, we’re hoping to advance the state of the art, make life a tiny little bit better for everyone and in doing so have rewarding jobs and get some eyes on our commercial service: a content ingestion & processing platform.

Our thinking is that if only a fraction of our open source userbase can see the appeal of hosted versions straight from the source, that could already be enough to sustain our work. So far this is working out! We’re able to dedicate 80% of our time to open source and haven’t gone bankrupt yet. :D

Does Uppy support S3 uploads?

Yes, please check out the docs for more information.

Can I use Uppy with Rails/Node.js/Go/PHP?

Yes, whatever you want on the backend will work with @uppy/xhr-upload plugin, since it only does a POST or PUT request. Here’s a PHP backend example.

If you want resumability with the Tus plugin, use one of the tus server implementations 👌🏼

And you’ll need @uppy/companion if you’d like your users to be able to pick files from Instagram, Google Drive, Dropbox or via direct URLs (with more services coming).

Contributions are welcome

Used by

Uppy is used by: Photobox, Issuu, Law Insider, Cool Tabs, Soundoff, Scrumi, Crive and others.

Use Uppy in your project? Let us know!

Contributors

arturigoto-bus-stopkvzaduh95ifedapoolarewajuMurderlon
hedgerhmifinqstAJvanLoongithub-actions[bot]dependabot[bot]
lakesarekiloreuxsadovnychyisamuelayorichardwillarsajkachnic
zcallanYukeshShrjankooliverpoolBotzdschmidt
mcallistertylermokutsu-courseraDJWassinktimodwhittaoqfmrbatista
tuoxianspqxprakashtim-kospaulnMikeKovariktoadkicker
Acconutap--dominicedenmejiaejgavboultonHawxy
juliangruberbertho-zerotranvansangLiviaMedeirosmkabatekjhen0409
stephentusobencergazdaa-kriyayonahforststanislav-cervenaksksavant
ofhopeogtfabernndevstudiojohnnyperkinsMatthiasKunnendargmuesli
manuelkiesslingYoussef1313yaegorzhuangyasparanoidThomasG77
subha1206schonertSlavikTraktorscottbesslerjrschumacherrosenfeld
rdimartinoahmedkandelallenfantasyZyclotrop-janarkbdirito
darthf1fortriebfrederikhorsheocoijareytries-commas
rettgerstjukakoskianthony0030olemoignbtrice5idereal
AndrwMArnaudFlaeschbehnammodiBePo65bradedelmancamiloforero
command-tabcraig-jenningsdavekissdenysdesignethanwillisrichartkeil
paescujrichmeijmsandmartiuslimMartin005mskelton
mactavishzlafedogrockerjedwoodjasonboscoghasrfakhri
geertclerxfrobinsonjsamuelcolburnsalimi-myfortunto2GNURub
rartrossngscherromanrobwilson1SxDxrefo
raulibanezluarmreman8519pedantic-gitPzocoppadmavilasom
phillipalexanderpmusarajJimmyLvtwarloptcgjTashows
tajstrayersjauldssan93steverobamaitu
quigebowaptikSpazzMarticusdjshubsszhscebotari66
sergei-zelinskysebasegovia01sdebackerRattonemnafeesboudra
Mitchell8210achmiralken-kuromilannakumtvt-mikamkopinsky
mhulethrshmauricioribeiromatthewhartstongemjesuelemattfik
mateuscruzmasum-ulumasaokMaSHDrupalPROmartin-brennanpedrofs
plnetopatricklindsaypascalwengerterParsaArvanehPAcryptic022Ozodbek1405
leftdevelnil1511coreprocessnicojonestrungcva10a6tnnaveed-ahmad
nadeemcpleasespammelatermarton-laszlo-attilanavruzmmogzolshahimclt
netdownmosi-khamaddy-jomdxiaohumagumbojx-zyf
kode-ninjasontixyoujur-ngjohnmanjiro13jyoungbloodhanisko
green-mikegaelicwinterfrancklfingulelliotsayesyf-hk
dkisiczanzlenderolitomasilyazolotarovyoann-hellopretvedran555
tusharjkhuntthanhthotstduhpfslawexxx44rtaiebrmoura-92
rlebosserhymeslunttaphil714ordagoodselsevier
ninesaltneuronet77craigcbrunnerwillycamargoweston-sankey-mark43dwnste
nagyvstiigvalentinoliviallybodryityler-dot-earth
trivikrtanadeautoresbetop-mastertvaliasektomekp
tomsaleebaWIStudenttmaierTiarhaicodehero7386christianwengert
cgoinglovecanvasbhc0b41benooonavallaarggh
alfatvagreene-courseraaduh95-test-accountzefyxsartoshi-foot-daozackbloom
zlawson-utzachconneryafkariYehudaKremerxhocquetCruaier
sercraigardeoisCommanderRootczjcbush06Aarbel
cfracspranceprattcmpsubvertallchrischarlybillaudCretezy
chaocellvinchungcartfiskcyuchardin1bryanjswift
elliotdickisoneliOcsyoldarefbautistaemuellEdgarSantiago93
sweetrojeetissDennisKofflardDavidPetrasekhoangsvitdavilima6
akizorKaminskiDaniellCantabarmrboomerdanilatdanschalow
danmichaelobedgerottofunctinoamitporttekacsDogfalo
alirezahiaalepisalexnjasmt3ahmadissaadritasharma
Adrreiadityapatadiaadamvigneaultajh-sradamdottvabannach
aaron-russellsuperhawk610ajschmidt8wbaaronQuorafindbducharme
azizkkaiserinnazeembaayhankesiciogluavneetmalhotraThe-Flash
atsawinash-jc-allenapuyouarthurdennerAbourasstyndria
andychongyzandrii-bodnarsuperandrew213radarhereelkebabkidonng
kevin-west-10xkergekacsafiresharkstudioskaspermeinematykaroljvelten
mellow-fellowjmontoyaajcalonsojbelejjszobodyjorgeepc
jondewoojonathanarbelyjsanchez034Jokcyjohnmadairmarcusforsberg
marcosthejewmperrandoonhatemarc-mabeLucklj521lucax88x
lucaperretombrlouimdolphinigleleomelzerleods92
galli-leodvirylarowlanleaanthonylabohkip81kyleparisi
profsmallpineIanVShuydodHussainAlkhalifahHughbertDhiromi2424
giacomocerquoneroenschggjungbgeoffapplefordgabiganamfuadscodes
soranooX-ClidtrucsferdiusafgallinariGkleinereva
epexaEnricoSottiletheJoeBizJmalesjessica-courseravith
janwiltsjanklimojamestiotiojcjmccleanJbithellJakubHaladej
jakemcallistergaejabongJacobMGEvansmazorussGreenJimmyintenzive
ItsOnlyBinaryNaxYoishendyweb

License

The MIT License.

更新履歴

@uppy/core

4.4.6

Released: 2025-06-02 Included in: Uppy v4.17.0

  • @uppy/core: fix missing required meta field error not updating (Prakash / #5766)

4.4.5

Released: 2025-05-18 Included in: Uppy v4.16.0

  • @uppy/core: fix undefined reference when cancelling an upload (Prakash / #5730)
  • @uppy/audio,@uppy/box,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/google-drive-picker,@uppy/google-drive,@uppy/google-photos-picker,@uppy/image-editor,@uppy/instagram,@uppy/onedrive,@uppy/remote-sources,@uppy/screen-capture,@uppy/unsplash,@uppy/url,@uppy/utils,@uppy/webcam,@uppy/webdav,@uppy/zoom: ts: make locale strings optional (Merlijn Vos / #5728)

4.4.4

Released: 2025-04-08 Included in: Uppy v4.14.0

  • @uppy/core: dry retryAll() and upload() (Mikael Finstad / #5691)
  • @uppy/core: fix locale type for plugins (Merlijn Vos / #5700)
  • @uppy/core: fix events when retrying with upload() (Prakash / #5696)

4.4.3

Released: 2025-03-13 Included in: Uppy v4.13.4

  • @uppy/core: make upload() idempotent (Merlijn Vos / #5677)

4.4.2

Released: 2025-02-03 Included in: Uppy v4.13.2

  • @uppy/core,@uppy/google-drive-picker,@uppy/google-photos-picker,@uppy/provider-views:

4.4.0

Released: 2025-01-06 Included in: Uppy v4.11.0

  • @uppy/angular,@uppy/audio,@uppy/aws-s3,@uppy/box,@uppy/companion-client,@uppy/compressor,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/drop-target,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/form,@uppy/golden-retriever,@uppy/google-drive-picker,@uppy/google-drive,@uppy/google-photos-picker,@uppy/google-photos,@uppy/image-editor,@uppy/informer,@uppy/instagram,@uppy/locales,@uppy/onedrive,@uppy/progress-bar,@uppy/provider-views,@uppy/react,@uppy/remote-sources,@uppy/screen-capture,@uppy/status-bar,@uppy/thumbnail-generator,@uppy/transloadit,@uppy/tus,@uppy/unsplash,@uppy/url,@uppy/vue,@uppy/webcam,@uppy/webdav,@uppy/xhr-upload,@uppy/zoom: Remove "paths" from all tsconfig's (Merlijn Vos / #5572)

4.3.2

Released: 2025-01-06 Included in: Uppy v4.10.0

  • @uppy/core,@uppy/dashboard,@uppy/provider-views,@uppy/store-redux,@uppy/url: build(deps): bump nanoid from 5.0.7 to 5.0.9 (dependabot[bot] / #5544)

4.3.1

Released: 2024-12-17 Included in: Uppy v4.9.0

  • @uppy/core: bring back validateRestrictions (Merlijn Vos / #5538)

4.3.0

Released: 2024-12-05 Included in: Uppy v4.8.0

  • @uppy/core,@uppy/provider-views: move useStore out of core (Mikael Finstad / #5533)
  • @uppy/audio,@uppy/aws-s3,@uppy/box,@uppy/companion-client,@uppy/compressor,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/drop-target,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/form,@uppy/golden-retriever,@uppy/google-drive,@uppy/google-photos,@uppy/image-editor,@uppy/informer,@uppy/instagram,@uppy/locales,@uppy/onedrive,@uppy/progress-bar,@uppy/provider-views,@uppy/react,@uppy/remote-sources,@uppy/screen-capture,@uppy/status-bar,@uppy/store-default,@uppy/thumbnail-generator,@uppy/transloadit,@uppy/tus,@uppy/unsplash,@uppy/url,@uppy/utils,@uppy/vue,@uppy/webcam,@uppy/xhr-upload,@uppy/zoom: cleanup tsconfig (Mikael Finstad / #5520)

4.2.3

Released: 2024-10-31 Included in: Uppy v4.6.0

  • @uppy/aws-s3,@uppy/box,@uppy/companion-client,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/form,@uppy/golden-retriever,@uppy/google-drive,@uppy/google-photos,@uppy/image-editor,@uppy/informer,@uppy/instagram,@uppy/locales,@uppy/onedrive,@uppy/progress-bar,@uppy/provider-views,@uppy/react-native,@uppy/react,@uppy/redux-dev-tools,@uppy/screen-capture,@uppy/status-bar,@uppy/store-default,@uppy/store-redux,@uppy/svelte,@uppy/thumbnail-generator,@uppy/transloadit,@uppy/tus,@uppy/unsplash,@uppy/url,@uppy/utils,@uppy/vue,@uppy/webcam,@uppy/xhr-upload,@uppy/zoom: Fix links (Anthony Veaudry / #5492)

4.2.0

Released: 2024-08-29 Included in: Uppy v4.3.0

  • @uppy/core,@uppy/dashboard: Pass container to UIPlugin.render for non-Preact integration (Merlijn Vos / #5437)

4.1.0

Released: 2024-07-30 Included in: Uppy v4.1.0

  • @uppy/core,@uppy/store-default: export Store type (Merlijn Vos / #5373)

4.0.1

Released: 2024-07-15 Included in: Uppy v4.0.1

  • @uppy/core: make Meta generic optional (Merlijn Vos / #5330)

4.0.0

Released: 2024-07-10 Included in: Uppy v4.0.0

  • @uppy/core: bring back resetProgress (Merlijn Vos / #5320)
  • @uppy/core: export UppyOptions, UppyFile, Meta, Body (Merlijn Vos / #5319)

4.0.0-beta.9

Released: 2024-06-04 Included in: Uppy v4.0.0-beta.10

  • @uppy/core: remove unnecessary todo (Mikael Finstad / #5200)
  • @uppy/core: remove 'upload-started' event (Mikael Finstad / #5200)
  • @uppy/core: add type tests (Merlijn Vos / #5153)
  • @uppy/core: pass file to events consistently (Merlijn Vos / #5136)
  • @uppy/core: remove reason (Antoine du Hamel / #5159)
  • @uppy/core: remove resetProgress and reset-progress (Mikael Finstad / #5221)

4.0.0-beta.8

Released: 2024-05-22 Included in: Uppy v4.0.0-beta.8

  • @uppy/core: resolve some (breaking) TODOs (Antoine du Hamel / #4824)

4.0.0-beta.7

Released: 2024-05-14 Included in: Uppy v4.0.0-beta.7

  • @uppy/core: close->destroy, clearUploadedFiles->clear (Merlijn Vos / #5154)

4.0.0-beta.5

Released: 2024-05-03 Included in: Uppy v4.0.0-beta.5

  • @uppy/core: make UppyEventMap more readable (Murderlon)
  • @uppy/audio,@uppy/compressor,@uppy/core,@uppy/dashboard,@uppy/remote-sources,@uppy/tus,@uppy/utils: Format (Murderlon)
  • @uppy/core: add instance ID to generated IDs (Merlijn Vos / #5080)
  • @uppy/core: reference updated i18n in Restricter (Merlijn Vos / #5118)

4.0.0-beta.4

Released: 2024-04-29 Included in: Uppy v4.0.0-beta.4

  • @uppy/core: Release: uppy@3.24.2 (github-actions[bot] / #5084)
  • @uppy/core: fix setOptions not re-rendereing plugin UI (Antoine du Hamel / #5082)

4.0.0-beta.3

Released: 2024-04-15 Included in: Uppy v4.0.0-beta.3

  • @uppy/core: fix setOptions not re-rendereing plugin UI (Antoine du Hamel / #5082)

4.0.0-beta.2

Released: 2024-04-11 Included in: Uppy v4.0.0-beta.2

  • @uppy/core: use variadic arguments for uppy.use (Antoine du Hamel / #4888)

4.0.0-beta.1

Released: 2024-03-28 Included in: Uppy v4.0.0-beta.1

  • @uppy/core: refine type of private variables (Antoine du Hamel / #5028)
  • @uppy/core: fix some type errors (Antoine du Hamel / #5015)
  • @uppy/core: various type fixes (Antoine du Hamel / #4995)
  • @uppy/core,@uppy/provider-views: Fix breadcrumbs (Evgenia Karunus / #4986)

3.13.1

Released: 2024-07-02 Included in: Uppy v3.27.2

  • @uppy/core: add clearUploadedFiles to type definition (Augustine Smith / #5295)

3.12.0

Released: 2024-06-04 Included in: Uppy v3.26.0

  • @uppy/core: check capabilities in clearUploadedFiles (Merlijn Vos / #5201)
  • @uppy/core: PartialTree - change the maxTotalFileSize error (Evgenia Karunus / #5203)

3.11.3

Released: 2024-05-14 Included in: Uppy v3.25.3

  • @uppy/core: make getObjectOfFilesPerState more efficient (Merlijn Vos / #5155)

3.11.2

Released: 2024-05-07 Included in: Uppy v3.25.2

  • @uppy/compressor,@uppy/core,@uppy/dashboard,@uppy/status-bar: Upgrade @transloadit/prettier-bytes (Merlijn Vos / #5150)

3.11.1

Released: 2024-05-03 Included in: Uppy v3.25.1

  • @uppy/core: make UppyEventMap more readable (Murderlon)

3.11.0

Released: 2024-04-29 Included in: Uppy v3.25.0

  • @uppy/core: add instance ID to generated IDs (Merlijn Vos / #5080)
  • @uppy/core: reference updated i18n in Restricter (Merlijn Vos / #5118)

3.10.1

Released: 2024-04-15 Included in: Uppy v3.24.2

  • @uppy/core: fix setOptions not re-rendereing plugin UI (Antoine du Hamel / #5082)

3.10.0

Released: 2024-03-27 Included in: Uppy v3.24.0

  • @uppy/core: refine type of private variables (Antoine du Hamel / #5028)
  • @uppy/core: fix some type errors (Antoine du Hamel / #5015)
  • @uppy/core: various type fixes (Antoine du Hamel / #4995)
  • @uppy/core,@uppy/provider-views: Fix breadcrumbs (Evgenia Karunus / #4986)

3.9.3

Released: 2024-02-28 Included in: Uppy v3.23.0

  • @uppy/core: remove unused import (Antoine du Hamel / #4972)

3.9.2

Released: 2024-02-22 Included in: Uppy v3.22.2

  • @uppy/core: fix plugin detection (Antoine du Hamel / #4951)
  • @uppy/core,@uppy/utils: Introduce ValidateableFile & move MinimalRequiredUppyFile into utils (Antoine du Hamel / #4944)
  • @uppy/core: improve UIPluginOptions types (Merlijn Vos / #4946)

3.9.1

Released: 2024-02-20 Included in: Uppy v3.22.1

  • @uppy/compressor,@uppy/core,@uppy/dashboard,@uppy/status-bar: bump @transloadit/prettier-bytes (Antoine du Hamel / #4933)

3.9.0

Released: 2024-02-19 Included in: Uppy v3.22.0

  • @uppy/core: add utility type to help define plugin option types (antoine du hamel / #4885)
  • @uppy/core: improve types of .use() (merlijn vos / #4882)
  • @uppy/core: add plugintarget type and mark options as optional (antoine du hamel / #4874)
  • @uppy/core: add debuglogger as export in manual types (antoine du hamel / #4831)
  • @uppy/core: add missing requiredmetafields key in restrictions (darthf1 / #4819)
  • @uppy/core: fix types (antoine du hamel / #4842)
  • @uppy/core: refactor to ts (murderlon)

3.8.0

Released: 2023-12-12 Included in: Uppy v3.21.0

  • @uppy/core: Fix onBeforeFileAdded with Golden Retriever (Merlijn Vos / #4799)

3.7.1

Released: 2023-11-12 Included in: Uppy v3.19.1

  • @uppy/core,@uppy/dashboard,@uppy/react-native: Update Uppy's blue color to meet WCAG contrast requirements (Alexander Zaytsev / #4777)

3.7.0

Released: 2023-11-08 Included in: Uppy v3.19.0

  • @uppy/core,@uppy/dashboard: don't cancel all files when clicking "done" (Mikael Finstad / #4771)
  • @uppy/core: simplify types with class generic (JokcyLou / #4761)

3.6.1

Released: 2023-10-23 Included in: Uppy v3.18.1

  • @uppy/core: fix sideEffects declaration (Antoine du Hamel / #4759)

3.6.0

Released: 2023-10-20 Included in: Uppy v3.18.0

  • @uppy/core: mark the package as side-effect free (Antoine du Hamel / #4730)
  • @uppy/core: type more events (Antoine du Hamel / #4719)

3.5.0

Released: 2023-09-05 Included in: Uppy v3.15.0

  • @uppy/aws-s3-multipart,@uppy/aws-s3,@uppy/companion-client,@uppy/core,@uppy/tus,@uppy/utils,@uppy/xhr-upload: Move remote file upload logic into companion-client (Merlijn Vos / #4573)

3.4.0

Released: 2023-08-15 Included in: Uppy v3.14.0

  • @uppy/core: allow duplicate files with onBeforeFileAdded (Merlijn Vos / #4594)

3.2.1

Released: 2023-06-19 Included in: Uppy v3.10.0

  • @uppy/companion,@uppy/core,@uppy/dashboard,@uppy/golden-retriever,@uppy/status-bar,@uppy/utils: Migrate all lodash' per-method-packages usage to lodash. (LinusMain / #4274)
  • @uppy/core: Don't set late (throttled) progress event on a file that is 100% complete (Artur Paikin / #4507)
  • @uppy/core: remove state getter from types (Antoine du Hamel / #4477)

3.2.0

Released: 2023-04-18 Included in: Uppy v3.8.0

  • @uppy/core: improve performance of validating & uploading files (Mikael Finstad / #4402)
  • @uppy/core,@uppy/locales,@uppy/provider-views: User feedback adding recursive folders take 2 (Mikael Finstad / #4399)

3.1.2

Released: 2023-04-04 Included in: Uppy v3.7.0

  • @uppy/core: fix bug with setOptions (Nguyễn bảo Trung / #4350)

3.1.0

Released: 2023-03-07 Included in: Uppy v3.6.0

  • @uppy/core: fix uppy.resetProgress() (Artur Paikin / #4337)
  • @uppy/core: fix some types (Antoine du Hamel / #4332)
  • @uppy/core: Fixed type of State.info to match reality being an array of info objects (Marc Bennewitz / #4321)

3.0.6

Released: 2023-02-13 Included in: Uppy v3.5.0

  • @uppy/audio,@uppy/core,@uppy/dashboard,@uppy/screen-capture: Warn more instead of erroring (Artur Paikin / #4302)

3.0.5

Released: 2023-01-26 Included in: Uppy v3.4.0

  • @uppy/core: fix metafields validation when used as function (Merlijn Vos / #4276)
  • @uppy/core: fix typo in Uppy.test.js (Ikko Ashimine / #4235)

3.0.4

Released: 2022-10-24 Included in: Uppy v3.2.2

  • @uppy/core: make cancel() and close() arguments optional in types (Merlijn Vos / #4161)

3.0.3

Released: 2022-10-19 Included in: Uppy v3.2.0

  • @uppy/core: do not crash if a file is removed before the upload starts (Antoine du Hamel / #4148)
  • @uppy/core: Fix Uppy.cancelAll and Uppy.close types (Sven Grunewaldt / #4128)

3.0.2

Released: 2022-09-25 Included in: Uppy v3.1.0

  • @uppy/audio,@uppy/aws-s3-multipart,@uppy/aws-s3,@uppy/box,@uppy/companion-client,@uppy/companion,@uppy/compressor,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/drop-target,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/form,@uppy/golden-retriever,@uppy/google-drive,@uppy/image-editor,@uppy/informer,@uppy/instagram,@uppy/locales,@uppy/onedrive,@uppy/progress-bar,@uppy/provider-views,@uppy/react,@uppy/redux-dev-tools,@uppy/remote-sources,@uppy/screen-capture,@uppy/status-bar,@uppy/store-default,@uppy/store-redux,@uppy/svelte,@uppy/thumbnail-generator,@uppy/transloadit,@uppy/tus,@uppy/unsplash,@uppy/url,@uppy/utils,@uppy/vue,@uppy/webcam,@uppy/xhr-upload,@uppy/zoom: add missing entries to changelog for individual packages (Antoine du Hamel / #4092)
  • @uppy/core: Fix Restrictor counts ghost files against maxNumberOfFiles (Andrew McIntee / #4078)
  • @uppy/core: fix types (Antoine du Hamel / #4072)

3.0.1

Released: 2022-08-30 Included in: Uppy v3.0.1

  • @uppy/core,@uppy/dashboard,@uppy/thumbnail-generator: update definition type files for TS 4.8 compatibility (Antoine du Hamel / #4055)

3.0.0

Released: 2022-08-22 Included in: Uppy v3.0.0

  • @uppy/core: core: uppy.addFile should accept browser File objects (Artur Paikin / #4020)
  • @uppy/core,@uppy/dashboard,@uppy/status-bar: Style tweaks: use all: initial + other resets (Artur Paikin / #3983)
  • Switch to ESM

3.0.0-beta.4

Released: 2022-08-16 Included in: Uppy v3.0.0-beta.5

  • @uppy/core,@uppy/react: Fix all breaking todo comments for 3.0 (Merlijn Vos / #3907)

3.0.0-beta.2

Released: 2022-07-27 Included in: Uppy v3.0.0-beta.3

  • @uppy/aws-s3,@uppy/core,@uppy/dashboard,@uppy/store-redux,@uppy/xhr-upload: upgrade nanoid to v4 (Antoine du Hamel / #3904)

3.0.0-beta.1

Released: 2022-06-09 Included in: Uppy v3.0.0-beta.1

  • @uppy/core,@uppy/dashboard: fix types for some events (Antoine du Hamel / #3812)

2.3.2

Released: 2022-07-27 Included in: Uppy v2.13.1

  • @uppy/core: Add missing type for retry-all event (Luc Boissaye / #3901)

2.3.1

Released: 2022-06-07 Included in: Uppy v2.12.0

  • @uppy/core: fix TypeError when file was deleted (Antoine du Hamel / #3811)

2.3.0

Released: 2022-05-30 Included in: Uppy v2.11.0

  • @uppy/angular,@uppy/audio,@uppy/aws-s3-multipart,@uppy/aws-s3,@uppy/box,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/form,@uppy/golden-retriever,@uppy/google-drive,@uppy/image-editor,@uppy/informer,@uppy/instagram,@uppy/onedrive,@uppy/progress-bar,@uppy/react,@uppy/redux-dev-tools,@uppy/robodog,@uppy/screen-capture,@uppy/status-bar,@uppy/store-default,@uppy/store-redux,@uppy/thumbnail-generator,@uppy/transloadit,@uppy/tus,@uppy/unsplash,@uppy/url,@uppy/vue,@uppy/webcam,@uppy/xhr-upload,@uppy/zoom: doc: update bundler recommendation (Antoine du Hamel / #3763)
  • @uppy/core: refactor to ESM (Antoine du Hamel / #3744)

2.2.0

Released: 2022-05-14 Included in: Uppy v2.10.0

  • @uppy/aws-s3-multipart,@uppy/aws-s3,@uppy/core,@uppy/react,@uppy/transloadit,@uppy/tus,@uppy/xhr-upload: proposal: Cancel assemblies optional (Mikael Finstad / #3575)
  • @uppy/core: add definition for addFiles method (Matteo Padovano / #3556)
  • @uppy/core: wrap plugins in div.uppy-Root and set dir attrubute in UIPlugin (Artur Paikin / #3692)

2.1.10

Released: 2022-04-27 Included in: Uppy v2.9.5

  • @uppy/core: fix TypeError when file was removed (Antoine du Hamel / #3670)

2.1.9

Released: 2022-04-27 Included in: Uppy v2.9.4

  • @uppy/core: fix TypeError when file was removed (Antoine du Hamel / #3650)

2.1.8

Released: 2022-04-07 Included in: Uppy v2.9.3

  • @uppy/core: fix TypeError in event handler when file was removed (Antoine du Hamel / #3629)

2.1.7

Released: 2022-03-29 Included in: Uppy v2.9.1

  • @uppy/core: refactor: replace deprecated String.prototype.substr() (CommanderRoot / #3600)

2.1.6

Released: 2022-03-16 Included in: Uppy v2.8.0

  • @uppy/core: Abstract restriction logic in a new Restricter class (Merlijn Vos / #3532)

2.1.5

Released: 2022-02-14 Included in: Uppy v2.5.0

  • @uppy/core,@uppy/dashboard,@uppy/thumbnail-generator: Add dashboard and UIPlugin types (Merlijn Vos / #3426)

2.1.4

Released: 2021-12-09 Included in: Uppy v2.3.1

  • @uppy/aws-s3,@uppy/core,@uppy/dashboard,@uppy/store-redux,@uppy/xhr-upload: deps: use nanoid/non-secure to workaround react-native limitation (Antoine du Hamel / #3350)

2.1.3

Released: 2021-12-07 Included in: Uppy v2.3.0

  • @uppy/core: disable loose transpilation for legacy bundle (Antoine du Hamel / #3329)
  • @uppy/aws-s3,@uppy/box,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/google-drive,@uppy/image-editor,@uppy/instagram,@uppy/locales,@uppy/onedrive,@uppy/screen-capture,@uppy/status-bar,@uppy/thumbnail-generator,@uppy/transloadit,@uppy/url,@uppy/webcam,@uppy/xhr-upload,@uppy/zoom: Refactor locale scripts & generate types and docs (Merlijn Vos / #3276)