@decocms/parity 0.20.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/dist/cli.js +14173 -12291
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.22.0] — 2026-08-19
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
* **`parity benchmark` — User Navigation Benchmark.** A client-facing before/after story for a Fresh→TanStack migration: a scout validates a PLP + PDP that work on **both** sites, each side warms the edge + browser cache (returning-visitor model), then a real journey (home → hamburger menu → PLP → paginate → PDP → product→product SPA shelf hop → optional colour-variant switch) is measured N× (median), timed by wall-clock from the click to the first product image rendering. Emits **one self-contained HTML report** (PT/EN, mobile/desktop tabs, per-page/per-technology pagination, scrollable full-page prints, an `(i)` methodology panel, and an error banner for broken steps) plus Lighthouse Web Vitals and a full HAR per side. (#219)
|
|
15
|
+
* **Reusable Lighthouse runner** (`src/engine/lighthouse.ts`) — real mobile/desktop devtools throttling with NO_FCP retry, extracted from the FARM Rio vitals spike. (#219)
|
|
16
|
+
|
|
17
|
+
## [0.21.0] — 2026-08-17
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
* **`parity migrate` now covers the whole store, not just the home page.** It samples extra pages per kind from the classified sitemap (`--sample`, default `plp=2,pdp=2,other=3,search=1`, capped at 15) — including **institutional** pages (`other`, which prefers real about/contact/policy URLs over deep categories) — and reads the **VTEX block tree + content on every captured page**, merged by treePath. On Electrolux this took the captured content from home-only to home + PLP + PDP + institutional (`store.home`/`store.product`/`store.search`). (#214)
|
|
22
|
+
* **Report organized per page.** `index.md` / `index.html` / `report.html` show a "Global components" section (captured once) plus one section per captured page — a single report separated by page. (#214)
|
|
23
|
+
|
|
24
|
+
### Fixed
|
|
25
|
+
|
|
26
|
+
* **Exact-duplicate VTEX blocks are collapsed** (a `product-summary` per product, repeated layout wrappers) into one representative with a `repeated` count, keeping distinct-content blocks — `blocks.json` went from 5242 to 883 on Electrolux without losing content. (#215)
|
|
27
|
+
* **`category-auto` no longer lands on an institutional page** (institutional keywords filtered from the PLP pick). (#214)
|
|
28
|
+
|
|
10
29
|
## [0.20.0] — 2026-08-17
|
|
11
30
|
|
|
12
31
|
### Added
|