Repository navigation
fix(plugin-cloud-storage): split client and server utility exports - #17152
Merged
Merged
Conversation
Adds a dedicated `@payloadcms/plugin-cloud-storage/utilities/client` entrypoint for browser-safe utilities and updates client upload handlers to import `getFileKey` from this path. This prevents mixed server/client barrel imports from pulling server-only transitive dependencies into client bundles. Fixes #16757 Co-authored-by: Copilot <[email protected]>
…ient export Uses the existing `@payloadcms/plugin-cloud-storage/client` entrypoint for `getFileKey` in client upload handlers, and removes the temporary `./utilities/client` subpath export. Also re-exports `getFileKey` and `sanitizePrefix` from the existing client exports file to keep client-safe imports explicit. Co-authored-by: Copilot <[email protected]>
Contributor
📦 esbuild Bundle Analysis for payloadThis analysis was generated by esbuild-bundle-analyzer. 🤖
Largest pathsThese visualization shows top 20 largest paths in the bundle.Meta file: packages/next/meta_index.json, Out file: esbuild/index.js
Meta file: packages/payload/meta_index.json, Out file: esbuild/index.js
Meta file: packages/payload/meta_shared.json, Out file: esbuild/exports/shared.js
Meta file: packages/richtext-lexical/meta_client.json, Out file: esbuild/exports/client_optimized/index.js
Meta file: packages/ui/meta_client.json, Out file: esbuild/exports/client_optimized/index.js
Meta file: packages/ui/meta_shared.json, Out file: esbuild/exports/shared_optimized/index.js
DetailsNext to the size is how much the size has increased or decreased compared with the base branch of this PR.
|
JarrodMFlesch
added a commit
that referenced
this pull request
Jul 1, 2026
`mongot-payload-test` is going unhealthy during `start-services` on `3.x` before E2E tests run, which blocks setup; this backport removes the floating/externally rate-limited image pulls in that path by pinning the affected test-service images to `ghcr.io/payloadcms/*` and pinning Supabase CLI. Backported from `main`: - [`0318f87928`](0318f87) (`ci: pull test service images from GHCR instead of Docker Hub`) - [`b3e877c3da`](b3e877c) (`ci: avoid registry rate limits for supabase cli and azurite image`) Manual port note: - `0318f87928` conflicted because `3.x` does not include the `redis` service block present on `main`; only the overlapping image-pin changes for existing `3.x` services were applied. Related context: #17152 (blocked by the same infra-wide CI failure pattern). --------- Co-authored-by: Elliot DeNolf <[email protected]>
…client-barrel-exports
JarrodMFlesch
enabled auto-merge (squash)
July 1, 2026 14:04
denolfe
approved these changes
Jul 1, 2026
Contributor
|
🚀 This is included in version v3.85.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Identical to #17143, back-ported for 3.x.