Commit graph

10710 commits

Author SHA1 Message Date
Prakash
eea62ec02d
Merge branch 'main' into restore/pr-6136 2026-07-26 16:23:41 +05:30
Prakash
a341d1ea10
upgrade deps v1 (#6396)
Supersedes dependabot PRs #6332,
[#6347](https://github.com/transloadit/uppy/issues/6347),
[#6350](https://github.com/transloadit/uppy/issues/6350),
[#6361](https://github.com/transloadit/uppy/issues/6361),
[#6375](https://github.com/transloadit/uppy/issues/6375),
[#6376](https://github.com/transloadit/uppy/issues/6376),
[#6378](https://github.com/transloadit/uppy/issues/6378)
2026-07-26 02:43:30 +05:30
Prakash
5d562dd45f
Merge branch 'main' into chore/deps-no-source-changes 2026-07-26 02:26:09 +05:30
Prakash
928a58cdd6
Restore #6206: Import Preact from @uppy/utils to guarantee a single version (#6344)
restore #6206 to e353bd43

closes #6202 ( alternative appraoch )
2026-07-25 19:03:02 +05:30
Prakash
7b0e741f0e
Merge branch 'main' into restore/pr-6206 2026-07-25 18:54:13 +05:30
Prakash
9176710028
extend dependency update cooldown (#6389)
Security Meassure , as discussed in uppy call

- Yarn package age gate increased to seven days
- Weekly npm Dependabot updates enabled with a seven-day cooldown

Note: Dependabot security-update PRs intentionally bypass the seven-day
cooldown, ensuring security fixes remain available immediately.
2026-07-25 18:53:17 +05:30
Prakash
7e975c405a
Merge branch 'main' into chore/seven-day-dependency-cooldown 2026-07-25 18:49:30 +05:30
Prakash
39b41a676f
Merge branch 'main' into chore/deps-no-source-changes 2026-07-25 18:11:43 +05:30
prakash
8c5814b3c1
fix: keep the Angular 19 example on zone.js 0.15 and add a changeset
examples/angular still depends on @angular/core ^19.2.18, which declares a
peer on zone.js ~0.15.0, so the 0.16 bump left it running against an
unsupported peer. packages/@uppy/angular is on Angular 21 and keeps ~0.16.2.

Adds the missing changeset: @uppy/companion and @uppy/angular both take
runtime dependency bumps in this PR and would otherwise never be released.
2026-07-25 03:14:38 +05:30
prakash
5c09ac324b
chore(deps): upgrade dev-only major versions
Majors confined to dev tooling, verified to need no source changes:

- jasmine-core ~5.1 -> ~6.3, @types/jasmine ~5.1 -> ~6.0 (angular)
- zone.js ~0.15 -> ~0.16 (angular)
- jsdom ^26 -> ^29
- execa 9.6.1 -> 10.0.0 (companion)
- @npmcli/arborist ^9 -> ^10, pacote ^21 -> ^22 (release tooling)
- dotenv ^16 -> ^17 (aws-nodejs example)

Deliberately excluded after testing:

- @types/node 20 -> 26 breaks companion typecheck (Uploader.ts FormData ->
  FormDataLike cast, TS2352). Blocked on the same formdata-node work as got 14.
- body-parser 2.2.2 -> 2.3.0 in companion makes the @uppy/url browser test
  fail under the full parallel `yarn test` run (the URL plugin stops
  receiving file metadata). It passes when that package is run alone, so the
  trigger is load-dependent; reverting to 2.2.2 makes the full run green
  again, reproduced three times each way.
- body-parser ^1 -> ^2 in the express examples, held back with the above.

undici 8.8.0 lands 4.2 days inside the cooldown as a transitive of the
release tooling; no in-range alternative exists.

Verified: yarn build (54/54), yarn typecheck (75/75), yarn check:ci,
yarn test (19/19), example-angular build.
2026-07-25 02:49:08 +05:30
Prakash
f02b941e35
simplify tus options (#6381)
from #6365
2026-07-25 02:08:13 +05:30
Prakash
bbf041bd67
Update packages/@uppy/tus/src/index.ts
Co-authored-by: Mikael Finstad <finstaden@gmail.com>
2026-07-25 01:56:12 +05:30
prakash
6aba173af3
chore(deps): upgrade dependencies that need no source changes
Range bumps whose target release is at least seven days old:

- playwright 1.60.0 -> 1.61.1 (8 workspaces)
- esbuild ^0.25/^0.27 -> ^0.28.1 (supersedes #6332)
- next 16.1.5 -> 16.2.10, react/react-dom 19.1.0 -> 19.2.7 (nextjs example)
- companion: helmet 8.3.0, ioredis 5.11.1, morgan 1.11.0 (supersedes
  #6375/#6376), ws 8.21.1 (supersedes #6350/#6361), p-map 7.0.5,
  serialize-javascript 7.0.7, content-disposition 2.0.1, @types/supertest 7.2.1
- adm-zip ^0.6.0 (supersedes #6378)
- @changesets/changelog-github ^0.7.0
- karma-jasmine-html-reporter ~2.2.0
- whatwg-fetch 3.6.2 -> 3.6.20

Left for the next round: @aws-sdk/* (3.1090.0 is eligible but drags in
~30 transitive @aws-sdk/@smithy releases published 3 days ago) and
@biomejs/biome (2.5.5 is 3 days old).

Verified: yarn build (54/54), yarn typecheck (75/75), yarn check:ci,
yarn test (19/19) all pass.
2026-07-25 01:51:41 +05:30
prakash
b2043935a8
chore(deps): refresh in-range dependency resolutions
Re-resolves 41 already-in-range dependencies to their newest release that
is at least seven days old, matching the dependabot cooldown. No package.json
changes: ranges are untouched, only yarn.lock resolutions move.

Notable: preact 10.29.2 -> 10.29.7 (26 workspaces), vitest/@vitest/browser
4.1.6 -> 4.1.10, sass 1.89.2 -> 1.101.0, msw 2.10.4 -> 2.15.0, turbo,
tailwindcss 4.3.3, vue 3.5.40, svelte-check, tsx, multer (supersedes #6347).

Two transitive resolutions land inside the cooldown window because no
in-range alternative exists: postcss 8.5.22 (2.5d) and enhanced-resolve
5.24.3 (4.6d). Both are patch-level build tooling.
2026-07-25 01:48:34 +05:30
prakash
6d39fdc9c2
fix 2026-07-23 10:57:02 +05:30
Prakash
56114881ac
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-23 10:52:35 +05:30
prakash
84ad853d04
Import Preact from @uppy/core utilities 2026-07-22 23:54:24 +05:30
prakash
49a3b2d803
chore: extend dependency update cooldown 2026-07-22 23:48:37 +05:30
prakash
3d8dc6aca7
Merge remote-tracking branch 'origin/main' into restore/pr-6206 2026-07-22 23:13:12 +05:30
prakash
f8fd5db7cc
harden regression tests 2026-07-21 12:06:17 +05:30
prakash
a1457210f4
add comments regarder uploader.abort() 2026-07-21 11:58:25 +05:30
Mikael Finstad
ed091dcc9c
Merge branch 'main' into restore/pr-6136 2026-07-20 22:51:50 +02:00
Mikael Finstad
260720fcf0
fix comments 2026-07-20 22:49:30 +02:00
Mikael Finstad
260720c43f
simplify tus options 2026-07-20 16:20:37 +02:00
Prakash
c2f687d7a1
Restore #6284: AWS S3 rewrite (#6345)
- restore #6284 to a6eddb1e
- sign all the commits which were authored by me and were unsigned
2026-07-20 19:13:55 +05:30
Prakash
1791cbff21
Merge branch 'main' into restore/pr-6284 2026-07-20 19:13:46 +05:30
Prakash
68ef80ab51
@uppy/golden-retriever: Store metaData in IndexedDB (#6362)
This PR fixes #6280, Adds **IndexedDB** as MetaDataStore falling back to
`localStorage` when IndexedDB isn't available.

AI Disclaimer : AI Used

  ### Changes
- **`IndexedDBMetaDataStore.ts`** : IndexedDB-backed `MetaDataStore`;
sync `get`/`set` via in-memory cache, async `load`/`save`.
- **`IndexedDBStore.ts`** : add a `state` store to the existing
`uppy-blobs` DB (v3→4, additive); expire it in `cleanup()`; close on
`versionchange`.
- **`index.ts`** : choose IndexedDB vs localStorage; restore is async
and failure-safe.
- **`MetaDataStore.ts`** : `setItem` wrapped in try/catch so the
fallback can't throw either.
  - **Added Tests**

  ### Notes for reviewers
- **Snapshot is `JSON.stringify`'d before `put()`** (not stored raw):
structured clone *throws* on non-cloneable values; JSON drops them like
localStorage did. Storing raw froze the snapshot and ghosted files.
- **No migration** : an in-flight recovery at upgrade time starts fresh
(rare, no data loss).
- **Best-effort persistence** : write failures are swallowed; they must
never break uploading.
  
  #### Manual Testing :  Manually Tested with large Assemblies
2026-07-20 19:07:58 +05:30
Mikael Finstad
2607195a70
fix missing signal 2026-07-19 14:24:05 +02:00
Mikael Finstad
d552e2e8e3
Pr6342 merged (#6380) 2026-07-19 14:10:22 +02:00
Mikael Finstad
4869bdbecb
Pr6342 merged (#6379)
Co-authored-by: Prakash <qxprakash@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-07-19 13:50:05 +02:00
Mikael Finstad
260719650d
improve format 2026-07-19 13:09:04 +02:00
Claude
3830974259
Merge branch 'main' into restore/pr-6136
Resolve conflicts from the @uppy/core consolidation refactor (#6370),
which folded @uppy/companion-client and @uppy/provider-views into
@uppy/core.

- Move the controller-based googlePicker.ts to
  @uppy/core/src/companion-client and drop main's old ref-based copy
- Adapt GooglePickerView, GoogleDrivePicker and GooglePhotosPicker to
  the @uppy/core/companion-client and @uppy/core/provider-views subpaths
- Point @uppy/components and the useGooglePicker hooks at
  @uppy/core/companion-client
- Keep SearchProvider's own Opts (RequestClient no longer carries
  name/provider/pluginId) and drop the removed CompanionClientSearchProvider
- Remove the deleted packages' tsconfig project references from
  @uppy/components and regenerate yarn.lock
- Import useSyncExternalStore from 'use-sync-external-store/shim' so its
  types resolve under NodeNext
- Retarget the changeset from the removed packages to @uppy/core

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EdZdYGrk6vKmty5EPeevV7
2026-07-19 10:56:16 +00:00
Mikael Finstad
260719f627
fix and simplify 2026-07-19 01:14:29 +02:00
prakash
f28d496c87
remove the test to abort upload createMultipartUpload in the edgecase 2026-07-16 22:33:19 +02:00
Mikael Finstad
260716ddc0
simplify and fix raxce condtitios 2026-07-16 22:01:06 +02:00
Mikael Finstad
260716b9d8
put signal into missing methods
and make all methods have single arg params
2026-07-16 21:03:05 +02:00
Prakash
1baa84dd6c
Merge branch 'main' into gr-indexedDb 2026-07-09 18:33:19 +05:30
prakash
de7d9c2302
lint fix 2026-07-09 18:31:55 +05:30
prakash
0c7f02aef2
update imports after merge remove stale files 2026-07-07 18:40:40 +05:30
prakash
e51c1ad99b
Merge "main" into "restore/pr-6284 and resolve conflicts 2026-07-07 18:19:41 +05:30
Prakash
0b1f79c90d
refactor(core): consolidate packages into @uppy/core (#6370)
Closes #6042.

Merges `@uppy/utils`, `@uppy/store-default`, `@uppy/companion-client`,
and `@uppy/provider-views` into `@uppy/core`, exposed via subpath
exports. These packages are removed. This collapses four
separately-versioned packages into the one package every plugin already
depends on removing duplicate-version bugs, making updates actually
reach users, and letting co-dependent types reference each other
directly instead of through hand-maintained duplicates.

Since this was a massive change so it's was done across 5 PRs

- #6351 — merge `@uppy/store-default` → `@uppy/core/store-default`
- #6352 — merge `@uppy/utils` → `@uppy/core/utils`
- #6353 — merge `@uppy/companion-client` → `@uppy/core/companion-client`
- #6358 — merge `@uppy/provider-views` → `@uppy/core/provider-views`
- #6359 — remove the duplicate `CompanionClientProvider` / `view: any`
bridge types and type `UnknownProviderPlugin['provider']` structurally
(Pick of the real `Provider`/`SearchProvider`)


### Breaking (6.0)
Import paths change, e.g. `@uppy/utils` → `@uppy/core/utils`,
`@uppy/provider-views/css/*` → `@uppy/core/provider-views/css/*`.
`RequestOptions` moves to `@uppy/core/companion-client`;
`CompanionClientProvider`/ `CompanionClientSearchProvider` are removed
(use the native `Provider`/ `SearchProvider`). See
`MIGRATION-6.0-merge-into-core.md`.
2026-07-07 18:10:21 +05:30
Prakash
cf9f963bbf
Merge branch 'main' into merge-into-core 2026-07-07 18:00:54 +05:30
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
17da535457
Merge branch 'main' into restore/pr-6284 2026-07-06 21:02:14 +05:30
Prakash
989b5ee69d
Restore #6224: Update Dockerfile for node:22-alpine and dependencies (#6343)
push #6224 to 635106e0
2026-07-06 20:54:07 +05:30
Prakash
deb77f0150
Merge branch 'main' into restore/pr-6224 2026-07-06 20:49:19 +05:30
Prakash
3e9fa91423
Merge branch 'main' into restore/pr-6136 2026-07-06 20:47:12 +05:30
Prakash
616f928479
reduce companion redis key timeouts to 10 min (#6357)
https://github.com/transloadit/api2/pull/8345#pullrequestreview-4552806932

See also #3748 and #4394
2026-07-06 20:45:23 +05:30
Prakash
c940b75312
Merge branch 'main' into redis-timeout-10min 2026-07-06 20:45:09 +05:30