Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(deps): update dependency react-photo-album to v3#1387

Open
squiggler-app[bot] wants to merge 2 commits into
mainfrom
renovate/react-photo-album-3.x
Open

fix(deps): update dependency react-photo-album to v3#1387
squiggler-app[bot] wants to merge 2 commits into
mainfrom
renovate/react-photo-album-3.x

Conversation

@squiggler-app

@squiggler-app squiggler-app Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
react-photo-album (source) ^2.4.1^3.6.0 age confidence

Release Notes

igordanchenko/react-photo-album (react-photo-album)

v3.6.0

Compare Source

Features
  • optimize layout algorithms with dynamic programming (f145d1b)

v3.5.1

Compare Source

Bug Fixes
  • columns layout returns undefined for zero-width containers (d19b77d)
  • duplicate photos no longer collide on React key (e6c15df)
  • images always render with an alt attribute (9c5fc42)
  • rows exceeded singleRowMaxHeight with non-zero padding (ce54543)
Performance Improvements
  • slice before map in rows and columns layout builders (f101be8)

v3.5.0

Compare Source

Bug Fixes
  • detect scrollbar resize loop via oscillation pattern instead of scrollbar measurement (842513e)
  • prevent corrupted columns and masonry layouts with zero-dimension photos (a0a132a)
  • scroll: preserve offscreen placeholder dimensions in flex containers (469eb1a)
  • scroll: read individual margin properties instead of shorthand (2e38f72)
  • scroll: use batch offset instead of findIndex for click handler (258690b)
Features
  • scroll: support multiple scroll containers on the same page (182ddf8)

v3.4.0

Compare Source

Features
  • setup project sponsorship (fc9fbb2)

❤️ Support this project by becoming a sponsor ❤️

v3.3.0

Compare Source

Features
  • migrate to npm trusted publishing (5a60b23)

v3.2.1

Compare Source

Bug Fixes
  • infinite-scroll: fix offscreen placeholders styles to prevent overflow (fix #​208) (cd9cae3)

v3.2.0

Compare Source

Bug Fixes
  • ssr: remove underscores in breakpoint uids (f90ceee)
Features
  • infinite-scroll: add support for scroll containers (fix #​203) (be5e37e)

v3.1.0

Compare Source

Bug Fixes
  • fix render prop responsive parameter type (e8b1427)
  • remove double angle quotes in uid (dd936e1)
Features
  • promote experimental exports to stable (37c31f4)

v3.0.2

Compare Source

Bug Fixes

v3.0.1

Compare Source

Bug Fixes
  • infinite-scroll: add onClick callback (3b35b74)

v3.0.0

Compare Source

Release 3.0 comes with several new exciting features and an internal redesign to reduce the JS bundle size:

  • replacement of CSS-in-JS styling with an external CSS stylesheet
  • splitting the all-in-one PhotoAlbum component into three layout-specific components (the bundle is now tree-shakeable)
  • experimental SSR component (zero-CLS SSR)
  • experimental InfiniteScroll component (rows and masonry layouts)
  • experimental ServerPhotoAlbum server component (zero client-side JS bundle)

Here is the overall impact on the JS bundle size (minified gzip):

  • rows layout: 2.9 KB (38% decrease)
  • columns layout: 2.9 KB (39% decrease)
  • masonry layout: 2.3 KB (51% decrease)
  • 3-in-1: 3.8 KB (19% decrease)
BREAKING CHANGES
  • CSS stylesheet is required
  • PhotoAlbum component is replaced with 4 separate components
  • the library is now ESM-only
  • CJS build is no longer bundled
  • React 16 and React 17 are no longer supported
  • minimum Node version is set to Node 18
  • output target is set to ES2020
  • renderContainer is replaced with render.container render function
  • renderRowContainer is replaced with render.track render function
  • renderColumnContainer is replaced with render.track render function
  • renderPhoto is replaced with more granular render functions; see docs
  • componentsProps.containerProps is replaced with componentsProps.container
  • componentsProps.rowContainerProps is replaced with componentsProps.track
  • componentsProps.columnContainerProps is replaced with componentsProps.track
  • componentsProps.imageProps is replaced with more granular props; see docs
  • images photo prop is no longer supported
Features
  • add experimental InfiniteScroll component (fb2a048)
  • add experimental ServerPhotoAlbum component (b5cabe4)
  • add experimental SSR component (61b8a42)
  • add SSR fallback skeleton (475f2fb)
  • enhance SSR component styling options (4398aad)
  • forward photo album ref (00edf7c)
  • improve types usability (f200a6c)
  • offload offscreen photos in InfiniteScroll (eb3dd0d)
Bug Fixes
  • add client boundary to aggregate layout (34a24c9)
  • fix minPhotos edge case (7a04f02)
  • move SSR component to subpath export (a1b0c28)
  • set container box-sizing to border-box (b2aebf4)
Miscellaneous
  • feat!: v3 rewrite (b67e436)
  • chore!: bump output target to ES2020 (9df797b)
  • chore!: bump React peer dependency version to 18 (86ed361)
  • chore!: convert to ESM (f1bc7a4)
  • chore!: drop deprecated photo images prop (644e2f9)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 3am on Monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate using a curated preset maintained by Sanity. View repository job log here

@squiggler-app squiggler-app Bot requested a review from a team as a code owner June 22, 2026 12:07
@squiggler-app squiggler-app Bot requested review from annez and removed request for a team June 22, 2026 12:07
@squiggler-app squiggler-app Bot enabled auto-merge (squash) June 22, 2026 12:07
@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
plugins-studio Error Error Jul 10, 2026 12:57pm

Request Review

@changeset-bot

changeset-bot Bot commented Jun 22, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b8c6ea8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
sanity-plugin-shopify-assets Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@squiggler-app squiggler-app Bot force-pushed the renovate/react-photo-album-3.x branch from 9f2742c to 279dd5b Compare June 22, 2026 12:39
@squiggler-app squiggler-app Bot changed the title chore(deps): update dependency react-photo-album to v3 fix(deps): update dependency react-photo-album to v3 Jun 22, 2026
@squiggler-app squiggler-app Bot force-pushed the renovate/react-photo-album-3.x branch from 6e74e83 to 0e8839e Compare June 22, 2026 13:05
@squiggler-app squiggler-app Bot force-pushed the renovate/react-photo-album-3.x branch from 9497398 to 1951136 Compare June 22, 2026 15:47
@squiggler-app squiggler-app Bot force-pushed the renovate/react-photo-album-3.x branch from 34b7949 to 57727d9 Compare June 22, 2026 17:40
@squiggler-app squiggler-app Bot force-pushed the renovate/react-photo-album-3.x branch from e84c0ae to e9fb8b7 Compare June 22, 2026 20:59
@squiggler-app squiggler-app Bot force-pushed the renovate/react-photo-album-3.x branch from eb687ce to c5fd774 Compare June 23, 2026 10:32
@squiggler-app squiggler-app Bot force-pushed the renovate/react-photo-album-3.x branch from 43cbd34 to 44e169a Compare June 23, 2026 13:01
@squiggler-app squiggler-app Bot force-pushed the renovate/react-photo-album-3.x branch from 16344a7 to 3681a22 Compare June 23, 2026 15:25
@squiggler-app squiggler-app Bot force-pushed the renovate/react-photo-album-3.x branch from 8597075 to c1b3d4e Compare June 23, 2026 16:58
@squiggler-app squiggler-app Bot force-pushed the renovate/react-photo-album-3.x branch from cbdcf04 to fe6281a Compare June 24, 2026 10:57

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 37343e2. Configure here.

"pretty-ms": "^8.0.0",
"react-infinite-scroll-component": "^6.1.1",
"react-photo-album": "^2.4.1",
"react-photo-album": "^3.6.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing v3 album migration

High Severity

This commit raises react-photo-album to v3, but ShopifyAssetPicker still uses the v2 API (PhotoAlbum, layout, renderPhoto, componentsProps.containerProps) and never imports react-photo-album/rows.css. v3 requires layout components, the render API, updated componentsProps, and the stylesheet, so the Shopify asset grid can fail to build or render incorrectly.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 37343e2. Configure here.

@squiggler-app squiggler-app Bot force-pushed the renovate/react-photo-album-3.x branch from 37343e2 to ba72527 Compare June 26, 2026 06:02
@squiggler-app squiggler-app Bot force-pushed the renovate/react-photo-album-3.x branch from e3cda99 to ffb1484 Compare June 26, 2026 08:01
@squiggler-app squiggler-app Bot force-pushed the renovate/react-photo-album-3.x branch from fef7541 to e9ed406 Compare June 26, 2026 09:17
@squiggler-app squiggler-app Bot force-pushed the renovate/react-photo-album-3.x branch from 6239f23 to 474ff96 Compare June 26, 2026 11:10
@squiggler-app squiggler-app Bot force-pushed the renovate/react-photo-album-3.x branch from 4b9c6a5 to 23eaaf5 Compare June 26, 2026 11:38
@squiggler-app squiggler-app Bot force-pushed the renovate/react-photo-album-3.x branch from fee78dd to e5b7f25 Compare June 26, 2026 11:49
@squiggler-app squiggler-app Bot force-pushed the renovate/react-photo-album-3.x branch from 2d8b0c5 to 0c428e3 Compare June 26, 2026 12:27
@squiggler-app squiggler-app Bot force-pushed the renovate/react-photo-album-3.x branch from 38914bd to 1446886 Compare June 26, 2026 12:55
@squiggler-app squiggler-app Bot force-pushed the renovate/react-photo-album-3.x branch from 8faf9c5 to 11be74e Compare June 26, 2026 14:08
@squiggler-app squiggler-app Bot force-pushed the renovate/react-photo-album-3.x branch from 55f85b6 to 65bd1ac Compare June 26, 2026 16:51
@squiggler-app squiggler-app Bot force-pushed the renovate/react-photo-album-3.x branch from de95db2 to b79dfe7 Compare June 26, 2026 23:58
@squiggler-app squiggler-app Bot force-pushed the renovate/react-photo-album-3.x branch from 25a8a97 to 53f108f Compare June 27, 2026 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants