@dainamite/cpq 0.3.0 → 0.4.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/CHANGELOG.md +18 -0
- package/MIGRATION.md +3 -0
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @dainamite/cpq
|
|
2
2
|
|
|
3
|
+
## 0.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 8834b8b: Require Open Mercato `0.6.7`. Peer ranges move from `^0.6.0` to `^0.6.7` for
|
|
8
|
+
`@open-mercato/core`, `shared`, `ui`, `events` and `queue`, and the MikroORM
|
|
9
|
+
peers from `^7.0.0` to `^7.1.5` (7.1 split the SQL layer into
|
|
10
|
+
`@mikro-orm/sql`, so a shared 7.1 instance is required).
|
|
11
|
+
|
|
12
|
+
No package source changes — this only narrows the supported framework range.
|
|
13
|
+
Consumers on Open Mercato `0.6.0`–`0.6.6` must upgrade before taking these
|
|
14
|
+
versions.
|
|
15
|
+
|
|
16
|
+
Note for consumers running commands with a system identity (`ctx.auth: null`):
|
|
17
|
+
`0.6.7` hardened `ensureTenantScope` / `ensureOrganizationScope`. Those calls
|
|
18
|
+
are still no-ops with `auth: null`, but an unscoped organization command now
|
|
19
|
+
logs a warning and will throw `403` if `OM_ENFORCE_ORG_SCOPE_STRICT=true`.
|
|
20
|
+
|
|
3
21
|
## 0.3.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
package/MIGRATION.md
CHANGED
|
@@ -56,6 +56,9 @@ the `@dainamite/cpq` package, per
|
|
|
56
56
|
`.yarn/patches/@open-mercato-cli-npm-0.5.0-*.patch`. **Will be
|
|
57
57
|
fixed upstream in the next framework release** — patch can be
|
|
58
58
|
removed at that point.
|
|
59
|
+
**Update (0.6.7, 2026-08-25): done.** Upstream now sanitizes any
|
|
60
|
+
npm scope generically, so the patch was deleted along with the
|
|
61
|
+
whole `.yarn/patches/` directory.
|
|
59
62
|
- [x] Rewrite cross-module imports in `demo_gix`, `demo_puffin`,
|
|
60
63
|
`demo_tenants`: `'../../cpq/...'` → `'@dainamite/cpq/modules/cpq/...'`
|
|
61
64
|
(26 files). Demo modules now consume CPQ via the public package
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dainamite/cpq",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Dainamite CPQ — Configure, Price, Quote engine for Open Mercato (configurable products, multi-charge pricing tables, guided quoting, customer inventory, orders).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/modules/cpq/index.js",
|
|
@@ -121,13 +121,13 @@
|
|
|
121
121
|
}
|
|
122
122
|
},
|
|
123
123
|
"peerDependencies": {
|
|
124
|
-
"@mikro-orm/core": "^7.
|
|
125
|
-
"@mikro-orm/decorators": "^7.
|
|
126
|
-
"@mikro-orm/postgresql": "^7.
|
|
127
|
-
"@open-mercato/core": "^0.6.
|
|
128
|
-
"@open-mercato/events": "^0.6.
|
|
129
|
-
"@open-mercato/shared": "^0.6.
|
|
130
|
-
"@open-mercato/ui": "^0.6.
|
|
124
|
+
"@mikro-orm/core": "^7.1.5",
|
|
125
|
+
"@mikro-orm/decorators": "^7.1.5",
|
|
126
|
+
"@mikro-orm/postgresql": "^7.1.5",
|
|
127
|
+
"@open-mercato/core": "^0.6.7",
|
|
128
|
+
"@open-mercato/events": "^0.6.7",
|
|
129
|
+
"@open-mercato/shared": "^0.6.7",
|
|
130
|
+
"@open-mercato/ui": "^0.6.7",
|
|
131
131
|
"@tanstack/react-table": "^8.0.0 || ^9.0.0",
|
|
132
132
|
"awilix": "^12.0.0",
|
|
133
133
|
"bcryptjs": "^3.0.0",
|