Commit graph

10582 commits

Author SHA1 Message Date
prakash
3a62fbc878
Merge branch 'merge-into-core' of github.com:transloadit/uppy into merge-into-core 2026-07-07 18:00:04 +05:30
prakash
f4a2b5bc86
Delete Migration file 2026-07-07 17:59:24 +05:30
Prakash
684b6d744e
Merge branch 'main' into merge-into-core 2026-07-06 20:42:01 +05:30
Prakash
96a396cf7b
Angular v21 Support Attempt 2 (#6369)
New MR with verified commits to support angular v21

Closes https://github.com/transloadit/uppy/issues/6275
2026-07-06 20:36:03 +05:30
Prakash
cef447baac
Merge branch 'main' into angular-v21-support-attempt-2 2026-07-01 16:43:11 +05:30
Prakash
05d3c85fec
Merge branch 'main' into merge-into-core 2026-07-01 13:12:47 +05:30
Prakash
08bd2ef8bb
Restore #6314 : @uppy/tus: don't abort errored request (#6365)
restore #6314 to d30c93df37

- merged `main` to it
- resolved confilicts
- squashed all commits into a single commit and sign it ( I had to do
this as signing the past unsigned commits was difficult it was messing
up the history everytime I tried )
2026-06-30 23:31:34 +05:30
prakash
942db47234
add changeset 2026-06-30 21:15:42 +05:30
prakash
ad84895e08
remove unused dep nock 2026-06-30 21:15:28 +05:30
prakash
0fff6a5e1c
regenerate yarn.lock locally 2026-06-30 17:28:06 +05:30
prakash
cdde2d86d2
checkout main's yarn.lock 2026-06-30 17:27:15 +05:30
prakash
7440c36af8
Merge branch 'merge-into-core' of github.com:transloadit/uppy into merge-into-core 2026-06-30 16:52:08 +05:30
prakash
4c145da993
migration doc 2026-06-30 16:51:10 +05:30
prakash
b47a5c6f59
lint fix 2026-06-30 16:50:59 +05:30
Prakash
eea70297a9
Merge branch 'main' into merge-into-core 2026-06-30 16:49:20 +05:30
prakash
5a6f6a1b50
retarget changesets for packages merged into @uppy/core, there are old
changesets which mention the merged packages which would fail yarn
changeset, so replaced those packages with @uppy/core
2026-06-30 16:38:59 +05:30
prakash
6ebe5603a3
remove dangling import 2026-06-30 16:32:41 +05:30
Prakash
6c05477b65
refactor(core): remove duplicate types (#6359)
This PR removes the duplicate companion/provider bridge types
(CompanionClientProvider CompanionClientSearchProvider, and the`view:
any` escape hatch) and wires the real Provider/ProviderView types
directly, now possible since everything lives in `@uppy/core` Net gain
in type safety; no behavior change.

for more context on the approach see description of #6351
2026-06-30 16:23:23 +05:30
Travis Hamp
1e2d2ee9a4
add verified support for angular 21 2026-06-29 12:40:45 -04:00
Prakash
f28afb9eea
Merge branch 'main' into restore/pr-6314 2026-06-28 08:53:15 +05:30
Mikael Finstad
cd34c9cf4f
upgrade @types/cors and @types/morgan (#6360)
see #6297

---------

Co-authored-by: Prakash <qxprakash@gmail.com>
2026-06-28 01:39:06 +02:00
prakash
4c30023e35
yarn check 2026-06-25 20:35:45 +05:30
prakash
a05035f70f
remove stale config and fix failing test 2026-06-25 20:34:11 +05:30
prakash
500e848eb8
#6287 fix squash all commits 2026-06-25 19:59:31 +05:30
prakash
888a29f1ed
Merge branch 'core-merge-5-type-unification' of github.com:qxprakash/uppy into core-merge-5-type-unification 2026-06-24 16:44:20 +05:30
prakash
1f4b8e187c
apply feedback 2026-06-24 16:43:31 +05:30
Arvind
32b9f06a22
@uppy/locales: update Norwegian Bokmål (nb_NO) (#6346)
The Norwegian Bokmål (`nb_NO`) locale had fallen behind `en_US` by ~55
strings. This brings it up to date.

**Added** translations for the missing keys, including: AI image
generation (`generateImage`, `generating1`–`5`), audio recording
(`allowAudioAccess*`, `noAudio*`, `startAudioRecording`,
`stopAudioRecording`), required meta fields
(`missingRequiredMetaField*`), session recovery (`recoveredAllFiles`,
`recoveredXFiles`, `sessionRestored`), plugin names (`pluginName*`),
image compression (`compressedX`, `compressingImages`), and various UI
strings (`error`, `search`, `pleaseWait`, `unnamed`, `uploadStalled`,
etc.).

**Removed** keys no longer present in `en_US` (`backToSearch`,
`fileSource`, `selectFileNamed`, `timedOut`, `unselectFileNamed`).

**Fixed** `exceedsSize` to include the `%{file}` placeholder, and
aligned key order with `en_US`.

I'm a native Norwegian speaker and reviewed every string. Translation
was done with AI assistance (Claude) and checked by me.

---------

Co-authored-by: Mikael Finstad <finstaden@gmail.com>
2026-06-23 22:37:53 +02:00
Prakash
1421d2fb43
Merge branch 'merge-into-core' into core-merge-5-type-unification 2026-06-23 21:23:53 +05:30
Prakash
0b3bbf019e
refactor(core): merge @uppy/provider-views into core (#6358)
see #6351 for more details
2026-06-23 21:21:18 +05:30
Prakash
5a82975452
Merge branch 'merge-into-core' into core-merge-4-provider-views 2026-06-23 18:59:02 +05:30
Prakash
e2b6e36b36
refactor(core): merge @uppy/companion-client into core (#6353)
This PR merges @uppy/companion-client into core and re-exports it via
export maps from `@uppy/core`

should be merged after #6352 

see #6351 for more context

update: this PR should be reviewed after merging #6352
2026-06-23 18:41:31 +05:30
Prakash
0cb2432271
Merge branch 'merge-into-core' into core-merge-3-companion-client 2026-06-23 17:49:51 +05:30
Prakash
2bda51c066
refactor(core): merge @uppy/utils into core (#6352)
This PR merges @uppy/utils into `@uppy/core`

for more context see #6351 

this PR should be reviewed after #6351 gets merged
2026-06-23 17:49:09 +05:30
Prakash
d6e80219d2
Merge branch 'merge-into-core' into core-merge-2-utils 2026-06-23 15:58:23 +05:30
Prakash
ba083dced5
refactor(core): merge @uppy/store-default into core (#6351)
partly addresses #6042 

This PR merges `@uppy/store-default` into core and re-exports it via
export maps from `@uppy/core`

This is 1st of the 5 stacked PRs which I'll create to merge
`provider-views` , `companion-client` , `utils` and `store-default` into
`@uppy/core` the reason for this stacked PRs approach is to make
reviewing easier as 4 out of these 5 PRs are purely mechanical i.e.
`removing package` -> `copying files` -> `updating imports and exports`.
and it invovles changes across lots of files. so it's easier to review
if all the changes are related to a single plugin.
2026-06-23 15:56:50 +05:30
prakash
439787021b
refactor(core): remove duplicate companion/provider bridge types, wire real types 2026-06-22 01:40:33 +05:30
prakash
d6a0132145
refactor(core): merge @uppy/provider-views into core via ./provider-views export 2026-06-22 01:40:32 +05:30
prakash
b3aa4cdd6c
refactor(core): merge @uppy/companion-client into core via ./companion-client export 2026-06-22 01:40:26 +05:30
prakash
156b87ec17
refactor(core): merge @uppy/utils into core via ./utils export 2026-06-22 01:40:25 +05:30
prakash
1c7ede3cd4
refactor(core): merge @uppy/store-default into core via ./store-default export 2026-06-22 01:40:23 +05:30
Kevin van Zonneveld
52cc4b3e5e
Pin third-party GitHub Actions to SHAs (#6327) 2026-06-08 19:51:10 +00:00
Prakash
981fcedd71
@uppy/upgrade devdeps v3 (#6319)
AI disclaimer: AI used
  
  ## Changes
  - **vite 7 → 8** 
- **@vitejs/plugin-react 4 → 6** (peer-requires vite ^8; drops Babel for
oxc)
- **@tailwindcss/vite 4.1 → 4.3** (first 4.x with a vite ^8 peer range)
- `examples/react/vitest.config.ts`: add `resolve.dedupe: ['react',
'react-dom']` : reason explained in comments
2026-06-03 15:39:24 +05:30
Prakash
675b48fa14
@uppy/upgrade devdeps v2 (#6318)
AI disclaimer : AI used

## Changes
- **jsdom 26 → 29** across all packages' devDependencies —
**except`@uppy/aws-s3`** (left at 26; that plugin is being rewritten and
its deps are handled on the rewrite branch).
- **`@uppy/xhr-upload` unit tests migrated from nock to MSW**, and
`nock` dropped from its devDependencies.
  ## Why the test migration was needed
jsdom **28** overhauled resource loading so `XMLHttpRequest` now goes
through jsdom's internal (undici-based) fetch instead of Node's `http`
module ([jsdom 28 release
notes](https://github.com/jsdom/jsdom/releases/tag/28.0.0)).
nock intercepts at the Node `http` / `http.ClientRequest` layer ([nock
README](https://github.com/nock/nock)), so it can no longer see uppy's
upload requests — the mocked responses never arrive and the tests time
out. (This is the long-standing nock + jsdom XHR incompatibility:
[nock#518](https://github.com/nock/nock/issues/518).)

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-06-03 15:30:55 +05:30
Prakash
1427add64a
@uppy/upgrade-devdeps-v1 (#6317)
Part of the dev-dependency major-version upgrades. These required code
changes so they're split out from the no-code-change batch (#6315).

**AI Disclaimer** : AI Used

- **glob 8 → 13** — `@uppy/locales` scripts: the callback API was
removed, so `getPaths()` uses the promise form and `test.mjs` uses the
named `globSync`.
- **npm-packlist 5 → 11** — `upload-to-cdn.js`: v7+ takes an
`@npmcli/arborist` tree instead of `{ path }`; loads the tree and passes
it to `packlist()`. Adds `@npmcli/arborist` as a devDependency.
- **nock 13 → 14** (`@uppy/companion`) — the v14 @mswjs/interceptors
rewrite crashed the SSRF tests in `http-agent.test.ts`; nock
interception is now kept off by default and only activated for the one
test that mocks a host.
- **@types/use-sync-external-store 0 → 1** — `@uppy/react`: v1's exports
map only exposes extensionless subpaths, so imports use
`use-sync-external-store/shim` and `/with-selector` (runtime supports
both).
2026-06-03 14:38:14 +05:30
Prakash
d7aaab7ad1
@uppy: upgrade dev deps (#6315)
addresses #6297

I'll raise another PR which would include deps which require code
changes
2026-06-02 10:48:58 +08:00
Prakash
7ea7530997
upgrade playwright (#6316)
fixes the timeout which we're facing in "CI / Test" in the past few days
which gets stuck at "Install Playwright Browsers"


https://github.com/transloadit/uppy/actions/runs/26646754991/job/78534314307?pr=6315

tested on my local fork
2026-06-01 18:08:22 +05:30
Prakash
c3c7cef4ed
@uppy: upgrade deps (#6307)
will do a separte PR for changes which would require code changes so
it's easier to review , didn't upgrade any deps for `@uppy/aws-s3` since
we'll merge the rewrite so I think we should do that upgrade in the
rewrite branch before merging.

update : Dependency upgrades which required code changes were raised
separately

- #6309 
- #6310

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-29 18:58:42 +05:30
Prakash
ef370da2b3
Revert "@uppy/tus: don't abort errored request" (#6313)
Reverts transloadit/uppy#6312
2026-05-29 18:48:40 +05:30
Prakash
51acfe9e6c
@uppy/tus: don't abort errored request (#6312)
this fixes #6287 , another similar attempted fix which didn't got merged
: #5683

in #5683 we discussed a more longer term solution but IMO that would be
a breaking change as it would change the event contract

AI Disclaimer : AI Used 

This fix is Manually Tested across **Chrome and Firefox**
2026-05-29 18:42:58 +05:30
Prakash
5519b84409
@uppy: upgrade biome and more improvements (#6244)
- This PR upgrades `biome` from `2.0.5` -> `2.1.2` and adds two new
rules
-
[noUnusedImports](https://biomejs.dev/linter/rules/no-unused-private-class-members)
( we already had suppressions for this rule in code, but the rule itself
was never enabled in the config )
-
[noUnusedPrivateClassMembers](https://biomejs.dev/linter/rules/no-unused-private-class-members/)
- remove stale suppressions. 
- remove stale code.

---------

Co-authored-by: Mikael Finstad <finstaden@gmail.com>
2026-05-21 12:28:03 +08:00