Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: uppy@3.0.0-beta.5 #3990

Closed
wants to merge 34 commits into from
Closed

Release: uppy@3.0.0-beta.5 #3990

wants to merge 34 commits into from

Commits on Aug 4, 2022

  1. Fix Compressor being broken when no name is in the compressed blob (#…

    …3947)
    
    * Fix Compressor being broken when no name is in the compressed blob
    
    * Update packages/@uppy/compressor/src/index.js
    
    Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
    
    Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
    arturi and aduh95 committed Aug 4, 2022
    Copy the full SHA
    0d482cc View commit details
    Browse the repository at this point in the history
  2. @uppy/utils: modernize getDroppedFiles (#3534)

    `webkitGetAsEntry` is a non-standard/deprecated API, replacing it with
    `getAsFileSystemHandle` when available.
    This also work around a Chromium bug with symlinks.
    
    Fixes: #3505.
    aduh95 committed Aug 4, 2022
    Copy the full SHA
    65f2551 View commit details
    Browse the repository at this point in the history
  3. Merge branch 3.x

    aduh95 committed Aug 4, 2022
    Copy the full SHA
    4996f44 View commit details
    Browse the repository at this point in the history
  4. fixup! Merge branch 3.x

    aduh95 committed Aug 4, 2022
    Copy the full SHA
    7089cb6 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    3c08f74 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    5b491f7 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    88b08e3 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2022

  1. website: convert all website examples to ESM (#3957)

    Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Co-authored-by: Artur Paikin <artur@arturpaikin.com>
    aduh95 and arturi committed Aug 5, 2022
    Copy the full SHA
    c8ee49d View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2022

  1. Copy the full SHA
    a5c73c3 View commit details
    Browse the repository at this point in the history
  2. core validateRestrictions: return error directly vs the result/reason…

    … obj (#3951)
    
    * core validateRestrictions: return error directly vs the result/reason obj
    
    * Refacrtor to actually use restrictionError instead of {reason, message}
    
    * Return error instead of throwing
    arturi committed Aug 8, 2022
    Copy the full SHA
    346c2fc View commit details
    Browse the repository at this point in the history
  3. @uppy/aws-s3-multipart: Fix race condition in #uploadParts (#3955)

    The `#uploadParts` function calls itself after any part is uploaded. It also
    determines which new chunks to upload based on their `state.busy` value. This
    introduced a race condition, as `state.busy` was being set to false in the XHR
    event handlers. So if one part were to complete while another part had finished
    the XHR request, but not yet completed, then an upload for that second part
    would be started again, despite the fact that the previous upload was still in
    progress. Multiple uploads for the same part at the same time cause numerous
    issues, and should never happen.
    
    This is especially noticeable when an XHR request fails. `#uploadPart` is
    wrapped in `#retryable`, so the part will be retried, however, for the entire
    `retryDelay`, the chunk's `state.busy` value would be false, meaning that if
    any other part completed, this part would be uploaded again, despite the fact
    that the upload is already ongoing.
    
    To fix this, this commit moves setting `state.busy` to the `before` and `after`
    functions of the `#retryable` call, so a part will remain `busy` for the entire
    time it is being uploaded/retried.
    mogzol committed Aug 8, 2022
    Copy the full SHA
    24b584f View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2022

  1. Copy the full SHA
    c78d4bf View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    727fbc6 View commit details
    Browse the repository at this point in the history
  3. Fix webp mimetype (#3961)

    Murderlon committed Aug 10, 2022
    Copy the full SHA
    90b62c7 View commit details
    Browse the repository at this point in the history
  4. enforce usage of uploadUrls (#3965)

    See #3180
    mifi committed Aug 10, 2022
    Copy the full SHA
    a477148 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2022

  1. fix contributing link (#3968)

    fixes #3888
    mifi committed Aug 11, 2022
    Copy the full SHA
    4e59e0b View commit details
    Browse the repository at this point in the history
  2. Update CONTRIBUTING.md (#3966)

    * Update CONTRIBUTING.md
    
    * Update CONTRIBUTING.md
    mifi committed Aug 11, 2022
    Copy the full SHA
    4044971 View commit details
    Browse the repository at this point in the history
  3. Companion: bring back default upload protocol (#3967)

    * add (failing) e2e test for remote xhr (multipart)
    
    regression caused by #3834
    
    * Revert "do not use a default upload protocol"
    
    This reverts commit c7e61dd.
    
    * add note on todo
    
    * dry code a bit
    
    * explicitly add protocol: 'multipart' in the client
    
    * fix review comment
    mifi committed Aug 11, 2022
    Copy the full SHA
    31a9e0c View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2022

  1. Copy the full SHA
    17db1f6 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    4b666a6 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    e36ed98 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2022

  1. core: Remove deprecated get state and allowMultipleUploads option in …

    …Core (#3982)
    
    * Remove deprecated get state and allowMultipleUploads option in Core
    
    * Fix tests?
    
    * core.getState()
    arturi committed Aug 16, 2022
    Copy the full SHA
    c042f02 View commit details
    Browse the repository at this point in the history
  2. Companion: rewrite request and purest to got (#3953)

    * rewrite to async
    
    * rewrite box and dropbox to got
    
    (not yet working due to jest esm issues)
    
    * downgrade got
    
    * update developer notes
    
    * rewrite
    
    - rewrite remaining providers to got
    - rewrite to async/await
    - pull out adapt code into adapters
    - provider/companion tests still todo
    
    * add zoom to dev dashboard
    
    * rewrites
    
    - rewrite remaining providers to got and reuse code
    - port tests
    - remove request
    - remove purest
    - rewrite periodic ping job to got
    - rewrite uploader to got
    - rewrite "url" to got
    - rewrite getRedirectEvaluator/request to got
    - rewrite http/https agent/request to got
    - rewrite credentials.js to got
    - fix "todo: handle failures differently to return 400 for this case instead"
    - add test for http/https agent
    - improve test for credentials (remote/local)
    - make /zoom/logout return 424 instead of 500 on credentials error
    - remove useless http-agent tests
    - fix various eslint warnings
    
    * work around ts error
    
    * remove forgotten change
    mifi committed Aug 16, 2022
    Copy the full SHA
    35812ca View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    e65db58 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    2db5165 View commit details
    Browse the repository at this point in the history
  5. Fix run example uppy-with-companion (#3975)

    Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Co-authored-by: Merlijn Vos <merlijn@soverin.net>
    3 people committed Aug 16, 2022
    Copy the full SHA
    0a19e8e View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    8fa1ff1 View commit details
    Browse the repository at this point in the history
  7. uppy: export Uppy as Uppy instead of Core (#3981)

    arturi authored and aduh95 committed Aug 16, 2022
    Copy the full SHA
    5567be7 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    1efa053 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    64f91a7 View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    9724392 View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    5044230 View commit details
    Browse the repository at this point in the history
  12. Merge stable branch

    aduh95 committed Aug 16, 2022
    Copy the full SHA
    535aae4 View commit details
    Browse the repository at this point in the history
  13. Release: uppy@3.0.0-beta.5

    This is a release candidate for the following packages:
    
    - `@uppy/angular`: 0.3.1 -> 1.0.0-beta.1
    - `@uppy/audio`: 1.0.0-beta.1 -> 1.0.0-beta.2
    - `@uppy/aws-s3`: 3.0.0-beta.2 -> 3.0.0-beta.3
    - `@uppy/aws-s3-multipart`: 3.0.0-beta.3 -> 3.0.0-beta.4
    - `@uppy/box`: 2.0.0-beta.1 -> 2.0.0-beta.2
    - `@uppy/companion`: 4.0.0-beta.3 -> 4.0.0-beta.4
    - `@uppy/companion-client`: 3.0.0-beta.1 -> 3.0.0-beta.2
    - `@uppy/compressor`: 1.0.0-beta.2 -> 1.0.0-beta.3
    - `@uppy/core`: 3.0.0-beta.3 -> 3.0.0-beta.4
    - `@uppy/dashboard`: 3.0.0-beta.3 -> 3.0.0-beta.4
    - `@uppy/drag-drop`: 3.0.0-beta.1 -> 3.0.0-beta.2
    - `@uppy/drop-target`: 2.0.0-beta.2 -> 2.0.0-beta.3
    - `@uppy/dropbox`: 3.0.0-beta.1 -> 3.0.0-beta.2
    - `@uppy/facebook`: 3.0.0-beta.1 -> 3.0.0-beta.2
    - `@uppy/file-input`: 3.0.0-beta.1 -> 3.0.0-beta.2
    - `@uppy/form`: 3.0.0-beta.1 -> 3.0.0-beta.2
    - `@uppy/golden-retriever`: 3.0.0-beta.1 -> 3.0.0-beta.2
    - `@uppy/google-drive`: 3.0.0-beta.1 -> 3.0.0-beta.2
    - `@uppy/image-editor`: 2.0.0-beta.2 -> 2.0.0-beta.3
    - `@uppy/informer`: 3.0.0-beta.2 -> 3.0.0-beta.3
    - `@uppy/instagram`: 3.0.0-beta.1 -> 3.0.0-beta.2
    - `@uppy/locales`: 3.0.0-beta.3 -> 3.0.0-beta.4
    - `@uppy/onedrive`: 3.0.0-beta.1 -> 3.0.0-beta.2
    - `@uppy/progress-bar`: 3.0.0-beta.1 -> 3.0.0-beta.2
    - `@uppy/provider-views`: 3.0.0-beta.2 -> 3.0.0-beta.3
    - `@uppy/react`: 3.0.0-beta.3 -> 3.0.0-beta.4
    - `@uppy/redux-dev-tools`: 3.0.0-beta.1 -> 3.0.0-beta.2
    - `@uppy/remote-sources`: 1.0.0-beta.3 -> 1.0.0-beta.4
    - `@uppy/screen-capture`: 3.0.0-beta.2 -> 3.0.0-beta.3
    - `@uppy/status-bar`: 3.0.0-beta.2 -> 3.0.0-beta.3
    - `@uppy/store-default`: 3.0.0-beta.2 -> 3.0.0-beta.3
    - `@uppy/store-redux`: 3.0.0-beta.2 -> 3.0.0-beta.3
    - `@uppy/svelte`: 2.0.0-beta.1 -> 2.0.0-beta.2
    - `@uppy/thumbnail-generator`: 3.0.0-beta.1 -> 3.0.0-beta.2
    - `@uppy/transloadit`: 3.0.0-beta.4 -> 3.0.0-beta.5
    - `@uppy/tus`: 3.0.0-beta.2 -> 3.0.0-beta.3
    - `@uppy/unsplash`: 3.0.0-beta.1 -> 3.0.0-beta.2
    - `@uppy/url`: 3.0.0-beta.2 -> 3.0.0-beta.3
    - `@uppy/utils`: 5.0.0-beta -> 5.0.0-beta.1
    - `@uppy/vue`: 1.0.0-beta.1 -> 1.0.0-beta.2
    - `@uppy/webcam`: 3.0.0-beta.2 -> 3.0.0-beta.3
    - `@uppy/xhr-upload`: 3.0.0-beta.2 -> 3.0.0-beta.3
    - `@uppy/zoom`: 2.0.0-beta.1 -> 2.0.0-beta.2
    - `uppy`: 3.0.0-beta.4 -> 3.0.0-beta.5
    aduh95 authored and actions-user committed Aug 16, 2022
    Copy the full SHA
    3e7ca15 View commit details
    Browse the repository at this point in the history