hazo_admin 0.3.1 → 0.3.2
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 +9 -0
- package/package.json +10 -10
package/CHANGE_LOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# hazo_admin Changelog
|
|
2
2
|
|
|
3
|
+
## [0.3.2] - 2026-06-12
|
|
4
|
+
### Changed
|
|
5
|
+
- admin_gate.test.ts: deleted 110-line mock of hazo_auth/server-lib; now calls real hazo_get_auth via set_hazo_connect_instance injector (hazo_connect FR-001 full close).
|
|
6
|
+
|
|
7
|
+
### Tooling / test-app (no published-surface change)
|
|
8
|
+
- test-app/tsconfig.json: added a `paths` override forcing every `next`/`next/*` specifier to the single `../node_modules/next` install. hazo_auth ships its own nested `next@16`, so its re-exported route handlers' `NextRequest` was nominally distinct from the test-app's, failing `next build`'s route type-check on `/api/auth/[...nextauth]`.
|
|
9
|
+
- test-app: new `/api/admin-preset-imports` route + autotest scenarios that re-import the exact dynamic-import targets of `createAdminPresetRoutes` (the `hazo_config` barrel + `hazo_admin/api`). Runtime regression guard for the missing-`'use client'` RSC build break (fixed in hazo_config 2.1.11).
|
|
10
|
+
- test-app autotests enriched: precise env_migration/health permission isolation (was mis-documented as `admin_system`; actually `env.migrate`), resolveNav edge cases (unknown kind, custom default permission, ordering/partial visibility, group/order/component pass-through, masking defaults), and an `admin_kinds` registry metadata group.
|
|
11
|
+
|
|
3
12
|
## 0.2.0 — 2026-06-10
|
|
4
13
|
|
|
5
14
|
### Added
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hazo_admin",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Standard site-admin package — auth-gated admin shell + panel kit + drop-in /admin preset",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -50,15 +50,15 @@
|
|
|
50
50
|
"build:test-app": "npm run build && cd test-app && npm run build"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"hazo_core": "^1.
|
|
54
|
-
"hazo_ui": "^
|
|
53
|
+
"hazo_core": "^1.2.0",
|
|
54
|
+
"hazo_ui": "^4.0.0",
|
|
55
55
|
"react": "^18.0.0 || ^19.0.0",
|
|
56
56
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
57
57
|
"next": "^14.0.0 || ^16.0.0",
|
|
58
|
-
"hazo_auth": "^10.
|
|
58
|
+
"hazo_auth": "^10.2.0",
|
|
59
59
|
"hazo_logs": "^2.0.2",
|
|
60
60
|
"hazo_debug": "^3.1.1",
|
|
61
|
-
"hazo_connect": "^3.
|
|
61
|
+
"hazo_connect": "^3.7.0",
|
|
62
62
|
"hazo_config": "^2.1.7",
|
|
63
63
|
"hazo_api": "^2.3.1",
|
|
64
64
|
"hazo_files": "^3.0.0",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"hazo_feedback": "^2.2.0",
|
|
69
69
|
"hazo_secure": "^1.2.0",
|
|
70
70
|
"hazo_blog": "^0.2.0",
|
|
71
|
-
"hazo_testing": "^0.3.
|
|
71
|
+
"hazo_testing": "^0.3.1",
|
|
72
72
|
"lucide-react": "^0.553.0"
|
|
73
73
|
},
|
|
74
74
|
"peerDependenciesMeta": {
|
|
@@ -125,10 +125,10 @@
|
|
|
125
125
|
"@types/node": "^22.10.0",
|
|
126
126
|
"@types/react": "^19.0.0",
|
|
127
127
|
"@types/react-dom": "^19.0.0",
|
|
128
|
-
"hazo_core": "^1.
|
|
129
|
-
"hazo_ui": "^
|
|
130
|
-
"hazo_auth": "^10.
|
|
131
|
-
"hazo_testing": "^0.3.
|
|
128
|
+
"hazo_core": "^1.2.0",
|
|
129
|
+
"hazo_ui": "^4.0.0",
|
|
130
|
+
"hazo_auth": "^10.2.0",
|
|
131
|
+
"hazo_testing": "^0.3.1",
|
|
132
132
|
"react": "^19.0.0",
|
|
133
133
|
"react-dom": "^19.0.0",
|
|
134
134
|
"next": "^16.0.10",
|