@canva/platform 2.2.1-beta.0 → 2.2.1
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 +34 -2
- package/index.d.ts +704 -1
- package/lib/cjs/sdk/platform/index.js +4 -2
- package/lib/cjs/sdk/platform/version.js +1 -1
- package/lib/esm/sdk/platform/index.js +3 -1
- package/lib/esm/sdk/platform/version.js +1 -1
- package/package.json +11 -11
- package/test/index.d.ts +11 -1
- package/beta.d.ts +0 -704
- package/lib/cjs/sdk/platform/beta.js +0 -20
- package/lib/cjs/sdk/platform/test/beta.js +0 -18
- package/lib/esm/sdk/platform/beta.js +0 -3
- package/lib/esm/sdk/platform/test/beta.js +0 -1
- package/test/beta.d.ts +0 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
-
## 2.2.1
|
|
3
|
+
## 2.2.1 - 2026-01-19
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Added a CHANGELOG.md to track changes.
|
|
8
|
+
|
|
9
|
+
## 2.2.0 - 2025-06-25
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Added the `notification.addToast` method from the [Notification API](https://www.canva.dev/docs/apps/api/latest/platform-notification-add-toast/) which allows apps to display lightweight toast messages in the Canva editor.
|
|
14
|
+
|
|
15
|
+
## 2.1.0 - 2024-12-15
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
|
|
19
|
+
- Introduced a test harness to allow for [unit testing](https://www.canva.dev/docs/apps/testing/) of the package.
|
|
20
|
+
|
|
21
|
+
## 2.0.0 - 2024-09-19
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- **Breaking:** See [Apps SDK Migration Guide](https://www.canva.dev/docs/apps/upgrades-and-migrations/v2-migration-guide/) for full list of changes.
|
|
26
|
+
|
|
27
|
+
## 1.1.0 - 2024-05-06
|
|
28
|
+
|
|
29
|
+
### Added
|
|
30
|
+
|
|
31
|
+
- Added [appProcess](https://www.canva.dev/docs/apps/api/platform-app-process/) under `@canva/platform` which was previously in beta (moved from preview to stable).
|
|
32
|
+
|
|
33
|
+
## 1.0.1 - 2023-12-12
|
|
34
|
+
|
|
35
|
+
### Added
|
|
36
|
+
|
|
37
|
+
- Introduced `@canva/platform` package which contains the [requestOpenExternalUrl](https://www.canva.dev/docs/apps/api/platform-request-open-external-url) and [getPlatformInfo](https://www.canva.dev/docs/apps/api/platform-get-platform-info/) methods.
|