@x12i/catalox 5.9.6 → 5.9.7
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 +13 -1
- package/README.md +2 -2
- package/package.json +14 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.9.7
|
|
4
|
+
|
|
5
|
+
**Alignment fixes**
|
|
6
|
+
|
|
7
|
+
- Publish **`@x12i/catalox-contracts`** alongside **`@x12i/catalox`** so runtime imports resolve on npm (5.9.6 tarball referenced contracts without publishing them).
|
|
8
|
+
- Root **`@x12i/catalox`** declares engine runtime dependencies (`@x12i/helpers`, `firebase-admin`, etc.).
|
|
9
|
+
- HTTP API: **`GET/PUT /v1/catalogs/:catalogId/items/:itemId/native-record`** maps to `getNativeCatalogItem` / `replaceNativeCatalogItem`.
|
|
10
|
+
- Client SDK: **`getNativeCatalogItem`**, **`replaceNativeCatalogItem`** on `CataloxClientBound`.
|
|
11
|
+
- OpenAPI updated to **5.9.6** surface (native-record routes).
|
|
12
|
+
- Docs and scripts: source links point at **`packages/engine/src/`** (legacy root `src/` removed); `scripts/data/*` imports use workspace packages.
|
|
13
|
+
- CI workflow file excluded from git until PAT has `workflow` scope (`.github/` gitignored).
|
|
14
|
+
|
|
3
15
|
## 5.9.6
|
|
4
16
|
|
|
5
17
|
**New — generic catalog content helpers (embedder surface)**
|
|
@@ -117,7 +129,7 @@ Domain apps (skills, snippets, templates, etc.) can compose these without Catalo
|
|
|
117
129
|
- **`catalox.withContext(ctx)`** / `bindCataloxContext(catalox, ctx)` — **`CataloxBound`**: same APIs without repeating `CataloxContext` on every call (`src/catalox/catalox-bound.ts`).
|
|
118
130
|
- **Breaking — lists:** **`CatalogListResult`** includes **`listOutcome: "ok" | "mapping_blocked"`**.
|
|
119
131
|
- **Breaking — get item:** **`getCatalogItem`** returns **`CatalogGetItemResult`** (`found` | `not_found` | `mapping_blocked`), not `null`.
|
|
120
|
-
- **Package:** `main` / `types` and `exports["."]` resolve to `dist
|
|
132
|
+
- **Package:** `main` / `types` and `exports["."]` resolve to `packages/engine/dist/...`. Subpaths `@x12i/catalox/embedder`, `/operator`, `/mapping`, `/firebase`, `/mongo`.
|
|
121
133
|
|
|
122
134
|
## 1.3.0
|
|
123
135
|
|
package/README.md
CHANGED
|
@@ -282,7 +282,7 @@ The `catalox` binary loads `.env` via `dotenv`. Use **`CATALOX_*`** for **Catalo
|
|
|
282
282
|
|
|
283
283
|
```bash
|
|
284
284
|
npm run cli -- firestore report-native-layout --app "narrix"
|
|
285
|
-
# same as: node dist/
|
|
285
|
+
# same as: node packages/engine/dist/cli/index.js firestore report-native-layout --app "narrix"
|
|
286
286
|
```
|
|
287
287
|
|
|
288
288
|
#### `firestore` CLI quick reference
|
|
@@ -1058,7 +1058,7 @@ When **`CATALOX_RECORD_HISTORY_BUCKET`** is set, **`test/integration/record-hist
|
|
|
1058
1058
|
- **`catalox.withContext(ctx)`** / **`bindCataloxContext(catalox, ctx)`** — **`CataloxBound`**: same APIs without repeating `CataloxContext` on every call (`src/catalox/catalox-bound.ts`).
|
|
1059
1059
|
- **Breaking — lists:** **`CatalogListResult`** includes **`listOutcome: "ok" | "mapping_blocked"`**. Mapping validation failures use **`mapping_blocked`** (see **`issues`**). Empty **`items`** with **`listOutcome === "ok"`** means zero matching rows.
|
|
1060
1060
|
- **Breaking — get item:** **`getCatalogItem`** returns **`CatalogGetItemResult`** (`found` | `not_found` | `mapping_blocked`), not **`null`**.
|
|
1061
|
-
- **Package:** **`main` / `types`** and **`exports["."]`** resolve to **`dist
|
|
1061
|
+
- **Package:** **`main` / `types`** and **`exports["."]`** resolve to **`packages/engine/dist/...`**. Subpaths **`@x12i/catalox/embedder`**, **`/operator`**, **`/mapping`**, **`/firebase`**, **`/mongo`**. Root **`@x12i/catalox`** re-exports embedder + operator (preserves most existing root imports). Runtime dependency **`@x12i/catalox-contracts`** is published alongside the root package.
|
|
1062
1062
|
|
|
1063
1063
|
### 2.7.0
|
|
1064
1064
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@x12i/catalox",
|
|
3
|
-
"version": "5.9.
|
|
3
|
+
"version": "5.9.7",
|
|
4
4
|
"description": "Platform infrastructure for reusable, interoperable catalogs across apps and data sources.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
@@ -56,6 +56,19 @@
|
|
|
56
56
|
"test:integration": "npm run test:integration -w @x12i/catalox-engine",
|
|
57
57
|
"seed:pagenti": "tsx scripts/seed-pagenti.ts --app pagenti"
|
|
58
58
|
},
|
|
59
|
+
"dependencies": {
|
|
60
|
+
"@google-cloud/storage": "^7.19.0",
|
|
61
|
+
"@x12i/catalox-contracts": "5.9.7",
|
|
62
|
+
"@x12i/helpers": "^1.7.0",
|
|
63
|
+
"@x12i/logxer": "^4.6.0",
|
|
64
|
+
"ajv": "^8.18.0",
|
|
65
|
+
"ajv-formats": "^3.0.1",
|
|
66
|
+
"commander": "^14.0.0",
|
|
67
|
+
"esbuild": "^0.25.0",
|
|
68
|
+
"firebase-admin": "^13.0.0",
|
|
69
|
+
"html-entities": "^2.6.0",
|
|
70
|
+
"mongodb": "^6.0.0"
|
|
71
|
+
},
|
|
59
72
|
"devDependencies": {
|
|
60
73
|
"@types/node": "^22.0.0",
|
|
61
74
|
"tsx": "^4.0.0",
|