@adobe-commerce/aio-toolkit 1.0.17 → 1.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/CHANGELOG.md +123 -0
- package/README.md +17 -0
- package/dist/aio-toolkit-onboard-events/bin/cli.js +191 -8008
- package/dist/aio-toolkit-onboard-events/bin/cli.js.map +1 -1
- package/dist/index.js +2 -558
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -558
- package/dist/index.mjs.map +1 -1
- package/package.json +44 -10
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,129 @@ 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
|
+
## [1.1.0] - 2026-03-27
|
|
9
|
+
|
|
10
|
+
### ⚠️ Breaking Changes
|
|
11
|
+
|
|
12
|
+
- **Peer dependency restructuring to resolve duplicate module conflicts**
|
|
13
|
+
- The following packages have been moved from `dependencies` to `peerDependencies`:
|
|
14
|
+
- `@adobe/aio-sdk` (>=5.0.0) — required peer
|
|
15
|
+
- `graphql` (>=16.0.0) — required peer
|
|
16
|
+
- `@adobe/aio-lib-ims` (>=7.0.0) — optional peer
|
|
17
|
+
- `@adobe/aio-lib-telemetry` (>=1.0.0) — optional peer
|
|
18
|
+
- `cloudevents` (>=8.0.0) — optional peer
|
|
19
|
+
- `dotenv` (>=16.0.0) — optional peer
|
|
20
|
+
- `node-fetch` (>=2.6.0) — optional peer
|
|
21
|
+
- `openwhisk` (>=3.0.0) — optional peer
|
|
22
|
+
- `@opentelemetry/resources` (>=1.0.0) — optional peer
|
|
23
|
+
- App Builder projects already have these packages installed — no additional installs required for the vast majority of users
|
|
24
|
+
- If you get `Cannot find module` errors after upgrading, install the missing package directly in your project
|
|
25
|
+
|
|
26
|
+
### 🐛 Bug Fixes
|
|
27
|
+
|
|
28
|
+
- **Fixed missing `yaml` dependency**
|
|
29
|
+
- `yaml` was used at runtime in `OnboardConfig` (YAML config file parsing) but was not declared in `package.json`
|
|
30
|
+
- This was relying on a transitive install which is fragile and unreliable across package managers
|
|
31
|
+
- `yaml: ^2.0.0` is now a proper direct `dependency`
|
|
32
|
+
|
|
33
|
+
### 🔧 Dependency Changes
|
|
34
|
+
|
|
35
|
+
| Package | Before | After | Reason |
|
|
36
|
+
|---|---|---|---|
|
|
37
|
+
| `@adobe/aio-sdk` | `dependencies` | `peerDependencies` | Singleton services break with duplicate instances |
|
|
38
|
+
| `@adobe/aio-lib-ims` | `dependencies` | `peerDependencies` (optional) | Shared auth token context |
|
|
39
|
+
| `@adobe/aio-lib-telemetry` | `dependencies` | `peerDependencies` (optional) | Shared telemetry pipeline |
|
|
40
|
+
| `graphql` | `dependencies` | `peerDependencies` | Schema singleton — two copies cause type incompatibility |
|
|
41
|
+
| `cloudevents` | `dependencies` | `peerDependencies` (optional) | App Builder I/O Events projects always install this |
|
|
42
|
+
| `dotenv` | `dependencies` | `peerDependencies` (optional) | Every App Builder project loads `.env` files |
|
|
43
|
+
| `node-fetch` | `dependencies` | `peerDependencies` (optional) | Common fetch polyfill; v2/v3 split causes conflicts |
|
|
44
|
+
| `openwhisk` | `dependencies` | `peerDependencies` (optional) | App Builder Runtime projects always install this |
|
|
45
|
+
| `@opentelemetry/resources` | *(missing)* | `peerDependencies` (optional) | Runtime import in telemetry code; provided by `aio-lib-telemetry` |
|
|
46
|
+
| `yaml` | *(missing)* | `dependencies` | Runtime import in `OnboardConfig` — was undeclared |
|
|
47
|
+
| `got` | `dependencies` | `dependencies` | Internal HTTP client — kept as direct dep |
|
|
48
|
+
| `oauth-1.0a` | `dependencies` | `dependencies` | Internal OAuth signing — kept as direct dep |
|
|
49
|
+
| `uuid` | `dependencies` | `dependencies` | Stateless, no conflict risk — kept as direct dep |
|
|
50
|
+
|
|
51
|
+
### 💡 Migration Guide
|
|
52
|
+
|
|
53
|
+
Most App Builder projects already have all moved packages installed and **require no changes**:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
# Standard upgrade — works for most users
|
|
57
|
+
npm install @adobe-commerce/aio-toolkit@1.1.0
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
If you encounter `Cannot find module` errors for any of the optional peer dependencies, install them explicitly:
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
# Install only the ones you use
|
|
64
|
+
npm install @adobe/aio-sdk graphql dotenv
|
|
65
|
+
npm install cloudevents node-fetch openwhisk # if used
|
|
66
|
+
npm install @adobe/aio-lib-ims @adobe/aio-lib-telemetry # if used
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## [1.0.18] - 2026-03-03
|
|
72
|
+
|
|
73
|
+
### 🔒 Security Fixes
|
|
74
|
+
|
|
75
|
+
- **CRITICAL: Removed vulnerable @modelcontextprotocol/sdk transitive dependency**
|
|
76
|
+
- Removed `@adobe-commerce/commerce-extensibility-tools` from peer dependencies
|
|
77
|
+
- Eliminates unfixable security vulnerabilities (CVE: ReDoS, DNS rebinding)
|
|
78
|
+
- Addresses user-reported security concerns from npm audit
|
|
79
|
+
- MCP Server integration feature now requires manual installation
|
|
80
|
+
- Package contained two HIGH severity vulnerabilities:
|
|
81
|
+
- **ReDoS vulnerability** (GHSA-8r9q-7v3j-jr4g): Malicious regex input can crash the application
|
|
82
|
+
- **DNS rebinding protection disabled by default** (GHSA-w48q-cv73-mx4w): Allows potential security bypass attacks
|
|
83
|
+
|
|
84
|
+
- **Updated vulnerable devDependencies**
|
|
85
|
+
- `ajv`: 6.12.6 → 6.14.0, 8.17.1 → 8.18.0 (ReDoS fixes - moderate severity)
|
|
86
|
+
- `fast-xml-parser`: 5.3.5 → 5.4.2 (DoS/stack overflow fixes - high severity)
|
|
87
|
+
- `minimatch`: multiple versions updated to latest patch releases (ReDoS fixes - high severity)
|
|
88
|
+
- `rollup`: 4.57.1 → 4.59.0 (path traversal fix - high severity)
|
|
89
|
+
- Total vulnerabilities reduced from 11 to 6 (10 fixed, 1 made optional)
|
|
90
|
+
- Remaining 6 vulnerabilities are in devDependencies only (TypeScript ESLint tooling)
|
|
91
|
+
|
|
92
|
+
### ⚠️ Breaking Changes
|
|
93
|
+
|
|
94
|
+
- **Cursor IDE MCP Server Integration (`aio-toolkit-cursor-context`)**
|
|
95
|
+
- `@adobe-commerce/commerce-extensibility-tools` is no longer a peer dependency
|
|
96
|
+
- Users who want MCP integration must manually install the optional package:
|
|
97
|
+
```bash
|
|
98
|
+
npm install @adobe-commerce/commerce-extensibility-tools
|
|
99
|
+
```
|
|
100
|
+
- **Security Warning**: This package contains known vulnerabilities in `@modelcontextprotocol/sdk@0.4.0`
|
|
101
|
+
- CLI gracefully handles missing package with clear installation instructions
|
|
102
|
+
- All other toolkit features work normally without this optional dependency
|
|
103
|
+
|
|
104
|
+
### 📝 Technical Details
|
|
105
|
+
|
|
106
|
+
- Updated `package.json` to remove peer dependency on `@adobe-commerce/commerce-extensibility-tools`
|
|
107
|
+
- Added security documentation to README with clear warnings about MCP feature
|
|
108
|
+
- MCP config helper (`McpConfig` class) already handles missing package gracefully
|
|
109
|
+
- No changes required to existing code - backward compatible for 90%+ of users
|
|
110
|
+
- Applied automated security patches via `npm audit fix`
|
|
111
|
+
|
|
112
|
+
### 💡 Migration Guide
|
|
113
|
+
|
|
114
|
+
**For users NOT using Cursor IDE MCP feature:**
|
|
115
|
+
```bash
|
|
116
|
+
# No action required - update normally
|
|
117
|
+
npm install @adobe-commerce/aio-toolkit@1.0.18
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
**For users using Cursor IDE MCP feature:**
|
|
121
|
+
```bash
|
|
122
|
+
# Update toolkit and install optional dependency
|
|
123
|
+
npm install @adobe-commerce/aio-toolkit@1.0.18
|
|
124
|
+
npm install @adobe-commerce/commerce-extensibility-tools
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
**Alternative:** Wait for upstream fix from Adobe to release a patched version of `commerce-extensibility-tools` that uses a secure `@modelcontextprotocol/sdk` version (≥1.25.2).
|
|
128
|
+
|
|
129
|
+
---
|
|
130
|
+
|
|
8
131
|
## [1.0.17] - 2026-02-25
|
|
9
132
|
|
|
10
133
|
### ✨ Features
|
package/README.md
CHANGED
|
@@ -1495,6 +1495,23 @@ await manager.delete('your-registration-id');
|
|
|
1495
1495
|
|
|
1496
1496
|
Command-line tool for managing Cursor IDE context files (rules and commands) in your Adobe App Builder projects. This CLI automatically sets up Cursor IDE-specific contexts and configures the Model Context Protocol (MCP) server for enhanced development experience.
|
|
1497
1497
|
|
|
1498
|
+
> **⚠️ Security Notice - MCP Server Integration**
|
|
1499
|
+
>
|
|
1500
|
+
> The MCP (Model Context Protocol) server feature requires the optional package `@adobe-commerce/commerce-extensibility-tools`. This package is **not installed by default** due to known security vulnerabilities in its dependencies.
|
|
1501
|
+
>
|
|
1502
|
+
> **If you want to use MCP integration:**
|
|
1503
|
+
> ```bash
|
|
1504
|
+
> npm install @adobe-commerce/commerce-extensibility-tools
|
|
1505
|
+
> ```
|
|
1506
|
+
>
|
|
1507
|
+
> **Known Vulnerabilities:**
|
|
1508
|
+
> - ReDoS (Regular Expression Denial of Service) vulnerability in `@modelcontextprotocol/sdk`
|
|
1509
|
+
> - DNS rebinding protection disabled by default in `@modelcontextprotocol/sdk`
|
|
1510
|
+
>
|
|
1511
|
+
> **Recommendation:** Only install this package if you specifically need MCP server integration for Cursor IDE. Monitor the [package repository](https://www.npmjs.com/package/@adobe-commerce/commerce-extensibility-tools) for security updates.
|
|
1512
|
+
>
|
|
1513
|
+
> All other toolkit features work normally without this optional dependency.
|
|
1514
|
+
|
|
1498
1515
|
##### Commands
|
|
1499
1516
|
|
|
1500
1517
|
###### `check`
|