Skip to content

fix(deps): update dependency virtua to v0.49.1#173

Open
MFSGA wants to merge 1 commit into
masterfrom
renovate/virtua-0.x
Open

fix(deps): update dependency virtua to v0.49.1#173
MFSGA wants to merge 1 commit into
masterfrom
renovate/virtua-0.x

Conversation

@MFSGA

@MFSGA MFSGA commented Jun 17, 2026

Copy link
Copy Markdown
Owner

This PR contains the following updates:

Package Change Age Confidence
virtua 0.45.30.49.1 age confidence

Release Notes

inokawa/virtua (virtua)

v0.49.1

Compare Source

Update docs for vue

Full Changelog: inokawa/virtua@0.49.0...0.49.1

v0.49.0

Compare Source

What's Changed

New Contributors

Full Changelog: inokawa/virtua@0.48.8...0.49.0

v0.48.8

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.48.7...0.48.8

v0.48.7

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.48.6...0.48.7

v0.48.6

Compare Source

What's Changed

  • fix(svelte): filter stale indices in Virtualizer to prevent undefined data access by @​jveres in #​847

New Contributors

Full Changelog: inokawa/virtua@0.48.5...0.48.6

v0.48.5

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.48.4...0.48.5

v0.48.4

Compare Source

What's Changed

New Contributors

Full Changelog: inokawa/virtua@0.48.3...0.48.4

v0.48.3

Compare Source

What's Changed

New Contributors

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

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>

// If you don't have opinion about the value of overscan, try the default value first
<VList>
  {...}
</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


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 has been generated by Mend Renovate.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants