Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 29, 2025

Bumps react-grid-layout and @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

Sourced from react-grid-layout's releases.

1.5.2

  • fix: GridItem drag position is abnormal when isBounded = true

1.5.1

  • chore(build): fix broken gh-actions
  • GridItem: Fix cursor desync when used with React 18

1.5.0

What's Changed

Other Changes

New Contributors

Full Changelog: react-grid-layout/react-grid-layout@1.4.4...1.5.0

1.4.1

  • fix(resize): fix bug where height could not be resized if h=0
  • fix(deps): revert fast-equals to @​4.0.3

1.4.0

... (truncated)

Changelog

Sourced from react-grid-layout's changelog.

1.5.2 (Jun 25, 2025)

  • Fix calcXY when isBounded=true moving items incorrectly. Likely related to #2059. Thanks @​wanpan11. #2102

1.5.1 (Mar 11, 2025)

1.5.0 (Oct 9, 2024)

  • Fix calcXY moving grid items slightly above and to the left of where they should be. Thanks @​MaxMusing. #2059
  • Change onBreakpointChange/onLayoutChange event order. onBreakpointChange now fires first. This should make managing responsive layouts easier, as you can set the current breakpoint in storage, then save the new layout to it.

1.4.4 (Nov 28, 2023)

Bugfixes

  • Fix position logic when draggable item is dragged into the grid. We no longer use the deprecated / non-standard e.nativeEvent.layer{X,Y} properties. #1915
  • Fix drag values according to containerPadding. Previously, when dragging an item, the intuited position within the grid was not modified by containerPadding, causing it to off by that value. On most grids, this is only set to [10, 10], so this may not have been noticeable, but for higher values it was very obvious. Thanks @​hywlss9. #1323
  • Various lint/dependency fixes.

1.4.3 (Nov 8, 2023)

Bugfixes

  • Set activeDrag in onDragStart. Fixes issues where, if no drag is performed, the onDragStop handler would error out and the drag would freeze. #1923
    • THis fixes some broader issues with React 18 but testing library support is still not complete.

1.4.2 (Sep 22, 2023)

Bugfixes

  • Resizing in every directionnow obeys preventCollision restrictions #1937

1.4.1 (Sep 12, 2023)

Bugfixes

  • Fixed bug where height/width could not be resized if h = 0 or w = 0 and 0 containerPadding. #1931
  • Revert fast-equals to @​4. Fixes incompatibility with Create-React-App@5.

1.4.0 (Sep 11, 2023)

Hey, it's been a long time! Taking a year and a half off is a pretty "open-source" thing to do, thanks for bearing with me.

New Features

  • Grid items can now be resized left and up! Thanks to @​ludovic and @​dseif for all the hard work they did on this. #1917
    • To use, specify resizeHandles directions on your <GridItem>s. See the example for more on how to do this.
    • See also the demo.

... (truncated)

Commits

Updates @types/react-grid-layout from 1.3.2 to 1.3.5

Commits

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

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]>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 29, 2025

Reviewers

The following teams could not be added as reviewers: owners-js-deps. Either the team does not exist or it does not have the correct permissions to be added as a reviewer.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 29, 2025

The reviewers field in the dependabot.yml file will be removed soon. Please use the code owners file to specify reviewers for Dependabot PRs. For more information, see this blog post.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 29, 2025
Copy link

@greptile-apps greptile-apps bot left a 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.json file needs standard review to ensure the version updates are correct.

1 file reviewed, no comments

Edit Code Review Bot Settings | Greptile

@everettbu
Copy link
Contributor

Closing Dependabot PR as automatic dependency updates have been disabled.

@everettbu everettbu closed this Jul 29, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 29, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant