Skip to content

Commit

Permalink
Merge branch 'main' into uploaders-with-hosted-companion
Browse files Browse the repository at this point in the history
* main: (38 commits)
  Release: uppy@4.13.1 (#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: uppy@4.13.0 (#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: uppy@4.12.2 (#5590)
  Import types consistently from @uppy/core (#5589)
  ...
  • Loading branch information
Murderlon committed Jan 23, 2025
2 parents 22b183a + c6d4cdd commit 5bec1c1
Show file tree
Hide file tree
Showing 418 changed files with 1,940 additions and 1,721 deletions.
7 changes: 4 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -438,12 +438,13 @@ module.exports = {
'no-restricted-syntax': ['error', {
selector: 'ImportDeclaration[source.value=/^@uppy\\x2F[a-z-0-9]+\\x2F/]:not([source.value=/^@uppy\\x2Futils\\x2F/]):not([source.value=/\\.(js|css)$/])',
message: 'Use ".js" file extension for import type declarations from a different package',
}, {
selector: 'ImportDeclaration[importKind="type"][source.value=/^\\.\\.?\\x2F.+\\.js$/]',
message: 'Do not use ".js" file extension for relative import type declarations',
}, {
selector: 'ImportDeclaration[source.value=/^@uppy\\x2Futils\\x2Flib\\x2F.+\\.[mc]?[jt]sx?$/]',
message: 'Do not use file extension when importing from @uppy/utils',
},
{
selector: 'ImportDeclaration[source.value=/^@uppy\\x2F[a-z-0-9]+\\x2Fsrc\\x2F/]',
message: 'Importing from "src/" is not allowed. Import from root or from "lib/" if you must.',
}],
'import/extensions': ['error', 'ignorePackages'],
'import/prefer-default-export': 'off',
Expand Down
24 changes: 20 additions & 4 deletions .github/workflows/bundlers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,26 @@ jobs:
run: npm i --save-dev webpack-cli webpack@${{matrix.bundler-version}}
- run: npx webpack --version
- name: Create Webpack config file
run:
echo 'export default
{mode:"production",target:"web",entry:"./lib/index.js"}' >
webpack.config.js
run: |
echo 'export default {
mode: "production",
target: "web",
entry: "./lib/index.js",
resolve: {
fallback: {
fs: false,
path: false,
stream: false,
util: false,
assert: false,
constants: false,
crypto: false,
http: false,
https: false,
url: false
}
}
}' > webpack.config.js
- name: Bundle
run: npx webpack

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/companion-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,21 @@ jobs:
uses: actions/checkout@v4
- name: Docker meta
id: docker_meta
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1
uses: docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5.6.1
with:
images: transloadit/companion
tags: |
type=edge
type=raw,value=latest,enable=false
- uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
- uses: docker/setup-qemu-action@53851d14592bedcffcf25ea515637cff71ef929a # v3.3.0
- uses: docker/setup-buildx-action@v3
- name: Log in to DockerHub
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
username: ${{secrets.DOCKER_USERNAME}}
password: ${{secrets.DOCKER_PASSWORD}}
- name: Build and push
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d # v6.12.0
with:
push: true
context: .
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,23 +143,23 @@ jobs:
uses: actions/checkout@v4
- name: Docker meta
id: docker_meta
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1
uses: docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5.6.1
with:
images: transloadit/companion
tags: |
type=edge
type=semver,pattern={{version}},value=${{ needs.release.outputs.companionWasReleased }}
# set latest tag for default branch
type=raw,value=latest,enable=true
- uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
- uses: docker/setup-qemu-action@53851d14592bedcffcf25ea515637cff71ef929a # v3.3.0
- uses: docker/setup-buildx-action@v3
- name: Log in to DockerHub
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
username: ${{secrets.DOCKER_USERNAME}}
password: ${{secrets.DOCKER_PASSWORD}}
- name: Build and push
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d # v6.12.0
with:
push: true
context: .
Expand Down
2 changes: 1 addition & 1 deletion BUNDLE-README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

Note that the recommended way to use Uppy is to install it with yarn/npm and use
Expand Down
153 changes: 153 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,159 @@ Please add your entries in this format:

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

## 4.13.1

Released: 2025-01-22

| Package | Version | Package | Version |
| --------------- | ------- | --------------- | ------- |
| @uppy/aws-s3 | 4.2.3 | @uppy/tus | 4.2.2 |
| @uppy/companion | 5.5.1 | uppy | 4.13.1 |

- @uppy/tus: fix resumeFromPreviousUpload race condition (Merlijn Vos / #5616)
- @uppy/aws-s3: Fixed default shouldUseMultipart (Mika Laitinen / #5613)
- meta: build(deps): bump docker/build-push-action from 6.11.0 to 6.12.0 (dependabot[bot] / #5611)
- @uppy/aws-s3: remove console.error (Mikael Finstad / #5607)
- @uppy/companion: unify http error responses (Mikael Finstad / #5595)


## 4.13.0

Released: 2025-01-15

| Package | Version | Package | Version |
| --------------- | ------- | --------------- | ------- |
| @uppy/aws-s3 | 4.2.2 | @uppy/unsplash | 4.3.2 |
| @uppy/companion | 5.5.0 | uppy | 4.13.0 |

- @uppy/aws-s3: always set S3 meta to UppyFile & include key (Merlijn Vos / #5602)
- @uppy/companion: fix forcePathStyle boolean conversion (Mikael Finstad / #5308)
- meta: Fix Webpack CI (Merlijn Vos / #5604)
- @uppy/aws-s3: allow uploads to fail/succeed independently (Merlijn Vos / #5603)
- meta: Add types for css files (Merlijn Vos / #5591)
- @uppy/unsplash: make utmSource optional (Merlijn Vos / #5601)
- meta: build(deps): bump docker/setup-qemu-action from 3.2.0 to 3.3.0 (dependabot[bot] / #5599)
- meta: build(deps): bump docker/build-push-action from 6.10.0 to 6.11.0 (dependabot[bot] / #5600)
- @uppy/companion: add COMPANION_TUS_DEFERRED_UPLOAD_LENGTH (Dominik Schmidt / #5561)


## 4.12.2

Released: 2025-01-09

| Package | Version | Package | Version |
| -------------------------- | ------- | -------------------------- | ------- |
| @uppy/audio | 2.1.1 | @uppy/instagram | 4.2.1 |
| @uppy/aws-s3 | 4.2.1 | @uppy/onedrive | 4.2.2 |
| @uppy/box | 3.2.1 | @uppy/progress-bar | 4.2.1 |
| @uppy/companion-client | 4.4.1 | @uppy/provider-views | 4.4.1 |
| @uppy/compressor | 2.2.1 | @uppy/react | 4.2.1 |
| @uppy/core | 4.4.1 | @uppy/remote-sources | 2.3.1 |
| @uppy/dashboard | 4.3.1 | @uppy/screen-capture | 4.2.1 |
| @uppy/drag-drop | 4.1.1 | @uppy/status-bar | 4.1.1 |
| @uppy/drop-target | 3.1.1 | @uppy/thumbnail-generator | 4.1.1 |
| @uppy/dropbox | 4.2.1 | @uppy/transloadit | 4.2.1 |
| @uppy/facebook | 4.2.1 | @uppy/tus | 4.2.1 |
| @uppy/file-input | 4.1.1 | @uppy/unsplash | 4.3.1 |
| @uppy/form | 4.1.1 | @uppy/url | 4.2.1 |
| @uppy/golden-retriever | 4.1.1 | @uppy/vue | 2.1.1 |
| @uppy/google-drive | 4.3.1 | @uppy/webcam | 4.1.1 |
| @uppy/google-drive-picker | 0.3.2 | @uppy/webdav | 0.3.1 |
| @uppy/google-photos | 0.5.1 | @uppy/xhr-upload | 4.3.2 |
| @uppy/google-photos-picker | 0.3.2 | @uppy/zoom | 3.2.1 |
| @uppy/image-editor | 3.3.1 | uppy | 4.12.2 |
| @uppy/informer | 4.2.1 | | |

- @uppy/provider-views: Import types consistently from @uppy/core (Merlijn Vos / #5589)
- @uppy/status-bar: fix double upload progress (Mikael Finstad / #5587)
- @uppy/provider-views: fix incorrect import (Merlijn Vos / #5588)


## 4.12.1

Released: 2025-01-08

| Package | Version | Package | Version |
| --------------- | ------- | --------------- | ------- |
| @uppy/companion | 5.4.1 | uppy | 4.12.1 |

- @uppy/companion: upgrade express & express-session (Merlijn Vos / #5582)


## 4.12.0

Released: 2025-01-08

| Package | Version | Package | Version |
| -------------------------- | ------- | -------------------------- | ------- |
| @uppy/google-drive-picker | 0.3.1 | @uppy/unsplash | 4.3.0 |
| @uppy/google-photos-picker | 0.3.1 | @uppy/utils | 6.1.1 |
| @uppy/onedrive | 4.2.1 | @uppy/xhr-upload | 4.3.1 |
| @uppy/provider-views | 4.4.0 | uppy | 4.12.0 |
| @uppy/svelte | 4.3.0 | | |

- @uppy/unsplash,@uppy/provider-views: add utmSource option (Merlijn Vos / #5580)
- @uppy/xhr-upload: allow custom error message in onAfterResponse (Merlijn Vos / #5578)
- @uppy/onedrive: fix AsyncStore import (Merlijn Vos / #5579)
- @uppy/google-drive-picker,@uppy/google-photos-picker: Fix Google Picker plugins locale (Merlijn Vos / #5575)


## 4.11.0

Released: 2025-01-06

| Package | Version | Package | Version |
| -------------------------- | ------- | -------------------------- | ------- |
| @uppy/audio | 2.1.0 | @uppy/onedrive | 4.2.0 |
| @uppy/aws-s3 | 4.2.0 | @uppy/progress-bar | 4.2.0 |
| @uppy/box | 3.2.0 | @uppy/provider-views | 4.3.0 |
| @uppy/companion-client | 4.4.0 | @uppy/react | 4.2.0 |
| @uppy/compressor | 2.2.0 | @uppy/remote-sources | 2.3.0 |
| @uppy/core | 4.4.0 | @uppy/screen-capture | 4.2.0 |
| @uppy/dashboard | 4.3.0 | @uppy/status-bar | 4.1.0 |
| @uppy/drag-drop | 4.1.0 | @uppy/store-default | 4.2.0 |
| @uppy/drop-target | 3.1.0 | @uppy/svelte | 4.2.0 |
| @uppy/dropbox | 4.2.0 | @uppy/thumbnail-generator | 4.1.0 |
| @uppy/facebook | 4.2.0 | @uppy/transloadit | 4.2.0 |
| @uppy/file-input | 4.1.0 | @uppy/tus | 4.2.0 |
| @uppy/form | 4.1.0 | @uppy/unsplash | 4.2.0 |
| @uppy/golden-retriever | 4.1.0 | @uppy/url | 4.2.0 |
| @uppy/google-drive | 4.3.0 | @uppy/utils | 6.1.0 |
| @uppy/google-drive-picker | 0.3.0 | @uppy/vue | 2.1.0 |
| @uppy/google-photos | 0.5.0 | @uppy/webcam | 4.1.0 |
| @uppy/google-photos-picker | 0.3.0 | @uppy/webdav | 0.3.0 |
| @uppy/image-editor | 3.3.0 | @uppy/xhr-upload | 4.3.0 |
| @uppy/informer | 4.2.0 | @uppy/zoom | 3.2.0 |
| @uppy/instagram | 4.2.0 | uppy | 4.11.0 |
| @uppy/locales | 4.5.0 | | |

- meta: build(deps): bump docker/metadata-action from 5.5.1 to 5.6.1 (dependabot[bot] / #5525)
- examples,@uppy/svelte: build(deps-dev): bump @sveltejs/kit from 2.5.17 to 2.8.3 (dependabot[bot] / #5526)
- meta: build(deps): bump docker/build-push-action from 6.9.0 to 6.10.0 (dependabot[bot] / #5531)
- meta: build(deps): bump elliptic from 6.5.7 to 6.6.0 (dependabot[bot] / #5498)
- @uppy/utils: Use .js(x) for all imports instead .ts(x) (Merlijn Vos / #5573)
- @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)
- @uppy/tus: fix onBeforeRequest type (Dominik Schmidt / #5566)


## 4.10.0

Released: 2025-01-06

| Package | Version | Package | Version |
| -------------------- | ------- | -------------------- | ------- |
| @uppy/companion | 5.4.0 | @uppy/store-redux | 4.0.2 |
| @uppy/core | 4.3.2 | @uppy/url | 4.1.3 |
| @uppy/dashboard | 4.2.0 | @uppy/webdav | 0.2.0 |
| @uppy/provider-views | 4.2.1 | uppy | 4.10.0 |
| @uppy/react | 4.1.0 | | |

- @uppy/react: allow React 19 as peer dependency (Shubs / #5556)
- @uppy/webdav: add plugin icon (Merlijn Vos / #5555)
- @uppy/companion: pass fetched origins to window.postMessage() (Merlijn Vos / #5529)
- @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.9.0

Released: 2024-12-17
Expand Down
Loading

0 comments on commit 5bec1c1

Please sign in to comment.