Changes
Changelog
What changed in each release of vvirtual-grid, starting at the fork.
vvirtual-grid is a fork of vue-virtual-scroll-grid by Roc Wang. The upstream package is published on npm as vue-virtual-scroll-grid up to version 1.11.0. The fork's first release follows upstream 1.11.0 and restarts the version numbers at 1.1.0, so the numbers do not continue from 1.11.0. Releases before the fork are recorded in the upstream repository.
The full history, with commit links, is in CHANGELOG.md.
1.2.0
- Feature: Added
vvirtual-grid/primitives, which return the rectangle, row and column of any item, rendered or not. - Feature: Added the
render,viewport-scrollandlayout-changeevents to<VirtualGrid>. - Feature: Added the exposed
measurementref, which holds the flow, columns, rows, gaps and item size. - Feature: Added the
getItemIdprop, which returns a unique identifier of an item. Items with the same identifier are not rendered again when their page is loaded again. - Breaking: Removed the exposed
allItemsref. The grid keeps loaded pages in an internal map. - Breaking: The grid no longer compares item values in depth. An item loaded again as a new, equal object is rendered again, unless
getItemIdis set. - Fix: Resolved
readyandmeasurementbeingundefinedon a template ref until the parent rendered again. - Performance: 20 one-row scroll events through a list of 1,000,000 items take 0.40 ms, down from 1,530 ms in 1.1.6. See Benchmarks.
- Build: The package is marked side-effect free.
- Build: Removed Ramda from the runtime. The tests still use it as a reference implementation.
- Build: The package targets ES2020, where 1.1.6 targeted ES2015. A project that supports older browsers must transpile the package.
- Build: The minified, gzipped entry point is 13.8 KB, down from 17.1 KB.
1.1.6
- Fix: Resolved stale items after
lengthchanged. The grid reloads and recomputes the list.
1.1.5
- Fix: Resolved a corrupted list after
pageSizechanged at runtime.
1.1.4
- Fix: Resolved placeholders flickering while their page loaded.
1.1.2
- Feature:
pageProvidercan return an array. It no longer has to return a promise. - Fix: Resolved package types conflicting with a user's build.
- Fix: Resolved peer dependency errors for Vue.
1.1.0
- Feature: Server-side rendering support.
- Feature:
createPageProviderturns an array into apageProvider.