Skip to content

Commit 5bec1c1

Browse files
committed
Merge branch 'main' into uploaders-with-hosted-companion
* main: (38 commits) Release: [email protected] (#5617) @uppy/tus: fix resumeFromPreviousUpload race condition (#5616) @uppy/aws-s3: Fixed default shouldUseMultipart (#5613) build(deps): bump docker/build-push-action from 6.11.0 to 6.12.0 (#5611) @uppy/aws-s3: remove console.error (#5607) @uppy/companion: unify http error responses (#5595) Release: [email protected] (#5605) @uppy/aws-s3: always set S3 meta to UppyFile & include key (#5602) @uppy/companion: fix forcePathStyle boolean conversion (#5308) Fix Webpack CI (#5604) @uppy/aws-s3: allow uploads to fail/succeed independently (#5603) Revert "@uppy/aws-s3: allow uploads to fail/succeed independently" @uppy/aws-s3: allow uploads to fail/succeed independently Add types for css files (#5591) @uppy/unsplash: make utmSource optional (#5601) build(deps): bump docker/setup-qemu-action from 3.2.0 to 3.3.0 (#5599) build(deps): bump docker/build-push-action from 6.10.0 to 6.11.0 (#5600) @uppy/companion: add COMPANION_TUS_DEFERRED_UPLOAD_LENGTH (#5561) Release: [email protected] (#5590) Import types consistently from @uppy/core (#5589) ...
2 parents 22b183a + c6d4cdd commit 5bec1c1

File tree

418 files changed

+1940
-1721
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

418 files changed

+1940
-1721
lines changed

.eslintrc.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -438,12 +438,13 @@ module.exports = {
438438
'no-restricted-syntax': ['error', {
439439
selector: 'ImportDeclaration[source.value=/^@uppy\\x2F[a-z-0-9]+\\x2F/]:not([source.value=/^@uppy\\x2Futils\\x2F/]):not([source.value=/\\.(js|css)$/])',
440440
message: 'Use ".js" file extension for import type declarations from a different package',
441-
}, {
442-
selector: 'ImportDeclaration[importKind="type"][source.value=/^\\.\\.?\\x2F.+\\.js$/]',
443-
message: 'Do not use ".js" file extension for relative import type declarations',
444441
}, {
445442
selector: 'ImportDeclaration[source.value=/^@uppy\\x2Futils\\x2Flib\\x2F.+\\.[mc]?[jt]sx?$/]',
446443
message: 'Do not use file extension when importing from @uppy/utils',
444+
},
445+
{
446+
selector: 'ImportDeclaration[source.value=/^@uppy\\x2F[a-z-0-9]+\\x2Fsrc\\x2F/]',
447+
message: 'Importing from "src/" is not allowed. Import from root or from "lib/" if you must.',
447448
}],
448449
'import/extensions': ['error', 'ignorePackages'],
449450
'import/prefer-default-export': 'off',

.github/workflows/bundlers.yml

+20-4
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,26 @@ jobs:
136136
run: npm i --save-dev webpack-cli webpack@${{matrix.bundler-version}}
137137
- run: npx webpack --version
138138
- name: Create Webpack config file
139-
run:
140-
echo 'export default
141-
{mode:"production",target:"web",entry:"./lib/index.js"}' >
142-
webpack.config.js
139+
run: |
140+
echo 'export default {
141+
mode: "production",
142+
target: "web",
143+
entry: "./lib/index.js",
144+
resolve: {
145+
fallback: {
146+
fs: false,
147+
path: false,
148+
stream: false,
149+
util: false,
150+
assert: false,
151+
constants: false,
152+
crypto: false,
153+
http: false,
154+
https: false,
155+
url: false
156+
}
157+
}
158+
}' > webpack.config.js
143159
- name: Bundle
144160
run: npx webpack
145161

.github/workflows/companion-deploy.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,21 +49,21 @@ jobs:
4949
uses: actions/checkout@v4
5050
- name: Docker meta
5151
id: docker_meta
52-
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1
52+
uses: docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5.6.1
5353
with:
5454
images: transloadit/companion
5555
tags: |
5656
type=edge
5757
type=raw,value=latest,enable=false
58-
- uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
58+
- uses: docker/setup-qemu-action@53851d14592bedcffcf25ea515637cff71ef929a # v3.3.0
5959
- uses: docker/setup-buildx-action@v3
6060
- name: Log in to DockerHub
6161
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
6262
with:
6363
username: ${{secrets.DOCKER_USERNAME}}
6464
password: ${{secrets.DOCKER_PASSWORD}}
6565
- name: Build and push
66-
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
66+
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d # v6.12.0
6767
with:
6868
push: true
6969
context: .

.github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -143,23 +143,23 @@ jobs:
143143
uses: actions/checkout@v4
144144
- name: Docker meta
145145
id: docker_meta
146-
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1
146+
uses: docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5.6.1
147147
with:
148148
images: transloadit/companion
149149
tags: |
150150
type=edge
151151
type=semver,pattern={{version}},value=${{ needs.release.outputs.companionWasReleased }}
152152
# set latest tag for default branch
153153
type=raw,value=latest,enable=true
154-
- uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
154+
- uses: docker/setup-qemu-action@53851d14592bedcffcf25ea515637cff71ef929a # v3.3.0
155155
- uses: docker/setup-buildx-action@v3
156156
- name: Log in to DockerHub
157157
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
158158
with:
159159
username: ${{secrets.DOCKER_USERNAME}}
160160
password: ${{secrets.DOCKER_PASSWORD}}
161161
- name: Build and push
162-
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
162+
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d # v6.12.0
163163
with:
164164
push: true
165165
context: .

BUNDLE-README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Hi, thanks for trying out the bundled version of the Uppy File Uploader. You can
44
use this from a CDN
5-
(`<script src="https://releases.transloadit.com/uppy/v4.9.0/uppy.min.js"></script>`)
5+
(`<script src="https://releases.transloadit.com/uppy/v4.13.1/uppy.min.js"></script>`)
66
or bundle it with your webapp.
77

88
Note that the recommended way to use Uppy is to install it with yarn/npm and use

CHANGELOG.md

+153
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,159 @@ Please add your entries in this format:
1212

1313
In the current stage we aim to release a new version at least every month.
1414

15+
## 4.13.1
16+
17+
Released: 2025-01-22
18+
19+
| Package | Version | Package | Version |
20+
| --------------- | ------- | --------------- | ------- |
21+
| @uppy/aws-s3 | 4.2.3 | @uppy/tus | 4.2.2 |
22+
| @uppy/companion | 5.5.1 | uppy | 4.13.1 |
23+
24+
- @uppy/tus: fix resumeFromPreviousUpload race condition (Merlijn Vos / #5616)
25+
- @uppy/aws-s3: Fixed default shouldUseMultipart (Mika Laitinen / #5613)
26+
- meta: build(deps): bump docker/build-push-action from 6.11.0 to 6.12.0 (dependabot[bot] / #5611)
27+
- @uppy/aws-s3: remove console.error (Mikael Finstad / #5607)
28+
- @uppy/companion: unify http error responses (Mikael Finstad / #5595)
29+
30+
31+
## 4.13.0
32+
33+
Released: 2025-01-15
34+
35+
| Package | Version | Package | Version |
36+
| --------------- | ------- | --------------- | ------- |
37+
| @uppy/aws-s3 | 4.2.2 | @uppy/unsplash | 4.3.2 |
38+
| @uppy/companion | 5.5.0 | uppy | 4.13.0 |
39+
40+
- @uppy/aws-s3: always set S3 meta to UppyFile & include key (Merlijn Vos / #5602)
41+
- @uppy/companion: fix forcePathStyle boolean conversion (Mikael Finstad / #5308)
42+
- meta: Fix Webpack CI (Merlijn Vos / #5604)
43+
- @uppy/aws-s3: allow uploads to fail/succeed independently (Merlijn Vos / #5603)
44+
- meta: Add types for css files (Merlijn Vos / #5591)
45+
- @uppy/unsplash: make utmSource optional (Merlijn Vos / #5601)
46+
- meta: build(deps): bump docker/setup-qemu-action from 3.2.0 to 3.3.0 (dependabot[bot] / #5599)
47+
- meta: build(deps): bump docker/build-push-action from 6.10.0 to 6.11.0 (dependabot[bot] / #5600)
48+
- @uppy/companion: add COMPANION_TUS_DEFERRED_UPLOAD_LENGTH (Dominik Schmidt / #5561)
49+
50+
51+
## 4.12.2
52+
53+
Released: 2025-01-09
54+
55+
| Package | Version | Package | Version |
56+
| -------------------------- | ------- | -------------------------- | ------- |
57+
| @uppy/audio | 2.1.1 | @uppy/instagram | 4.2.1 |
58+
| @uppy/aws-s3 | 4.2.1 | @uppy/onedrive | 4.2.2 |
59+
| @uppy/box | 3.2.1 | @uppy/progress-bar | 4.2.1 |
60+
| @uppy/companion-client | 4.4.1 | @uppy/provider-views | 4.4.1 |
61+
| @uppy/compressor | 2.2.1 | @uppy/react | 4.2.1 |
62+
| @uppy/core | 4.4.1 | @uppy/remote-sources | 2.3.1 |
63+
| @uppy/dashboard | 4.3.1 | @uppy/screen-capture | 4.2.1 |
64+
| @uppy/drag-drop | 4.1.1 | @uppy/status-bar | 4.1.1 |
65+
| @uppy/drop-target | 3.1.1 | @uppy/thumbnail-generator | 4.1.1 |
66+
| @uppy/dropbox | 4.2.1 | @uppy/transloadit | 4.2.1 |
67+
| @uppy/facebook | 4.2.1 | @uppy/tus | 4.2.1 |
68+
| @uppy/file-input | 4.1.1 | @uppy/unsplash | 4.3.1 |
69+
| @uppy/form | 4.1.1 | @uppy/url | 4.2.1 |
70+
| @uppy/golden-retriever | 4.1.1 | @uppy/vue | 2.1.1 |
71+
| @uppy/google-drive | 4.3.1 | @uppy/webcam | 4.1.1 |
72+
| @uppy/google-drive-picker | 0.3.2 | @uppy/webdav | 0.3.1 |
73+
| @uppy/google-photos | 0.5.1 | @uppy/xhr-upload | 4.3.2 |
74+
| @uppy/google-photos-picker | 0.3.2 | @uppy/zoom | 3.2.1 |
75+
| @uppy/image-editor | 3.3.1 | uppy | 4.12.2 |
76+
| @uppy/informer | 4.2.1 | | |
77+
78+
- @uppy/provider-views: Import types consistently from @uppy/core (Merlijn Vos / #5589)
79+
- @uppy/status-bar: fix double upload progress (Mikael Finstad / #5587)
80+
- @uppy/provider-views: fix incorrect import (Merlijn Vos / #5588)
81+
82+
83+
## 4.12.1
84+
85+
Released: 2025-01-08
86+
87+
| Package | Version | Package | Version |
88+
| --------------- | ------- | --------------- | ------- |
89+
| @uppy/companion | 5.4.1 | uppy | 4.12.1 |
90+
91+
- @uppy/companion: upgrade express & express-session (Merlijn Vos / #5582)
92+
93+
94+
## 4.12.0
95+
96+
Released: 2025-01-08
97+
98+
| Package | Version | Package | Version |
99+
| -------------------------- | ------- | -------------------------- | ------- |
100+
| @uppy/google-drive-picker | 0.3.1 | @uppy/unsplash | 4.3.0 |
101+
| @uppy/google-photos-picker | 0.3.1 | @uppy/utils | 6.1.1 |
102+
| @uppy/onedrive | 4.2.1 | @uppy/xhr-upload | 4.3.1 |
103+
| @uppy/provider-views | 4.4.0 | uppy | 4.12.0 |
104+
| @uppy/svelte | 4.3.0 | | |
105+
106+
- @uppy/unsplash,@uppy/provider-views: add utmSource option (Merlijn Vos / #5580)
107+
- @uppy/xhr-upload: allow custom error message in onAfterResponse (Merlijn Vos / #5578)
108+
- @uppy/onedrive: fix AsyncStore import (Merlijn Vos / #5579)
109+
- @uppy/google-drive-picker,@uppy/google-photos-picker: Fix Google Picker plugins locale (Merlijn Vos / #5575)
110+
111+
112+
## 4.11.0
113+
114+
Released: 2025-01-06
115+
116+
| Package | Version | Package | Version |
117+
| -------------------------- | ------- | -------------------------- | ------- |
118+
| @uppy/audio | 2.1.0 | @uppy/onedrive | 4.2.0 |
119+
| @uppy/aws-s3 | 4.2.0 | @uppy/progress-bar | 4.2.0 |
120+
| @uppy/box | 3.2.0 | @uppy/provider-views | 4.3.0 |
121+
| @uppy/companion-client | 4.4.0 | @uppy/react | 4.2.0 |
122+
| @uppy/compressor | 2.2.0 | @uppy/remote-sources | 2.3.0 |
123+
| @uppy/core | 4.4.0 | @uppy/screen-capture | 4.2.0 |
124+
| @uppy/dashboard | 4.3.0 | @uppy/status-bar | 4.1.0 |
125+
| @uppy/drag-drop | 4.1.0 | @uppy/store-default | 4.2.0 |
126+
| @uppy/drop-target | 3.1.0 | @uppy/svelte | 4.2.0 |
127+
| @uppy/dropbox | 4.2.0 | @uppy/thumbnail-generator | 4.1.0 |
128+
| @uppy/facebook | 4.2.0 | @uppy/transloadit | 4.2.0 |
129+
| @uppy/file-input | 4.1.0 | @uppy/tus | 4.2.0 |
130+
| @uppy/form | 4.1.0 | @uppy/unsplash | 4.2.0 |
131+
| @uppy/golden-retriever | 4.1.0 | @uppy/url | 4.2.0 |
132+
| @uppy/google-drive | 4.3.0 | @uppy/utils | 6.1.0 |
133+
| @uppy/google-drive-picker | 0.3.0 | @uppy/vue | 2.1.0 |
134+
| @uppy/google-photos | 0.5.0 | @uppy/webcam | 4.1.0 |
135+
| @uppy/google-photos-picker | 0.3.0 | @uppy/webdav | 0.3.0 |
136+
| @uppy/image-editor | 3.3.0 | @uppy/xhr-upload | 4.3.0 |
137+
| @uppy/informer | 4.2.0 | @uppy/zoom | 3.2.0 |
138+
| @uppy/instagram | 4.2.0 | uppy | 4.11.0 |
139+
| @uppy/locales | 4.5.0 | | |
140+
141+
- meta: build(deps): bump docker/metadata-action from 5.5.1 to 5.6.1 (dependabot[bot] / #5525)
142+
- examples,@uppy/svelte: build(deps-dev): bump @sveltejs/kit from 2.5.17 to 2.8.3 (dependabot[bot] / #5526)
143+
- meta: build(deps): bump docker/build-push-action from 6.9.0 to 6.10.0 (dependabot[bot] / #5531)
144+
- meta: build(deps): bump elliptic from 6.5.7 to 6.6.0 (dependabot[bot] / #5498)
145+
- @uppy/utils: Use .js(x) for all imports instead .ts(x) (Merlijn Vos / #5573)
146+
- @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)
147+
- @uppy/tus: fix onBeforeRequest type (Dominik Schmidt / #5566)
148+
149+
150+
## 4.10.0
151+
152+
Released: 2025-01-06
153+
154+
| Package | Version | Package | Version |
155+
| -------------------- | ------- | -------------------- | ------- |
156+
| @uppy/companion | 5.4.0 | @uppy/store-redux | 4.0.2 |
157+
| @uppy/core | 4.3.2 | @uppy/url | 4.1.3 |
158+
| @uppy/dashboard | 4.2.0 | @uppy/webdav | 0.2.0 |
159+
| @uppy/provider-views | 4.2.1 | uppy | 4.10.0 |
160+
| @uppy/react | 4.1.0 | | |
161+
162+
- @uppy/react: allow React 19 as peer dependency (Shubs / #5556)
163+
- @uppy/webdav: add plugin icon (Merlijn Vos / #5555)
164+
- @uppy/companion: pass fetched origins to window.postMessage() (Merlijn Vos / #5529)
165+
- @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)
166+
167+
15168
## 4.9.0
16169

17170
Released: 2024-12-17

0 commit comments

Comments
 (0)