hazo_audit 2.1.2 → 2.2.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 +10 -0
  2. package/package.json +16 -18
package/CHANGE_LOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Change log
2
2
 
3
+ ## 2.2.0 — 2026-08-04
4
+
5
+ ### Fixed
6
+
7
+ Dropped the `optional` flag on `next`, `react` in `peerDependenciesMeta`. They are
8
+ imported statically and this package cannot render without them, so marking
9
+ them optional understated a hard requirement. They stay a peer — the host controls the
10
+ version and a single instance must be shared.
11
+
12
+
3
13
  ## 2.1.0 — 2026-05-29
4
14
 
5
15
  ### Workspace v2 migration (Wave 2)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hazo_audit",
3
- "version": "2.1.2",
3
+ "version": "2.2.0",
4
4
  "description": "Field-level audit trail for hazo_connect-backed apps. Attach to any adapter via wrapWithAudit() to auto-capture writes; ships worker, Next.js routes, and React UI primitives.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -67,12 +67,13 @@
67
67
  "tailwind-merge": "^3.5.0"
68
68
  },
69
69
  "peerDependencies": {
70
- "hazo_auth": "^10.5.0",
71
- "hazo_config": "^2.4.1",
72
- "hazo_connect": "^3.9.0",
73
- "hazo_core": "^1.2.1",
74
- "hazo_logs": "^2.1.1",
75
- "hazo_ui": "^4.8.0",
70
+ "hazo_auth": "^10.15.0",
71
+ "hazo_config": "^2.4.2",
72
+ "hazo_connect": "^4.0.0",
73
+ "hazo_core": "^2.0.0",
74
+ "hazo_logs": "^2.2.0",
75
+ "hazo_theme": "^1.3.0",
76
+ "hazo_ui": "^6.8.0",
76
77
  "next": "^14.0.0 || ^16.0.0",
77
78
  "react": "^18.0.0 || ^19.0.0",
78
79
  "react-dom": "^18.0.0 || ^19.0.0"
@@ -87,13 +88,10 @@
87
88
  "hazo_ui": {
88
89
  "optional": true
89
90
  },
90
- "next": {
91
- "optional": true
92
- },
93
- "react": {
91
+ "react-dom": {
94
92
  "optional": true
95
93
  },
96
- "react-dom": {
94
+ "hazo_theme": {
97
95
  "optional": true
98
96
  }
99
97
  },
@@ -103,12 +101,12 @@
103
101
  "@types/node": "^20.14.10",
104
102
  "@types/react": "^18.3.3",
105
103
  "@types/react-dom": "^18.3.0",
106
- "hazo_auth": "^10.5.0",
107
- "hazo_config": "^2.4.1",
108
- "hazo_connect": "^3.9.0",
109
- "hazo_core": "^1.2.1",
110
- "hazo_logs": "^2.1.1",
111
- "hazo_ui": "^4.8.0",
104
+ "hazo_auth": "^10.15.0",
105
+ "hazo_config": "^2.4.2",
106
+ "hazo_connect": "^4.0.0",
107
+ "hazo_core": "^2.0.0",
108
+ "hazo_logs": "^2.2.0",
109
+ "hazo_ui": "^6.8.0",
112
110
  "jest": "^30.2.0",
113
111
  "jest-environment-node": "^30.2.0",
114
112
  "next": "^14.2.33",