Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency react-photo-gallery to v8 #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Sep 30, 2019

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-photo-gallery 6.3.4 -> 8.0.0 age adoption passing confidence

Release Notes

neptunian/react-photo-gallery (react-photo-gallery)

v8.0.0: v8

Compare Source

  • Gallery uses React.memo
  • Use hooks
  • Update examples
  • Update tests
  • Bump default limitNodeSearch to 2
  • Change the way renderImage works. You now need to pass in your own key. The component is no longer wrapped in a div with a key.

Possible breaking changes

  • if your are using a custom component (renderImage prop), you may get a warning about keys. It could also stop interacting correctly with other libraries that use an HOC.
  • the Gallery uses React.memo. That means it does a shallow update of props. If you are mutating your photos array directly, it will no longer trigger a change. You will need to make sure your prop values are immutable if you want them to trigger Gallery updates.

v7.0.2

Compare Source

v7.0.1

Compare Source

v7.0.0

Breaking Changes

  • New algorithm being used which ignores columns prop when direction=row (default). Photos per row are now determined by the new algorithm keeping in mind the user defined targetRowHeight.
  • ImageComponent renamed to renderImage
  • targetRowHeight. New prop. The algorithm will do its best to keep rows close to this height
  • limitNodeSearch. New prop. Limits the amount of neighboring nodes to check for the best row

Configuration

📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/react-photo-gallery-8.x branch from a9b932c to d8f341a Compare October 26, 2022 11:47
@renovate renovate bot force-pushed the renovate/react-photo-gallery-8.x branch from d8f341a to df435e7 Compare September 10, 2024 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants