@uppy/audio
Version:
Uppy plugin that records audio using the device’s microphone.
217 lines (131 loc) • 7.86 kB
Markdown
# /audio
## 3.1.0
### Minor Changes
- 79e6460: - Add PluginTypeRegistry and typed getPlugin overload in /core
- Register plugin ids across packages so uppy.getPlugin('Dashboard' | 'Webcam') returns the concrete plugin type and removes the need to pass generics in getPlugin()
### Patch Changes
- Updated dependencies [79e6460]
- Updated dependencies [ac12f35]
- Updated dependencies [4817585]
- /core@5.2.0
- /utils@7.1.4
## 3.0.1
### Patch Changes
- 975317d: Removed "main" from package.json, since export maps serve as the contract for the public API.
- Updated dependencies [4b6a76c]
- Updated dependencies [975317d]
- Updated dependencies [9bac4c8]
- /core@5.0.2
- /utils@7.0.2
## 3.0.0
### Major Changes
- c5b51f6: ### Export maps for all packages
All packages now have export maps. This is a breaking change in two cases:
1. The css imports have changed from `[package]/dist/styles.min.css` to `[package]/css/styles.min.css`
2. You were importing something that wasn't exported from the root, for instance `/core/lib/foo.js`. You can now only import things we explicitly exported.
#### Changed imports for `/react`, `@uppy/vue`, and `/svelte`
Some components, like Dashboard, require a peer dependency to work but since all components were exported from a single file you were forced to install all peer dependencies. Even if you never imported, for instance, the status bar component.
Every component that requires a peer dependency has now been moved to a subpath, such as `/react/dashboard`, so you only need to install the peer dependencies you need.
**Example for `/react`:**
**Before:**
```javascript
import { Dashboard, StatusBar } from "@uppy/react";
```
**Now:**
```javascript
import Dashboard from "@uppy/react/dashboard";
import StatusBar from "@uppy/react/status-bar";
```
### Patch Changes
- Updated dependencies [d301c01]
- Updated dependencies [c5b51f6]
- /utils@7.0.0
- /core@5.0.0
## 2.2.2
### Patch Changes
- 1b1a9e3: Define "files" in package.json
- Updated dependencies [1b1a9e3]
- /utils@6.2.2
- /core@4.5.2
## 2.2.0
### Minor Changes
- 0c24c5a: Use TypeScript compiler instead of Babel
### Patch Changes
- Updated dependencies [0c24c5a]
- Updated dependencies [0c24c5a]
- /core@4.5.0
- /utils@6.2.0
## 2.1.3
Released: 2025-05-18
Included in: Uppy v4.16.0
- /audio,@uppy/box,/core,@uppy/dashboard,/drag-drop,@uppy/dropbox,/facebook,@uppy/file-input,/google-drive-picker,@uppy/google-drive,/google-photos-picker,@uppy/image-editor,/instagram,@uppy/onedrive,/remote-sources,@uppy/screen-capture,/unsplash,@uppy/url,/utils,@uppy/webcam,/webdav,@uppy/zoom: ts: make locale strings optional (Merlijn Vos / #5728)
## 2.1.0
Released: 2025-01-06
Included in: Uppy v4.11.0
- /angular,@uppy/audio,/aws-s3,@uppy/box,/companion-client,@uppy/compressor,/core,@uppy/dashboard,/drag-drop,@uppy/drop-target,/dropbox,@uppy/facebook,/file-input,@uppy/form,/golden-retriever,@uppy/google-drive-picker,/google-drive,@uppy/google-photos-picker,/google-photos,@uppy/image-editor,/informer,@uppy/instagram,/locales,@uppy/onedrive,/progress-bar,@uppy/provider-views,/react,@uppy/remote-sources,/screen-capture,@uppy/status-bar,/thumbnail-generator,@uppy/transloadit,/tus,@uppy/unsplash,/url,@uppy/vue,/webcam,@uppy/webdav,/xhr-upload,@uppy/zoom: Remove "paths" from all tsconfig's (Merlijn Vos / #5572)
## 2.0.2
Released: 2024-12-05
Included in: Uppy v4.8.0
- /audio,@uppy/aws-s3,/box,@uppy/companion-client,/compressor,@uppy/core,/dashboard,@uppy/drag-drop,/drop-target,@uppy/dropbox,/facebook,@uppy/file-input,/form,@uppy/golden-retriever,/google-drive,@uppy/google-photos,/image-editor,@uppy/informer,/instagram,@uppy/locales,/onedrive,@uppy/progress-bar,/provider-views,@uppy/react,/remote-sources,@uppy/screen-capture,/status-bar,@uppy/store-default,/thumbnail-generator,@uppy/transloadit,/tus,@uppy/unsplash,/url,@uppy/utils,/vue,@uppy/webcam,/xhr-upload,@uppy/zoom: cleanup tsconfig (Mikael Finstad / #5520)
## 2.0.1
Released: 2024-07-30
Included in: Uppy v4.1.0
- /audio,@uppy/webcam: Don't use `<h1>` in Uppy markup (Evgenia Karunus / #5355)
## 2.0.0-beta.6
Released: 2024-06-04
Included in: Uppy v4.0.0-beta.10
- /audio: remove unused component props (Antoine du Hamel / #5209)
- /audio: move internal property to private field (Antoine du Hamel / #5207)
## 2.0.0-beta.5
Released: 2024-05-03
Included in: Uppy v4.0.0-beta.5
- /audio,@uppy/compressor,/core,@uppy/dashboard,/remote-sources,@uppy/tus,/utils: Format (Murderlon)
## 2.0.0-beta.1
Released: 2024-03-28
Included in: Uppy v4.0.0-beta.1
- /audio,@uppy/dashboard,/drop-target,@uppy/webcam: add missing exports (Antoine du Hamel / #5014)
## 1.1.8
Released: 2024-03-27
Included in: Uppy v3.24.0
- /audio,@uppy/dashboard,/drop-target,@uppy/webcam: add missing exports (Antoine du Hamel / #5014)
## 1.1.5
Released: 2024-02-19
Included in: Uppy v3.22.0
- /audio: fix `audiooptions` (antoine du hamel / #4884)
- /audio: refactor to typescript (antoine du hamel / #4860)
## 1.0.4
Released: 2023-02-13
Included in: Uppy v3.5.0
- /audio,@uppy/core,/dashboard,@uppy/screen-capture: Warn more instead of erroring (Artur Paikin / #4302)
## 1.0.3
Released: 2023-01-26
Included in: Uppy v3.4.0
- /audio: @uppy/audio fix typo in readme (elliotsayes / #4240)
## 1.0.2
Released: 2022-09-25
Included in: Uppy v3.1.0
- /audio,@uppy/aws-s3-multipart,/aws-s3,@uppy/box,/companion-client,@uppy/companion,/compressor,@uppy/core,/dashboard,@uppy/drag-drop,/drop-target,@uppy/dropbox,/facebook,@uppy/file-input,/form,@uppy/golden-retriever,/google-drive,@uppy/image-editor,/informer,@uppy/instagram,/locales,@uppy/onedrive,/progress-bar,@uppy/provider-views,/react,@uppy/redux-dev-tools,/remote-sources,@uppy/screen-capture,/status-bar,@uppy/store-default,/store-redux,@uppy/svelte,/thumbnail-generator,@uppy/transloadit,/tus,@uppy/unsplash,/url,@uppy/utils,/vue,@uppy/webcam,/xhr-upload,@uppy/zoom: add missing entries to changelog for individual packages (Antoine du Hamel / #4092)
## 1.0.0
Released: 2022-08-22
Included in: Uppy v3.0.0
- Switch to ESM
## 0.3.2
Released: 2022-05-30
Included in: Uppy v2.11.0
- /angular,@uppy/audio,/aws-s3-multipart,@uppy/aws-s3,/box,@uppy/core,/dashboard,@uppy/drag-drop,/dropbox,@uppy/facebook,/file-input,@uppy/form,/golden-retriever,@uppy/google-drive,/image-editor,@uppy/informer,/instagram,@uppy/onedrive,/progress-bar,@uppy/react,/redux-dev-tools,@uppy/robodog,/screen-capture,@uppy/status-bar,/store-default,@uppy/store-redux,/thumbnail-generator,@uppy/transloadit,/tus,@uppy/unsplash,/url,@uppy/vue,/webcam,@uppy/xhr-upload,/zoom: doc: update bundler recommendation (Antoine du Hamel / #3763)
## 0.3.1
Released: 2022-05-14
Included in: Uppy v2.10.0
- /audio: fix types (Merlijn Vos / #3689)
## 0.3.0
Released: 2022-03-16
Included in: Uppy v2.8.0
- /audio: refactor to ESM (Antoine du Hamel / #3470)
## 0.2.1
Released: 2021-12-09
Included in: Uppy v2.3.1
- /audio: showRecordingLength option was removed, always clearInterval (Artur Paikin / #3351)
## 0.2.0
Released: 2021-12-07
Included in: Uppy v2.3.0
- /audio: new @uppy/audio plugin for recording with microphone (Artur Paikin / #2976)