Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: webflow/js-webflow-api

v3.2.0

08 Aug 16:50
6f68142

Choose a tag to compare

What's Changed

  • 🌿 Fern Regeneration -- August 5, 2025 by @fern-api[bot] in #278
  • New: Ability to get raw response (including headers) from an API call by appending SDK function call with .withRawResponse(). Example:
{
 "data": { "sites": [] },
 "rawResponse": {
   "headers": {},
   "redirected": false,
   "status": 200,
   "statusText": "OK",
 }
}
  • New: For POST/PATCH API calls to CMS Items, you can pass in a skipInvalidFiles boolean flag to skip any potentially problematic file attachments on CMS items and continue processing the request
client.collections.items.createItem(collectionId, {
  skipInvalidFiles: true,
  // ...
})
  • New: You can pass in a branchId into the request for updating Component content/properties on branched pages.

    • E.g., client.components.updateContent(siteId, componentId, { localeId: "my-secondary-locale-id", branchId: "my-branch-id" })
    • the branchId for a given page can be retrieved via the List Pages API (client.pages.list()) if a page has a branch
  • New: Filter by lastPublished timestamps when listing CMS Items. Example:

await wf.collections.items.listItems(collectionId, { lastPublished: {
  gte: new Date("2024-01-01T00:00:00Z"),
}});
  • New: Added validations property in the response of the Get Collection Details API (client.collections.get())

Fixes

  • Constrain request payload in pages.updatePageSettings() API to only include page fields that can be updated
  • Various optional type inconsistencies to match OpenAPI specification
  • Incorrect field type in ProductFieldData. categories -> category

Maint

  • Upgraded Fern generator to v1.7.2

Full Changelog: v3.1.4...v3.2.0

v3.1.4

01 Aug 16:17
7b1d5df

Choose a tag to compare

What's Changed

  • 🌿 Fern Regeneration -- May 14, 2025 by @fern-api[bot] in #262
    • Removed isMembersOnly property from Page type
  • patch: update the pbkdf2 nested dependency from crypto-browserify by @zplata in #274

Full Changelog: v3.1.3...v3.1.4

v3.1.3

14 May 19:13
03a0275

Choose a tag to compare

What's Changed

  • 🌿 Fern Regeneration -- May 7, 2025 by @fern-api in #258
  • New: Comments APIs
    • Also a new comment_created webhook to get notified on new comments and replies
  • Added: Additional DOM nodes returned from Get Page Content / Get Component Content APIs for localization. Also available for updating via the Update Page Content / Update Component Content APIs
    • text-input - Update placeholder text on a text input node
    • select - Update choices on a select node
    • submit-button - Update text and waiting message on a submit button node
    • search-input - Update text on a search button node
  • New: (Enterprise) Well-known file management APIs
  • New: (Enterprise) Workspace audit log API

Fixed

Full Changelog: v3.1.2...v3.1.3

v3.1.2

14 May 15:31
750b4c9

Choose a tag to compare

What's Changed

  • Add helper method for creating and uploading a Webflow Asset by @zplata in #251

Usage (docs coming soon):

await client.assets.utilities.createAndUpload(siteId, {
    fileName: "myimage.jpeg",
    file: "https://fastly.picsum.photos/id/351/200/300.jpg?hmac=OSQYmRI8IZkaMcC4ERotpBhe0AymVYajIIKPJFDzGBY",
});

Full Changelog: v3.1.1...v3.1.2

v3.1.1

18 Mar 21:40
b40a6a1

Choose a tag to compare

What's Changed

  • New: Add hmac verification method to JS SDK by @KeithRyanWong in #214
  • 🌿 Fern Regeneration -- March 13, 2025 by @fern-api in #228
  • New: Can add collection fields when creating a collection
  • New: Can create more types of fields in Collections (i.e. Option, Ref, Multiref)
  • New: List Form Submissions by Site (and filter by formElementId)
  • New: Delete Form Submission
  • Added: lastPublished parameter added to customDomains object returned when getting Site data
  • New: (Enterprise) New APIs for working with robots.txt files

Fixed

  • Fix: When deleting CMS items live, using id when declaring items in the request payload instead of itemId to match API expectations

New Contributors

Full Changelog: v3.1.0...v3.1.1

v3.1.0

13 Jan 20:58
47496a1

Choose a tag to compare

What's Changed

Full Changelog: v3.0.1...v3.1.0

v3.0.1

09 Dec 18:13
1e38943

Choose a tag to compare

What's Changed

  • 🌿 Fern Regeneration -- December 9, 2024 by @fern-api in #188
  • Fix: Require fieldData for CMS Item creation
  • Fix: Make id optional in CMS Item update requests

Full Changelog: v3.0.0...v3.0.1

v3.0.0

04 Dec 16:50
d7c27d9

Choose a tag to compare

Please see MIGRATION.md for changes and how to upgrade.

v2.5.0

04 Dec 09:29
2f92f29

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.4.2...v2.5.0

v2.4.2

02 Oct 18:25
472bac9

Choose a tag to compare

What's Changed

Fixed

  • chore: bump version to 2.4.2 to enable npm publish by @zplata in #171

Full Changelog: v2.4.1...v2.4.2