@canva/cli 2.5.0 → 2.6.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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## v2.6.0 - 2026-07-01
4
+
5
+ ### Added
6
+
7
+ - Added `--force` to `canva apps migrate` to skip validation prompts.
8
+ - Added `--intent` to `canva apps preview` to choose which intent to preview, and `--no-open` to print the preview URL without opening a browser (the default behavior).
9
+ - Added `--force` to `canva apps link` to update `.env` without a confirmation prompt.
10
+
11
+ ### Changed
12
+
13
+ - In non-interactive mode, commands exit with a clear error when required input is missing.
14
+
15
+ ### Fixed
16
+
17
+ - Fixed incorrect MCP server `canva apps doctor` guidance for AI agents
18
+
3
19
  ## v2.5.0 - 2026-06-24
4
20
 
5
21
  ### Changed
package/README.md CHANGED
@@ -264,7 +264,7 @@ canva apps create "My New App" --template="hello_world" --distribution="public"
264
264
  - `"claude"`: Adds a `CLAUDE.md` file to the project directory.
265
265
 
266
266
  - `--offline`: Scaffold the app locally without also creating an app in the Developer Portal.
267
- - `--yes`: Answer yes, or use the default, for all questions during app creation.
267
+ - `--yes`: Automatically accept the default option for any prompts and run non-interactively.
268
268
 
269
269
  ##### list
270
270
 
@@ -287,6 +287,10 @@ Preview your app.
287
287
  canva apps preview
288
288
  ```
289
289
 
290
+ - **Flags**:
291
+ - `--intent`: App intent to preview when the app has multiple intents enrolled.
292
+ - `--no-open`: Print the preview URL without opening a browser.
293
+
290
294
  ##### doctor
291
295
 
292
296
  Run diagnostics on your Canva App to identify and fix issues.
@@ -320,6 +324,7 @@ canva apps migrate <migrationName>
320
324
  - **Flags**:
321
325
  - `--dry-run`: Preview changes without modifying files. Generates a markdown preview file showing all proposed changes.
322
326
  - `--debug`: Show detailed debug output.
327
+ - `--force`: Proceed even when project validation warns.
323
328
 
324
329
  - **Examples**:
325
330
 
@@ -381,6 +386,7 @@ canva apps link
381
386
 
382
387
  - **Flags**:
383
388
  - `--appId`: Specifies an App ID to select.
389
+ - `--force`: Write `.env` without confirmation.
384
390
 
385
391
  #### logout
386
392
 
@@ -324,7 +324,7 @@ SOFTWARE.
324
324
 
325
325
  ** @pnpm/network.ca-file@1.0.2 -- MIT
326
326
 
327
- ** @pnpm/npm-conf@3.0.2 -- MIT
327
+ ** @pnpm/npm-conf@3.0.3 -- MIT
328
328
 
329
329
  MIT License
330
330
 
@@ -1043,9 +1043,9 @@ The above copyright notice and this permission notice shall be included in all c
1043
1043
 
1044
1044
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1045
1045
 
1046
- ** flow-parser@0.299.0 -- MIT
1046
+ ** flow-parser@0.318.0 -- MIT
1047
1047
 
1048
- ** get-east-asian-width@1.4.0 -- MIT
1048
+ ** get-east-asian-width@1.6.0 -- MIT
1049
1049
 
1050
1050
  MIT License
1051
1051
 
@@ -2041,7 +2041,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2041
2041
  See the License for the specific language governing permissions and
2042
2042
  limitations under the License.
2043
2043
 
2044
- ** react-dom@19.2.4 -- MIT
2044
+ ** react-dom@19.2.7 -- MIT
2045
2045
 
2046
2046
  MIT License
2047
2047
 
@@ -2220,7 +2220,7 @@ The above copyright notice and this permission notice shall be included in all c
2220
2220
 
2221
2221
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2222
2222
 
2223
- ** strip-ansi@7.1.2 -- MIT
2223
+ ** strip-ansi@7.2.0 -- MIT
2224
2224
 
2225
2225
  MIT License
2226
2226
 
@@ -2316,11 +2316,11 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
2316
2316
  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
2317
2317
  DEALINGS IN THE SOFTWARE.
2318
2318
 
2319
- ** supports-color@8.1.1 -- MIT
2319
+ ** supports-color@7.2.0 -- MIT
2320
2320
 
2321
2321
  MIT License
2322
2322
 
2323
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
2323
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
2324
2324
 
2325
2325
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
2326
2326