Skip to content

Conversation

@balena-renovate
Copy link
Contributor

@balena-renovate balena-renovate bot commented Dec 3, 2024

This PR contains the following updates:

Package Change Age Confidence
virtua ^0.37.3 -> ^0.47.0 age confidence

Release Notes

inokawa/virtua (virtua)

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

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

v0.42.3

Compare Source

What's Changed

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

v0.42.2

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.42.1...0.42.2

v0.42.1

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.42.0...0.42.1

v0.42.0

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.41.5...0.42.0

v0.41.5

Compare Source

What's Changed

  • Revert unnecessary domRef prop of Virtualizer

Full Changelog: inokawa/virtua@0.41.4...0.41.5

v0.41.4

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.41.3...0.41.4

v0.41.3

Compare Source

Update readme

Full Changelog: inokawa/virtua@0.41.2...0.41.3

v0.41.2

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.41.1...0.41.2

v0.41.1

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.41.0...0.41.1

v0.41.0

Compare Source

BREAKING CHANGES

index argument of children prop is now signal in Solid. See #​674 in detail.

What's Changed

New Contributors

Full Changelog: inokawa/virtua@0.40.4...0.41.0

v0.40.4

Compare Source

What's Changed

New Contributors

Full Changelog: inokawa/virtua@0.40.3...0.40.4

v0.40.3

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.40.2...0.40.3

v0.40.2

Compare Source

What's Changed

New Contributors

Full Changelog: inokawa/virtua@0.40.1...0.40.2

v0.40.1

Compare Source

What's Changed

New Contributors

Full Changelog: inokawa/virtua@0.40.0...0.40.1

v0.40.0

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.39.3...0.40.0

v0.39.3

Compare Source

What's Changed

New Contributors

Full Changelog: inokawa/virtua@0.39.2...0.39.3

v0.39.2

Compare Source

What's Changed

  • Remove offset argument of onScroll prop from WindowVirtualizer by @​inokawa in #​581

Full Changelog: inokawa/virtua@0.39.1...0.39.2

v0.39.1

Compare Source

What's Changed

New Contributors

Full Changelog: inokawa/virtua@0.39.0...0.39.1

v0.39.0

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.38.5...0.39.0

v0.38.5

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.38.4...0.38.5

v0.38.4

Compare Source

What's Changed

  • Update the state when new data is added and the scroll is at the bottom by @​mupkoo in #​568

New Contributors

Full Changelog: inokawa/virtua@0.38.3...0.38.4

v0.38.3

Compare Source

What's Changed

  • Use idiomatic svelte syntax for setting attribute values by @​ttytm in #​567
  • Fix scrollbar size calculation in scrollToIndex of horizontal WindowVirtualizer by @​inokawa in #​569

New Contributors

Full Changelog: inokawa/virtua@0.38.2...0.38.3

v0.38.2

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.38.1...0.38.2

v0.38.1

Compare Source

Improve svelte bundle

Full Changelog: inokawa/virtua@0.38.0...0.38.1

v0.38.0

Compare Source

What's Changed

Full Changelog: inokawa/virtua@0.37.4...0.38.0

v0.37.4

Compare Source

What's Changed

New Contributors

Full Changelog: inokawa/virtua@0.37.3...0.37.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 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 Renovate Bot.

@flowzone-app
Copy link
Contributor

flowzone-app bot commented Dec 3, 2024

Website deployed to CF Pages, 👀 preview link https://5d6befa4.balena-design-system.pages.dev

@balena-renovate balena-renovate bot changed the title Update dependency virtua to ^0.38.0 Update dependency virtua to ^0.38.0 - autoclosed Dec 8, 2024
@balena-renovate balena-renovate bot closed this Dec 8, 2024
@balena-renovate balena-renovate bot deleted the renovate/virtua branch December 8, 2024 18:50
@balena-renovate balena-renovate bot restored the renovate/virtua branch December 8, 2024 19:49
@balena-renovate balena-renovate bot changed the title Update dependency virtua to ^0.38.0 - autoclosed Update dependency virtua to ^0.38.0 Dec 8, 2024
@balena-renovate balena-renovate bot reopened this Dec 8, 2024
@balena-renovate balena-renovate bot changed the title Update dependency virtua to ^0.38.0 Update dependency virtua to ^0.39.0 Dec 9, 2024
@balena-renovate balena-renovate bot force-pushed the renovate/virtua branch 2 times, most recently from 3f9ca1f to 5f71b4b Compare December 10, 2024 20:53
@balena-renovate balena-renovate bot force-pushed the renovate/virtua branch 2 times, most recently from 85f3a6c to 6ce4272 Compare January 7, 2025 15:01
@balena-renovate balena-renovate bot force-pushed the renovate/virtua branch 4 times, most recently from 2874b2a to fdcf975 Compare January 17, 2025 13:53
@balena-renovate balena-renovate bot force-pushed the renovate/virtua branch 4 times, most recently from 8b87fa2 to df88e02 Compare January 21, 2025 11:57
@balena-renovate balena-renovate bot force-pushed the renovate/virtua branch 3 times, most recently from 152a49a to 093d81c Compare January 23, 2025 17:56
@balena-renovate balena-renovate bot changed the title Update dependency virtua to ^0.41.0 Update dependency virtua to ^0.42.0 Sep 2, 2025
@balena-renovate balena-renovate bot force-pushed the renovate/virtua branch 2 times, most recently from 7908594 to 961ea7a Compare September 9, 2025 13:13
@balena-renovate balena-renovate bot changed the title Update dependency virtua to ^0.42.0 Update dependency virtua to ^0.43.0 Sep 14, 2025
@balena-renovate balena-renovate bot force-pushed the renovate/virtua branch 2 times, most recently from c98bdef to 6fed0ba Compare October 5, 2025 01:16
@balena-renovate balena-renovate bot changed the title Update dependency virtua to ^0.43.0 Update dependency virtua to ^0.44.0 Oct 5, 2025
@balena-renovate balena-renovate bot force-pushed the renovate/virtua branch 4 times, most recently from d976da5 to 42ba2ac Compare October 13, 2025 11:00
@balena-renovate balena-renovate bot changed the title Update dependency virtua to ^0.44.0 Update dependency virtua to ^0.45.0 Oct 13, 2025
@balena-renovate balena-renovate bot changed the title Update dependency virtua to ^0.45.0 Update dependency virtua to ^0.46.0 Oct 23, 2025
@balena-renovate balena-renovate bot force-pushed the renovate/virtua branch 3 times, most recently from e41c189 to 3e604f4 Compare November 3, 2025 13:11
@balena-renovate balena-renovate bot force-pushed the renovate/virtua branch 2 times, most recently from c97af9d to 08a362c Compare November 5, 2025 13:12
@balena-renovate balena-renovate bot force-pushed the renovate/virtua branch 5 times, most recently from aee6a7b to 2ec134f Compare November 19, 2025 05:58
@balena-renovate balena-renovate bot changed the title Update dependency virtua to ^0.46.0 Update dependency virtua to ^0.47.0 Nov 19, 2025
Update virtua from 0.37.3 to 0.47.0

Change-type: patch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant