@canva/cli 2.0.1 → 2.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.
Files changed (4) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +5 -0
  3. package/cli.js +542 -531
  4. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Changelog
2
2
 
3
+ ## v2.1.0 - 2026-05-20
4
+
5
+ ### Added
6
+
7
+ - Add `--dry-run` flag to `canva apps migrate` command to allow previewing of changes.
8
+
9
+ ## v2.0.2 - 2026-05-06
10
+
11
+ ### Fixed
12
+
13
+ - Fixed the `Read Canva App UI Kit Page` MCP tool losing valid prop values for components with overloaded signatures (e.g. `Button`'s `size` and `icon` props).
14
+
15
+ ### Security
16
+
17
+ - Dependencies audit bringing modules up to date:
18
+
19
+ ```text
20
+ diff 8.0.3 -> 8.0.4
21
+ tar 7.5.11 -> 7.5.13
22
+ ```
23
+
3
24
  ## v2.0.1 - 2026-04-29
4
25
 
5
26
  ### Fixed
package/README.md CHANGED
@@ -318,12 +318,17 @@ canva apps migrate <migrationName>
318
318
  - `"app-ui-kit-v5"`: Migrates apps using App UI Kit v4 to v5.
319
319
  - `"design-editor-intent"`: Migrates from direct render pattern to design intents pattern.
320
320
 
321
+ - **Flags**:
322
+ - `--dry-run`: Preview changes without modifying files. Generates a markdown preview file showing all proposed changes.
323
+ - `--debug`: Show detailed debug output.
324
+
321
325
  - **Examples**:
322
326
 
323
327
  ```shell
324
328
  canva apps migrate apps-sdk-v1-v2
325
329
  canva apps migrate app-ui-kit-v5
326
330
  canva apps migrate design-editor-intent
331
+ canva apps migrate apps-sdk-v1-v2 --dry-run
327
332
  canva apps migrate apps-sdk-v1-v2 --debug
328
333
  ```
329
334