Skip to content

chore(deps): bump react-grid-layout and @types/react-grid-layout in /openmetadata-ui/src/main/resources/ui - #30506

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/openmetadata-ui/src/main/resources/ui/multi-63cda842a1
Open

chore(deps): bump react-grid-layout and @types/react-grid-layout in /openmetadata-ui/src/main/resources/ui#30506
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/openmetadata-ui/src/main/resources/ui/multi-63cda842a1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 27, 2026

Copy link
Copy Markdown
Contributor

Bumps react-grid-layout and @types/react-grid-layout. These dependencies needed to be updated together.
Updates react-grid-layout from 1.5.3 to 2.2.3

Release notes

Sourced from react-grid-layout's releases.

2.2.3

🧪 Tests

🔧 Internal Changes

2.2.2

🧪 Tests

  • prevent infinite loop when dragging external items in controlled state (#2210) - #2225 by @​STRML

🔧 Internal Changes

  • prevent infinite loop when dragging external items in controlled state (#2210) - #2225 by @​STRML

2.2.1

📚 Documentation

🧪 Tests

  • add defensive guards for drag-from-outside edge cases (#2210) - #2220 by @​STRML
  • remove calcDragPosition from default strategies to fix drag position jump - #2223 by @​STRML
  • use compactor.compact() everywhere, remove compat layers (#2213) - #2222 by @​STRML

2.2.0

Do not use this release; contains a critical layout bug. Use 2.2.1 or later.

🧪 Tests

2.1.1

📚 Documentation

  • document TypeScript type migration from @​types/react-grid-layout - #2200 by @​STRML

... (truncated)

Changelog

Sourced from react-grid-layout's changelog.

Changelog

2.2.1 (Dec 30, 2025)

Bug Fixes

  • Drag position: Fix items jumping half a screen down when drag starts on a grid container offset from the page top. Removed calcDragPosition from default position strategies since react-draggable handles parent-relative coordinates correctly. #2223
  • Compactor: Ensure all internal v2 code uses compactor.compact() instead of the legacy compact() function. Added optional compactor prop to hooks (useGridLayout, useResponsiveLayout) that takes precedence over compactType/allowOverlap. Fixed negative coordinate handling in compactors. #2222, fixes #2213
  • Drag-from-outside: Add defensive guards for edge cases with drag enter/leave counter synchronization. Made removeDroppingPlaceholder idempotent and prevented negative counter values. #2220, fixes #2210

Internal Changes

  • Removed never-exported compat layers (utils-compat.ts, responsive-compat.ts, calculate-compat.ts). These were internal implementation details and were never part of the public API.
  • Removed onMove() method from Compactor interface. Custom compactors should implement only compact().

2.2.0 (Dec 29, 2025)

Bug Fixes

  • GridItem: Fix infinite loop when dragging from outside then leaving the grid without releasing the mouse. Applied the same layoutRef pattern from GridLayout to GridItem's constraint context. #2214, fixes #2210
  • DropConfig: Fix dropConfig.onDragOver being ignored. The v2 API's onDragOver callback is now properly called when provided. #2215, fixes #2212
  • Compactor: Fix custom compactor's compact() method never being called. GridLayout was extracting properties but ignoring the method implementations. #2216, fixes #2213
  • PositionStrategy: Fix custom calcStyle() and calcDragPosition() methods never being called. Custom position strategies can now fully override positioning behavior. #2217
  • DragConfig: Implement threshold property (default 3px for v2 API). Drag callbacks now wait until mouse moves the threshold distance before firing, preventing accidental drags on click. Legacy API uses threshold=0 for backwards compatibility. #2217, fixes #1341, #1401

2.1.1 (Dec 21, 2025)

Bug Fixes

  • Legacy API: Fix allowOverlap not working in legacy mode. Added noOverlapCompactor for when compactType=null and allowOverlap=true. #2207
  • GridLayout: Fix "Maximum update depth exceeded" during drag/resize/drop operations. Used layoutRef pattern to prevent callbacks from being recreated on every layout change. #2208
  • useResponsiveLayout: Fix infinite re-render loop when passing inline objects as layouts prop. Added separate ref to track props vs state changes. #2209

2.1.0 (Dec 14, 2025)

New Features

Pluggable Layout Constraints System

A new constraints system allows custom validation and transformation of layout items during drag and resize operations. #2190

import { createConstraintEnforcer, aspectRatioConstraint, positionConstraint } from "react-grid-layout/core";
const enforcer = createConstraintEnforcer([
aspectRatioConstraint(16 / 9),
positionConstraint({ minX: 0, maxX: 10 })
]);
<GridLayout constraintEnforcer={enforcer} />
</tr></table>

... (truncated)

Commits
  • a2f3f74 release 2.2.3
  • 061c607 chore: add codemaps, .reports, .ccells-state.json to gitignore
  • de671ae chore: update dependencies
  • 92135fe Merge PR #2237: fix visual resize preview constrained to minW/maxW/minH/maxH ...
  • ba1b105 refactor: remove unnecessary exports, add Infinity test for calcGridItemWHPx
  • ebd1bf5 Merge branch 'look-open-issues'
  • b84fca3 Merge pull request #2239 from WhiteMinds/fix/duplicate-dropping-elem-race-con...
  • e4bc3ac fix: prevent duplicate dropping-elem from race condition in handleDragOver
  • 294a8ef fix: visual resize preview constrained to minW/maxW/minH/maxH (#2235)
  • d4bb483 chore(deps-dev): bump lodash from 4.17.21 to 4.17.23 (#2234)
  • Additional commits viewable in compare view
Install script changes

This version adds prepare script that runs during installation. Review the package contents before updating.


Updates @types/react-grid-layout from 1.3.6 to 2.1.0

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 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.5.3 to 2.2.3
- [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.5.3...2.2.3)

Updates `@types/react-grid-layout` from 1.3.6 to 2.1.0
- [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: 2.2.3
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: "@types/react-grid-layout"
  dependency-version: 2.1.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 27, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner July 27, 2026 09:15
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hi there 👋 Thanks for your contribution!

The OpenMetadata team will review the PR shortly! Once it has been labeled as safe to test, the CI workflows
will start executing and we'll be able to make sure everything is working as expected.

Let us know if you need any help!

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.

0 participants