---
title: "Changelog"
description: "What changed in each release of vvirtual-grid, starting at the fork."
canonical_url: "https://vvirtual-grid.netlify.app/changes/changelog"
---
# Changelog

> What changed in each release of vvirtual-grid, starting at the fork.

`vvirtual-grid` is a fork of [`vue-virtual-scroll-grid`](https://github.com/rocwang/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`](https://github.com/astraldev/vvirtual-grid/blob/main/core/CHANGELOG.md).

## 1.2.0

- **Feature:** Added [`vvirtual-grid/primitives`](https://vvirtual-grid.netlify.app/reference/primitives), which return the rectangle, row and column of any item, rendered or not.
- **Feature:** Added the [`render`, `viewport-scroll` and `layout-change` events](https://vvirtual-grid.netlify.app/reference/virtual-grid#events) to `<VirtualGrid>`.
- **Feature:** Added the exposed `measurement` ref, which holds the flow, columns, rows, gaps and item size.
- **Feature:** Added the [`getItemId` prop](https://vvirtual-grid.netlify.app/reference/virtual-grid#props), 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 `allItems` ref. 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 `getItemId` is set.
- **Fix:** Resolved `ready` and `measurement` being `undefined` on 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](https://vvirtual-grid.netlify.app/reference/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 `length` changed. The grid reloads and recomputes the list.

## 1.1.5

- **Fix:** Resolved a corrupted list after `pageSize` changed at runtime.

## 1.1.4

- **Fix:** Resolved placeholders flickering while their page loaded.

## 1.1.2

- **Feature:** `pageProvider` can 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:** `createPageProvider` turns an array into a `pageProvider`.


## Sitemap

See the full [sitemap](https://vvirtual-grid.netlify.app/sitemap.md) for all pages.
