-
Notifications
You must be signed in to change notification settings - Fork 26
chore(deps): bump react-grid-layout and @types/react-grid-layout #16
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
Conversation
Bumps [react-grid-layout](https://github.com/STRML/react-grid-layout) and [@types/react-grid-layout](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-grid-layout). These dependencies needed to be updated together. Updates `react-grid-layout` from 1.3.4 to 1.5.2 - [Release notes](https://github.com/STRML/react-grid-layout/releases) - [Changelog](https://github.com/react-grid-layout/react-grid-layout/blob/master/CHANGELOG.md) - [Commits](react-grid-layout/react-grid-layout@1.3.4...1.5.2) Updates `@types/react-grid-layout` from 1.3.2 to 1.3.5 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-grid-layout) --- updated-dependencies: - dependency-name: react-grid-layout dependency-version: 1.5.2 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: "@types/react-grid-layout" dependency-version: 1.3.5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
ReviewersThe following teams could not be added as reviewers: Please fix the above issues or remove invalid values from |
|
The |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Greptile Summary
This PR is an automated dependency update from Dependabot that bumps two related packages: react-grid-layout from version 1.3.4 to 1.5.2, and @types/react-grid-layout from 1.3.2 to 1.3.5. These packages are used together to provide draggable and resizable grid layouts in React applications, which is commonly used in dashboard interfaces within monitoring applications like Sentry.
The react-grid-layout update includes several important improvements: fixes for drag positioning when boundaries are enabled (isBounded=true), React 18+ compatibility through proper flushSync wrapping of state updates, corrections to grid positioning calculations (calcXY), and enhanced resizing capabilities in all directions. The library also now fires onBreakpointChange before onLayoutChange events, making responsive layout management more predictable.
The corresponding TypeScript definitions in @types/react-grid-layout have been updated to match the new library API, ensuring type safety is maintained. This update fits into the Sentry codebase by maintaining the existing grid layout functionality while providing better stability and React compatibility, particularly important given that the project appears to be using modern React versions based on the package.json configuration.
Confidence score: 4/5
- This is a straightforward dependency update with well-documented bug fixes and compatibility improvements that should be safe to merge.
- The score reflects that while the changes are primarily bug fixes and compatibility updates, any UI library update carries some risk of behavioral changes in complex applications.
- The
package.jsonfile needs standard review to ensure the version updates are correct.
1 file reviewed, no comments
|
Closing Dependabot PR as automatic dependency updates have been disabled. |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Bumps react-grid-layout and @types/react-grid-layout. These dependencies needed to be updated together.
Updates
react-grid-layoutfrom 1.3.4 to 1.5.2Release notes
Sourced from react-grid-layout's releases.
... (truncated)
Changelog
Sourced from react-grid-layout's changelog.
... (truncated)
Commits
eb39a3frelease 1.5.2d36a51bchore(pkg): various dev package updatesf52522echore(dev): update browserslistfa5784dfix: GridItem drag position is abnormal when isBounded = true (#2102)e1d8f93release 1.5.140b8a7cfix(flushSync): remove on onDragStart/onDragStop and moveDroppingItemb067ff3wrap state calls in flushSync - React 18 fix (#2043)b29fce6chore(build): fix broken gh-actions (#2090)0f480ecrelease 1.5.0915613dFix calcXY calculation (#2059)Updates
@types/react-grid-layoutfrom 1.3.2 to 1.3.5Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)