hazo_testing 0.5.2 → 0.6.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.
Files changed (2) hide show
  1. package/CHANGE_LOG.md +18 -0
  2. package/package.json +3 -3
package/CHANGE_LOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # hazo_testing changelog
2
2
 
3
+ ## 0.6.0 — 2026-10-19
4
+
5
+ ### Added — vitest 4 support
6
+
7
+ Widened the `vitest` peerDependency from `^2.0.0 || ^3.0.0` to
8
+ `^2.0.0 || ^3.0.0 || ^4.0.0`. Kinstripe (one of this package's own
9
+ consumers) had upgraded to vitest 4.1.8 and `npm ls` flagged
10
+ `hazo_testing` as an invalid peer — the declared range simply hadn't
11
+ been retested against vitest 4, no actual API incompatibility was
12
+ found. `vitest-preset.mjs`, `vitest-setup.ts`, `renderWithIntl`
13
+ (`./render`), and `expectNoAxeViolations` (`./axe`) were all verified
14
+ against vitest 4.1.8 in a real consumer (Kinstripe's `src/lib` suite
15
+ and a jsdom component test exercising the axe helper) — 180+ test
16
+ files, 2650+ tests, all green. No public API change. Internal dev
17
+ dependency on `vitest` bumped to `^4.1.8` to match (this package's own
18
+ suite runs on Jest, so vitest only appears here as the peer the preset
19
+ targets).
20
+
3
21
  ## 0.5.2 — 2026-10-18
4
22
 
5
23
  ### Fixed — dual-React-copy crash in `renderWithIntl`/`TestProviders` when consumed via `file:` link
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hazo_testing",
3
- "version": "0.5.2",
3
+ "version": "0.6.0",
4
4
  "description": "Shared test infrastructure for hazo apps: SQLite test DB, real-package wiring, auth factories, apiTestClient, fixtures, Jest + Vitest presets.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -104,7 +104,7 @@
104
104
  "next-intl": "^4.13.0",
105
105
  "react": "^18.0.0 || ^19.0.0",
106
106
  "react-dom": "^18.0.0 || ^19.0.0",
107
- "vitest": "^2.0.0 || ^3.0.0"
107
+ "vitest": "^2.0.0 || ^3.0.0 || ^4.0.0"
108
108
  },
109
109
  "peerDependenciesMeta": {
110
110
  "@playwright/test": {
@@ -139,6 +139,6 @@
139
139
  "next-intl": "^4.13.0",
140
140
  "ts-jest": "^29.4.5",
141
141
  "typescript": "^5.7.2",
142
- "vitest": "^3.2.6"
142
+ "vitest": "^4.1.8"
143
143
  }
144
144
  }