hazo_ui 3.0.1 → 3.1.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/CHANGE_LOG.md CHANGED
@@ -5,6 +5,33 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## v3.1.0 — Wave 2 hazo_core wiring
9
+
10
+ **New:** `<HazoContextProvider>`, internal `get_logger` / `set_logger`,
11
+ `generateUUID`, renamed `dev-app/` → `test-app/`.
12
+
13
+ - **`<HazoContextProvider>`** — wrap the React tree once at the app root to
14
+ install a stable per-tab correlation ID into hazo_core's browser context.
15
+ Every downstream `getCorrelationId()`, `fetchWithRequestId()`, and
16
+ `HazoError` constructor sees the same ID (PRD §7).
17
+ - **`get_logger()` / `set_logger()`** — internal logger factory delegating
18
+ to `createLogger('hazo_ui')` from `hazo_core` (and through to
19
+ `hazo_logs`). Consumers needing to redirect package-internal logs can
20
+ override via `set_logger(custom_logger)`.
21
+ - **`generateUUID()`** — UUID helper backed by hazo_core's
22
+ `generateRequestId().slice(4)`. Use instead of `crypto.randomUUID()` so
23
+ IDs stay consistent with the rest of the workspace.
24
+ - **`hazo_core ^1.0.0`** is now a required peer dependency.
25
+ - **Test-harness fix:** `formatAsClaudePrompt` now uses `optional_import`
26
+ from `hazo_core` to look up `hazo_logs.getRingBuffer`. Behaviour is
27
+ identical; the call is now audit:duplicates-clean.
28
+ - **Rename `dev-app/` → `test-app/`** (workspace standard S6). All existing
29
+ component demo pages are preserved; a new "Harness Self-test" sidebar
30
+ section runs the five deferred Wave 1 scenarios for the test-harness
31
+ surface itself.
32
+
33
+ No breaking changes for consumers who only import from the public barrel.
34
+
8
35
  ## v3.0.0 — test-harness sub-export
9
36
 
10
37
  **New sub-export:** `hazo_ui/test-harness`