Skip to content

fix(deps): update dependency virtua to v0.48.2#3871

Merged
JellyBrick merged 1 commit into
masterfrom
renovate/virtua-0.x
Dec 19, 2025
Merged

fix(deps): update dependency virtua to v0.48.2#3871
JellyBrick merged 1 commit into
masterfrom
renovate/virtua-0.x

Conversation

@renovate

@renovate renovate Bot commented Sep 11, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
virtua 0.42.3 -> 0.48.2 age confidence

Release Notes

inokawa/virtua (virtua)

v0.48.2

Compare Source

What's Changed

  • Revert flex-direction: column-reverse and writing-mode support by @​inokawa in #​830

Full Changelog: inokawa/virtua@0.48.1...0.48.2

v0.48.1

Compare Source

What's Changed

  • Fix incorrect negative overflow detection especially in Windows by @​inokawa in #​827

Full Changelog: inokawa/virtua@0.48.0...0.48.1

v0.48.0

Compare Source

BREAKING CHANGES

Removed reverse prop from VList for React (#​774)

// before
<VList reverse>{children}</VList>;

// after
// Recommended markup to align items to the bottom
<div
  style={{
    overflowY: "auto",
    height: "100%",
    display: "flex",
    flexDirection: "column",
  }}
>
  <div style={{ flexGrow: 1 }} />
  <Virtualizer>{children}</Virtualizer>
</div>;
// or if you want the exactly same markup as reverse prop, use this
const scrollRef = useRef(null);
<div
  ref={scrollRef}
  style={{
    display: "block",
    overflowY: "auto",
    contain: "strict",
    width: "100%",
    height: "100%",
  }}
>
  <div
    style={{
      display: "flex",
      flexDirection: "column",
      justifyContent: "flex-end",
      minHeight: "100%",
      overflow: "clip",
    }}
  >
    <Virtualizer scrollRef={scrollRef}>{children}</Virtualizer>
  </div>
</div>;
// ...or we can use "column-reverse" to invert scroll direction in 0.48.0. May fit depending on your usecase
<div
  style={{
    height: "100%",
    overflowY: "auto",
    display: "flex",
    flexDirection: "column-reverse",
  }}
>
  <Virtualizer>{children}</Virtualizer>
</div>;

What's Changed

New Contributors

Full Changelog: inokawa/virtua@0.47.2...0.48.0

v0.47.2

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.47.1...0.47.2

v0.47.1

Compare Source

What's Changed

  • Fix crash when removing all items causes viewport to collapse to 0 by @​gne in #​818

New Contributors

Full Changelog: inokawa/virtua@0.47.0...0.47.1

v0.47.0

Compare Source

BREAKING CHANGES

  • Merged findStartIndex/findEndIndex into findItemIndex for more control
// before
handle.findStartIndex();
// after
handle.findItemIndex(handle.scrollOffset);

// before
handle.findEndIndex();
// after
handle.findItemIndex(handle.scrollOffset + handle.viewportSize);
  • Refactored some methods and props of experimental_VGrid #​777

What's Changed

Full Changelog: inokawa/virtua@0.46.7...0.47.0

v0.46.7

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.46.6...0.46.7

v0.46.6

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.46.5...0.46.6

v0.46.5

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.46.4...0.46.5

v0.46.4

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.46.3...0.46.4

v0.46.3

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.46.2...0.46.3

v0.46.2

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.46.1...0.46.2

v0.46.1

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.46.0...0.46.1

v0.46.0

Compare Source

BREAKING CHANGES

  • overscan prop has been replaced by bufferSize prop, to provide a better default regardless of the size of items. See #​378 for the motivation.
// before
<VList overscan={10}>
  {...}
</VList>
// after (x should be the average item size of your list)
<VList bufferSize={10 * x}>
  {...}
</VList>
  • When ssrCount was set, ssrCount + overscan items were (unintentionally) rendered. Now ssrCount items will be rendered.
// before
<VList ssrCount={10}>
  {...}
</VList>
// after (default overscan was 4)
<VList ssrCount={10 + 4}>
  {...}
</VList>

What's Changed

Full Changelog: inokawa/virtua@0.45.3...0.46.0

v0.45.3

Compare Source

What's Changed

New Contributors

Full Changelog: inokawa/virtua@0.45.2...0.45.3

v0.45.2

Compare Source

What's Changed

  • Fixed bug iPadOS detection was not working on iPadOS 13+ by @​uonr in #​781

New Contributors

Full Changelog: inokawa/virtua@0.45.1...0.45.2

v0.45.1

Compare Source

What's Changed

  • Change default for React props generics from undefined to unknown by @​inokawa in #​780

Full Changelog: inokawa/virtua@0.45.0...0.45.1

v0.45.0

Compare Source

BREAKING CHANGES

count prop was replaced with data prop in React components, for consistent API across frameworks.

const items = [...]

// before
<VList count={items.length}>
  {(i) => <div key={i}>{items[i]}</div>}
</VList>

// after
<VList data={items}>
  {(item, i) => <div key={i}>{item}</div>}
</VList>
// ...or you can migrate like this for now (will be removed in the future)
<VList data={{ length: items.length }}>
  {(_, i) => <div key={i}>{items[i]}</div>}
</VList>

// If you want to display header or footer with index, we recommend migrating to Virtualizer with startMargin
<div style={{ overflowY: 'auto', overflowAnchor: 'none', height: '100%' }}>
  <Header />
  <Virtualizer data={items} startMargin={headerHeight}>
    {(item, i) => <div key={i}>{item}</div>}
  </Virtualizer>
  <Footer />
</div>
// or you can pass elements to children
<VList>
  <Header />
  {items.map((item, i) => <div key={i}>{item}</div>)}
  <Footer />
</VList>

What's Changed

Full Changelog: inokawa/virtua@0.44.3...0.45.0

v0.44.3

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.44.2...0.44.3

v0.44.2

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.44.1...0.44.2

v0.44.1

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.44.0...0.44.1

v0.44.0

Compare Source

BREAKING CHANGES

Changed to ESM-first package structure

What's Changed

Full Changelog: inokawa/virtua@0.43.6...0.44.0

v0.43.6

Compare Source

What's Changed

  • Fixed issue scheduled scroll could be canceled in React Strict Mode by @​inokawa in #​765

Full Changelog: inokawa/virtua@0.43.5...0.43.6

v0.43.5

Compare Source

What's Changed

New Contributors

Full Changelog: inokawa/virtua@0.43.4...0.43.5

v0.43.4

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.43.3...0.43.4

v0.43.3

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.43.2...0.43.3

v0.43.2

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.43.1...0.43.2

v0.43.1

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.43.0...0.43.1

v0.43.0

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.42.4...0.43.0

v0.42.4

Compare Source

What's Changed

New Contributors

Full Changelog: inokawa/virtua@0.42.3...0.42.4


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 added the dependencies Pull requests that update a dependency file label Sep 11, 2025
@renovate renovate Bot force-pushed the renovate/virtua-0.x branch from a369761 to b47f6e4 Compare September 13, 2025 04:06
@renovate renovate Bot changed the title fix(deps): update dependency virtua to v0.43.0 fix(deps): update dependency virtua to v0.43.1 Sep 13, 2025
@renovate renovate Bot changed the title fix(deps): update dependency virtua to v0.43.1 fix(deps): update dependency virtua to v0.43.2 Sep 18, 2025
@renovate renovate Bot force-pushed the renovate/virtua-0.x branch from b47f6e4 to 38ffb0c Compare September 18, 2025 17:29
@renovate renovate Bot force-pushed the renovate/virtua-0.x branch from 38ffb0c to 910d73e Compare October 19, 2025 13:39
@renovate renovate Bot changed the title fix(deps): update dependency virtua to v0.43.2 fix(deps): update dependency virtua to v0.45.3 Oct 19, 2025
@renovate renovate Bot force-pushed the renovate/virtua-0.x branch from 910d73e to d857654 Compare October 20, 2025 00:58
@renovate renovate Bot changed the title fix(deps): update dependency virtua to v0.45.3 fix(deps): update dependency virtua to v0.46.0 Oct 20, 2025
@renovate renovate Bot force-pushed the renovate/virtua-0.x branch from d857654 to b9b754e Compare October 20, 2025 05:36
@renovate renovate Bot changed the title fix(deps): update dependency virtua to v0.46.0 fix(deps): update dependency virtua to v0.46.1 Oct 20, 2025
@renovate renovate Bot changed the title fix(deps): update dependency virtua to v0.46.1 fix(deps): update dependency virtua to v0.46.2 Oct 20, 2025
@renovate renovate Bot force-pushed the renovate/virtua-0.x branch 2 times, most recently from e96b926 to 6695e8f Compare October 21, 2025 23:09
@renovate renovate Bot changed the title fix(deps): update dependency virtua to v0.46.2 fix(deps): update dependency virtua to v0.46.3 Oct 22, 2025
@renovate renovate Bot force-pushed the renovate/virtua-0.x branch 2 times, most recently from ed55d03 to 7a935d9 Compare October 28, 2025 12:01
@renovate renovate Bot changed the title fix(deps): update dependency virtua to v0.46.3 fix(deps): update dependency virtua to v0.46.4 Oct 28, 2025
@renovate renovate Bot force-pushed the renovate/virtua-0.x branch from 7a935d9 to 66c86ec Compare November 1, 2025 06:27
@renovate renovate Bot changed the title fix(deps): update dependency virtua to v0.46.4 fix(deps): update dependency virtua to v0.46.5 Nov 1, 2025
@renovate renovate Bot force-pushed the renovate/virtua-0.x branch from 66c86ec to 7e71564 Compare November 4, 2025 13:02
@renovate renovate Bot changed the title fix(deps): update dependency virtua to v0.46.5 fix(deps): update dependency virtua to v0.46.6 Nov 4, 2025
@renovate renovate Bot force-pushed the renovate/virtua-0.x branch from 7e71564 to 94e098d Compare November 9, 2025 09:35
@renovate renovate Bot changed the title fix(deps): update dependency virtua to v0.46.6 fix(deps): update dependency virtua to v0.46.7 Nov 9, 2025
@renovate renovate Bot force-pushed the renovate/virtua-0.x branch from 94e098d to 089fc30 Compare November 16, 2025 06:29
@renovate renovate Bot changed the title fix(deps): update dependency virtua to v0.46.7 fix(deps): update dependency virtua to v0.47.0 Nov 16, 2025
@renovate renovate Bot force-pushed the renovate/virtua-0.x branch 2 times, most recently from e3c7109 to d38d9d8 Compare November 21, 2025 15:00
@renovate renovate Bot changed the title fix(deps): update dependency virtua to v0.47.0 fix(deps): update dependency virtua to v0.47.1 Nov 21, 2025
@renovate renovate Bot changed the title fix(deps): update dependency virtua to v0.47.1 fix(deps): update dependency virtua to v0.47.2 Nov 26, 2025
@renovate renovate Bot force-pushed the renovate/virtua-0.x branch 2 times, most recently from ffb1c40 to b06f9fd Compare November 30, 2025 13:41
@renovate renovate Bot changed the title fix(deps): update dependency virtua to v0.47.2 fix(deps): update dependency virtua to v0.48.0 Nov 30, 2025
@renovate renovate Bot force-pushed the renovate/virtua-0.x branch from b06f9fd to 3948848 Compare November 30, 2025 18:14
@renovate renovate Bot changed the title fix(deps): update dependency virtua to v0.48.0 fix(deps): update dependency virtua to v0.48.1 Nov 30, 2025
@renovate renovate Bot force-pushed the renovate/virtua-0.x branch from 3948848 to a5a6102 Compare December 1, 2025 07:27
@renovate renovate Bot changed the title fix(deps): update dependency virtua to v0.48.1 fix(deps): update dependency virtua to v0.48.2 Dec 1, 2025
@renovate renovate Bot force-pushed the renovate/virtua-0.x branch from a5a6102 to 7b97b10 Compare December 3, 2025 17:10
@JellyBrick JellyBrick merged commit 62a322f into master Dec 19, 2025
8 of 9 checks passed
@JellyBrick JellyBrick deleted the renovate/virtua-0.x branch December 19, 2025 06:59
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant