Skip to content

chore(deps): bump react-window from 1.8.11 to 2.2.1#148

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/react-window-2.2.1
Closed

chore(deps): bump react-window from 1.8.11 to 2.2.1#148
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/react-window-2.2.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Oct 13, 2025

Bumps react-window from 1.8.11 to 2.2.1.

Release notes

Sourced from react-window's releases.

2.2.1

  • Fix possible scroll-jump scenario with useDynamicRowHeight

2.2.0

  • Support for dynamic row heights via new useDynamicRowHeight hook.
const rowHeight = useDynamicRowHeight({
  defaultRowHeight: 50
});
return <List rowHeight={rowHeight} {...rest} />;

  • Smaller NPM bundle; (docs are no longer included as part of the bundle due to the added size)

Documentation at: https://react-window-9gegorjnr-brian-vaughns-projects.vercel.app/

2.1.2

Prevent ResizeObserver API from being called at all if an explicit List height (or Grid width and height) is provided.

Thanks to @​tnajdek for the PR!


Documentation at: https://react-window-8cygyvomv-brian-vaughns-projects.vercel.app/

2.1.1

Grids with only one row no longer incorrectly set cell height to 100%.


Documentation at: https://react-window-8cygyvomv-brian-vaughns-projects.vercel.app/

2.1.0

Improved ARIA support:

  • Add better default ARIA attributes for outer HTMLDivElement
  • Add optional ariaAttributes prop to row and cell renderers to simplify better ARIA attributes for user-rendered cells
  • Remove intermediate HTMLDivElement from List and Grid
    • This may enable more/better custom CSS styling
    • This may also enable adding an optional children prop to List and Grid for e.g. overlays/tooltips
  • Add optional tagName prop; defaults to "div" but can be changed to e.g. "ul"
// Example of how to use new `ariaAttributes` prop
function RowComponent({
  ariaAttributes,
</tr></table> 

... (truncated)

Changelog

Sourced from react-window's changelog.

2.2.1

  • Fix possible scroll-jump scenario with useDynamicRowHeight

2.2.0

  • Support for dynamic row heights via new useDynamicRowHeight hook.
const rowHeight = useDynamicRowHeight({
  defaultRowHeight: 50
});
return <List rowHeight={rowHeight} {...rest} />;

  • Smaller NPM bundle; (docs are no longer included as part of the bundle due to the added size)

2.1.2

Prevent ResizeObserver API from being called at all if an explicit List height (or Grid width and height) is provided.

2.1.1

Grids with only one row no longer incorrectly set cell height to 100%.

2.1.0

Improved ARIA support:

  • Add better default ARIA attributes for outer HTMLDivElement
  • Add optional ariaAttributes prop to row and cell renderers to simplify better ARIA attributes for user-rendered cells
  • Remove intermediate HTMLDivElement from List and Grid
    • This may enable more/better custom CSS styling
    • This may also enable adding an optional children prop to List and Grid for e.g. overlays/tooltips
  • Add optional tagName prop; defaults to "div" but can be changed to e.g. "ul"
// Example of how to use new `ariaAttributes` prop
function RowComponent({
  ariaAttributes,
  index,
  style,
  ...rest
}: RowComponentProps<object>) {
  return (
    <div style={style} {...ariaAttributes}>
      ...
    </div>
  );
</tr></table> 

... (truncated)

Commits
  • 881ddbc 2.2.0 -> 2.2.1
  • 8db16d6 Fix potential scroll jumping when using dynamic row heights (#868)
  • f3a5aa7 Add debug utils for logging colorful strings
  • ef27031 Version page tweaks
  • 1898945 Add more previous version links
  • 6e28178 Add links to past version docs
  • 4d71210 Relax List rowHeight constraint (alt) (#857)
  • 1220d5c Remove docs from NPM bundle; they're pretty large (#858)
  • 5992e1d Improve mock ResizeObserver test utils
  • 71df53d Update image example to set width=100%
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 13, 2025
Copy link
Copy Markdown
Contributor

@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 Overview

Greptile Summary

This PR updates react-window from version 1.8.11 to 2.2.1, a major version bump from a Dependabot automated update. The upgrade introduces dynamic row height support through a new useDynamicRowHeight hook, improved ARIA accessibility features, removal of intermediate HTML div elements for better CSS styling, and various bug fixes including scroll jump prevention. The package provides virtualized windowing components that Atuin Desktop likely uses for efficiently rendering large lists of runbook content or history data.

The upgrade appears beneficial with performance improvements and better accessibility, but being a major version change, it could introduce breaking changes. The codebase would need to be tested to ensure existing react-window usage remains compatible with the new API.

Important Files Changed

Changed Files
Filename Score Overview
package.json 4/5 Updates react-window dependency from 1.8.11 to 2.2.1- major version upgrade with new features and potential breaking changes

1 file reviewed, no comments

Edit Code Review Agent Settings | Greptile

Bumps [react-window](https://github.com/bvaughn/react-window) from 1.8.11 to 2.2.1.
- [Release notes](https://github.com/bvaughn/react-window/releases)
- [Changelog](https://github.com/bvaughn/react-window/blob/master/CHANGELOG.md)
- [Commits](bvaughn/react-window@1.8.11...2.2.1)

---
updated-dependencies:
- dependency-name: react-window
  dependency-version: 2.2.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/react-window-2.2.1 branch from 5acb7b3 to 6bf3a0c Compare October 23, 2025 00:51
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Oct 27, 2025

Superseded by #185.

@dependabot dependabot bot closed this Oct 27, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/react-window-2.2.1 branch October 27, 2025 12:21
@github-actions github-actions bot locked and limited conversation to collaborators Oct 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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