You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MIGRATION.md
+31-14Lines changed: 31 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,34 +4,51 @@ When migrating to a new major version of this SDK, please consult the notes here
4
4
5
5
## v2.x.x -> v3.0.0
6
6
7
-
There are a few breaking changes with v3.0.0 of the Webflow JS SDK
7
+
There are a few breaking changes with v3.0.0 of the Webflow JS SDK. Please see the `Breaking` section below for more details and consult our [API Docs](https://developers.webflow.com/data/reference/rest-introduction) for examples of usage.
8
8
9
9
### Breaking
10
10
11
11
#### CMS APIs
12
12
13
-
- CHANGED: Deleting a Collection is now achieved through `client.collections.delete()`, which was previously an API used to delete a Collection field.
-**CHANGED**: Deleting a Collection is now achieved through `client.collections.delete()`, which was previously an API used to delete a Collection field.
14
+
- To delete a Collection, use `client.collections.delete()`
15
+
- e.g., `client.collections.delete(collectionId)`
16
+
-**NEW**: To delete a Collection field, use `client.collections.fields.delete()`
-We've added Bulk API support. See [docs](https://developers.webflow.com/data/reference/cms/collection-items/bulk-items/create-items) for more on usage.
28
-
-`createItems()`
29
-
-`updateItems()`
30
-
-`updateItemsLive()`
31
-
-`deleteItems()`
32
-
-`deleteItemsLive()`
44
+
-**NEW**: BulkCMSItemAPIsupport, withtheabilitytospecifyoneormanylocalestomanagetheCMSItemin. See [docs](https://developers.webflow.com/data/reference/cms/collection-items/bulk-items/create-items) for more on usage.
- Some APIs that created resources (i.e. `collections.items.createItem()`) had types that required an `id`, which is not possible to provide. This is no longer required.
0 commit comments