Skip to content

v3.0.0-rc.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 26 Jun 12:33
3a155b9

3.0.0-rc.1 (2024-06-26)

  • chore!: bump output target to ES2020 (27b9cd7)
  • chore!: bump React peer dependency version to 18 (5f165c7)
  • chore!: convert to ESM (1ea484e)
  • chore!: drop deprecated photo images prop (fb68f23)
  • feat!: v3 rewrite (3a155b9)

BREAKING CHANGES

  • CSS stylesheet is required
  • PhotoAlbum component is replaced with 4 separate components
  • 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
  • the library is now ESM-only
  • CJS build is no longer bundled
  • React 16 and React 17 are no longer supported
  • output target is set to ES2020
  • minimum Node version is set to Node 18
  • images photo prop is no longer supported